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

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 12: ordinal not in range(128) #1305

Closed
rociomarielgnas opened this issue Jan 29, 2023 · 4 comments · Fixed by #1308
Labels

Comments

@rociomarielgnas
Copy link

Hello.
I have been trying to run pronterface for a while now on Windows 10, I have the lastest binaries from the file Printrun-win-18Nov2017.zip but I had no luck. I get this message:

image

This is what the log prints each time:

Traceback (most recent call last):
  File "pronterface.py", line 66, in <module>
  File "printrun\pronterface.pyc", line 2294, in __init__
  File "wx\_core.pyc", line 7974, in __init__
  File "wx\_misc.pyc", line 6216, in SetInstallPrefix
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 12: ordinal not in range(128)

I tried deleting the ini config file from my AppData folder but that didn't change anything.

Thanks in advance!

@rockstorm101
Copy link
Collaborator

I have the lastest binaries from the file Printrun-win-18Nov2017.zip

That sounds like quite old binaries. Please try and let us know if the problem persists:

@rociomarielgnas
Copy link
Author

Hi, thank you for replying so quickly!
I extracted and ran the exe inside the pronterface-windows-x64_3.8-2.0.0rc8 file and got this message:
image
This time no log file was generated. There was a new ini config file on AppData but it was empty.

Running the nightly build yielded this message:
image

Traceback (most recent call last):
  File "pronterface.py", line 62, in <module>
  File "printrun\pronterface.py", line 2582, in __init__
  File "printrun\pronterface.py", line 186, in __init__
wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(0, 0), "C") == 0" failed at ..\..\src\common\intl.cpp(1699) in wxLocale::GetInfo(): You probably called setlocale() directly instead of using wxLocale and now there is a mismatch between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale objects to avoid this!

My computer's region is Argentina in case it helps.

@rockstorm101
Copy link
Collaborator

Hi @rociomarielgnas, sorry for the delay in answering, please have a try with the very latest binary and let us know how that goes.

@rociomarielgnas
Copy link
Author

Hi @rociomarielgnas, sorry for the delay in answering, please have a try with the very latest binary and let us know how that goes.

It finally opened!! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants