Google Groups

Re: [mongodb-user] non-ascii characters in map reduce


Tyler Brock May 7, 2012 9:25 AM
Posted in group: mongodb-user
Is it in the key or value portion of the field?

-Tyler

On Sunday, May 6, 2012 2:31:43 PM UTC-4, hunzer wrote:
hi & here's the server log :

Sun May  6 11:26:04 [initandlisten] MongoDB starting : pid=771 port=27017 dbpath=/var/lib/mongodb 64-bit host=myhost
Sun May  6 11:26:04 [initandlisten] db version v2.0.4, pdfile version 4.5
Sun May  6 11:26:04 [initandlisten] git version: 329f3c47fe8136c03392c8f0e548506cb21f8ebf
Sun May  6 11:26:04 [initandlisten] build info: Linux ip-10-110-9-236 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
Sun May  6 11:26:04 [initandlisten] options: { config: "/etc/mongodb.conf", dbpath: "/var/lib/mongodb", logappend: "true", logpath: "/var/log/mongodb/mongodb.log" }
Sun May  6 11:26:04 [initandlisten] journal dir=/var/lib/mongodb/journal
Sun May  6 11:26:04 [initandlisten] recover : no journal files present, no recovery needed
Sun May  6 11:26:04 [websvr] admin web console waiting for connections on port 28017
Sun May  6 11:26:04 [initandlisten] waiting for connections on port 27017

On Saturday, May 5, 2012 9:35:12 PM UTC-7, Eliot Horowitz wrote:
Can you send the startup banner from mongod?

On Fri, May 4, 2012 at 9:27 PM, hunzer <ch...@simiwako.com> wrote:
> I'm having a non-ascii issue with map reduce. I already have the 10gen 2.0.4
> ubuntu version of mongo which got rid of the spider-monkey utf-8 error
> message on the mongo interactive console. My data has some non-ascii
> characters like these "NEW FANTASY® Jeans & Apparel". I can db.find query
> the collection in the mongo interactive tool no problem & inside the nodejs
> mongoose library. However when I run map-reduce, it'll throw an assertion
> 10213, "non ascii character detected" message at this offending field. Do I
> need to remove to remove those characters? Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mongodb-user/-/S3Mx2WWfP44J.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.

On Sunday, May 6, 2012 2:31:43 PM UTC-4, hunzer wrote:
hi & here's the server log :

Sun May  6 11:26:04 [initandlisten] MongoDB starting : pid=771 port=27017 dbpath=/var/lib/mongodb 64-bit host=myhost
Sun May  6 11:26:04 [initandlisten] db version v2.0.4, pdfile version 4.5
Sun May  6 11:26:04 [initandlisten] git version: 329f3c47fe8136c03392c8f0e548506cb21f8ebf
Sun May  6 11:26:04 [initandlisten] build info: Linux ip-10-110-9-236 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41
Sun May  6 11:26:04 [initandlisten] options: { config: "/etc/mongodb.conf", dbpath: "/var/lib/mongodb", logappend: "true", logpath: "/var/log/mongodb/mongodb.log" }
Sun May  6 11:26:04 [initandlisten] journal dir=/var/lib/mongodb/journal
Sun May  6 11:26:04 [initandlisten] recover : no journal files present, no recovery needed
Sun May  6 11:26:04 [websvr] admin web console waiting for connections on port 28017
Sun May  6 11:26:04 [initandlisten] waiting for connections on port 27017

On Saturday, May 5, 2012 9:35:12 PM UTC-7, Eliot Horowitz wrote:
Can you send the startup banner from mongod?

On Fri, May 4, 2012 at 9:27 PM, hunzer <ch...@simiwako.com> wrote:
> I'm having a non-ascii issue with map reduce. I already have the 10gen 2.0.4
> ubuntu version of mongo which got rid of the spider-monkey utf-8 error
> message on the mongo interactive console. My data has some non-ascii
> characters like these "NEW FANTASY® Jeans & Apparel". I can db.find query
> the collection in the mongo interactive tool no problem & inside the nodejs
> mongoose library. However when I run map-reduce, it'll throw an assertion
> 10213, "non ascii character detected" message at this offending field. Do I
> need to remove to remove those characters? Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mongodb-user/-/S3Mx2WWfP44J.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.