Import Error with packaged wxWidgets app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Won't Fix
|
Undecided
|
rdb |
Bug Description
The following program:
import wx
app = wx.App(False) # Create a new app, don't redirect stdout/stderr to a window.
frame = wx.Frame(None, wx.ID_ANY, "Hello World") # A Frame is a top-level window.
frame.Show(True) # Show the frame.
app.MainLoop()
when packaged with "packp3d -o test.p3d -r wx" produces the following error when run with panda3d:
:AppRunner: Total Panda3D disk space used: 218 MB
:AppRunner: Configured max usage is: 2048 MB
Traceback (most recent call last):
File "/home/
File "/home/
File "/home/
File "VFSImporter", line 153, in load_module
File "/home/
import wx
File "VFSImporter", line 446, in load_module
ImportError
:task(error): Exception occurred in PythonTask Messenger-default
Traceback (most recent call last):
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "VFSImporter", line 153, in load_module
File "/home/
import wx
File "VFSImporter", line 446, in load_module
ImportError
Successfully joined thread: 0
Failure on startup.
I have wxWidgets 2.8 installed, application runs normally non-packaged.
tags: | added: packaging wx |
tags: | added: macos |
Identical behavior on OSX