Jump to content

Sharlikran

Recommended Posts

I'm looking at some changes right now. But in all honesty, I don't think you can test any of the small changes because you don't have a non unicode environment. Like I said before it's all or nothing.  Because I started now I would have to finish each and every file, and change each and every line that needs changed.  If you don't do that then if you don't error in one place, it will probably be another. Lojack said this was a pain when he did it, and I see why.

Link to comment
Share on other sites

I don't think this will change anything but try the Python code from dev-yacoby-wrye now and see if you get a different traceback.

Link to comment
Share on other sites

Well consider it a mircale more or less because even though I am really new at this, I still know that proper unicode support requires more work then I have done. I'm glad it works though.

Link to comment
Share on other sites

Me too.  I was getting too frustrated of not being able to launch WMSA, but now that's history don't you think.  It is time to look forward and I'll test this, meanwhile you continue to add Unicode support for WMSA. :)

Link to comment
Share on other sites

I just test it and notice one thing.  Now, I don't get an error popup instead the Wrye Mash.log has this.

Spoiler

 

Wrye Mash Log!
None
Traceback (most recent call last):
  File "mash\masher.pyo", line 1422, in OnTextEdit
  File "traceback.pyo", line 233, in print_exc
  File "traceback.pyo", line 128, in print_exception
  File "traceback.pyo", line 13, in _print
  File "mash\mash.pyo", line 43, in write
IOError: [Errno 0] Error
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1387, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1388, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1389, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1386, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1387, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1388, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1389, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
Traceback (most recent call last):
  File "mash\masher.pyo", line 1423, in OnTextEdit
  File "traceback.pyo", line 270, in print_stack
  File "traceback.pyo", line 23, in print_list
  File "traceback.pyo", line 13, in _print
  File "mash\mash.pyo", line 43, in write
IOError: [Errno 9] Bad file descriptor
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
Traceback (most recent call last):
  File "mash\masher.pyo", line 1423, in OnTextEdit
  File "traceback.pyo", line 270, in print_stack
  File "traceback.pyo", line 23, in print_list
  File "traceback.pyo", line 13, in _print
  File "mash\mash.pyo", line 43, in write
IOError: [Errno 9] Bad file descriptor
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
Traceback (most recent call last):
  File "mash\masher.pyo", line 1423, in OnTextEdit
  File "traceback.pyo", line 270, in print_stack
  File "traceback.pyo", line 23, in print_list
  File "traceback.pyo", line 13, in _print
  File "mash\mash.pyo", line 43, in write
IOError: [Errno 9] Bad file descriptor
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
Traceback (most recent call last):
  File "mash\masher.pyo", line 1526, in OnSave
  File "mash\mosh.pyo", line 2645, in writeHedr
  File "mash\mosh.pyo", line 2006, in getSize
struct.error: argument for 's' must be a string
Traceback (most recent call last):
  File "mash\masher.pyo", line 1526, in OnSave
  File "mash\mosh.pyo", line 2645, in writeHedr
  File "mash\mosh.pyo", line 2006, in getSize
struct.error: argument for 's' must be a string
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1386, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1387, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1388, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
Traceback (most recent call last):
  File "mash\masher.pyo", line 1423, in OnTextEdit
  File "traceback.pyo", line 270, in print_stack
  File "traceback.pyo", line 23, in print_list
  File "traceback.pyo", line 13, in _print
  File "mash\mash.pyo", line 43, in write
IOError: [Errno 9] Bad file descriptor
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1386, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1416, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1386, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1387, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1416, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1387, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1388, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1416, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1388, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1389, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1416, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1130, in OnItemSelected
  File "mash\masher.pyo", line 1389, in SetFile
  File "wx\_controls.pyo", line 1754, in SetValue
  File "mash\masher.pyo", line 1423, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1416, in OnTextEdit
None
  File "Wrye Mash.pyw", line 86, in <module>
  File "mash\mash.pyo", line 85, in main
  File "wx\_core.pyo", line 8010, in MainLoop
  File "wx\_core.pyo", line 7306, in MainLoop
  File "mash\masher.pyo", line 1423, in OnTextEdit
