-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Not opening on Windows 11 #43
Comments
Hello, Thank you for your report. I tried YOGA Image Optimizer v1.2.2 on a Windows 11 VM and it worked for me. So I am not able to reproduce and to debug your issue by myself. Sadly there is no easy way to get application output on Windows . If the program is compiled with no console support, there will be no log, and if it is compiled with console it will always open a terminal... I may try to implement my own logging one day but not now... Anyway, I am building for you a version that opens the console so you will be able to have log to report here :) |
That's very odd, I might add that I'm on Developer preview version of Windows 11 Other than that I'm unsure of what could affect it
Thank you kindly 🙏 |
The build is here:
You will have to
|
Thanks I extracted it to Here is my output: ❯ .\yoga-image-optimizer.exe
Traceback (most recent call last):
File "C:\Users\Soitora\DOWNLO~1\YOGA-I~1.2_W\yoga-image-optimizer.py", line 16, in <module>
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "C:\Users\Soitora\DOWNLO~1\YOGA-I~1.2_W\yoga_image_optimizer\__main__.py", line 4, in <module yoga_image_optimizer.__main__>
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "C:\Users\Soitora\DOWNLO~1\YOGA-I~1.2_W\yoga_image_optimizer\application.py", line 11, in <module yoga_image_optimizer.application>
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "C:\Users\Soitora\DOWNLO~1\YOGA-I~1.2_W\yoga_image_optimizer\helpers.py", line 12, in <module yoga_image_optimizer.helpers>
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "C:\Users\Soitora\DOWNLO~1\YOGA-I~1.2_W\yoga_image_optimizer\translation.py", line 11, in <module yoga_image_optimizer.translation>
File "C:\Users\Soitora\DOWNLO~1\YOGA-I~1.2_W\os.py", line 685, in __setitem__
File "C:\Users\Soitora\DOWNLO~1\YOGA-I~1.2_W\os.py", line 743, in check_str
TypeError: str expected, not NoneType |
Ok, it seems to be a very simple bug at least :) It seems that here, language, encoding = locale.getlocale()
os.environ["LANG"] = language I do not know that Can you tell me what is the locale (the language) configured on your Windows? |
I rebuilt the code with a fix. Can you try it works? :)
|
Ok looks good. I will try to release the fix soon. Thank you for your help! :) |
Fix released in v1.2.3. The changelog and the Windows builds are available here: The Flatpak package will be available later today :) |
Bug description
Using Portable and MSI installer, all version I've tried (down to, and including, 1.1.2) does not open at all.
What happened
Simply use Portable or MSI installer
What was expected
Program to open the GUI
Step to reproduce
Steps to reproduce:
System information
Operating system (with version): [Ubuntu 20.04, ArchLinux, Windows 10,...]
How did you installed the software?
pip3 install yoga-image-optimizer
)YOGA Image Optimizer version: 1.2.2 -> 1.1.2
Extra information
I did not find logs anywhere, it could most likely help but I do not know where to search.
The text was updated successfully, but these errors were encountered: