the attached patch makes the londonlaw gui use wxpython 2.6 even if other
versions are installed. it fixes an error when trying to run the client with
wxpython 2.8 installed.
dirtyepic@tycho ~ $ london-client
/usr/lib/python2.5/site-packages/londonlaw/guiclient/__init__.py:26:
DeprecationWarning: The wxPython compatibility package is no longer
automatically generated or actively maintained. Please switch to the wx
package as soon as possible.
from wxPython.wx import *
London Law does not appear to be installed.
Attempting to launch client from current directory...
/usr/lib/python2.5/site-packages/londonlaw/guiclient/__init__.py:26:
DeprecationWarning: The wxPython compatibility package is no longer
automatically generated or actively maintained. Please switch to the wx
package as soon as possible.
from wxPython.wx import *
Traceback (most recent call last):
File "/usr/games/bin/london-client", line 29, in <module>
import londonlaw.guiclient
File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 26, in <module>
File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 15, in <module>
File "usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py",
line 8, in <module>
File "usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_misc.py",
line 456, in <module>
AttributeError: 'module' object has no attribute
'DateTime_GetNumberOfDaysinYear'