Traceback (most recent call last):
  File "mash\masher.pyo", line 1526, in OnSave
  File "mash\mosh.pyo", line 2645, in writeHedr
  File "mash\mosh.pyo",

 

 

Edited by Leonardo
Added spoiler
Link to comment
Share on other sites

Yeah I fixed that too. Give me a sec, I had changed something to track a unicode error, and it will spam you with a traceback. I just got it doing something, and noticed I forgot to remove it.  :D

Link to comment
Share on other sites

Okay I removed the extra tracking code so that you don't get spammed with an error, once it happens. I also removed the log file entry from mash.py completely since the output is redirected to wxPython anyway. See if that helps that when you have an error that you can actually see it in a window.

Link to comment
Share on other sites

Yes, it seems to help.  Thanks for removing it.

However, I have another error that needs to be fixed if possible and that's about two plugins (esp) that has exactly the same timestamp and changing that in the Mods tab can only be done when using the Ctrl+ based ordering, if the loadorder selector is set to Modified otherwise I get this error.

Traceback (most recent call last):
  File "mash\masher.pyo", line 4835, in Execute
  File "mash\masher.pyo", line 2205, in RefreshUIMods
  File "mash\mosh.pyo", line 3088, in refresh
  File "mash\mosh.pyo", line 3206, in unload
  File "mash\mosh.pyo", line 2426, in unload
  File "mash\mosh.pyo", line 2358, in refreshDoubleTime
  File "mash\mosh.pyo", line 2770, in __getitem__
KeyError: u'LotsOfRingsPlus.esp'

Note that my copy of the LotsOfRingsPlus.esp is packed into a BAIN archive and the other esp is LotsOfRings.esp, which is required for the LotsOfRingsPlus.esp and without having both installed the player will get an error in-game when entering a shop in Ald'ruhn.  Only having the LotsOfRing.esp active works.

Another thing I notice is that I tried to uninstall both esp at the same time, but somehow I couldn't do that and my guess is that the timestamp might prevent me from uninstalling two plugins in a BAIN archive at the same time if the timestamp is exactly the same for both of them.

Link to comment
Share on other sites

It doesn't matter to me if I need to use one file or a couple of files, I always download the entire archive and use it.

Link to comment
Share on other sites

Well, the automatically deletion of an esm/esp only works as intended, if only one esp is uninstalled in BAIN, but it does NOT worked if I want to uninstall two or more esp at the same time in a single BAIN archive.

For example, if I uninstall a simple BAIN archive with two esp or more then WMSA will give me this error in the output log window in the Installers tab.

Traceback (most recent call last):
  File "mash\masher.pyo", line 4835, in Execute
  File "mash\masher.pyo", line 2205, in RefreshUIMods
  File "mash\mosh.pyo", line 3088, in refresh
  File "mash\mosh.pyo", line 3206, in unload
  File "mash\mosh.pyo", line 2426, in unload
  File "mash\mosh.pyo", line 2358, in refreshDoubleTime
  File "mash\mosh.pyo", line 2770, in __getitem__
KeyError: 'LotsOfRingsPlus.esp'

So in comparison to WMSA 87, I prefer to call this WMSA version as WMSA 89 since you *deleted* the WMSA 88, the automatically deletion of multiplied esm/esp is broken in WMSA 89.

Link to comment
Share on other sites

That's weird that it would fail if there are two or more ESP files in the same BAIN package. Can I have a link to the Lots O rings file please ?  Also I'll have to add some debugging code later to help come up with the proper solution. I have Ice's Female Robe Replacer from my old Morrowind archives, and it has three files in it.  It installs and uninstalls all three without an error. So this is just the Unicode stuff still. It's not an error with the logic of the program. I just don't have the issue because I don't really have a Unicode environment. I can still test things though and try to come up with a solution.

Link to comment
Share on other sites

