Skip to content

Instantly share code, notes, and snippets.

@lloydwatkin
Created August 9, 2012 09:08
Show Gist options
  • Save lloydwatkin/3302529 to your computer and use it in GitHub Desktop.
Save lloydwatkin/3302529 to your computer and use it in GitHub Desktop.
Buddycloud server error
e@my-server: channels.my-server
[Wed, 08 Aug 2012 14:31:58 GMT] DEBUG [local/operations] operations.run: { iq:
{ name: 'iq',
parent: null,
attrs:
{ to: 'channels.my-server',
id: 'sHXjv-4',
from: 'twinkle@my-server/BC_TEST_CLIENT',
type: 'set',
xmlns: 'jabber:client',
'xmlns:stream': 'http://etherx.jabber.org/streams' },
children: [ ' ', [Object] ],
reply: [Function],
replyError: [Function] },
sender: 'twinkle@my-server',
fullSender: 'twinkle@my-server/BC_TEST_CLIENT',
actor: 'twinkle@my-server',
me: 'channels.my-server',
pubsubEl:
{ name: 'pubsub',
parent:
{ name: 'iq',
parent: null,
attrs: [Object],
children: [Object],
reply: [Function],
replyError: [Function] },
attrs: { xmlns: 'http://jabber.org/protocol/pubsub' },
children: [ ' ', [Object], ' ' ] },
rsm: {},
publishEl:
{ name: 'publish',
parent:
{ name: 'pubsub',
parent: [Object],
attrs: [Object],
children: [Object] },
attrs: { node: '/user/twinkle@my-server/posts' },
children: [ ' ', [Object], ' ' ] },
items: [ { el: [Object] } ],
node: '/user/twinkle@my-server/posts',
actorType: 'user' }
[Wed, 08 Aug 2012 14:3
n FROM affiliations WHERE node=$1 AND "user"=$2 ["/user/twinkle@my-server/posts","twinkle@my-server"]
[Wed, 08 Aug 2012 14:31:58
[Wed, 08 Aug 2012 14:31:58 GMT] TRACE [local/model_postgres] query SELECT node FROM nodes WHERE node=$1 ["/user/twinkle@my-server/posts"]
[Wed, 08 Aug 2012 14:31:58 GMT] TRACE [local/model_postgres] query SELECT "key", "value" FROM node_config WHERE node=$1 ["/user/twinkle@my-server/posts"]
[Wed, 08 Aug 2012 14:31:58 GMT] ERROR [normalize] TypeError: Object has no method 'is'
at /opt/buddycloud-server/lib/normalize.js:113:20
at Array.some (native)
at normalizeLink (/opt/buddycloud-server/lib/normalize.js:112:43)
at normalizeEntry (/opt/buddycloud-server/lib/normalize.js:45:7)
at exports.normalizeItem (/opt/buddycloud-server/lib/normalize.js:28:16)
at Publish.privilegedTransaction (/opt/buddycloud-server/lib/local/operations.js:747:26)
at async.iterator.fn (/opt/buddycloud-server/node_modules/async/lib/async.js:517:34)
at async.waterfall.wrapIterator (/opt/buddycloud-server/node_modules/async/lib/async.js:441:34)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
[Wed, 08 Aug 2012 14:31:58 GMT] WARN [local/operations] Transaction publish-node-items rollback: TypeError: Object has no method 'is'
[Wed, 08 Aug 2012 14:31:58 GMT] TRACE [local/model_postgres] query ROLLBACK []
[Wed, 08 Aug 2012 14:31:58 GMT] WARN [local/operations] Operation publish-node-items failed: TypeError: Object has no method 'is'
at /opt/buddycloud-server/lib/normalize.js:113:20
at Array.some (native)
at normalizeLink (/opt/buddycloud-server/lib/normalize.js:112:43)
at normalizeEntry (/opt/buddycloud-server/lib/normalize.js:45:7)
at exports.normalizeItem (/opt/buddycloud-server/lib/normalize.js:28:16)
at Publish.privilegedTransaction (/opt/buddycloud-server/lib/local/operations.js:747:26)
at async.iterator.fn (/opt/buddycloud-server/node_modules/async/lib/async.js:517:34)
at async.waterfall.wrapIterator (/opt/buddycloud-server/node_modules/async/lib/async.js:441:34)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment