[Bug 2159] QuArK 6.3.0 regression: Python "ValueError" when creating/loading map

Wine Bugs wine-bugs at winehq.org
Sun Oct 9 19:17:24 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=2159





------- Additional Comments From david_costanzo at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list