なんかPlagger動いてないと思ったら、otsuneさんのはてなダイアリーを購読してるとPlaggerがこけるっぽい

はてなブックマーク - なんかPlagger動いてないと思ったら、otsuneさんのはてなダイアリーを購読してるとPlaggerがこけるっぽい

なんかgmailが寂しいと思ったので、LogLevelをdebugにして動かしてみたら以下のようになった。

Plagger::Plugin::Subscription::LivedoorReader [info] You have 614 unread item(s) on livedoor Reader. Plagger [info] plugin Plagger::Plugin::Aggregator::Simple loaded. Plagger::Plugin::Subscription::LivedoorReader [debug] Logging in to Livedoor Reader Plagger::Plugin::Subscription::LivedoorReader [debug] get unread items of 1967834 Plagger::Plugin::Subscription::LivedoorReader [debug] get unread items of 2023794 The ‘epoch’ parameter (undef) to DateTime::from_epoch was an ‘undef’, which is not one of the allowed types: scalar at /home/nobu666/perl/lib/site_perl/5.8.8/i386-freebsd/DateTime.pm line 430 DateTime::from_epoch(‘undef’, ‘epoch’, ‘undef’, ‘time_zone’, ‘local’) called at /home/nobu666/perl/lib/site_perl/5.8.8/Plagger/Date.pm line 63 Plagger::Date::from_epoch(‘Plagger::Date’, ‘undef’) called at /home/nobu666/perl/lib/site_perl/5.8.8/Plagger/Plugin/Subscription/LivedoorReader.pm line 97 Plagger::Plugin::Subscription::LivedoorReader::sync(‘Plagger::Plugin::Subscription::LivedoorReader=HASH(0x8a3d72c)‘, ‘Plagger=HASH(0x87b4d44)’, ‘HASH(0x901eae0)’) called at /home/nobu666/perl/lib/site_perl/5.8.8/Plagger/Plugin/Subscription/LivedoorReader.pm line 58 Plagger::Plugin::Subscription::LivedoorReader::ANON(‘Plagger=HASH(0x87b4d44)’, ‘HASH(0x901eae0)’) called at /home/nobu666/perl/lib/site_perl/5.8.8/Plagger.pm line 328 Plagger::run(‘Plagger=HASH(0x87b4d44)’) called at /home/nobu666/perl/lib/site_perl/5.8.8/Plagger.pm line 69 Plagger::bootstrap(‘Plagger’, ‘config’, ‘/home/nobu666/plagger/ldr2gmail.yaml’) called at /home/nobu666/perl/bin/plagger line 24

日付絡みで落ちているっぽい?2023794はsubscription_idっぽいので、LDRのAPIを http://reader.livedoor.com/api/all?subscribe_id=?2023794 こんな感じで叩いてみた。返ってきたJSON抜粋。

{“ads”:[{“url”:“http://www.gyao.jp/rss/","title":"完全無料パソコンテレビ「GyaO」","description":"番組情報をジャンル別にRSS配信。新着情報をチェックすれば見逃しも防げる!"},{"url":"http://blog.livedoor.com/cgm.html","title":"ライブドアのブログ・クチコミ","description":"ウィキ、ソーシャルブックマーク、SNS、写真共有、キーワードすべてあります!"}],"subscribe_id":"?2023794","channel":{"error_count":"0","link":"http://d.hatena.ne.jp/otsune/","description":"import otsune from Hatena”,“image”:null,“title”:“import otsune from Hatena”,“feedlink”:“http://d.hatena.ne.jp/otsune/rss","subscribers_count":"178","expires":1156265399},"items":[{"enclosure":null,"link":"http://d.hatena.ne.jp/otsune/99990101/p1","enclosure_type":null,"author":"otsune","body":"","created_on":null,"modified_on":null,"id":"554908","title":"いそいで口で吸え","category":""},{"enclosure":null,"link":"http://d.hatena.ne.jp/otsune/20060821/AsyncMedia","enclosure_type":null,"author":"otsune","body":"ntt

\n\t\t\t

FIFTH EDITION: メディア・ゲーム・ネットで進む非同期化

\n\t\t\t
\n\t\t\t

すいません。ちょっと分かりにくいところが有るので質問します。

……

長いので途中で省略。「いそいで口で吸え」というエントリでcreated_onとmodified_onがnullなせいでしょうか。投稿日付が9999-01-01になってるのがそもそもの原因なの?よくわからない。Perlわかんねー…勉強せねば。

つーか「いそいで口で吸え」というと、「かんたまがきゆいのです」とか「やんこまりたい」とか「めんたまにきんそれーたむを塗ると、きつにじもちがいい」とか「ポール・マッカートニー取調室の菊池です」とか思い出しました。どうでもいいですね。


comments powered by Disqus