LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   iPodder: ImportError: No module named wx (http://www.linuxquestions.org/questions/linux-software-2/ipodder-importerror-no-module-named-wx-329741/)

dr_zayus69 06-02-2005 07:01 PM

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.

dr_zayus69 06-05-2005 04:55 AM

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.

donk 06-13-2005 07:35 AM

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

dr_zayus69 06-13-2005 12:44 PM

the packages in the above list in my post with fc2 in them

donk 06-13-2005 01:10 PM

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 :-)

jhimes 07-06-2005 12:14 AM

Donk,

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

Thanks.

donk 07-06-2005 01:55 AM

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!


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