Skip Menu |

This queue is for tickets about the Net-Google-Code CPAN distribution.

Report information
The Basics
Id: 57016
Status: resolved
Priority: 0/
Queue: Net-Google-Code

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

Bug Information
Severity: Critical
Broken in:
  • 0.17
  • 0.18
Fixed in: (no value)



Subject: parse() can't find members, errors out
Using Net::Google::Code with App::SD, it cannot parse my y2038 project. parse() appears to be looking for an anchor tag with the id "members"... my @members_tags = $tree->look_down( id => 'members' )->find_by_tag_name('a'); This tag appears to no longer exist (there's evidence it did in the CSS). See http://y2038.googlecode.com/ for an example. Rather than continuing with the parsing, it causes an error: Can't call method "find_by_tag_name" on an undefined value at /usr/local/lib/perl5/site_perl/Net/Google/Code.pm line 109. It should continue gracefully, possibly by the simple expedient of putting the search in an eval block.
Hi yes, google code changed it's layout before. I've updated code for this in new version 0.19, which I just uploaded to cpan. btw, I also fixed a bug of gcode replica in App::SD, it's better if you use the latest App::SD, which is in http://github.com/bestpractical/sd thanks for reporting this best wishes sunnavy On Wed Apr 28 16:21:14 2010, MSCHWERN wrote: Show quoted text
> Using Net::Google::Code with App::SD, it cannot parse my y2038 project. > parse() appears to be looking for an anchor tag with the id "members"... > > my @members_tags = > $tree->look_down( id => 'members' )->find_by_tag_name('a'); > > This tag appears to no longer exist (there's evidence it did in the > CSS). See http://y2038.googlecode.com/ for an example. > > Rather than continuing with the parsing, it causes an error: > > Can't call method "find_by_tag_name" on an undefined value at > /usr/local/lib/perl5/site_perl/Net/Google/Code.pm line 109. > > It should continue gracefully, possibly by the simple expedient of > putting the search in an eval block.
resolve this as 0.19 is released.