Public bug reported:

Binary package hint: python-wxgtk2.8

I was able to fix this on my own machine with help from 
http://lists.wxwidgets.org/pipermail/wxpython-users/2008-March/073676.html :

Petr Toman wrote:
> Fireball <fireball <at> sizzling.com> writes:
> 
>> Hi all! I'm having issues with the latest and greatest 2.8. I keep
>> getting the following errors:
>>
>> File
>> "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wxPython\_misc.py",
>> line 456, in <module>
>>     wxDateTime_GetNumberOfDaysinYear =
>> wx._misc.DateTime_GetNumberOfDaysinYear
>> AttributeError: 'module' object has no attribute
>> 'DateTime_GetNumberOfDaysinYear'
>>
>> Any ideas on how to fix it? I've had this happen with a couple of
>> different programs.
>>
>> Thanks!
>> Jay
>>
> 
> Hello!
> 
> There should be some hotfix available.
> To fix it quick yourself, replace the strings 
> 'DateTime_GetNumberOfDaysinYear' 
> by 'DateTime_GetNumberOfDaysInYear' in the 
> c:\Python25\Lib\site-packages\wx-2.8-
> msw-unicode\wxPython\_misc.py on your disk.

Or just stop using the old deprecated wxPython package modules and use 
the wx package instead.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

** Affects: wxwidgets2.8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
wxpython2.8 typo DateTime_GetNumberOfDays[i->I]nYear
https://bugs.launchpad.net/bugs/263414
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to