DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
After switching to wxPython 2.8, the following error occurs. This patch removes reference to wxPython module.
from wxPython.wx import *
Traceback (most recent call last):
File "CastPodderGui.py", line 49, in <module>
import gui.iPodderWindows
File "/opt/icepodder/gui/iPodderWindows.py", line 25, in <module>
File "/opt/src/icepodder-svn/gui/tree.py", line 36, in <module>
from ipodder.contrib import GenericDispatch
File "/opt/src/icepodder-svn/ipodder/contrib/GenericDispatch.py", line 44, in <module>
from wxPython.wx import *
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/__init__.py", line 15, in <module>
import _wx
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py", line 8, in <module>
from _misc import *
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_misc.py", line 456, in <module>
wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysinYear
AttributeError: 'module' object has no attribute 'DateTime_GetNumberOfDaysinYear'
wxPython 2.8 compatibility