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

v1.7 Hard crash on Windows when saving #35

Open
Warchamp7 opened this issue Jul 28, 2021 · 4 comments
Open

v1.7 Hard crash on Windows when saving #35

Warchamp7 opened this issue Jul 28, 2021 · 4 comments

Comments

@Warchamp7
Copy link

Running the exe and saving, the program just hard crashes on save with no information

Running the batch file provides a bit more information

------------------------
starting...
config file "F:\Program Files\QssStylesheetEditor\scripts\i18n\list.toml" load successed!
config file "F:\Program Files\QssStylesheetEditor\scripts\config\config.toml" load successed!
  Preimporting 'PyQt5.Qsci'   ...   successfully in 0.0045s.
  Preimporting 'res'       ...   successfully in 0.0005s.
  Preimporting 'res.img_rc'   ...   successfully in 0.001s.
  Preimporting 'ui'        ...   successfully in 0.024s.
  Preimporting 'qss_template'   ...   successfully in 0.001s.
coding: ascii
Editor syntax highlighting language: Python
coding: GB2312
Editor syntax highlighting language: QSS
Traceback (most recent call last):
  File "..\src\ui\mainwin.py", line 396, in save
  File "C:\Users\lei\.virtualenvs\QssStylesheetEditor-5KuBu0kK\Lib\site-packages\CodeEditor\editor.py", line 366, in save
  File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 493-497: character maps to <undefined>
Press any key to continue . . .```
@hustlei
Copy link
Owner

hustlei commented Jul 31, 2021

let me see, could i have the file you edited?

@Warchamp7
Copy link
Author

let me see, could i have the file you edited?

It was the default file. I opened the program and tried to save

@hustlei
Copy link
Owner

hustlei commented Aug 1, 2021

which windows version the program is running on?

@Warchamp7
Copy link
Author

which windows version the program is running on?

I'm on Windows 10

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

No branches or pull requests

2 participants