新月の開発

開発

開発 新月 新月技術局 雑談

412b4274 anonymous 2010-05-31 22:39
バグレポートなう

----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 53796)
Traceback (most recent call last):
  File "C:\Python26\lib\SocketServer.py", line 558, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python26\lib\SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python26\lib\SocketServer.py", line 615, in __init__
    self.handle()
  File "C:\Python26\lib\BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "C:\Python26\lib\BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "C:\Python26\lib\SimpleHTTPServer.py", line 43, in do_GET
    f = self.send_head()
  File "G:\saku.2010-01-01\shingetsu\LightCGIHTTPServer.py", line 115, in send_head
    return CGIHTTPServer.CGIHTTPRequestHandler.send_head(self)
  File "C:\Python26\lib\CGIHTTPServer.py", line 68, in send_head
    return self.run_cgi()
  File "G:\saku.2010-01-01\shingetsu\LightCGIHTTPServer.py", line 234, in run_cgi
    cgiobj.start()
  File "G:\saku.2010-01-01\shingetsu\basecgi.py", line 101, in start
    self.run()
  File "G:\saku.2010-01-01\shingetsu\client_cgi.py", line 127, in run
    self.do_moonlight()
  File "G:\saku.2010-01-01\shingetsu\client_cgi.py", line 200, in do_moonlight
    result = cache.search()
  File "G:\saku.2010-01-01\shingetsu\cache.py", line 719, in search
    self.get_with_range(node)
  File "G:\saku.2010-01-01\shingetsu\cache.py", line 612, in get_with_range
    count = self.check_data(res, begin=begin, end=now)
  File "G:\saku.2010-01-01\shingetsu\cache.py", line 540, in check_data
    for i in res:
  File "G:\saku.2010-01-01\shingetsu\node.py", line 158, in __iter__
    for line in self.fp:
  File "C:\Python26\lib\gzip.py", line 438, in next
    line = self.readline()
  File "C:\Python26\lib\gzip.py", line 393, in readline
    c = self.read(readsize)
  File "C:\Python26\lib\gzip.py", line 219, in read
    self._read(readsize)
  File "G:\saku.2010-01-01\shingetsu\node.py", line 137, in _read
    uncompress = self.decompress.decompress(buf)
error: Error -3 while decompressing: invalid code lengths set
----------------------------------------
73b6afc3 anonymous 2010-05-31 23:42
おかしい。隣接ノードがなくなったorz
一向に接続してくれん
10720fc1 anonymous 2010-05-31 23:50
2日間ぐらい新月に接続してなかったんだが
「状態」の「自分自身のノード」が空になって
起動時にエラー吐くようになった


  File "/usr/lib/python2.5/urllib.py", line 314, in open_http
    h = httplib.HTTP(host)
  File "/usr/lib/python2.5/httplib.py", line 1159, in __init__
    self._setup(self._connection_class(host, port, strict))
  File "/usr/lib/python2.5/httplib.py", line 639, in __init__
    self._set_hostport(host, port)
  File "/usr/lib/python2.5/httplib.py", line 651, in _set_hostport
    raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
InvalidURL: nonnumeric port: ''
----------------------------------------
f478e13f anonymous 2010-05-31 23:52
>>73b6afc3
すまん、ちょっと貼りすぎてDNS状態だったかもしれん。
a90de733 anonymous 2010-05-31 23:53
次のバージョンでは、ノード同士のやりとりを HTTPS にして欲しい。
DPI の導入やら何やらの動きを知ると、やり取りは暗号化必須だな、と思う。
fc9066c2 anonymous 2010-05-31 23:54
>>f478e13f
もしかして:DOS
af84741d anonymous 2010-06-01 16:56
>>75bc56ef
自己解決した。ごめん。
75bc56ef anonymous 2010-06-01 16:58
>>10720fc1
つづき。
どうやらルーターをリセットしたせいだったようだ。
だが、ポート開放したのに変わらない。なんなんだ?
ちょっと接続してないだけなんだが。。。
dd8438ba anonymous 2010-06-04 18:02
朔のthread_cgi.pyで、setcookie()の
cookie['tmpaccess']['path'] = '/'

cookie['tmpaccess']['path'] = path
として
20jump.jsのfunction removeCookie()もpathをlocation.pathnameにしてみたんだけど、何か問題あるかな?
9b7bd3c9 anonymous 2010-06-07 23:58
次期バージョンの朔で、node.pyのURLopenerをFancyURLopenerに変更して頂けませんか?
15a5f34d anonymous 2010-06-09 08:15
>>9b7bd3c9
なぜ?
80861d94 anonymous 2010-06-16 22:39
非公開ゲートウェーにするためにsaku.iniのvisitorをローカルのみにしたのにアクセスログ見たら外部から見られてた。
非公開にする方法プリーズ。
e66a09ea anonymous 2010-06-16 22:41
>>80861d94
多分見られていたんじゃなくログの取得や隣接ノードとの同期じゃないか?
5534fbf0 anonymous 2010-06-16 23:01
>>e66a09ea
121.102.xx.xx<>16/Jun/2010 22:15:49<>GET /gateway.cgi/changes HTTP/1.1<>http://219.44.246.9:15569/thread.cgi/%E5%83%8D%E3%81%8D%E3%81%9F%E3%81%84%E3%81%A7%E3%81%94%E3%81%96%E3%82%8B%EF%BC%81%E3%80%80%E5%88%87%E5%AE%9F%E3%81%AB%E5%83%8D%E3%81%8D%E3%81%9F%E3%81%84%E3%81%A7%E3%81%94%E3%81%96%E3%82%8B%EF%BC%81%EF%BC%81%EF%BC%81<>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

思いっきり外部だしクライアントの接続なのだが。
f2f6daef anonymous 2010-06-16 23:05
頭(他人)隠して尻(自分)隠さず・・・orz
8acad9bf anonymous 2010-06-17 01:21
そして何故かローカルの他のPCでスレ立てとか新着情報閲覧できる設定をしたのにうまくいかないorz
220eb281 anonymous 2010-06-17 09:09
[Gateway]
admin: ^127|^192.168.
friend: ^192.168.
visitor: ^192.168.

こんな感じ。てか書く場所間違ってる悪寒。
77ca023e anonymous 2010-06-17 10:38
>>220eb281
その通りでしたorz
8f397c26 anonymous 2010-06-19 09:55
>>77ca023e
ゆーあーうえるかむ
スパムフィルタもよろしく

スパムフィルタ倉庫 - *スパムフィルタを共有しよう
http://shingetsu.info/wiki/?%e3%82%b9%e3%83%91%e3%83%a0%e3%83%95%e3%82%a3%e3%83%ab%e3%82%bf%e5%80%89%e5%ba%ab
cef96d21 anonymous 2010-06-19 20:28
>>220eb281
admin: ^192.168.

admin の ^127. は、いらなくなったんだった

Top of this page. | <<last <<new 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 old>> | Archive | Mobile

Agreement
Name: E-mail:
Attach: Suffix:(limit: 1536KB)

開発

開発 新月 新月技術局 雑談

(新月の開発/374/0.2MB)

Powered by shinGETsu.