https://bugs.winehq.org/show_bug.cgi?id=44929
Bug ID: 44929 Summary: Anno 2205 crash at startup Product: Wine Version: 3.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mo78@abv.bg Distribution: ---
Created attachment 61016 --> https://bugs.winehq.org/attachment.cgi?id=61016 Anno 2205 crash log
Anno 2205 crashes at startup with the following error:
Fatal Python error: Py_Initialize: can't initialize sys standard streams LookupError: unknown encoding: cp437 002b:fixme:imm:NotifyIME NI_CLOSECANDIDATE
I installed different components one by one but the error is always the same. First I tried clean prefix and than I add one by one DX9, after that DX 10, DX11 and vcredist 2015. The error and the log is alwaus the same after installing every component.
https://bugs.winehq.org/show_bug.cgi?id=44929
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mo78@abv.bg
--- Comment #1 from mo78@abv.bg --- Created attachment 61017 --> https://bugs.winehq.org/attachment.cgi?id=61017 Anno 2205 Crash Screenshot
https://bugs.winehq.org/show_bug.cgi?id=44929
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=44929
Toni eldrad@autistici.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eldrad@autistici.org
--- Comment #2 from Toni eldrad@autistici.org --- Seems to be some encoding problem similar to the one described here:
https://github.com/ipython/ipython/pull/4163 and here https://stackoverflow.com/questions/17096631/lookuperror-unknown-encoding-cp...
Can be worked around by setting the following environment variable before running the game:
export PYTHONIOENCODING=utf-8
https://bugs.winehq.org/show_bug.cgi?id=44929
--- Comment #3 from mo78@abv.bg --- Yes with this variable the problem doesn't occurs but now another problems have arised. I'll file new bug for them. Thank you very much!
https://bugs.winehq.org/show_bug.cgi?id=44929
--- Comment #4 from Toni eldrad@autistici.org --- This bugs title should be rephrased to something like: "Anno 2205: In-game python crashing due to unknown encoding cp437"
https://bugs.winehq.org/show_bug.cgi?id=44929
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Anno 2205 crash at startup |Anno 2205: In-game python | |crashing due to unknown | |encoding cp437
https://bugs.winehq.org/show_bug.cgi?id=44929
--- Comment #5 from mo78@abv.bg --- Done :)