You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the script does is generate an icon on your desktop, your start menu, and add some registry keys so you can also double click a project file in your file explorer. The icons just launch the novelWriter.pyw file, which you also can du manually, as you discovered. There are no exe files generated.
Anyway, this seems to be an encoding issue. It looks like it tries to open the file as cp949 encoding instead of utf-8. This seems to be an issue with Windows. I found this discussion about it.
Could you please try to change line 53 in setup.py from:
I could not reproduce your issue on a Windows virtual machine, but I made a fix anyway and merged it into main. I think it should resolve the issue. If will be released with version 1.3.3, which I can do this weekend I expect.
This issue has been transferred from a different thread.
Originally posted by @singlebunglemrbungle in #481 (comment)
When I run install.bat in Windows, I run into an error message like this:
Expected Action:
What happened:
I guess successful running of setup.py results in creating novelWritng.exe, but it does not.
And there is no desktop shortcut.
Fortunately, the program itself can be executed by running novelWriter.pyw nonetheless.
Source of the problem:
My windows locale is set to Korea, I guess unspecified encoding making the error.
Here's more latter part of the log from install.bat.
And here is a screenshot from the directory.
The text was updated successfully, but these errors were encountered: