Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-22-2008, 06:59 PM   #1
Registered: Jun 2006
Distribution: Debian
Posts: 111

Rep: Reputation: 16
Problems getting Python based Salstat working

I'm trying to get an application called salsat working.
I got it from
It's a python script and when I run it I get the following error:
./ 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 "./", line 8, in <module>
    from wxPython.wx import *
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/", line 15, in <module>
    import _wx
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/", line 8, in <module>
    from _misc import *
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/", line 456, in <module>
    wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysinYear
AttributeError: 'module' object has no attribute 'DateTime_GetNumberOfDaysinYear'
I'm running ubuntu hardy

Thanks for any help
Old 09-02-2008, 05:52 AM   #2
tur third
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187

Rep: Reputation: 24
Have you checked the obvious? It sounds like wxpython is not installed, which appears to be a GUI toolkit.

It looks like the code is trying to import from this toolkit, and cannot find it.

The best bet will be if you can find wxpython packaged in the Synaptic Package Manager in Ubuntu.
Old 09-04-2008, 03:04 PM   #3
Registered: Jun 2006
Distribution: Debian
Posts: 111

Original Poster
Rep: Reputation: 16
Teachers Glitch

Thank you for your response. I have not yet checked to see if wxpython is installed on the computer I was using that day. But I do wtite python scripts using wx so it should be installed on that computer. But my problem was solve in the way that I was trying to open a files for my with that she need for a class. And even as I was working on it I know that the teacher had made mistake, because if I was having trouble opening the file then the rest of my wifes class was going to be lost. And sure enough the next day the teacher sent out an email saying that she for got to convert the file to an excel file.

But, Thank you for your help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: SELinux - Highly Secured Web Hosting for Python-based Web Applications LXer Syndicated Linux News 0 05-28-2008 07:30 AM
cant seem to get mod-python working nephish Linux - Server 0 10-14-2006 08:23 AM
Problems getting network-card working (Tulip-based). hemmelig Linux - Software 6 01-16-2005 07:00 AM
idle for python not working bingbang Linux - Newbie 0 03-28-2004 07:44 AM
Python with MySQL/PostgreSQL not working iainr Programming 2 02-03-2004 02:50 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration