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
Packaged wxPython Hello-World crashes on macOS #2355
Comments
|
Same problem here on the same system specs. Getting the same error: also occurs using Python 3.5.2 |
|
@htgoebel et.al. is there any more info you need before this can be flagged as a confirmed bug? Is there a way for me to trace back where the call to |
|
Can confirm that I'm also getting the same error on the same specs- |
|
Not that I expected any difference but for the record: 3.2.1 shows this as well. If specific wxPython know-how is required to fix this maybe the experts @RobinD42 or @driscollis could provide that. |
|
@marcelstoer You would need a c debugger. See this question for more details on that. |
|
Can I suggest to add the v3.2, v3.2.1, and OS X tags here. @xoviat I'm not sure how relevant that SO question is for folks on macOS. I reckon Apple's article on working with the LLDB is a more helpful resource? However, so far I haven't been able to set the correct break point obviously as the execution doesn't stop before it fails. For starters one would essentially just need a break point that catches all errors and then dump the call stack. |
|
@marcelstoer Does the following work?
|
|
Setting works but execution doesn't stop. |
|
Once you have stopped it, you should be able to use |
|
@htgoebel @xoviat I'm afraid I can't help any further with analysis - no surprise given how little I know about PyInstaller. I was helped on Stack Overflow specifically with this "debugging with LLDB" issue (http://stackoverflow.com/q/42065547/131929). However, the conclusion was that the binary was stripped although my |
|
I'm affected by this too, is there any progress on this? |
|
Second that. Hey PyInstaller folks, this makes PyInstaller useless on Mac OS and I'll I'm hearing is crickets. |
The fact is that there is no one who has time, is a Mac expert, and who works on pyinstaller. I run Windows and Linux. I have fixed a few issues by piecing together how things work using Travis ci osx. However, this problem needs a Mac expert. |
|
I'm closing it as there's no indication the maintainers can/are willing to fix it. Using the latest PyInstaller with the recently released wxPython 4.x does NOT show this behavior. |
Running a simple (windowed) wxPython Hello-World on macOS fails. It succeeds on Linux and on Windows (tested on Win7).
Environment
PyInstaller: tested with both 3.2 and 3.3.dev0+8892e11 (
pip install/uninstall)Python: 2.7.12
wxPython: 3.0.2.0 osx-cocoa
OS: macOS Sierra 10.12.2
Runtime error
stdpbase.cpp:62 is this
"Something" (not my app code) is trying to use
wx.StandardPathsbefore the App object has been created, which is no longer allowed since version 2.8.Example program
Source: https://wiki.wxpython.org/Getting%20Started#A_First_Application:_.22Hello.2C_World.22
Build command
pyinstaller -F --windowed hello-world.pyNote
I first discussed this in the wxPython community until we confirmed that it doesn't look like an issue with wxPython but with PyInstaller.
The text was updated successfully, but these errors were encountered: