Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when using resume feature in Python 3.6 #28

Open
deibit opened this issue Mar 5, 2018 · 0 comments
Open

Exception when using resume feature in Python 3.6 #28

deibit opened this issue Mar 5, 2018 · 0 comments
Assignees
Labels

Comments

@deibit
Copy link
Owner

deibit commented Mar 5, 2018

`Waiting for threads to stop...
Keep a resume file? [y/N] y
setting line to 532
Traceback (most recent call last):
File "./cansina.py", line 374, in
if not manager.get_a_task(visitors_alive):
File "...cansina/core/dbmanager.py", line 53, in get_a_task
task = self.queue.get(False)
File "/usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/queue.py", line 160, in get
if not self._qsize():
File "/usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/queue.py", line 203, in _qsize
return len(self.queue)
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./cansina.py", line 383, in
pickle.dump(resumer, f)
TypeError: write() argument must be str, not bytes`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant