-
Notifications
You must be signed in to change notification settings - Fork 405
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
NodeMCU-PyFlasher.exe (v5.0.0) Not Working on Windows 10 #78
Comments
Same to me. running the .exe doesn't do anything |
also same to me. running and closing after couple seconds. |
Same issue here |
Same here |
Same. Process starts but stops immediately. v.4 x64 works. |
I can not reproduce this on either of the two Win10 systems I have available; one native, one on VirtualBox. That makes debugging - let alone fixing - this challenging. Has one of you tried starting the |
I tried to start it from command prompt, Administrator mode, but nothing. I can see that the process starts but it dies immediately. No output in the command window. Nothing in the event log. I have tried it on two Windows 10 clients, one Enterprise and one Home edition but it behaves the same. |
I guess we'll have to do it the trial and error way then.
|
@marcelstoer i try to run it but no output and not shown anything . Both in command and double click |
Did you also try the non-windowed version i.e. the behavior is the same for both |
@marcelstoer Nothing. I've tried both of them in Admin mode and not in Admin mode. |
Thanks! I'll keep digging and will report back. |
I'd appreciate if everybody following along here could spend 2min testing this version I built on yet another Windows system: Thanks for your feedback. |
link not working |
Thanks for testing. Works for me but I now also published it to an alternative location (my own domain): |
still not working... |
I also tried it. Still not working |
Same issue, running the .exe doesn't do anything. |
@marcelstoer HI, i think i fix the problem by add locate to your code in Main.py
its work for me... plz check it and let me know |
@rt400 thanks, I can definitely try that. I for one won't notice any difference (as the app works just fine on my Windows). How did you arrive at this conclusion? How did you debug this? |
Both versions side-by-side: |
not working for me, still does not display anything |
https://github.com/rt400/Tasmota-Config-Backup/raw/master/NodeMCU-PyFlasher.exe Please try this and let me know if its work... |
Well I started playing with your code, I tried to create the BUILD myself but it did not work. |
@rt400 Thanks for the hints but your comment left me a bit puzzled. In your earlier comment at #78 (comment) you said that you had run it through the console and it didn't give any hints? How apparently
Btw, I used I asked my favorite search engine about this "locale + wxPython" issue and found a couple of discussions which I'm linking below for reference. Some of them cross-reference one another:
One other thing... above you both said
I am assuming (since you uploaded a Based on the wxPython forum threads I now have this patch (locally) and created https://frightanic.com/misc/NodeMCU-PyFlasher-with-ResetLocale.exe --- a/Main.py (revision 4899c16d4ec1c5c7794f39e7b6e97757db62d21e)
+++ b/Main.py (date 1642536158773)
@@ -13,6 +13,10 @@
import images as images
from serial import SerialException
from serial.tools import list_ports
+import locale
+
+
+locale.setlocale(locale.LC_ALL, 'C')
__version__ = "5.0.0"
__flash_help__ = '''
@@ -416,6 +420,7 @@
# ----------------------------------------------------------------------------
class App(wx.App, wx.lib.mixins.inspection.InspectionMixin):
def OnInit(self):
+ self.ResetLocale()
wx.SystemOptions.SetOption("mac.window-plain-transition", 1)
self.SetAppName("NodeMCU PyFlasher") |
@marcelstoer It's locale Not locate...bad typing sorry... Now i download your build and its work... Finally !!!! |
@marcelstoer I can confirm, it works for me too now. Good work! / Per |
Thanks folks for sticking around and for providing valuable feedback. tl;dr |
This latest version "resetLocal" is working again. Thanks |
Please a new release here on github for valid checksums, thanks. |
@marcelstoer hello! The latest release is not working for me, and also the link you provided is no longer exists. Anyway, thank you for your help! |
Thanks for heads up Artem. No idea why the patched file vanished from my server. It's fixed now. |
Currently using Windows 10 64-bit version 20H2 (OS Build 19042.867)
NodeMCU-PyFlasher.exe v5.0.0 does not display anything when this program is executed.
The text was updated successfully, but these errors were encountered: