Skip Menu |

This queue is for tickets about the WebService-Google-Reader CPAN distribution.

Report information
The Basics
Id: 58601
Status: resolved
Priority: 0/
Queue: WebService-Google-Reader

People
Owner: Nobody in particular
Requestors: CatBui2002 [...] netscape.net
Cc:
AdminCc:

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



Subject: "Google Reader->unread returns no entry
WebService::Google::Reader 0.10 XML::Atom 0.37 Ubuntu Linux 9.10 perl, v5.10.0 built for i486-linux-gnu-thread-multi Sample program does not print any entries from feed while the Data Dumper does show entry data. (This version only retrieve one unread entry to simplify the output). Also tried it in Windows too and same result. Not sure what I did wrong. ====================================================================== my $reader = WebService::Google::Reader->new( username => $user, password => $pass, ); print "errors: " . $reader->error . "\n"; print "getting feed\n"; my $feed = $reader->unread(count => 1); print Dumper($feed); my @entries = $feed->entries; foreach my $entry (@entries) { print $entry->title() . "\n"; } print "done\n";
Subject: output.txt

Message body is not shown because it is too large.

Can you install XML::LibXML and see if you still have a problem? If that fixes it, I'll just add it as a prereq to the module.
Subject: Re: [rt.cpan.org #58601] "Google Reader->unread returns no entry
Date: Wed, 23 Jun 2010 15:43:40 -0700
To: bug-WebService-Google-Reader [...] rt.cpan.org
From: Cat Bui <CatBui2002 [...] netscape.net>
Yup that was it. Working now. Awesome :) Thanks, On Wed, Jun 23, 2010 at 3:03 PM, gray via RT <bug-WebService-Google-Reader@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=58601 > > > Can you install XML::LibXML and see if you still have a problem? If that > fixes it, I'll just add it as a prereq to the module. >
Subject: Re: [rt.cpan.org #58601] "Google Reader->unread returns no entry
Date: Wed, 23 Jun 2010 18:12:23 -0700
To: bug-WebService-Google-Reader [...] rt.cpan.org
From: Cat Bui <CatBui2002 [...] netscape.net>
Hi again, When I try to use the call: $reader->mark_read_feed($feed); or $reader->mark_read_entry(@entries); then print "errors: " . $reader->error . "\n"; I got the error errors: 400 Bad Request - <html><head><title>400 Client Error</title> ... "There was an error in your request". Here was the the orignal request for mark_read_entry: POST http://www.google.com/reader/api/0/edit-tag?ck=1277780000&client=WebService%3A%3AGoogle%3A%3AReader%2F0.1+(gzip) Content-Length: 415 Content-Type: application/x-www-form-urlencoded a=user%2F-%2Fstate%2Fcom.google%2Fread&ac=edit&s=feed%2Fhttp%3A%2F%2Fweather.yahooapis.com%2Fforecastrss%3Fp%3DUS%26u%3Df&i=tag%3Agoogle.com%2C2005%3Areader%2Fitem%2F96cbc80ab66b&T=DQAAAJkAD5fgJbVgfYPWoM2_aY5fg2j0rBVcqoix3Dk8ELsxXMChnRIM0fXzDHY7iDcmI-T1A_BEPgP3bia596hRB9v8AYaFOVLSfRaYP-lKBu3BFCrfljI8lUeRF9M8pwlFIHhcMwkk5JMgb2bK1zUYoDrloYvFyuyNeI1LM7bR_Xy75nW5GB4EFoU_vAIzTnWCEVEyVDwaVfafDn3pQQIE5zd_ Any idea?
I'll have it fixed in a day or two. If you need a working version now, I suggest you drop back to version 0.09. On Wed Jun 23 21:12:53 2010, cb2002 wrote: Show quoted text
> Hi again, > > When I try to use the call: > > $reader->mark_read_feed($feed); > > or > $reader->mark_read_entry(@entries); > > then > > print "errors: " . $reader->error . "\n"; > > I got the error > > errors: 400 Bad Request - <html><head><title>400 Client Error</title> > ... > "There was an error in your request". > > > Here was the the orignal request for mark_read_entry: > > POST http://www.google.com/reader/api/0/edit- >
tag?ck=1277780000&client=WebService%3A%3AGoogle%3A%3AReader%2F0.1+(gzip) Show quoted text
> Content-Length: 415 > Content-Type: application/x-www-form-urlencoded > > a=user%2F- >
%2Fstate%2Fcom.google%2Fread&ac=edit&s=feed%2Fhttp%3A%2F%2Fweather.yahooapis.com%2Fforecastrss%3Fp%3DUS%26u%3Df&i=tag%3Agoogle.com%2C2005%3Areader%2Fitem%2F96cbc80ab66b&T=DQAAAJkAD5fgJbVgfYPWoM2_aY5fg2j0rBVcqoix3Dk8ELsxXMChnRIM0fXzDHY7iDcmI- Show quoted text
> T1A_BEPgP3bia596hRB9v8AYaFOVLSfRaYP- >
lKBu3BFCrfljI8lUeRF9M8pwlFIHhcMwkk5JMgb2bK1zUYoDrloYvFyuyNeI1LM7bR_Xy75nW5GB4EFoU_vAIzTnWCEVEyVDwaVfafDn3pQQIE5zd_ Show quoted text
> > > Any idea?
Subject: Re: [rt.cpan.org #58601] "Google Reader->unread returns no entry
Date: Wed, 23 Jun 2010 20:46:21 -0700
To: bug-WebService-Google-Reader [...] rt.cpan.org
From: An Vuong <anbinhvuong [...] yahoo.com>
Thanks for looking into it, I'll wait for the fixes :) On Wed, Jun 23, 2010 at 6:18 PM, gray via RT <bug-WebService-Google-Reader@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=58601 > > > I'll have it fixed in a day or two. If you need a working version now, I > suggest you drop back to version 0.09. > > On Wed Jun 23 21:12:53 2010, cb2002 wrote:
>> Hi again, >> >> When I try to use the call: >> >>       $reader->mark_read_feed($feed); >> >> or >>       $reader->mark_read_entry(@entries); >> >> then >> >> print "errors: " . $reader->error . "\n"; >> >> I got the error >> >> errors: 400 Bad Request - <html><head><title>400 Client Error</title> >> ... >> "There was an error in your request". >> >> >> Here was the the orignal request for mark_read_entry: >> >> POST http://www.google.com/reader/api/0/edit- >>
> tag?ck=1277780000&client=WebService%3A%3AGoogle%3A%3AReader%2F0.1+(gzip)
>> Content-Length: 415 >> Content-Type: application/x-www-form-urlencoded >> >> a=user%2F- >>
> %2Fstate%2Fcom.google%2Fread&ac=edit&s=feed%2Fhttp%3A%2F%2Fweather.yahooapis.com%2Fforecastrss%3Fp%3DUS%26u%3Df&i=tag%3Agoogle.com%2C2005%3Areader%2Fitem%2F96cbc80ab66b&T=DQAAAJkAD5fgJbVgfYPWoM2_aY5fg2j0rBVcqoix3Dk8ELsxXMChnRIM0fXzDHY7iDcmI-
>>    T1A_BEPgP3bia596hRB9v8AYaFOVLSfRaYP- >>
> lKBu3BFCrfljI8lUeRF9M8pwlFIHhcMwkk5JMgb2bK1zUYoDrloYvFyuyNeI1LM7bR_Xy75nW5GB4EFoU_vAIzTnWCEVEyVDwaVfafDn3pQQIE5zd_
>> >> >> Any idea?
> > > >
0.11 was pushed which fixes this