Message24782
Logged In: YES
user_id=1371642
Python 2.4/WinXPSP2
I'm able to reproduce this bug. Create an arbitrary file named
"Test.bin" having a time stamp of 2005-11-01 16:15:32. Then
run this code:
import zipfile
zipFile = zipfile.ZipFile("Test.zip", "w", zipfile.ZIP_DEFLATED)
zipFile.write(u"Test.bin")
You should see the aforementionned traceback. The problem
occurs when 1. pack() returns a string with some characters >
128 (depends on time stamp); and 2. write() is called with a
unicode parameter (instead of a str parameter). |
|
Date |
User |
Action |
Args |
2007-08-23 14:30:32 | admin | link | issue1170311 messages |
2007-08-23 14:30:32 | admin | create | |
|