Page 1 of 1

pkg_resource and setuptools problem (bad marshal data)

Posted: Sat Jul 24, 2010 5:16 am
by flipe
I have pkg_resource and setuptools installed.

If i try run deluge I get this:
deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 5, in <module>
from pkg_resources import load_entry_point
ValueError: bad marshal data


If I try build deluge from source I get this:
python setup.py build
Traceback (most recent call last):
File "setup.py", line 25, in <module>
from setuptools import setup, find_packages, Extension
File "/usr/lib/python2.6/dist-packages/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/usr/lib/python2.6/dist-packages/setuptools/extension.py", line 2, in <module>
from setuptools.dist import _get_unpatched
File "/usr/lib/python2.6/dist-packages/setuptools/dist.py", line 6, in <module>
from setuptools.command.install import install
File "/usr/lib/python2.6/dist-packages/setuptools/command/__init__.py", line 8, in <module>
from setuptools.command import install_scripts
File "/usr/lib/python2.6/dist-packages/setuptools/command/install_scripts.py", line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
ValueError: bad marshal data

it is a debian unstable on xfce4 and gtk-2.20.0-2, python2.6, deluge 1.2.0 (trying run) and 1.2.3 (trying install)

Re: pkg_resource and setuptools problem (bad marshal data)

Posted: Mon Jul 26, 2010 6:02 pm
by flipe
I update setuptools to 6c11 from sources and did the update to 1.2.3, but now I got this error when I try run deluge.
Traceback (most recent call last):
File "/usr/bin/deluge", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 2603, in <module>
return cls.__mro__
File "/usr/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 666, in require
self.callbacks.append(callback)
File "/usr/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 565, in resolve
"""Find all activatable distributions in `plugin_env`
pkg_resources.DistributionNotFound: deluge==1.2.3