-
Notifications
You must be signed in to change notification settings - Fork 2
Description
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib64/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "/usr/lib64/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in call
return self.callable(_self.args, *_self.kwargs)
File "/home/ext/slideshow-src/slideshow/pages/slides.py", line 198, in submit
s = slide.create(cherrypy.thread_data.db, assembler, kwargs)
File "/home/ext/slideshow-src/slideshow/lib/slide.py", line 162, in create
slide._data = json.loads(slide.assemble(params))
File "/home/ext/slideshow-src/slideshow/lib/slide.py", line 54, in assemble
return json.dumps(self.assembler.assemble(self, **params))
File "/home/ext/slideshow-src/slideshow/lib/assembler/image.py", line 25, in assemble
return self.upload(slide, filename)
File "/home/ext/slideshow-src/slideshow/lib/assembler/image.py", line 28, in upload
dst = open(slide.src_path(src.filename), 'wb')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 72-73: ordinal not in range(128)
Powered by CherryPy 3.2.2