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
I ran qdb.py through 2to3 and then tried to use the set_trace() function in
Python 3.2.3. When I do that, however, I get this:
---------------------------------------
Traceback (most recent call last):
File "test.py", line 11, in <module>
foo()
File "test.py", line 5, in foo
qdb.set_trace()
File "/workspace/install/gerrit/rms/products/dotrox/MAIN/linux-amd64-gcc_4_4-release/lib/python3.2/site-packages/qdb.py", line 925, in set_trace
listener = Listener(address, authkey=authkey)
File "/workspace/install/gerrit/rms/products/dotrox/MAIN/linux-amd64-gcc_4_4-release/lib/python3.2/multiprocessing/connection.py", line 135, in __init__
raise TypeError('authkey should be a byte string')
TypeError: authkey should be a byte string
-------------------------------
As a quick patch, I went through and changed all instances of 'secret password'
to b'secret password', and this made the problem go away. That's probably not a
complete fix, but it let me move ahead. (To which I'd should add that qdb
seemed to work flawlessly afterwards...awesome!)
Original issue reported on code.google.com by austin.bingham on 16 Jul 2013 at 10:33
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
austin.bingham
on 16 Jul 2013 at 10:33The text was updated successfully, but these errors were encountered: