-
Notifications
You must be signed in to change notification settings - Fork 31
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
VERY difficult to diagnose an exception in GUP.exe, with an unspecified environment TEMP variable! #16
Comments
Can you provide the debug info? |
But anyway it is quite unusual to see |
It just so happened that on my computer, this variable had been undefined for several days. I think some (negligible) percentage of Windows machines may also have this situation, right? I think it is MORE important that thanks to this, I detected an unhandled exception that is a consequence of a NULL pointer in the code. I forgot the content of the error messages. They were rather stupid and not specific, like at Microsoft! Something that the program ended suddenly, as if I didn't know it myself :-( P.S. By chance, I managed to dig up this report:
|
@jurekl Do you have other variables set? Like |
Use a fallback TMP or TEMP and then use the current directory. Fix notepad-plus-plus#16
@mere-human, thank you, I'm fine!
to avoid unpleasant surprises like in this case :-) I'm finishing my adventure with searching for this error, I hope I helped! |
I've already came up with a fix.
Thank you for finding this out and reporting it here! |
By the way, if auto-update failed for some reason, it is always possible to download the installer manually: |
Thanks for your cooperation, all the best! |
@jurekl @mere-human But I can still update from v8.1.3 to v8.1.4 with no problem. |
See steps in PR. Use Visual Studio. |
Today I tried to search and install the plugin for NPP. It did not manage, ever, each time the error message appeared in Wingup.
Of course, as in M$ Windows, without any details.
I had to download the sources and compile the Debug version, which with the help of Debugger vs2017 helped to determine the cause of unpleasant surprise.
After setting the TEMP environment variable, without any changes to the source code, everything started working as it should.
The case is prosaic. In the WinMain.cpp file, there is a fragment in a row 1074:
String constructor with NULL ... we know how it ends :-(
It so happened that for a few days the env variableTEMP is indefinite for me (I moved the TEMP catalog to another drive!), It was enough to immobilize the functionality of GUP !! :-(
The text was updated successfully, but these errors were encountered: