PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 24th of March, 2013

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:05:45] <jkbbwr> Im using the c# wrapper, for im defining List inside my class, but the field is never updated
[00:05:48] <jkbbwr> :/
[09:19:33] <pats_Toms> hi, what really "E11000 duplicate key error index" means?
[09:21:02] <kali> pats_Toms: it means you have a unique index, and trying to insert a document with the same value than an already existing document
[09:21:32] <kali> or doing an update that similarly break the constraint
[09:22:35] <pats_Toms> Really don't know. In loop I am adding some array to database...
[09:23:44] <kali> show me a getIndexes() on the collection, and the insert that break
[09:29:40] <pats_Toms> oh, I am trying to add arrays with identic data
[09:33:03] <baptistem_> hello
[09:38:24] <baptistemm> anyone tried to import google reader takeout data into mongodb ? it seems the data is one big json document, so import is failing because it is too large, but I'm not sure because the message is not clear to me.
[09:39:02] <baptistemm> during the import, these message appears thousand of times "exception:BSON representation of supplied JSON is too large: code FailedToParse: FailedToParse: Expecting '{': offset:0"
[12:27:37] <ExxKA> Hey Guys. I cant figure out what the best way is for setting a minimum length requirement on an Array in mongoose? Sorry for posting here, I have not had any luck on the mongoose channel.
[13:15:18] <nopz> hi there
[13:15:56] <nopz> I'm trying to port-install mongodb on FreeBSD 9.1 and got an install error: "Checking for C library js... no
[13:15:56] <nopz> *** [do-build] Error code 1"
[13:16:24] <nopz> I'm building with all default and V8 unchecked in installer.
[13:16:45] <nopz> btw it is mongo 2.2.3
[13:18:53] <pats_Toms> ExxKA, try at #Node.js
[13:19:03] <nopz_> I'll try with cd /usr/ports/lang/spidermonkey185 installed
[13:20:49] <ExxKA> Thanks pats_Toms
[13:24:07] <nopz_> still not working
[13:27:25] <nopz_> http://forums.freebsd.org/showthread.php?t=38065
[13:27:34] <nopz_> it been a month already
[13:32:46] <nopz_> i'll try to compile /lang/v8 and then install mongodb again with v8 support instead of spidermonkey
[14:17:35] <nopz> re, can I have some help with the mongodb installation on FreeBSD
[14:18:06] <nopz> I've tried through ports, and with a manual install from the source code (scons all) and it still refuses to install.
[14:18:21] <nopz> Is mongodb really working on FreeBSD (9.1)?
[14:18:24] <Derick> any errors?
[14:20:24] <nopz> thttp://pastie.org/7099537
[14:21:37] <nopz> i've tried with both v8 (enabled/disabled) and SpiderMonkey185 but it still fails.
[14:26:10] <nopz> it's a pain in the ass to get it working, had no problems on linux, but there on FreeBSD ...
[14:32:13] <ehershey> I've never gotten freebsd to build
[14:33:19] <nopz> ok well it seems to work with spidermonkey17 instead of 185
[14:33:39] <nopz> at least it compiles will wait a bit to say it works
[14:35:43] <ehershey> oh hey that's something
[14:35:53] <ehershey> maybe the port should be updated to do that automatically
[14:36:51] <ehershey> oh actually
[14:37:17] <ehershey> I just realized the freebsd buildbot slave works
[14:37:32] <ehershey> with v8
[14:37:55] <nopz> there is an issue somewhere about that since February
[14:40:57] <ehershey> if you pull mongodb source from git
[14:41:00] <ehershey> it should build
[14:41:03] <ehershey> with v8
[14:41:21] <ehershey> did you get a different error with dl'ed source?
[14:41:58] <nopz> Yeah can't remember the error name
[14:42:06] <nopz> it was different.
[14:44:59] <ehershey> baptistemm: which type of data were you importing?
[14:45:42] <ehershey> just looked at google reader takeout data and my subscriptions are xml instead of json like everything else
[14:45:47] <ehershey> which is annoying
[14:53:38] <angelazou> hi, I am having a little problem with my mongodb stuff
[14:53:46] <angelazou> I'm using meteor, which comes with mongodb
[14:54:08] <angelazou> and when I fetch a record, I get a cursor instead
[14:54:25] <angelazou> something like this, why is that? http://fpaste.org/exYD/
[15:08:32] <angelazou> anyone?
[15:20:55] <kali> i don't know what meteor is. but obtaining a curosr when you perform a find does not sound like a problem
[15:21:48] <angelazou> kali: but there is no content in the cursor
[15:22:14] <angelazou> I tried find and findOne, both just give me a bunch of nested object with the data nowhere to be found
[15:22:28] <ehershey> http://docs.meteor.com/#meteor_collection_cursor
[15:22:34] <ehershey> To create a cursor, use find. To access the documents in a cursor, use forEach, map, or fetch.
[15:22:41] <ehershey> did you use forEach map or fetch?
[15:23:09] <ehershey> are you sure there's data to be found?
[15:25:33] <angelazou> hmm...I don't think so
[15:25:41] <angelazou> but yeah, I couldn't see any of my data
[15:26:52] <angelazou> ehershey: they look like this http://fpaste.org/KizD/
[15:28:44] <ehershey> those object deconstructions are less useful than you think they are
[15:28:48] <ehershey> you should be following the docs
[15:33:11] <angelazou> okay
[15:35:22] <angelazou> ehershey: do you know how can I store some JS snippet on mongo without executing them during storage and extraction?
[16:02:07] <ehershey> no
[16:02:11] <ehershey> sorry
[16:51:13] <baptistemm> ehershey: I'm trying to import the data from google reader, it's 7 or 8 json files
[16:51:44] <baptistemm> so there is starred.json, shared.json, ...
[16:54:15] <baptistemm> ehershey: If you have a google reader account you can get something similar there http://www.dataliberation.org/google/reader
[17:13:34] <baptistemm> ehershey: I guess there is nothing I can do, because each json is one big document, and elements inside are just list elements
[17:51:57] <paulkon> is there a way to issue a query with limit(x) and find out if there are more docs left or if I got all of them in that limited query
[17:52:23] <paulkon> this is for me to know if I have to add a "Load more comments" button on the client side
[17:52:59] <paulkon> not sure how else to do that other than adding a button by default and if there are no more left then when a user clicks on the button it'll just remove the button
[17:54:54] <kali> paulkon: it's not very satisafactory, but you can ask for one more than you need, and not display it if it comes
[17:55:03] <paulkon> yeah
[17:55:12] <paulkon> I guess the user won't mind
[17:55:20] <paulkon> I've noticed that google images does that too
[17:55:34] <paulkon> rarely but sometimes