- 
    2f58ae01 :Anonymous
    2005-05-03 13:23
  
 
  - 
    Err となっているものをあげるだよもん。
    
    他のノードに接続するときのエラーだよもん。単にノードが停止しているだけだと思うだよもん。
    
    他ノードIP/server.cgi/ping: [Errno socket error] timed out
    
    (他、join や bye も同様だよもん)。
    自分自身のグローバルIPでも同じエラーはでるだよもん。これはルーターの仕様上仕方の無いことだよもん。
    
    次は rss を見るときに出るエラーだよもん。
    
    hugahuga<>02/May/2005 23:54:08<>GET /gateway.cgi/rss HTTP/1.0<><>Liferea/0.9.1 (Linux; ja_JP.UTF-8; http://liferea.sf.net/)
    ----------------------------------------
    Exception happened during processing of request from ('192.168.0.10', 47361)
    Traceback (most recent call last):
      File "/usr/lib/python2.3/SocketServer.py", line 463, in process_request_thread
        self.finish_request(request, client_address)
      File "/usr/lib/python2.3/SocketServer.py", line 254, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "/usr/lib/python2.3/SocketServer.py", line 521, in __init__
        self.handle()
      File "/usr/lib/python2.3/BaseHTTPServer.py", line 324, in handle
        self.handle_one_request()
      File "/usr/lib/python2.3/BaseHTTPServer.py", line 318, in handle_one_request
        method()
      File "/usr/lib/python2.3/SimpleHTTPServer.py", line 41, in do_GET
        f = self.send_head()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/LightCGIHTTPServer.py", line 78, in send_head
        return CGIHTTPServer.CGIHTTPRequestHandler.send_head(self)
      File "/usr/lib/python2.3/CGIHTTPServer.py", line 66, in send_head
        return self.run_cgi()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/LightCGIHTTPServer.py", line 187, in run_cgi
        cgiobj.start()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/basecgi.py", line 53, in start
        self.run()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/gateway_cgi.py", line 48, in run
        self.print_rss()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/gateway_cgi.py", line 149, in print_rss
        self.stdout.write(
    IndexError: list index out of range
    ----------------------------------------
    
    次のエラーはよくわからないだよもん。
    
    shingetsu.node.NodeList.pingall() finished
    suse-99<>03/May/2005 02:54:11<>GET /gateway.cgi/rss HTTP/1.0<><>Liferea/0.9.1 (Linux; ja_JP.UTF-8; http://liferea.sf.net/)
    talk: http://どこかの新月ノード:8000/server.cgi/have/note_E38280E381A4E381AEE697A5E8A898
    talk: http://同上:8000/server.cgi/head/note_E38280E381A4E381AEE697A5E8A898/1109543882-
    OSError: No such file or directory
    IOError/OSError: No such file or directory
    ----------------------------------------
    Exception happened during processing of request from ('127.0.0.1', 1041)
    Traceback (most recent call last):
      File "/usr/lib/python2.3/SocketServer.py", line 463, in process_request_thread
        self.finish_request(request, client_address)
      File "/usr/lib/python2.3/SocketServer.py", line 254, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "/usr/lib/python2.3/SocketServer.py", line 521, in __init__
        self.handle()
      File "/usr/lib/python2.3/BaseHTTPServer.py", line 324, in handle
        self.handle_one_request()
      File "/usr/lib/python2.3/BaseHTTPServer.py", line 318, in handle_one_request
        method()
      File "/usr/lib/python2.3/SimpleHTTPServer.py", line 41, in do_GET
        f = self.send_head()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/LightCGIHTTPServer.py", line 78, in send_head
        return CGIHTTPServer.CGIHTTPRequestHandler.send_head(self)
      File "/usr/lib/python2.3/CGIHTTPServer.py", line 66, in send_head
        return self.run_cgi()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/LightCGIHTTPServer.py", line 187, in run_cgi
        cgiobj.start()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/basecgi.py", line 53, in start
        self.run()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/client_cgi.py", line 104, in run
        self.do_sync()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/client_cgi.py", line 145, in do_sync
        cachelist.getall(timelimit=self.timelimit)
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/cache.py", line 572, in getall
        cache.sync_body()
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/cache.py", line 460, in sync_body
        body.write(r.body_string() + "\n")
      File "/home/hogehoge/shingetsu/saku-0.3.1/shingetsu/cache.py", line 230, in body_string
        buf = [self["stamp"], self["id"]]
    KeyError: 'stamp'
    ----------------------------------------
    
    note_E38280E381A4E381AEE697A5E8A898 の body.cache は0バイトだよもん。
    
    後は list や thread が存在してないことに起因する IOError だよもん。
    
    キャッシュが2月末までしかないのは、その時点でのバックアップをもとにしたからだよもん。
    でも、半日稼働させても3月以降の新しい書き込みと同期できないのは、
    ちょっとショボーンだよもん。
   
Powered by shinGETsu.