wxModule::DoCleanupModules(): not initialized module being cleaned up
paulmueller opened this issue · 25 comments
Possible workarounds:
-
Do not install ShapeOut as a system administrator. If it was installed by the IT guys, let them uninstall it again.
-
Try both versions (32bit and 64bit) of the installer at https://github.com/ZELLMECHANIK-DRESDEN/ShapeOut/releases
Which Windows version are you using? Does this also happen with older versions of ShapeOut, e.g. https://github.com/ZELLMECHANIK-DRESDEN/ShapeOut/releases/tag/0.8.0 ?
I have created a new build with the console enabled, maybe this helps to figure out the problem: https://ci.appveyor.com/api/buildjobs/519lkfhacrefr71m/artifacts/.appveyor%2FOutput%2FShape-Out_0.9.3.post2_win_64bit_setup.exe
Does your Windows login name by any chance contain non-ASCII characters (é, ŝ, ä, etc.)?
[EDIT: I see it is just "dsoteri", so that's probably not it. And the LookupError
is unrelated.]
I have also tried the older version and it's also giving me the same error
Does the program work with Windows 10 enterprise? I currently have Windows 10.Pro
That actually should not matter. I regret to say that I have no clue as to what is causing this...
No, these are all unrelated error messages.
BTW: I find it very honorable of them to try to run Shape-Out from source. To build the executable, I use anaconda. If they would like to try again, maybe these instructions help:
- installation: https://github.com/ZELLMECHANIK-DRESDEN/ShapeOut/blob/master/appveyor.yml
- pinned anaconda packages: https://github.com/ZELLMECHANIK-DRESDEN/ShapeOut/blob/master/.appveyor/pinned
(The problem is (and increasingly appears to become so) chaco.)
(Shada from Despina's account)
We have tried the following:
- Installing Shape-out[GUI] via pip on all the computers that we have (with different windows systems 7 and 10). The problem is that wxPython does not exist anymore in the version that shape-out requires (<4.0.0.0 and >=3.0.0.0). we downloaded an external older version 3.0.2 of wxPython (not via pip) and it did not work. would it be possible to have the Shape-out dependent on newer wxPython?
- We tried the executable on two MPL computers with Windows 10 version (1809) . In all cases the Shape-out failed to start with the Error like the one sent in the first post here. We saw in the Task manager that the error is called (wxWidgets error).
After that we tried to install Shape-out on computers with the older windows versions (windows 7 and windows 10 [1803 and 2015 LTSB]) and it worked perfectly. in summary, it seems like the executable available in the website is not working on any computer with windows 10 version 1809.
I hope this information is helpful for solving the problem of the computers with the newer windows.
Thank you
- As far as I know this version of wyPython is available via anaconda (wxpython 3.0 py27_0).
- Thanks, yes. This is definitely helpful.
This may be a long shot, but have you tried the Windows compatibility mode? https://support.microsoft.com/en-us/help/15078/windows-make-older-programs-compatible
No unfortunately this does not work either
To give you a brief description of the situation: Shape-Out relies on wxPython 3, which is no longer supported (in favor of wxPython 4). However, the plotting library Shape-Out uses (chaco) does not yet work with wxPython 4, and probably never will, because the chaco people are focusing their effort on PyQt. Thus, software-wise there is nothing I can do right now. I am giving Shape-Out 2 (https://github.com/ZELLMECHANIK-DRESDEN/ShapeOut2) high priority though because of this. However, Shape-Out 2 is far from production state.
With Windows 10 Version 1903 ShapeOut 9.5.0 (release) is starting. I'm going to perform further testing but it alreade seems better than the situation you described here.
@sdespina Does updating to Windows 10 1903 resolve this issue for you?
Unfortunately I haven't updated my Windows. I think this will be automatically done by the IT department here.
Is there still any effort to resolve this issue? I followed the suggestion above and get the very same errors on my new device.
Windows 10 Enterprise, version 1903, build 18362.356
Anything else we could try out to see where this specific error is coming from?
@felix-r Currently, we are at a loss as to what is causing this. Are you using an MPL computer?
You could get into contact with Dennis from IT and ask him for a test laptop.
The same problem here on my notebook. As I read through the comments it is somehow related to Users folder in Windows. When installing my notebook I did a silly step and called the user as "Jaromír" with "í" (so the folder in User was named accordingly) and I recognize this caused troubles with several softwares.
Thanks for the input. I think non-ASCII characters are not related to this issue (because it also affects ASCII people). But you could try to prove me wrong by creating a new ASCII-only user... 🤷♂️
Indeed there is something different: Just created two new accounts on my notebook and installed shapeout 1.0.6: (1) user with ascii-only characters . Shapeout starts without error. (2) user "ěščřžýáí". Shapeout starts without error as well. But it still fails to start when logged in with my original login "Jaromír".
OK, that is at least consistent with what we have seen before 🙄
Our guess was that it has to do something with other software installed ... or maybe system settings.