You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run billiard 2.7.3.10 with Celery in Python 3.2. I get the following error (suggested fix below):
[2012-07-25 10:29:27,504: ERROR/MainProcess] Unrecoverable error: TypeError('string argument without an encoding',)
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/celery-3.0.3-py3.2.egg/celery/worker/init.py", line 350, in start
component.start()
File "/usr/local/lib/python3.2/dist-packages/celery-3.0.3-py3.2.egg/celery/concurrency/base.py", line 109, in start
self.on_start()
File "/usr/local/lib/python3.2/dist-packages/celery-3.0.3-py3.2.egg/celery/concurrency/processes/init.py", line 84, in on_start
**self.options)
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/pool.py", line 760, in init
self._setup_queues()
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/pool.py", line 990, in _setup_queues
self._inqueue = SimpleQueue()
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/queues.py", line 339, in init
self._reader, self._writer = Pipe(duplex=False)
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/init.py", line 113, in Pipe
from .connection import Pipe
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/connection.py", line 426, in
CHALLENGE = bytes('#CHALLENGE#')
TypeError: string argument without an encoding
By specifying an encoding in lines 426-428 of connection.py, it got past this error. Not sure if other things will pop up elsewhere, however.
other options might be utf_32, utf_16
CHALLENGE = bytes('#CHALLENGE#','ascii')
WELCOME = bytes('#WELCOME#','ascii')
FAILURE = bytes('#FAILURE#','ascii')
The text was updated successfully, but these errors were encountered:
Trying to run billiard 2.7.3.10 with Celery in Python 3.2. I get the following error (suggested fix below):
[2012-07-25 10:29:27,504: ERROR/MainProcess] Unrecoverable error: TypeError('string argument without an encoding',)
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/celery-3.0.3-py3.2.egg/celery/worker/init.py", line 350, in start
component.start()
File "/usr/local/lib/python3.2/dist-packages/celery-3.0.3-py3.2.egg/celery/concurrency/base.py", line 109, in start
self.on_start()
File "/usr/local/lib/python3.2/dist-packages/celery-3.0.3-py3.2.egg/celery/concurrency/processes/init.py", line 84, in on_start
**self.options)
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/pool.py", line 760, in init
self._setup_queues()
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/pool.py", line 990, in _setup_queues
self._inqueue = SimpleQueue()
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/queues.py", line 339, in init
self._reader, self._writer = Pipe(duplex=False)
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/init.py", line 113, in Pipe
from .connection import Pipe
File "/usr/local/lib/python3.2/dist-packages/billiard-2.7.3.10-py3.2.egg/billiard/connection.py", line 426, in
CHALLENGE = bytes('#CHALLENGE#')
TypeError: string argument without an encoding
By specifying an encoding in lines 426-428 of connection.py, it got past this error. Not sure if other things will pop up elsewhere, however.
other options might be utf_32, utf_16
CHALLENGE = bytes('#CHALLENGE#','ascii')
WELCOME = bytes('#WELCOME#','ascii')
FAILURE = bytes('#FAILURE#','ascii')
The text was updated successfully, but these errors were encountered: