Skip to content

Instantly share code, notes, and snippets.

View santiago's full-sized avatar

Santiago Gaviria santiago

  • Ontoworks
  • Planet Earth
View GitHub Profile
==> /Applications/ejabberd-2.1.6/logs/erlang.log <==
=PROGRESS REPORT==== 4-Sep-2011::11:03:21 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.45.0>},
{name,alarm_handler},
{mfa,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
-> URIError: URI malformed
URIError: URI malformed
at decodeURIComponent (native)
at /Users/santiago/Projects/buglabs/bugswarm/node_modules/express/node_modules/qs/lib/querystring.js:43:18
at Array.reduce (native)
at Object.parse (/Users/santiago/Projects/buglabs/bugswarm/node_modules/express/node_modules/qs/lib/querystring.js:42:6)
at Object.handle (/Users/santiago/Projects/buglabs/bugswarm/node_modules/express/lib/http.js:83:22)
at next (/Users/santiago/Projects/buglabs/bugswarm/node_modules/express/node_modules/connect/lib/http.js:198:15)
at HTTPServer.handle (/Users/santiago/Projects/buglabs/bugswarm/node_modules/express/node_modules/connect/lib/http.js:211:3)
at Manager.handleRequest (/Users/santiago/Projects/buglabs/bugswarm/node_modules/socket.io/lib/manager.js:510:28)
This is the code:
var resources = swarm.resources;
console.log(resources);
for (var i in resources) {
var resource = resources[i];
console.log(resource);
...
This is what it prints out:
-> [{"code":"019","message":"API Key(s) not found.","httpCode":404}]
[{"code":"019","message":"API Key(s) not found.","httpCode":404}]
at Promise.<anonymous> (/users/santiago/Projects/buglabs/bugswarm/lib/apikeys/repository.js:36:13)
at Promise.<anonymous> (/users/santiago/Projects/buglabs/bugswarm/node_modules/mongoose/lib/mongoose/promise.js:120:8)
at Promise.<anonymous> (events.js:64:17)
at Promise.emit (/users/santiago/Projects/buglabs/bugswarm/node_modules/mongoose/lib/mongoose/promise.js:57:38)
at Promise.complete (/users/santiago/Projects/buglabs/bugswarm/node_modules/mongoose/lib/mongoose/promise.js:68:20)
at /users/santiago/Projects/buglabs/bugswarm/node_modules/mongoose/lib/mongoose/query.js:669:34
at /users/santiago/Projects/buglabs/bugswarm/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:130:9
at /users/santiago/Projects/buglabs/bugswarm/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:176:11
debug - flashsocket received data packet 5:::{"name":"apikey","args":["6c7ae0f152a7951b8396126cb68c32d8e91a107f"]}
debug - flashsocket writing 5:::{"name":"connected to backend"}
debug - flashsocket writing 5:::{"name":"message","args":[{"presence":{"from":"[email protected]/my_resource","to":"[email protected]/web-0508671561256051061313595933864","xmlns":"jabber:client","xmlns:stream":"http://etherx.jabber.org/streams","priority":"0","c":{"xmlns":"http://jabber.org/protocol/caps","node":"http://www.apple.com/ichat/caps","ver":"745","ext":"ice recauth rdserver maudio audio rdclient mvideo auxvideo rdmuxing avcap avavail video"},"x":[{"xmlns":"vcard-temp:x:update","photo":{}},{"xmlns":"jabber:x:delay","stamp":"20110817T15:24:08"}],"delay":{"xmlns":"urn:xmpp:delay","from":"[email protected]/my_resource","stamp":"2011-08-17T15:24:08Z"}}}]}
debug - flashsocket writing 5:::{"name":"message","args":[{"iq":{"from":"[email protected]/my_resource","to":"[email protected]
[debug] Successfully connected to the xmpp server
debug - client authorized
info - handshake authorized 8431230781115549613
127.0.0.1 - - [Wed, 17 Aug 2011 01:49:35 GMT] "GET /swarms HTTP/1.1" 401 12 "-" "-"
debug - setting request GET /socket.io/1/flashsocket/8431230781115549613
debug - set heartbeat interval for client 8431230781115549613
debug - client authorized for
debug - flashsocket writing 1::
debug - flashsocket received data packet 5:::{"name":"apikey","args":["6c7ae0f152a7951b8396126cb68c32d8e91a107f"]}
debug - flashsocket writing 5:::{"name":"connected to backend"}
if test "$link_all_deplibs" != no; then
# Add the search paths of all dependency libraries
for deplib in $dependency_libs; do
case $deplib in
-L*) path="$deplib" ;;
*.la)
func_dirname "$deplib" "" "."
dir="$func_dirname_result"
# We need an absolute path.
case $dir in
# Makefile.in generated by automake 1.9.6 from Makefile.am.
# decoder_plugins/mp3/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
/bin/bash ../../libtool --tag=CC --mode=link gcc -pthread -g -O2 -Wall -W -export-dynamic -o libmp3_decoder.la -rpath /usr/local/lib/moc/decoder_plugins -module -avoid-version libmp3_decoder_la-mp3.lo libmp3_decoder_la-xing.lo -lmad -lid3tag -lz -lm -ldl
../../libtool: line 5865: cd: =/usr/lib: No such file or directory
libtool: link: warning: cannot determine absolute directory name of `=/usr/lib'
/bin/grep: =/usr/lib/libz.la: No such file or directory
/usr/bin/sed: can't read =/usr/lib/libz.la: No such file or directory
libtool: link: `=/usr/lib/libz.la' is not a valid libtool archive
make[3]: *** [libmp3_decoder.la] Error 1
make[3]: Leaving directory `/home/root/moc-2.4.4/decoder_plugins/mp3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/root/moc-2.4.4/decoder_plugins'
CameraInfo>
<CameraInfo>Camera is not open.</CameraInfo>
<TestPattern>ERROR: -1</TestPattern>
<ColorEffects>ERROR: -1</ColorEffects>
<VerticalFlip>ERROR: -1</VerticalFlip>
<HorizontalMirror>ERROR: -1</HorizontalMirror>
<ExposureLevel>ERROR: -1</ExposureLevel>
<FullFramesTaken>3</FullFramesTaken>
<PreviewsTaken>16</PreviewsTaken>
</CameraInfo>