question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some errors after implementation

See original GitHub issue

I’ve implemented redis-oplog and I’m seeing some errors in my console.

I20161115-11:46:16.823(1)? Exception in defer callback: MongoError: Positional projection 'users.$.statusSince' does not match the query document.
I20161115-11:46:16.824(1)?     at Object.Future.wait (/Users/maxnowack/.meteor/packages/meteor-tool/.1.4.2.867yju++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:449:15)
I20161115-11:46:16.826(1)?     at SynchronousCursor._nextObject (packages/mongo/mongo_driver.js:1024:47)
I20161115-11:46:16.828(1)?     at SynchronousCursor.forEach (packages/mongo/mongo_driver.js:1058:22)
I20161115-11:46:16.830(1)?     at SynchronousCursor.map (packages/mongo/mongo_driver.js:1068:10)
I20161115-11:46:16.831(1)?     at SynchronousCursor.fetch (packages/mongo/mongo_driver.js:1092:17)
I20161115-11:46:16.834(1)?     at Cursor.(anonymous function) [as fetch] (packages/mongo/mongo_driver.js:907:44)
I20161115-11:46:16.835(1)?     at packages/cultofcoders:redis-oplog/lib/mongo/collection.extension.js:82:20
I20161115-11:46:16.836(1)?     at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
I20161115-11:46:16.838(1)?     at packages/meteor.js:445:45
I20161115-11:46:16.840(1)?     at runWithEnvironment (packages/meteor.js:1176:24)
I20161115-11:46:16.841(1)?     - - - - -
I20161115-11:46:16.842(1)?     at Function.MongoError.create (/Users/maxnowack/.meteor/packages/npm-mongo/.2.2.11_2.13qd484++os+web.browser+web.cordova/npm/node_modules/mongodb-core/lib/error.js:31:11)
I20161115-11:46:16.844(1)?     at queryCallback (/Users/maxnowack/.meteor/packages/npm-mongo/.2.2.11_2.13qd484++os+web.browser+web.cordova/npm/node_modules/mongodb-core/lib/cursor.js:213:36)
I20161115-11:46:16.846(1)?     at /Users/maxnowack/.meteor/packages/npm-mongo/.2.2.11_2.13qd484++os+web.browser+web.cordova/npm/node_modules/mongodb-core/lib/connection/pool.js:455:18
I20161115-11:46:16.847(1)?     at nextTickCallbackWith0Args (node.js:420:9)
I20161115-11:46:16.848(1)?     at process._tickCallback (node.js:349:13)
I20161115-11:46:17.836(1)? Exception in queued task: TypeError: observableCollection.update is not a function
I20161115-11:46:17.837(1)?     at handleUpdate (packages/cultofcoders:redis-oplog/lib/processors/direct.js:26:26)
I20161115-11:46:17.853(1)?     at module.export.exports.default (packages/cultofcoders:redis-oplog/lib/processors/direct.js:11:13)
I20161115-11:46:17.855(1)?     at Object.task (packages/cultofcoders:redis-oplog/lib/redis/RedisSubscriber.js:59:28)
I20161115-11:46:17.856(1)?     at [object Object]._.extend._run (packages/meteor.js:807:18)
I20161115-11:46:17.856(1)?     at packages/meteor.js:785:14
I20161115-11:46:18.960(1)? Exception from sub notificationsCount id ejLC7rcfg4SgfnanB TypeError: Cannot read property '_cursorDescription' of undefined
I20161115-11:46:18.960(1)?     at packages/cultofcoders:redis-oplog/lib/utils/shouldPublicationBeWithPolling.js:11:29
I20161115-11:46:18.961(1)?     at Array.forEach (native)
I20161115-11:46:18.962(1)?     at module.export.exports.default (packages/cultofcoders:redis-oplog/lib/utils/shouldPublicationBeWithPolling.js:6:13)
I20161115-11:46:18.962(1)?     at Subscription.<anonymous> (packages/cultofcoders:redis-oplog/lib/publishWithRedis.js:41:13)
I20161115-11:46:18.963(1)?     at packages/matb33_collection-hooks.js:307:21
I20161115-11:46:18.963(1)?     at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
I20161115-11:46:18.964(1)?     at Subscription._handler (packages/matb33_collection-hooks.js:306:28)
I20161115-11:46:18.964(1)?     at packages/check.js:130:16
I20161115-11:46:18.965(1)?     at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
I20161115-11:46:18.965(1)?     at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check.js:129:41)

For the first two I have no idea where they come from. The last one may have something todo with a publish function, that returns this.ready() instead of a cursor.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
theodorDiaconucommented, Nov 15, 2016

@maxnowack published 1.0.4 pls update and check. thanks again for reporting this.

0reactions
theodorDiaconucommented, Nov 15, 2016

@maxnowack yep, on it right now! I’ll push the fixes soon. Thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changes in Medical Errors after Implementation of a Handoff ...
Implementation of the handoff program was associated with reductions in medical errors and in preventable adverse events and with ...
Read more >
Changes in Medical Errors after Implementation of a Handoff ...
Changes in Medical Errors after Implementation of a Handoff Program, NEJM, 371 (19): 1803-12. Author Institutions: 1Department of Medicine, Division of ...
Read more >
Changes in Medical Errors after Implementation of - ProQuest
Failures of communication, including miscommunication during handoffs of patient care from one resident to another, are a leading cause of errors; such ...
Read more >
Changes in medical errors after implementation of a handoff ...
Changes in medical errors after implementation of a handoff program ... The implementation of structured, comprehensive handover procedures, underpinned by ...
Read more >
Changes in medical errors after implementation of a handoff ...
The number of handoffs a patient experiences while hospitalized has almost certainly increased at academic institutions after the implementation of duty ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found