[#]
небольшая бага
dubc(lenina,34) — All
2014-05-30 09:04:34
Если в конфиге есть пустая строка:
Traceback (most recent call last):
File "/home/sva/ii-client/clapi/bottle.py", line 783, in _handle
return route.call(**args)
File "/home/sva/ii-client/clapi/bottle.py", line 1635, in wrapper
rv = callback(*a, **ka)
File "run.py", line 68, in h_get
gm.fetch([x for x,y in echolist],url)
File "/home/sva/ii-client/clapi/getmsg.py", line 55, in fetch
s = getf('%sm/%s' % (cfg[1], '/'.join(dl)))
File "/home/sva/ii-client/clapi/getmsg.py", line 13, in getf
response = urllib2.urlopen(request)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found