Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows standalone build: exception in path handling at autorecover if user has non-ASCII characters in the path at which zipfile was unpacked #856

Open
Achaean opened this issue Sep 2, 2017 · 2 comments
Labels
cat.Data Issue relates to data (files, preferences, etc) cat.Spooky Issue has unclear cause and effect, or maybe I didn't read the report yet. platform.Windows Issue is reported on Windows type.Exception Issue throws an exception, but seems to work.

Comments

@Achaean
Copy link

Achaean commented Sep 2, 2017

Windows x64 v.10.0.15063.
My Paint v.1.2.1-20170129a standalone. (This doesn't happens when mypaint is installed).

When starting it present a "programming error". You can choose to ignore it.

screenshot_1
GDB_OUTPUT.txt

@achadwick
Copy link
Member

achadwick commented Sep 3, 2017

Thanks for the GDB trace. Most likely to be this causing the error (you can fix it by deleting autosave backups so that the recovery dialog doesn't show, but you shouldn't have to do that):

Traceback (most recent call last):
  File "C:/Users/├ώ■±ήΎ≥ ╩∙≤ΪⁿΏΎΫΈΎ≥/Desktop/mypaint-w64-1.2.1-20170129a-standalone/mingw64/share/mypaint/gui/application.py", line 411, in _at_application_start
    autosave_recovery = gui.autorecover.Presenter(self)
  File "C:/Users/├ώ■±ήΎ≥ ╩∙≤ΪⁿΏΎΫΈΎ≥/Desktop/mypaint-w64-1.2.1-20170129a-standalone/mingw64/share/mypaint/gui/autorecover.py", line 50, in __init__
    builder.add_from_file(builder_xml)

Most likely to be another Unicode vs. Windows encoding screwup. I notice you're using a Greek alphabet user home / user name.

c:\users\γιώργος κωστόπουλος\desktop\mypaint-w64-1.2.1-20170129a-standalone\mingw64\bin\../etc/gdbinit:5: Error in sourced command file:

Can you tell me some details about how your computer has been localized so that I can have a go at reproducing and fixing this bug?

@achadwick achadwick added info.NeedInfo Please describe the issue more clearly type.Exception Issue throws an exception, but seems to work. labels Sep 3, 2017
@achadwick achadwick changed the title Programming error on start (Windows, standalone). Windows standalone build: exception in path handling at autorecover if user has non-ASCII characters in their path Sep 3, 2017
@achadwick achadwick added the platform.Windows Issue is reported on Windows label Sep 3, 2017
@achadwick achadwick changed the title Windows standalone build: exception in path handling at autorecover if user has non-ASCII characters in their path Windows standalone build: exception in path handling at autorecover if user has non-ASCII characters in the path at which zipfile was unpacked Sep 3, 2017
@Achaean
Copy link
Author

Achaean commented Sep 3, 2017

Indeed! :-)
Extracting the archive somewhere with no unicode on the path (eg. to C:\TEMP), solves the problem.
My locale is indeed el_GR (Greek).

Bye! :-)

lang

@AesaraB AesaraB added info.Triage Need to triage this cat.Data Issue relates to data (files, preferences, etc) cat.Spooky Issue has unclear cause and effect, or maybe I didn't read the report yet. and removed info.NeedInfo Please describe the issue more clearly info.Triage Need to triage this labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat.Data Issue relates to data (files, preferences, etc) cat.Spooky Issue has unclear cause and effect, or maybe I didn't read the report yet. platform.Windows Issue is reported on Windows type.Exception Issue throws an exception, but seems to work.
Development

No branches or pull requests

3 participants