Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204347 - games-puzzle/londonlaw wxversion patch
Summary: games-puzzle/londonlaw wxversion patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: wxpython-2.8
  Show dependency tree
 
Reported: 2008-01-04 23:20 UTC by Ryan Hill (RETIRED)
Modified: 2008-01-05 00:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
londonlaw-0.2.1-wxversion.patch (londonlaw-0.2.1-wxversion.patch,539 bytes, patch)
2008-01-04 23:23 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2008-01-04 23:20:52 UTC
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'
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-01-04 23:23:52 UTC
Created attachment 140135 [details, diff]
londonlaw-0.2.1-wxversion.patch
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-01-05 00:42:51 UTC
Fixed.