Unicode.decode() bug in init.py file
Hi! i installed dogslow today (with python 2.7) and got this error:
{{{ #!python 2012-01-25 15:53:48,765 ERROR Request watchdog failed Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/dogslow-0.9.2-py2.7.egg/dogslow/init.py", line 132, in peek unicode.decode() TypeError: descriptor 'decode' of 'unicode' object needs an argument
}}}
i then opened the init file, went on line 132 and the code is:
{{{ #!python else: output += 'Full backtrace with local variables:' output += '\n\n' output += stack(frame, with_locals=True)
unicode.decode()
}}}
commenting away the "unicode.decode()" statement fixes the problem. i don't know if it's a bug, issue or what, this is the first time i make a contribution like this but i hope it's helpful
Comments (3)
-
Account Deleted -
I'm seeing this error under Python 2.7.1 with the 0.9.2 tarball from PyPi (installed via pip install dogslow per the installation instructions.)
What's the recommended fix?
-
- changed status to duplicate
Duplicate of
#6. - Log in to comment
sorry didn't see this was already posted:
https://bitbucket.org/evzijst/dogslow/issue/6/pypi-sources-contains-a-bug-that-breaks