Skip to content

Instantly share code, notes, and snippets.

@ugurcan377
Created November 4, 2012 23:25
Show Gist options
  • Save ugurcan377/4014346 to your computer and use it in GitHub Desktop.
Save ugurcan377/4014346 to your computer and use it in GitHub Desktop.
DEBUG:spyne.server.wsgi:Method name: 'download_file'
DEBUG:spyne.protocol.http: header : {'host': ['localhost:7789'], 'accept': ['text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'], 'connection': ['keep-alive'], 'cookie': ['csrftoken=f17ecdf6c9a76539530dffe740da5b29'], 'user_agent': ['Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0'], 'accept_language': ['tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3'], 'referer': ['http://localhost:7789/example/0.1.0'], 'accept_encoding': ['gzip, deflate']}
DEBUG:spyne.protocol.http: body : {'file_name': [u'example-0.1.0.tar.gz'], 'project_name': [u'example'], 'version': [u'0.1.0']}
DEBUG:spyne.protocol.dictobj: set freq ('file_name',) = 1
DEBUG:spyne.protocol.dictobj: set default ('file_name',)('file_name') = u'example-0.1.0.tar.gz'
DEBUG:spyne.protocol.dictobj: set freq ('project_name',) = 1
DEBUG:spyne.protocol.dictobj: set default ('project_name',)('project_name') = u'example'
DEBUG:spyne.protocol.dictobj: set freq ('version',) = 1
DEBUG:spyne.protocol.dictobj: set default ('version',)('version') = u'0.1.0'
WSGI application error
Traceback (most recent call last):
File "/home/ugurcan/.local/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/threadpool.py", line 190, in _worker
o = self.q.get()
File "/home/ugurcan/.local/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/ugurcan/.local/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/python/context.py", line 83, in callWithContext
self.contexts.pop()
File "/home/ugurcan/.local/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py", line 340, in run
self.started = True
--- <exception caught here> ---
File "/home/ugurcan/.local/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/web/wsgi.py", line 315, in run
appIterator = self.application(self.environ, self.startResponse)
File "/home/ugurcan/workspace/spynepi/spynepi/main.py", line 64, in _application
return endpoint(environ, start_response, wsgi_url)
File "/home/ugurcan/workspace/spyne/spyne/server/wsgi.py", line 182, in __call__
return self._verb_handlers[verb](req_env, start_response)
File "/home/ugurcan/workspace/spyne/spyne/server/wsgi.py", line 336, in handle_rpc
first_chunk = retval_iter.next()
File "/home/ugurcan/workspace/spyne/spyne/model/binary.py", line 148, in to_string_iterable
assert value.path, "You need to write data to persistent storage first " \
exceptions.AttributeError: type object 'File' has no attribute 'path'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment