Skip Menu |

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

Report information
The Basics
Id: 34723
Status: new
Priority: 0/
Queue: WWW-Google-Groups

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

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



Subject: Hangs Forever when "make test"
Dear Mark Swayne, Hi. This is imacat from Taiwan. I found that your WWW-Google-Groups-0.09 hangs for a very long time (several hours) when "make test". I tried to dig into your code. It seems to hang at $result = $agent->search( query => 'groups', ); in your test.pl. Further investigation shows that, in the search() method of the WWW::Google::Groups::Search class, the "while(@result < $arg{limit}){" loops infinitely, while @result is always empty. I do not know if this is OK. Maybe you can take some time to look into it. I attached the terminal log below. Hope that this helps. Please tell me if you need any more information, or if I could be of any help. Thank you. imacat@rinse /tmp/WWW-Google-Groups-0.09 % perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi-ld Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. imacat@rinse /tmp/WWW-Google-Groups-0.09 % perl Makefile.PL Please set your PROXY server for faster testing: Checking if your kit is complete... Looks good Writing Makefile for WWW::Google::Groups imacat@rinse /tmp/WWW-Google-Groups-0.09 % make cp Groups/SearchResult.pm blib/lib/WWW/Google/Groups/SearchResult.pm cp Groups/Article.pm blib/lib/WWW/Google/Groups/Article.pm cp Groups/Thread.pm blib/lib/WWW/Google/Groups/Thread.pm cp Groups.pm blib/lib/WWW/Google/Groups.pm cp Groups/Search.pm blib/lib/WWW/Google/Groups/Search.pm cp Groups/NewsGroup.pm blib/lib/WWW/Google/Groups/NewsGroup.pm cp Groups/Vars.pm blib/lib/WWW/Google/Groups/Vars.pm Manifying blib/man3/WWW::Google::Groups.3 imacat@rinse /tmp/WWW-Google-Groups-0.09 % make test The test needs internet connection. Be sure to get connected, or you will get several error messages. ok 1 - use WWW::Google::Groups; ok 2 make: *** wait: No child processes. Stop. make: *** Waiting for unfinished jobs.... make: *** wait: No child processes. Stop. imacat@rinse /tmp/WWW-Google-Groups-0.09 % imacat@rinse ~ %