-
afddd839 :Anonymous
2015-02-18 23:22
-
>>c3d75cf8
特にエラーログは出てませんでしたが
2chの処理の部分がtryで囲まれてDatkeyNotFoundの例外が発生した時はpassして404を返すみたいなプログラムになっていましたので
tryを消してみ/2ch/subject.txtにアクセスしたらこのようになりました
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/waitress/channel.py", line 337, in service
task.service()
File "/usr/local/lib/python3.2/dist-packages/waitress/task.py", line 173, in service
self.execute()
File "/usr/local/lib/python3.2/dist-packages/waitress/task.py", line 392, in execute
app_iter = self.channel.server.application(env, start_response)
File "/usr/local/lib/python3.2/dist-packages/shingetsu/mch/middleware.py", line 76, in newapp
raw = app(environ, capture)
File "/usr/local/lib/python3.2/dist-packages/shingetsu/mch/middleware.py", line 46, in newapp
raw = app(environ, capture)
File "/usr/local/lib/python3.2/dist-packages/shingetsu/mch/middleware.py", line 18, in newapp
body = app(environ, capture)
File "/usr/local/lib/python3.2/dist-packages/shingetsu/mch/datd.py", line 86, in dat_app
return app(env, resp)
File "/usr/local/lib/python3.2/dist-packages/shingetsu/mch/datd.py", line 223, in subject_app
subjects, last_stamp = make_subject(env, board_name)
File "/usr/local/lib/python3.2/dist-packages/shingetsu/mch/datd.py", line 249, in make_subject
key=keylib.get_datkey(c.datfile),
File "/usr/local/lib/python3.2/dist-packages/shingetsu/mch/keylib.py", line 35, in get_datkey
raise DatkeyNotFound
shingetsu.mch.keylib.DatkeyNotFound
Powered by shinGETsu.