Project

General

Profile

Bug #16698

pending files

Added by Marc Mengel over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/27/2017
Due date:
% Done:

100%

Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

Traceback (most recent call last):
File "/home/poms/venvs/poms_python3/lib/python3.3/site-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/home/poms/venvs/poms_python3/lib/python3.3/site-packages/cherrypy/lib/encoding.py", line 221, in call
self.body = self.oldhandler(args, **kwargs)
File "/home/poms/venvs/poms_python3/lib/python3.3/site-packages/cherrypy/_cpdispatch.py", line 60, in call
return self.callable(*self.args, **self.kwargs)
File "/home/poms/poms/poms/webservice/logit.py", line 18, in wrapper
return function(*args,
*kwargs)
File "/home/poms/poms/poms/webservice/poms_service.py", line 822, in inflight_files
campaign_id, task_id)
File "/home/poms/poms/poms/webservice/FilesPOMS.py", line 255, in inflight_files
statusmap[f] = fss.get(f.encode('ascii', 'ignore'), '')
File "/opt/rh/python33/root/usr/lib64/python3.3/shelve.py", line 105, in get
if key.encode(self.keyencoding) in self.dict:
AttributeError: 'bytes' object has no attribute 'encode'

History

#1 Updated by Marc Mengel over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Took bogus encode() silliness out. Much better now.

#2 Updated by Marc Mengel over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF