[wxPython-users] Re: New here and having issues

Robin Dunn robin at alldunn.com
Mon Mar 17 17:56:01 PDT 2008


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!





More information about the wxpython-users mailing list