Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201165 - dev-python/python-dsv broken with wxpython-2.8
Summary: dev-python/python-dsv broken with wxpython-2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: wxpython-2.8
  Show dependency tree
 
Reported: 2007-12-04 01:35 UTC by Ryan Hill (RETIRED)
Modified: 2007-12-04 08:34 UTC (History)
1 user (show)

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


Attachments
python-dsv-1.4.0-wxversion.patch (python-dsv-1.4.0-wxversion.patch,470 bytes, patch)
2007-12-04 01:36 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 2007-12-04 01:35:37 UTC
python-dsv breaks with wxpython-2.8:

dirtyepic@tycho ~ $ python
Python 2.5.1 (r251:54863, Nov 30 2007, 20:42:18)
[GCC 4.2.3-pre20071124  (prerelease) (rev. 130461)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from DSV import DSV
/usr/lib/python2.5/site-packages/DSV/DSV.py:127: 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 import wx, grid
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/DSV/DSV.py", line 127, in <module>
    from wxPython import wx, grid
  File "usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/__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'


the attached patch locks DSV.py to wxpython-2.6 using wxversion
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2007-12-04 01:36:11 UTC
Created attachment 137672 [details, diff]
python-dsv-1.4.0-wxversion.patch
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2007-12-04 08:34:42 UTC
python-dsv-1.4.0-r1 fixes this, thanks for reporting.