No module named xdg

Support for Deluge on Apple Mac OS
Post Reply
seventoes
New User
New User
Posts: 6
Joined: Thu Aug 14, 2008 12:42 am

No module named xdg

Post by seventoes »

I get this error when trying to start up deluged on Leopard:

Code: Select all

Traceback (most recent call last):
  File "/usr/local/bin/deluged", line 8, in <module>
    load_entry_point('deluge==1.1.0-dev', 'console_scripts', 'deluged')()
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 277, in load_entry_point
    def get_entry_info(dist, group, name):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 2179, in load_entry_point
    except AttributeError:
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 1912, in load
    return entry
  File "/Library/Python/2.5/site-packages/deluge-1.1.0_dev-py2.5-macosx-10.5-i386.egg/deluge/main.py", line 44, in <module>
    import deluge.common
  File "/Library/Python/2.5/site-packages/deluge-1.1.0_dev-py2.5-macosx-10.5-i386.egg/deluge/common.py", line 42, in <module>
    import xdg, xdg.BaseDirectory
ImportError: No module named xdg
Obviously I'm missing a module, but I can't seem to figure out how to install it.

I've tried port upgrade py25-xdg, but that doesn't help, and I cant find any info on building xdg from source for mac. Anyone know how I can fix?
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: No module named xdg

Post by markybob »

i'm not sure what's different on mac os x...but xdg is provided by installing this: http://freedesktop.org/wiki/Software/pyxdg
Post Reply