LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-02-2005, 08:01 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
iPodder: ImportError: No module named wx


hi i just installed iPodder and this is what i get when i try to start it up.

Traceback (most recent call last):
File "iPodderGui.py", line 18, in ?
import wx
ImportError: No module named wx

im not sure what this means. This is my guess. It is trying to call upon wxPython for the gui and all it would take is to install wxPython to get it to start or is there something else id have to do? Thanks for any replies in advance.
 
Old 06-05-2005, 05:55 AM   #2
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
ok i found out that i was getting that error message because of a failed dependency but now i get some new and fun output while trying to start iPodder. here it is:

<class 'ipodder.players.iTunes'>, <class 'ipodder.players.WindowsMedia'>, <clas s 'ipodder.players.XMMSPlayer'>, <class 'ipodder.players.NoPlayer'>]
/opt/iPodder/ipodder/contrib/portalocker.py:61: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
win32file.LockFileEx(hfile, flags, 0, 0xffff0000, __overlapped)
/opt/iPodder/ipodder/contrib/portalocker.py:65: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
win32file.UnlockFileEx(hfile, 0, 0xffff0000, __overlapped)
Traceback (most recent call last):
File "iPodderGui.py", line 38, in ?
import iPodderWindows
File "/opt/iPodder/iPodderWindows.py", line 6, in ?
import gui.tree
File "/opt/iPodder/gui/tree.py", line 20, in ?
from ipodder.contrib import GenericDispatch
File "/opt/iPodder/ipodder/contrib/GenericDispatch.py", line 42, in ?
from wxPython.lib import newevent
ImportError: cannot import name newevent

here is the output of my rpm -qa | grep py if it helps at all.

gnome-python2-bonobo-2.0.0-4.1
pygtk2-devel-2.2.0-1
python-2.3.3-6
pygtk2-libglade-2.2.0-1
python-xmms-2.04-1.1.fc2.rf
python-optik-1.4.1-5
gnome-python2-gtkhtml2-2.0.0-4.1
gnome-python2-2.0.0-4.1
wxPythonGTK-py2.3-2.4.0.7-1
wxPython2.5-gtk2-unicode-2.5.5.1-fc2_py2.3
pyOpenSSL-0.5.1-21.1
pyorbit-2.0.0-3.1
pygtk2-2.2.0-1
rpm-python-4.3.1-0.4.1
wxPython2.5-devel-gtk2-unicode-2.5.5.1-fc2_py2.3
pyxf86config-0.3.18-2
gnome-python2-canvas-2.0.0-4.1
libxml2-python-2.6.16-2
pyparted-1.6.6-2
python-devel-2.3.3-6
wxPython-common-gtk2-unicode-2.5.5.1-fc2_py2.3

any help would be appreciated. thanks in advance.
 
Old 06-13-2005, 08:35 AM   #3
donk
Member
 
Registered: Sep 2003
Location: Southend-on-Sea, UK
Distribution: Slackware & Ubuntu
Posts: 33

Rep: Reputation: 15
Question

What was the dependency issue that you solved when you got:

Traceback (most recent call last):
File "iPodderGui.py", line 18, in ?
import wx
ImportError: No module named wx

I am getting a similiar message:

Traceback (most recent call last):
File "iPodderGui.py", line 18, in ?
import wx
File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/__init__.py", line 42, in ?
from wx._core import *
File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py", line 4, in ?
import _core_
ImportError: /usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/_core_.so: undefined symbol: Py_InitModule4
[10961 refs]


How did you get rid of it? I know that this doesn't help you but I will let you know the solution if I find it!

donk
 
Old 06-13-2005, 01:44 PM   #4
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
the packages in the above list in my post with fc2 in them
 
Old 06-13-2005, 02:10 PM   #5
donk
Member
 
Registered: Sep 2003
Location: Southend-on-Sea, UK
Distribution: Slackware & Ubuntu
Posts: 33

Rep: Reputation: 15
Thanks. I'll go through all my packages and make sure I have them all installed - I'm pretty sure that I have.

Been searching for the solution - looks like a lot of people are having problem with iPodder - but I haven't yet found the solution.

All the best

donk :-)
 
Old 07-06-2005, 01:14 AM   #6
jhimes
Member
 
Registered: Mar 2004
Posts: 35

Rep: Reputation: 15
Donk,

Did you ever work this out. I'm getting a similar "import wx" message trying to run iPodder on Suse 9.1.

Thanks.
 
Old 07-06-2005, 02:55 AM   #7
donk
Member
 
Registered: Sep 2003
Location: Southend-on-Sea, UK
Distribution: Slackware & Ubuntu
Posts: 33

Rep: Reputation: 15
No I gave up and downloaded BashPodder at http://linc.homeunix.org:8080/scripts/bashpodder/

In the 'EXTRAS' section there are some BashPodder GUIs if you need them; I don't need a GUI and I love the simplicity of the script - it's just 44 lines long!
 
  


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
freevo crash ImportError: No module named web.microdom netsurf Linux - Software 0 10-23-2005 06:30 AM
gDesklets - ImportError: No module named gnome.ui raffi Linux - Software 9 10-20-2005 01:48 PM
Bittorrent. "ImportError: No module named __future__" BashTin Linux - Software 4 09-12-2005 04:07 AM
ImportError: No module named libglade Kanaflloric Programming 0 08-16-2004 10:58 PM
ImportError: No module named gconf linorg Linux - Software 8 02-02-2004 05:37 PM


All times are GMT -5. The time now is 03:07 PM.

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