LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 16
Problems getting Python based Salstat working


I'm trying to get an application called salsat working.
I got it from SourceForge.net
It's a python script and when I run it I get the following error:
Code:
./salstat.py:8: 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 "./salstat.py", line 8, in <module>
    from wxPython.wx import *
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/__init__.py", line 15, in <module>
    import _wx
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py", line 8, in <module>
    from _misc import *
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_misc.py", 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
Member
 
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
metalx1000
Member
 
Registered: Jun 2006
Distribution: Debian
Posts: 109

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.
 
  


Reply


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


All times are GMT -5. The time now is 10:22 AM.

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