I think you should know that a lot of the old/lost mods on MMH are intact as the original author packed the actual mod years ago, so you might need to repack almost any mod that's on MMH that has more than two esm/esp (I haven't tested the combination of esm and esp yet when uninstalling those plugins).  However, I'm quite sure that installing esm+esp at the same time shouldn't cause an issue in BAIN but who knows.

LotsOfRings (must be repacked, otherwise it's difficult to install it via BAIN)

Rise of the House Telvanni (check the credits for the inspiration and information section in the description)

Uvirith's Legacy (I obtained from Stuporstar to repack UL into a BAIN-archive)

Uvirith's Legacy (the latest version)

I thought to post a couple of more links to large mods and open them in 7zip or WinRAR will get you an idea how archives were packed in the Morrowind modding community and that hasn't changed much.  There are still people today who manually install mods by using the obsolete installation method (extract then active and play procedure), mostly old mod users, without using Wrye Mash.

Link to comment
Share on other sites

1 hour ago, Leonardo said:

 There are still people today who manually install mods by using the obsolete installation method (extract then active and play procedure), mostly old mod users, without using Wrye Mash.

Me, a year ago. LOL

Link to comment
Share on other sites

I don't know what I have to do to fix it though Leonardo other then add debug statements so I can see what happens on your end. I'll do what I can though. I'm still pretty sure it's just the unicode stuff. So maybe I have to make sure I don't encode certain things in certain places. If that's the solution, not using unicode in certain places, then the issue will go away. The key error is just Mash trying to compare two strings that aren't the same. Like I still get that error about the Unicode issue in that one file where it says that the comparison won't be the same.  So there is more to it still.

Thanks for the links so I can try that out on my end.

Link to comment
Share on other sites

Perhaps take a closer look of what you did in WMSA 87, I mentioned it here, since that was changed in comparison to Yacoby's WMSA.

Link to comment
Share on other sites

That's not going to help though because what I'm changing is adding what is needed for the Unicode support. Which is no more then adding a letter u to strings. If I remove all the letter u's that I added then we would be back at where 87 was, but no unicode support. Then there is the fact that i can remove the files after I install them.

Link to comment
Share on other sites

I think you misunderstood me and what I mean is to enhance the code a bit to allow BAIN to remove uninstalled plugins in the Mods tab, not only for an archive with one plugin like this.

mod A.rar has one plugin

mod B.rar has two plugin (only use one plugin, just an example of what I mean)

This is what BAIN can do atm, but BAIN cannot do this.

mod C.rar has more than two plugins (both plugins can be installed or both plugins must be installed)

mod D.rar has addons/patches, such as NoM and UL plus a couple of other mods)

See the difference, I mean BAIN in WMSA 87 can handle any archive that has one plugin and remove a plugin in the Mods tab upon uninstallation in BAIN.

Link to comment
Share on other sites

Yes, I believe you and I understand your comparison also. From a programming standpoint, to Python a string of 'LotsOfRingsPlus.esp' is not equal to a string of u'LotsOfRingsPlus.esp'. In debug mode it will even show the string as {str} and the unicode string as {unicode}. Refer to your post. The first time you posted the error it had the letter u and the second post doesn't. I'm just changing the filename. I have no idea whats stored for the instance of the objects attached to the files.

Link to comment
Share on other sites

4 hours ago, Sharlikran said:

From a programming standpoint, to Python a string of 'LotsOfRingsPlus.esp' is not equal to a string of u'LotsOfRingsPlus.esp'.

True, but those plugins are equal to each other when it comes to the installed archive do they not.

However, they are having another thing in common and what I mean is that if you search for them in Windows Explorer you'll get a result showning both of them when using the "LotsOfRings*.esp" or the "LotsOfRing*.*" keyword.

Link to comment
Share on other sites

I don't think I'm approaching this the right way. If there are strings to display on the screen that should be unicode. I have one plugin and the author is Russian and some of the text for the description has unicode chars in it so that needs to be accounted for.  If it's part of the file system that should be based on the file system's settings.  I'm going to have to look into things and it could be a while. I'll keep you posted. I want to resolve it correctly instead of just trying to circumvent the error.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...