Thursday, July 21, 2005

ipodder (v2.1) on Ubuntu 'Hoary'

I'd upgraded to the latest iPodder (v2.1) on my Ubuntu ('Hoary') laptop today.

# tar jxvf iPodder-linux-2.1.tar.bz2

# cd iPodder-linux

# sudo ./

(take the defaults)

The only glitch is wx libraries aren't in the default PYTHONPATH, so set this environment variable either at the command line, or pop it in ~/.bashrc

export PYTHONPATH=/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/:$PYTHONPATH-unicode:$PYTHONPATH

Now clean up a little bit...

$ cd ../

$ rm -rf iPodder-linux iPodder-linux-2.1.tar.bz2

Now, you are all set to start iPodder!

$ (nohup iPodder&) # or add it to a menu bar button

Getting closer to not needing any special knowledge to get iPodder running on a GNU/Linux distro...

- - - - -

Just for searchers, this is the problem you see if you don't set the PYTHONPATH:

$ iPodder
Traceback (most recent call last):
File "", line 38, in ?
import iPodderWindows
File "/opt/iPodder/", line 4, in ?
import listctrl as listmix
File "/opt/iPodder/", line 296, in ?
AttributeError: 'module' object has no attribute 'PyEventBinder'


  1. It's fine up-to that pont. But it still needs some python-xmms stuff?? What should I install?

    Traceback (most recent call last):
    File "", line 38, in ?
    import iPodderWindows
    File "/opt/iPodder/", line 6, in ?
    import gui.tree
    File "/opt/iPodder/gui/", line 16, in ?
    from ipodder import grabbers
    File "/opt/iPodder/ipodder/", line 56, in ?
    from configuration import __version__
    File "/opt/iPodder/ipodder/", line 15, in ?
    import players

  2. Are you in the /opt/iPodder directory when you startup? It looks like
    python isn't finding iPodder-provided libraries.

    I don't use iPodder to *listen* to the downloads and have set in iPodder's
    preferences to use "No Player". If you can't even get iPodder up
    and running, edit ipodder.cfg so there is a line that looks like this:

    player_type = 'NoPlayer'

    On startup there is a message saying "xmms couldn't be imported".

    FWIW, here are the xmms-related packages I have installed.

    $ dpkg --list|grep xmms
    ii gxmms 0.2.1-2 Simple GNOME applet to control the basic fun
    ii python-xmms 2.03-1ubuntu1 Python interface to XMMS
    ii python2.3-xmms 2.03-1ubuntu1 Python interface to XMMS (Python 2.3 version
    ii pyxmms-remote 1.11-4 command-line interface to XMMS
    ii xmms 1.2.10-2ubuntu Versatile X audio player that looks like Win
    ii xmms-mp4 2.0.0-0.3 a mp4/aac audio player for xmms
    ii xmms-qbble 1.2-10 XMMS playlist manager with search support
    ii xmms-shell 0.99.3-5 XMMS Shell - Interface to control XMMS from
    ii xmms-skins 0.5-1 Skins for XMMS

  3. Thank you to all above. I ran into almost all of the above problems on my desktop machine, and if I had read more carefully, it would not have taken me the half hour it did to get everything working fine.

  4. Thanks for the tip about PYTHONPATH.. I googled.. found it and now it works

    Nice one :)