Portál AbcLinuxu, 12. května 2025 12:37
./lidegw.py:172: DeprecationWarning: the md5 module is deprecated; use hashlib instead import copy, md5, os, re, socket, string, sys, threading, time, urllib, urllib2, random
[2008/11/21 13:17:36] Lidegw lidegw-44, nasloucham na portu 13801
A to je vše, klient ať už Konversation či Opera se nepřipojí, brána by měla vypsat příchozí spojení a neudělá tak, z toho co píše python moc moudrý nejsem, takže buď je to tím nebo možná localhostem, ale nepřipojím se, chmm... nějaká rada by nebyla, prosím?
[2008/11/22 16:01:25] Lidegw lidegw-44, nasloucham na portu 13801 [2008/11/22 16:01:39] Nove spojeni z 127.0.0.1 Traceback (most recent call last): File "lidegw.py", line 445, in login data = self.kernel.urlopen(self.kernel.loginurl, params).read() File "/usr/lib/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/lib/python2.5/urllib2.py", line 498, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.5/urllib2.py", line 419, in error result = self._call_chain(*args) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "lidegw.py", line 338, in http_error_302 return (headers.getheader("Location"), re.findall("ds=(.+);path", headers.getheader("Set-cookie"))[0]) IndexError: list index out of range Traceback (most recent call last): File "lidegw.py", line 1782, in run myInst.login() File "lidegw.py", line 445, in login data = self.kernel.urlopen(self.kernel.loginurl, params).read() File "/usr/lib/python2.5/urllib2.py", line 387, in open response = meth(req, response) File "/usr/lib/python2.5/urllib2.py", line 498, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.5/urllib2.py", line 419, in error result = self._call_chain(*args) File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain result = func(*args) File "lidegw.py", line 338, in http_error_302 return (headers.getheader("Location"), re.findall("ds=(.+);path", headers.getheader("Set-cookie"))[0]) IndexError: list index out of range
Ticho po pěšině koukám
to uz mas nekde chybu v tom co pres branu spoustis jinak brana ti jede ok
diky za nakopnuti... ja tam rval spatny heslo... ale tohle se stava je jednou za 150let!
Nemám, na auru jsem našel Python 2.5 a s ním to jde, takže po problému.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.