http://bugs.winehq.org/show_bug.cgi?id=2159
------- Additional Comments From david_costanzo@yahoo.com 2005-09-10 19:17 ------- I have confirmed that the bug still exists in the latest wine build from CVS on 2005-10-08. The python backtrace shows an exception in the same location, but the ValueError is slightly different.
Traceback (most recent call last): File "C:\quark-win32-20040521\quarkpy\qmacro.py", line 34, in MACRO_displaymap mapeditor.MapEditor(self) # new map editor File "C:\quark-win32-20040521\quarkpy\qbaseeditor.py", line 54, in __init__ self.setupchanged(None) File "C:\quark-win32-20040521\quarkpy\mapeditor.py", line 156, in setupchanged self.AutoSave(None) File "C:\quark-win32-20040521\quarkpy\mapeditor.py", line 165, in AutoSave time1 = autosavetime() File "C:\quark-win32-20040521\quarkpy\mapeditor.py", line 327, in autosavetime minutes, = quarkx.setupsubset(SS_MAP, "Building")["AutoSave"] ValueError: too many values to unpack
I was unable to understand enough of the problem to provide a patch. The last time that I looked into this (over a year ago), it looked like CompareStringW() was changed from a mindless strcmp() to an intelligent, Unicode-aware comparison. I don't know enough about Unicode collation to tell where the bug is. The code looked fine to me and any patch that I could provide to fix this bug would just make CompareStringW a dumb strcmp(), again.