On Aug 9, 2007, at 8:48 AM, Andrew Smart wrote:

the traceback below. I'm using AuthKit which may be the "unicode" source. Don't be irritated by the "Panda3d" references - it's a normal Python 2.4
version below it.

  File
"C:\Panda3D-1.3.2\python\lib\site-packages\paste-1.3-py2.4.egg\paste \auth\au
th_tkt.py", line 163, in calculate_digest
digest0 = md5.new(encode_ip_timestamp(ip, timestamp) + secret + userid
+ '\0'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbb in position 5:
ordinal not in range(128)

It's actually from the userid being unicode data I believe. I've seen others report this error before as well. If userid is unicode, its going to try and make them all unicode objects for the + I believe, which then causes the error.

HTH,
Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to