Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: abs.unfish [...] gmail.com
Cc:
AdminCc:

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



Subject: problems with feeds
Hello, I have some problems with script from examples (reset_account.pl) my $user = 'user@gmail.com'; my $pass = 'passwd'; my $reader = WebService::Google::Reader->new( username => $user, password => $pass, ); my @feeds = $reader->feeds; die $reader->error if $reader->error; It dies with such error message: Failed to parse JSON response: Wide character in subroutine entry at /usr/local/share/perl/5.10.0/JSON/Any.pm line 529 I have ubuntu 9.04 x86_64, updated last week, current module and it's dependencies were downloaded from cpan. perl version:perl -v This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
On Mon Aug 17 19:04:40 2009, helpus wrote: Show quoted text
> Hello, I have some problems with script from examples (reset_account.pl) > > my $user = 'user@gmail.com'; > my $pass = 'passwd'; > my $reader = WebService::Google::Reader->new( > username => $user, > password => $pass, > ); > my @feeds = $reader->feeds; > die $reader->error if $reader->error; > > > It dies with such error message: > Failed to parse JSON response: Wide character in subroutine entry at > /usr/local/share/perl/5.10.0/JSON/Any.pm line 529 > > > I have ubuntu 9.04 x86_64, updated last week, current module and it's > dependencies were downloaded from cpan. > perl version:perl -v > > This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
It sounds like an encoding issue. Can you provide me the urls to any of your feeds that have foreign characters in their titles so I can test against them?
On Mon Aug 17 20:44:00 2009, GRAY wrote: Show quoted text
> On Mon Aug 17 19:04:40 2009, helpus wrote:
> > Hello, I have some problems with script from examples (reset_account.pl) > > > > my $user = 'user@gmail.com'; > > my $pass = 'passwd'; > > my $reader = WebService::Google::Reader->new( > > username => $user, > > password => $pass, > > ); > > my @feeds = $reader->feeds; > > die $reader->error if $reader->error; > > > > > > It dies with such error message: > > Failed to parse JSON response: Wide character in subroutine entry at > > /usr/local/share/perl/5.10.0/JSON/Any.pm line 529 > > > > > > I have ubuntu 9.04 x86_64, updated last week, current module and it's > > dependencies were downloaded from cpan. > > perl version:perl -v > > > > This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
> > It sounds like an encoding issue. Can you provide me the urls to any of > your feeds that have foreign characters in their titles so I can test > against them? >
I exported all my reader urls to a file (attached). But maybe these will help you: title="&amp;#1057;&amp;#1072;&amp;#1085;&amp;#1082;&amp;#1090;-&amp;#1055;&amp;#1077;&amp;#1090;&amp;#1077;&amp;#1088;&amp;#1073;&amp;#1091;&amp;#1088;&amp;#1075;&amp;#1089;&amp;#1082;&amp;#1072;&amp;#1103; &amp;#1075;&amp;#1088;&amp;#1091;&amp;#1087;&amp;#1087;&amp;#1072; &amp;#1090;&amp;#1077;&amp;#1089;&amp;#1090;&amp;#1080;&amp;#1088;&amp;#1086;&amp;#1074;&amp;#1072;&amp;#1085;&amp;#1080;&amp;#1103; JVM" type="rss" xmlUrl="http://blogs.sun.com/vmrobot/feed/entries/rss" htmlUrl="http://blogs.sun.com/vmrobot/"/> and <outline text="マギの夢の道" title="マギの夢の道" type="rss" xmlUrl="http://blogs.yahoo.co.jp/magichan2007/rss.xml" htmlUrl="http://rd.yahoo.co.jp/rss/l/blog/myblog/rss2/url/*http://blogs.yahoo.co.jp/magichan2007"/>
<?xml version="1.0" encoding="UTF-8"?> <opml version="1.0"> <head> <title>abs_: подписки в Google Reader</title> </head> <body> <outline text="&amp;#1057;&amp;#1072;&amp;#1085;&amp;#1082;&amp;#1090;-&amp;#1055;&amp;#1077;&amp;#1090;&amp;#1077;&amp;#1088;&amp;#1073;&amp;#1091;&amp;#1088;&amp;#1075;&amp;#1089;&amp;#1082;&amp;#1072;&amp;#1103; &amp;#1075;&amp;#1088;&amp;#1091;&amp;#1087;&amp;#1087;&amp;#1072; &amp;#1090;&amp;#1077;&amp;#1089;&amp;#1090;&amp;#1080;&amp;#1088;&amp;#1086;&amp;#1074;&amp;#1072;&amp;#1085;&amp;#1080;&amp;#1103; JVM" title="&amp;#1057;&amp;#1072;&amp;#1085;&amp;#1082;&amp;#1090;-&amp;#1055;&amp;#1077;&amp;#1090;&amp;#1077;&amp;#1088;&amp;#1073;&amp;#1091;&amp;#1088;&amp;#1075;&amp;#1089;&amp;#1082;&amp;#1072;&amp;#1103; &amp;#1075;&amp;#1088;&amp;#1091;&amp;#1087;&amp;#1087;&amp;#1072; &amp;#1090;&amp;#1077;&amp;#1089;&amp;#1090;&amp;#1080;&amp;#1088;&amp;#1086;&amp;#1074;&amp;#1072;&amp;#1085;&amp;#1080;&amp;#1103; JVM" type="rss" xmlUrl="http://blogs.sun.com/vmrobot/feed/entries/rss" htmlUrl="http://blogs.sun.com/vmrobot/"/> <outline text="0x000000 Security" title="0x000000 Security" type="rss" xmlUrl="http://www.0x000000.com/rss.php" htmlUrl="http://www.0x000000.com"/> <outline text="AlBlue's Weblog" title="AlBlue's Weblog" type="rss" xmlUrl="http://alblue.blogspot.com/feeds/posts/default" htmlUrl="http://alblue.blogspot.com/"/> <outline text="All C++ jobs | oDesk.com" title="All C++ jobs | oDesk.com" type="rss" xmlUrl="http://www.odesk.com/jobs/rss?q=C%2B%2B&amp;c1=Software+Development" htmlUrl="http://www.odesk.com/jobs/rss?q=C%2B%2B&amp;c1=Software+Development"/> <outline text="Artima Weblogs" title="Artima Weblogs" type="rss" xmlUrl="http://www.artima.com/weblogs/feeds/weblogs.rss" htmlUrl="http://www.artima.com/weblogs/"/> <outline text="C++ Truths" title="C++ Truths" type="rss" xmlUrl="http://cpptruths.blogspot.com/atom.xml" htmlUrl="http://cpptruths.blogspot.com/"/> <outline text="Computer Science клуб при ПОМИ РАН blogs" title="Computer Science клуб при ПОМИ РАН blogs" type="rss" xmlUrl="http://feeds.feedburner.com/ComputerScienceClub" htmlUrl="http://logic.pdmi.ras.ru/~infclub/?q=news"/> <outline text="Editor's Daily Blog" title="Editor's Daily Blog" type="rss" xmlUrl="http://weblogs.java.net/blog/editors/index.rdf" htmlUrl="http://weblogs.java.net/blog/editors/"/> <outline text="FEMME TERRIBLE" title="FEMME TERRIBLE" type="rss" xmlUrl="http://marussia.livejournal.com/data/rss" htmlUrl="http://marussia.livejournal.com/"/> <outline text="Gaperton's blog" title="Gaperton's blog" type="rss" xmlUrl="http://gaperton.livejournal.com/data/rss" htmlUrl="http://gaperton.livejournal.com/"/> <outline text="Google Summer of Code Blog" title="Google Summer of Code Blog" type="rss" xmlUrl="http://googlesummerofcode.blogspot.com/feeds/posts/default" htmlUrl="http://googlesummerofcode.blogspot.com/"/> <outline text="highly professional scums" title="highly professional scums" type="rss" xmlUrl="http://blog.gamedeff.com/?feed=rss2" htmlUrl="http://blog.gamedeff.com"/> <outline text="Joel on Software" title="Joel on Software" type="rss" xmlUrl="http://www.joelonsoftware.com/rss.xml" htmlUrl="http://www.joelonsoftware.com"/> <outline text="Josh the Outspoken" title="Josh the Outspoken" type="rss" xmlUrl="http://blog.reverberate.org/feed/" htmlUrl="http://blog.reverberate.org"/> <outline text="Michael On Security" title="Michael On Security" type="rss" xmlUrl="http://michaelonsecurity.com/feed/" htmlUrl="http://michaelonsecurity.com"/> <outline text="NetBeans Highlights" title="NetBeans Highlights" type="rss" xmlUrl="http://www.netbeans.org/rss-091.xml" htmlUrl="http://www.netbeans.org/index.html"/> <outline text="On Scheme" title="On Scheme" type="rss" xmlUrl="http://pschombe.wordpress.com/feed/" htmlUrl="http://pschombe.wordpress.com"/> <outline text="O'Reilly ONJava Blog" title="O'Reilly ONJava Blog" type="rss" xmlUrl="http://www.oreillynet.com/onjava/blog/atom.xml" htmlUrl="http://oreilly.com/java/"/> <outline text="Perl Developer" title="Perl Developer" type="rss" xmlUrl="http://community.livejournal.com/ru_perl/data/rss" htmlUrl="http://community.livejournal.com/ru_perl/"/> <outline text="Raider's Programming Blog" title="Raider's Programming Blog" type="rss" xmlUrl="http://dvinogradov.blogspot.com/feeds/posts/default" htmlUrl="http://dvinogradov.blogspot.com/"/> <outline text="Scala News" title="Scala News" type="rss" xmlUrl="http://feeds.feedburner.com/Scala" htmlUrl="http://www.scala-lang.org/"/> <outline text="Time Capsules" title="Time Capsules" type="rss" xmlUrl="http://coupland.blogs.nytimes.com/rss2.xml" htmlUrl="http://coupland.blogs.nytimes.com"/> <outline text="Understanding the Ocean" title="Understanding the Ocean" type="rss" xmlUrl="http://blogs.sun.com/vlatushkin/feed/entries/atom" htmlUrl="http://blogs.sun.com/vlatushkin/"/> <outline text="Агенты и мультиагентные системы" title="Агенты и мультиагентные системы" type="rss" xmlUrl="http://aivanoff.blogspot.com/feeds/posts/default" htmlUrl="http://aivanoff.blogspot.com/"/> <outline text="Алёна C++" title="Алёна C++" type="rss" xmlUrl="http://alenacpp.blogspot.com/atom.xml" htmlUrl="http://alenacpp.blogspot.com/"/> <outline text="Анализ Дампов Памяти" title="Анализ Дампов Памяти" type="rss" xmlUrl="http://www.dumpanalysis.org/ru/blog/index.php/feed/" htmlUrl="http://www.dumpanalysis.org/ru/blog"/> <outline text="Дима Харди" title="Дима Харди" type="rss" xmlUrl="http://dimahardie.blogspot.com/feeds/posts/default" htmlUrl="http://dimahardie.blogspot.com/"/> <outline text="Ежедневный Журнал" title="Ежедневный Журнал" type="rss" xmlUrl="http://www.ej.ru/xml" htmlUrl="http://www.ej.ru"/> <outline text="Журнал Пушыстого" title="Журнал Пушыстого" type="rss" xmlUrl="http://users.livejournal.com/_winnie/data/rss" htmlUrl="http://users.livejournal.com/_winnie/"/> <outline text="Научная кунсткамера" title="Научная кунсткамера" type="rss" xmlUrl="http://community.livejournal.com/science_freaks/data/rss" htmlUrl="http://community.livejournal.com/science_freaks/"/> <outline text="Наши за границей" title="Наши за границей" type="rss" xmlUrl="http://zagranicey.ru/feed/" htmlUrl="http://zagranicey.ru"/> <outline text="российское книжное cообщество" title="российское книжное cообщество" type="rss" xmlUrl="http://community.livejournal.com/ru_books/data/rss" htmlUrl="http://community.livejournal.com/ru_books/"/> <outline text="Сергей Салищев" title="Сергей Салищев" type="rss" xmlUrl="http://salishev.road2web.com/dokuwiki/feed.php" htmlUrl="http://salishev.road2web.com/dokuwiki/"/> <outline text="Хабрахабр: коллективные" title="Хабрахабр: коллективные" type="rss" xmlUrl="http://habrahabr.ru/rss/blogs/artificial_intelligence/" htmlUrl="http://habrahabr.ru/rss/blogs/artificial_intelligence/"/> <outline text="Хотеть Учу Русский Языка" title="Хотеть Учу Русский Языка" type="rss" xmlUrl="http://blogs.ungrund.org/andrew/?feed=atom" htmlUrl="http://blogs.ungrund.org/andrew"/> <outline text="Хроники пикирующего мира" title="Хроники пикирующего мира" type="rss" xmlUrl="http://anonimusi.livejournal.com/data/rss" htmlUrl="http://anonimusi.livejournal.com/"/> <outline text="Яуволен" title="Яуволен" type="rss" xmlUrl="http://yauvolen.ru/?feed=rss2" htmlUrl="http://yauvolen.ru/wordpress"/> <outline text="マギの夢の道" title="マギの夢の道" type="rss" xmlUrl="http://blogs.yahoo.co.jp/magichan2007/rss.xml" htmlUrl="http://rd.yahoo.co.jp/rss/l/blog/myblog/rss2/url/*http://blogs.yahoo.co.jp/magichan2007"/> <outline title="infanata" text="infanata"> <outline text="Infanata - Лучшие книги Интернета" title="Infanata - Лучшие книги Интернета" type="rss" xmlUrl="http://www.infanata.org/computers/prog/rss.xml" htmlUrl="http://www.infanata.org/"/> <outline text="Infanata - Лучшие книги Интернета" title="Infanata - Лучшие книги Интернета" type="rss" xmlUrl="http://www.infanata.org/computers/net/rss.xml" htmlUrl="http://www.infanata.org/"/> </outline> </body> </opml>
A fix has been pushed in the latest release.