Skip Menu |

This queue is for tickets about the WWW-Google-Contacts CPAN distribution.

Report information
The Basics
Id: 61804
Status: resolved
Priority: 0/
Queue: WWW-Google-Contacts

People
Owner: Nobody in particular
Requestors: hanenkamp [...] cpan.org
Cc:
AdminCc:

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



Subject: Multiple do not seem to work
Running: my $google1 = WWW::Google::Contacts->new(username => 'x@gmail.com', password => ...); my $google2 = WWW::Google::Contacts->new(username => 'y@gmail.com', password => ...); yields an error like following: Singleton is already initialized at /home/sterling/perl5/perlbrew/perls/perl- 5.12.1/lib/site_perl/5.12.1/MooseX/Singleton/Role/Object.pm line 14 MooseX::Singleton::Role::Object::initialize('WWW::Google::Contacts::Server', 'HASH(0xb4c8c00)') called at /home/sterling/perl5/perlbrew/perls/perl- 5.12.1/lib/site_perl/5.12.1/WWW/Google/Contacts.pm line 40 WWW::Google::Contacts::BUILD('WWW::Google::Contacts=HASH(0xadbc320)', 'HASH(0xac2f330)') called at generated method (unknown origin) line 46 WWW::Google::Contacts::new('WWW::Google::Contacts', 'password', '...', 'username', 'y@gmail.com') called at ./google-contact-script line 18
Hi On Thu Sep 30 18:50:11 2010, HANENKAMP wrote: Show quoted text
> Running: > > my $google1 = WWW::Google::Contacts->new(username => 'x@gmail.com', > password => > ...); > my $google2 = WWW::Google::Contacts->new(username => 'y@gmail.com', > password => > ...); > > yields an error like following:
Thanks for the report! Yea, I'll have to fix this (and add unit tests!). There'll be a new version up in a day or 2. thanks Magnus Show quoted text
> > Singleton is already initialized at > /home/sterling/perl5/perlbrew/perls/perl- > 5.12.1/lib/site_perl/5.12.1/MooseX/Singleton/Role/Object.pm line 14 >
MooseX::Singleton::Role::Object::initialize('WWW::Google::Contacts::Serv er', Show quoted text
> 'HASH(0xb4c8c00)') called at /home/sterling/perl5/perlbrew/perls/perl- > 5.12.1/lib/site_perl/5.12.1/WWW/Google/Contacts.pm line 40 >
WWW::Google::Contacts::BUILD('WWW::Google::Contacts=HASH(0xadbc320)', Show quoted text
> 'HASH(0xac2f330)') called at generated method (unknown origin) line 46 > WWW::Google::Contacts::new('WWW::Google::Contacts', > 'password', '...', 'username', > 'y@gmail.com') called at ./google-contact-script line 18
This is fixed in version 0.13. cheers Magnus