ricardocabral/iskdaemon — Issue #18: Unknown error on missing or invalid parameters  
Author: ricardocabral
Created: 2012-01-08 13:21:50+00:00
State: open
Labels: OS:Any, P:Minor

Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/web/server.py", line 127, in process
self.render(resrc)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/web/server.py", line 147, in render
body = resrc.render(self)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/web/resource.py", line 216, in render
return m(request)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/web/xmlrpc.py", line 172, in render_POST
d = defer.maybeDeferred(function, *args)
--- ---
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py", line 133, in maybeDeferred
result = f(*args, **kw)
File "./isk-daemon.py", line 78, in queryImgID
id = int(id)
exceptions.ValueError: invalid literal for int() with base 10: ''
Unhandled Error