«前の日記(Tue, 27 Aug 2013 (平成25年)) 最新 次の日記(Thu, 29 Aug 2013 (平成25年))» 編集 RSS with tsukkomi RSS without tsukkomi

実験的「実験的日記」


Wed, 28 Aug 2013 (平成25年) [長年日記]

_ エラーが出た

この日記の昨日分の編集ページで「ツッコミ表示状態変更」をクリックしたらこんなエラー。

パターン 1(「テスト」しかなかった時)

Plugin Error
Errors in plugins? Retry to Edit(2013-08-27) or Configure.
SecurityError
Insecure operation - to_native
/home/takasi/public_html/tdiary/tdiary/config.rb:74:in `encode!'
/home/takasi/public_html/tdiary/tdiary/config.rb:74:in `to_native'
/home/takasi/public_html/tdiary/tdiary/plugin.rb:347:in `disp_referer'
(plugin/05referer.rb):246:in `block in referer_of_today_long'
/home/takasi/public_html/tdiary/tdiary/referer_manager.rb:54:in `block in each_referer'
/home/takasi/public_html/tdiary/tdiary/referer_manager.rb:52:in `each'
/home/takasi/public_html/tdiary/tdiary/referer_manager.rb:52:in `each_with_index'
/home/takasi/public_html/tdiary/tdiary/referer_manager.rb:52:in `each_referer'
(plugin/05referer.rb):245:in `referer_of_today_long'
(TDiary::Plugin#eval_src):98:in `block in eval_src'
/home/takasi/public_html/tdiary/tdiary/plugin.rb:99:in `eval'
/home/takasi/public_html/tdiary/tdiary/plugin.rb:99:in `block in eval_src'
/home/takasi/public_html/tdiary/tdiary/core_ext.rb:112:in `block in safe'
/home/takasi/public_html/tdiary/tdiary/core_ext.rb:114:in `call'
/home/takasi/public_html/tdiary/tdiary/core_ext.rb:114:in `safe'
/home/takasi/public_html/tdiary/tdiary/plugin.rb:98:in `eval_src'
/home/takasi/public_html/tdiary/tdiary/base.rb:66:in `do_eval_rhtml'
/home/takasi/public_html/tdiary/tdiary/base.rb:30:in `eval_rhtml'
/home/takasi/public_html/tdiary/tdiary/admin.rb:225:in `eval_rhtml'
/home/takasi/public_html/tdiary/tdiary/dispatcher/update_main.rb:31:in `run'
/home/takasi/public_html/tdiary/tdiary/dispatcher/update_main.rb:6:in `run'
/home/takasi/public_html/tdiary/tdiary/dispatcher.rb:26:in `dispatch_cgi'
update.rb:32:in `<main>'

パターン2(二つ目のツッコミがあった以降)

Plugin Error
Errors in plugins? Retry to Edit(2013-08-27) or Configure.
Encoding::CompatibilityError
incompatible character encodings: ASCII-8BIT and UTF-8
(plugin/05referer.rb):246:in `block in referer_of_today_long'
/home/takasi/public_html/tdiary/tdiary/referer_manager.rb:54:in `block in each_referer'
/home/takasi/public_html/tdiary/tdiary/referer_manager.rb:52:in `each'
/home/takasi/public_html/tdiary/tdiary/referer_manager.rb:52:in `each_with_index'
/home/takasi/public_html/tdiary/tdiary/referer_manager.rb:52:in `each_referer'
(plugin/05referer.rb):245:in `referer_of_today_long'
(TDiary::Plugin#eval_src):108:in `block in eval_src'
/home/takasi/public_html/tdiary/tdiary/plugin.rb:99:in `eval'
/home/takasi/public_html/tdiary/tdiary/plugin.rb:99:in `block in eval_src'
/home/takasi/public_html/tdiary/tdiary/core_ext.rb:112:in `block in safe'
/home/takasi/public_html/tdiary/tdiary/core_ext.rb:114:in `call'
/home/takasi/public_html/tdiary/tdiary/core_ext.rb:114:in `safe'
/home/takasi/public_html/tdiary/tdiary/plugin.rb:98:in `eval_src'
/home/takasi/public_html/tdiary/tdiary/base.rb:66:in `do_eval_rhtml'
/home/takasi/public_html/tdiary/tdiary/base.rb:30:in `eval_rhtml'
/home/takasi/public_html/tdiary/tdiary/admin.rb:225:in `eval_rhtml'
/home/takasi/public_html/tdiary/tdiary/dispatcher/update_main.rb:31:in `run'
/home/takasi/public_html/tdiary/tdiary/dispatcher/update_main.rb:6:in `run'
/home/takasi/public_html/tdiary/tdiary/dispatcher.rb:26:in `dispatch_cgi'
update.rb:32:in `<main>'

referer の処理部分みたいだからツッコミの数が関係してるわけではなさそうだけども。

目次

«前の日記(Tue, 27 Aug 2013 (平成25年)) 最新 次の日記(Thu, 29 Aug 2013 (平成25年))» 編集