Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MongoDB CPAN distribution.

Maintainer(s)' notes

Please don't report bugs here. Please use the MongoDB Perl driver issue tracker instead.

Report information
The Basics
Id: 68632
Status: resolved
Priority: 0/
Queue: MongoDB

People
Owner: Nobody in particular
Requestors: jes [...] ebi.ac.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bug with installing v0.43 (1) and inserting with v0.42/0.43 (2)
Date: Fri, 03 Jun 2011 15:41:01 +0100
To: bug-MongoDB [...] rt.cpan.org
From: Catherine <jes [...] ebi.ac.uk>
Hi Folks, These are output: (1) # make test <skip> Test Summary Report ------------------- t/threads/basic.t (Wstat: 11 Tests: 2 Failed: 0) Non-zero wait status: 11 Parse errors: No plan found in TAP output Files=10, Tests=396, 14 wallclock secs ( 0.09 usr 0.03 sys + 2.77 cusr 0.34 csys = 3.23 CPU) Result: FAIL Failed 1/10 test programs. 0/396 subtests failed. make: *** [test_dynamic] Error 255 # make install ok But still I have: inserts cannot contain the . character at /usr/local/lib/perl/5.10.1/MongoDB/Collection.pm line 303, (2) inserts cannot contain the . character at /usr/local/lib/perl/5.10.1/MongoDB/Collection.pm package MongoDB::Connection; our $VERSION = '0.42'; Thank you for your job! Cheers, — Catherine
The threads/basic.t problem is a known issue. Is the inserting keys with "."s triggered by the tests, or is it your code?
Subject: Re: [rt.cpan.org #68632] Bug with installing v0.43 (1) and inserting with v0.42/0.43 (2)
Date: Mon, 06 Jun 2011 17:07:21 +0100
To: bug-MongoDB [...] rt.cpan.org
From: Catherine <jes [...] ebi.ac.uk>
On Mon, 2011-06-06 at 11:30 -0400, Kristina Chodorow via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=68632 > > > The threads/basic.t problem is a known issue. > > Is the inserting keys with "."s triggered by the tests, or is it your code?
Hi Kristina, That was my code with automated data loading. I used map { $_ =~s/\./\,/gsm} @myfields; to make data to load. Now I'm trying to repeat this bug, because I forgot the exact place where it was observed and everything goes fine so far (I did remove the above mapping and see that fields with points are correctly populated in DB). My version of MongoDB Perl module is 0.43 now. Apparently when I tried to repeat a bug a several days ago with newly installed MongoDB (with closed eyes on failed tests) the previous version could be still in memory. Sorry if I was in a rush to report a bug and thank you. Kind regards, Catherine.
Okay, cool. You're not allowed to insert fields with "."s in them, so I'm guessing that was just a data input error. I'll leave this open until I fix the threads problem. On Mon Jun 06 12:07:31 2011, jes@ebi.ac.uk wrote: Show quoted text
> On Mon, 2011-06-06 at 11:30 -0400, Kristina Chodorow via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=68632 > > > > > The threads/basic.t problem is a known issue. > > > > Is the inserting keys with "."s triggered by the tests, or is it
> your code? > > Hi Kristina, > > That was my code with automated data loading. > I used > map { $_ =~s/\./\,/gsm} @myfields; > to make data to load. > Now I'm trying to repeat this bug, because I forgot the exact place > where it was observed and everything goes fine so far (I did remove > the > above mapping and see that fields with points are correctly populated > in > DB). > > My version of MongoDB Perl module is 0.43 now. > Apparently when I tried to repeat a bug a several days ago with newly > installed MongoDB (with closed eyes on failed tests) the previous > version could be still in memory. > > Sorry if I was in a rush to report a bug > and thank you. > > Kind regards, > Catherine. > > > > > > >
Fixed the threading issue.