wxPython isn't on path in hardy beta
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wxwidgets2.8 (Ubuntu) |
Fix Released
|
Medium
|
Emilio Pozuelo Monfort | ||
Hardy |
Invalid
|
High
|
Emilio Pozuelo Monfort | ||
Intrepid |
Fix Released
|
Medium
|
Emilio Pozuelo Monfort |
Bug Description
Binary package hint: python-wxgtk2.8
This bug don't permit to import wx. The bug is in python-wxgtk2.8 2.8.7.1-0ubuntu3 package. In intrepid this bug was fixed using upstream wx.pth and not a generated link. This SRU only edits how debian/rules manage the wx.pth files, so there is no a regression in it.
TEST CASE
PROCEDURE:
- install python-wxgtk2.8 package
- create a test.py file
- put in test.py file the following lines:
import wx
app = wx.PySimpleApp()
frame = wx.Frame(None, wx.ID_ANY, "Hello World!")
frame.Show(True)
app.MainLoop()
- type in terminal "python test.py"
RESULT ON PASS:
Should appear a gtk window with "Hello World!" as title.
RESULT ON FAIL:
Terminal will return this error:
Traceback (most recent call last):
File "test.py", line 1, in <module>
import wx
ImportError: No module named wx
END TEST CASE
Related branches
description: | updated |
description: | updated |
description: | updated |
Changed in wxwidgets2.8: | |
assignee: | d.filoni → nobody |
status: | Fix Released → Confirmed |
Changed in wxwidgets2.8: | |
status: | Confirmed → Fix Released |
Changed in wxwidgets2.8: | |
status: | New → Confirmed |
Changed in wxwidgets2.8: | |
status: | Confirmed → New |
This was actually either an issue with the upgrade, or an issue going from the package in the wxPython repository for Gutsy to the official Ubuntu package. Although reinstalling the package didn't do anything, it did correct itself when I completely removed the package and then installed it again.