[tahoe-lafs-trac-stream] [tahoe-lafs] #1339: Tahoe 1.8.2b1 does not locate locally installed setuptools
tahoe-lafs
trac at tahoe-lafs.org
Thu Jan 27 18:10:55 UTC 2011
#1339: Tahoe 1.8.2b1 does not locate locally installed setuptools
------------------------+---------------------------------------------------
Reporter: killyourtv | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: 1.8.2
Component: code | Version: unknown
Keywords: setuptools | Launchpad Bug:
------------------------+---------------------------------------------------
Debian Squeeze (testing), x64.
Software versions:
{{{
foolscap: 0.6.1,
pycryptopp: 0.5.25,
zfec: 1.4.9,
Twisted: 10.1.0,
Nevow: 0.10.0,
zope.interface: 3.5.3,
python: 2.6.6,
pyOpenSSL: 0.10,
simplejson: 2.1.1,
pycrypto: 2.1.0,
pyasn1: 0.0.11a,
mock: 0.6.0,
sqlite3: 2.4.1,
sqlite: 3.7.4,
setuptools: 0.6.14
}}}
$ tahoe start
STARTING '/home/$USERNAME/.tahoe'
{{{
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line
626, in run
runApp(config)
File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line
23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line
374, in run
self.application = self.createOrGetApplication()
File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line
439, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line
450, in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/usr/lib/python2.6/dist-packages/twisted/application/service.py",
line 390, in loadApplication
application = sob.loadValueFromFile(filename, 'application',
passphrase)
File "/usr/lib/python2.6/dist-packages/twisted/persisted/sob.py", line
210, in loadValueFromFile
exec fileObj in d, d
File "tahoe-client.tac", line 10, in <module>
c = client.Client()
File "/usr/lib/pymodules/python2.6/allmydata/client.py", line 133, in
__init__
node.Node.__init__(self, basedir)
File "/usr/lib/pymodules/python2.6/allmydata/node.py", line 75, in
__init__
self.log("Node constructed. " + get_package_versions_string())
File "/usr/lib/pymodules/python2.6/allmydata/__init__.py", line 374, in
get_package_versions_string
errors = cross_check_pkg_resources_versus_import()
File "/usr/lib/pymodules/python2.6/allmydata/__init__.py", line 264, in
cross_check_pkg_resources_versus_import
pr_ver, pr_loc = pkg_resources_vers_and_locs[name]
exceptions.KeyError: 'setuptools'
Failed to load application: 'setuptools'
}}}
But setuptools *is* installed.
{{{
$ LANG=en apt-cache policy python-setuptools
python-setuptools:
Installed: 0.6.14-4
Candidate: 0.6.14-4
}}}
Tahoe 1.8.1 was able to use the locally installed version. Additionally,
Python is able to import the module.
{{{
>>> import setuptools
import setuptools # directory /usr/lib/python2.6/dist-packages/setuptools
# /usr/lib/python2.6/dist-packages/setuptools/__init__.pyc matches
/usr/lib/python2.6/dist-packages/setuptools/__init__.py
import setuptools # precompiled from /usr/lib/python2.6/dist-
packages/setuptools/__init__.pyc
# /usr/lib/python2.6/dist-packages/setuptools/extension.pyc matches
/usr/lib/python2.6/dist-packages/setuptools/extension.py
import setuptools.extension # precompiled from /usr/lib/python2.6/dist-
packages/setuptools/extension.pyc
import distutils # directory /usr/lib/python2.6/distutils
# /usr/lib/python2.6/distutils/__init__.pyc matches
/usr/lib/python2.6/distutils/__init__.py
import distutils # precompiled from
/usr/lib/python2.6/distutils/__init__.pyc
# /usr/lib/python2.6/distutils/core.pyc matches
/usr/lib/python2.6/distutils/core.py
import distutils.core # precompiled from
/usr/lib/python2.6/distutils/core.pyc
# /usr/lib/python2.6/distutils/debug.pyc matches
/usr/lib/python2.6/distutils/debug.py
import distutils.debug # precompiled from
/usr/lib/python2.6/distutils/debug.pyc
# /usr/lib/python2.6/distutils/errors.pyc matches
/usr/lib/python2.6/distutils/errors.py
import distutils.errors # precompiled from
/usr/lib/python2.6/distutils/errors.pyc
# /usr/lib/python2.6/distutils/util.pyc matches
/usr/lib/python2.6/distutils/util.py
import distutils.util # precompiled from
/usr/lib/python2.6/distutils/util.pyc
# /usr/lib/python2.6/string.pyc matches /usr/lib/python2.6/string.py
import string # precompiled from /usr/lib/python2.6/string.pyc
# /usr/lib/python2.6/re.pyc matches /usr/lib/python2.6/re.py
import re # precompiled from /usr/lib/python2.6/re.pyc
# /usr/lib/python2.6/sre_compile.pyc matches
/usr/lib/python2.6/sre_compile.py
import sre_compile # precompiled from /usr/lib/python2.6/sre_compile.pyc
import _sre # builtin
# /usr/lib/python2.6/sre_parse.pyc matches /usr/lib/python2.6/sre_parse.py
import sre_parse # precompiled from /usr/lib/python2.6/sre_parse.pyc
# /usr/lib/python2.6/sre_constants.pyc matches
/usr/lib/python2.6/sre_constants.py
import sre_constants # precompiled from
/usr/lib/python2.6/sre_constants.pyc
import strop # builtin
# /usr/lib/python2.6/distutils/dep_util.pyc matches
/usr/lib/python2.6/distutils/dep_util.py
import distutils.dep_util # precompiled from
/usr/lib/python2.6/distutils/dep_util.pyc
# /usr/lib/python2.6/distutils/spawn.pyc matches
/usr/lib/python2.6/distutils/spawn.py
import distutils.spawn # precompiled from
/usr/lib/python2.6/distutils/spawn.pyc
# /usr/lib/python2.6/distutils/log.pyc matches
/usr/lib/python2.6/distutils/log.py
import distutils.log # precompiled from
/usr/lib/python2.6/distutils/log.pyc
# /usr/lib/python2.6/distutils/dist.pyc matches
/usr/lib/python2.6/distutils/dist.py
import distutils.dist # precompiled from
/usr/lib/python2.6/distutils/dist.pyc
# /usr/lib/python2.6/copy.pyc matches /usr/lib/python2.6/copy.py
import copy # precompiled from /usr/lib/python2.6/copy.pyc
# /usr/lib/python2.6/distutils/fancy_getopt.pyc matches
/usr/lib/python2.6/distutils/fancy_getopt.py
import distutils.fancy_getopt # precompiled from
/usr/lib/python2.6/distutils/fancy_getopt.pyc
# /usr/lib/python2.6/getopt.pyc matches /usr/lib/python2.6/getopt.py
import getopt # precompiled from /usr/lib/python2.6/getopt.pyc
# /usr/lib/python2.6/distutils/cmd.pyc matches
/usr/lib/python2.6/distutils/cmd.py
import distutils.cmd # precompiled from
/usr/lib/python2.6/distutils/cmd.pyc
# /usr/lib/python2.6/distutils/dir_util.pyc matches
/usr/lib/python2.6/distutils/dir_util.py
import distutils.dir_util # precompiled from
/usr/lib/python2.6/distutils/dir_util.pyc
# /usr/lib/python2.6/distutils/file_util.pyc matches
/usr/lib/python2.6/distutils/file_util.py
import distutils.file_util # precompiled from
/usr/lib/python2.6/distutils/file_util.pyc
# /usr/lib/python2.6/distutils/archive_util.pyc matches
/usr/lib/python2.6/distutils/archive_util.py
import distutils.archive_util # precompiled from
/usr/lib/python2.6/distutils/archive_util.pyc
# /usr/lib/python2.6/distutils/config.pyc matches
/usr/lib/python2.6/distutils/config.py
import distutils.config # precompiled from
/usr/lib/python2.6/distutils/config.pyc
# /usr/lib/python2.6/ConfigParser.pyc matches
/usr/lib/python2.6/ConfigParser.py
import ConfigParser # precompiled from /usr/lib/python2.6/ConfigParser.pyc
# /usr/lib/python2.6/distutils/extension.pyc matches
/usr/lib/python2.6/distutils/extension.py
import distutils.extension # precompiled from
/usr/lib/python2.6/distutils/extension.pyc
# /usr/lib/python2.6/dist-packages/setuptools/dist.pyc matches
/usr/lib/python2.6/dist-packages/setuptools/dist.py
import setuptools.dist # precompiled from /usr/lib/python2.6/dist-
packages/setuptools/dist.pyc
# /usr/lib/python2.6/dist-packages/setuptools/depends.pyc matches
/usr/lib/python2.6/dist-packages/setuptools/depends.py
import setuptools.depends # precompiled from /usr/lib/python2.6/dist-
packages/setuptools/depends.pyc
# /usr/lib/python2.6/__future__.pyc matches
/usr/lib/python2.6/__future__.py
import __future__ # precompiled from /usr/lib/python2.6/__future__.pyc
import imp # builtin
import marshal # builtin
# /usr/lib/python2.6/distutils/version.pyc matches
/usr/lib/python2.6/distutils/version.py
import distutils.version # precompiled from
/usr/lib/python2.6/distutils/version.pyc
import setuptools.command # directory /usr/lib/python2.6/dist-
packages/setuptools/command
# /usr/lib/python2.6/dist-packages/setuptools/command/__init__.pyc matches
/usr/lib/python2.6/dist-packages/setuptools/command/__init__.py
import setuptools.command # precompiled from /usr/lib/python2.6/dist-
packages/setuptools/command/__init__.pyc
# /usr/lib/python2.6/dist-packages/setuptools/command/install_scripts.pyc
matches /usr/lib/python2.6/dist-
packages/setuptools/command/install_scripts.py
import setuptools.command.install_scripts # precompiled from
/usr/lib/python2.6/dist-packages/setuptools/command/install_scripts.pyc
import distutils.command # directory /usr/lib/python2.6/distutils/command
# /usr/lib/python2.6/distutils/command/__init__.pyc matches
/usr/lib/python2.6/distutils/command/__init__.py
import distutils.command # precompiled from
/usr/lib/python2.6/distutils/command/__init__.pyc
# /usr/lib/python2.6/distutils/command/install_scripts.pyc matches
/usr/lib/python2.6/distutils/command/install_scripts.py
import distutils.command.install_scripts # precompiled from
/usr/lib/python2.6/distutils/command/install_scripts.pyc
# /usr/lib/python2.6/dist-packages/pkg_resources.pyc matches
/usr/lib/python2.6/dist-packages/pkg_resources.py
import pkg_resources # precompiled from /usr/lib/python2.6/dist-
packages/pkg_resources.pyc
import time # builtin
# /usr/lib/python2.6/urlparse.pyc matches /usr/lib/python2.6/urlparse.py
import urlparse # precompiled from /usr/lib/python2.6/urlparse.pyc
# /usr/lib/python2.6/collections.pyc matches
/usr/lib/python2.6/collections.py
import collections # precompiled from /usr/lib/python2.6/collections.pyc
import _collections # builtin
import operator # builtin
# /usr/lib/python2.6/keyword.pyc matches /usr/lib/python2.6/keyword.py
import keyword # precompiled from /usr/lib/python2.6/keyword.pyc
# /usr/lib/python2.6/pkgutil.pyc matches /usr/lib/python2.6/pkgutil.py
import pkgutil # precompiled from /usr/lib/python2.6/pkgutil.pyc
import zope # directory /usr/lib/python2.6/dist-packages/zope
# /usr/lib/python2.6/dist-packages/zope/__init__.pyc matches
/usr/lib/python2.6/dist-packages/zope/__init__.py
import zope # precompiled from /usr/lib/python2.6/dist-
packages/zope/__init__.pyc
# /usr/lib/python2.6/distutils/command/bdist.pyc matches
/usr/lib/python2.6/distutils/command/bdist.py
import distutils.command.bdist # precompiled from
/usr/lib/python2.6/distutils/command/bdist.pyc
# /usr/lib/python2.6/dist-packages/setuptools/command/install.pyc matches
/usr/lib/python2.6/dist-packages/setuptools/command/install.py
import setuptools.command.install # precompiled from /usr/lib/python2.6
/dist-packages/setuptools/command/install.pyc
# /usr/lib/python2.6/glob.pyc matches /usr/lib/python2.6/glob.py
import glob # precompiled from /usr/lib/python2.6/glob.pyc
# /usr/lib/python2.6/fnmatch.pyc matches /usr/lib/python2.6/fnmatch.py
import fnmatch # precompiled from /usr/lib/python2.6/fnmatch.pyc
# /usr/lib/python2.6/distutils/command/install.pyc matches
/usr/lib/python2.6/distutils/command/install.py
import distutils.command.install # precompiled from
/usr/lib/python2.6/distutils/command/install.pyc
# /usr/lib/python2.6/distutils/sysconfig.pyc matches
/usr/lib/python2.6/distutils/sysconfig.py
import distutils.sysconfig # precompiled from
/usr/lib/python2.6/distutils/sysconfig.pyc
# /usr/lib/python2.6/dist-packages/setuptools/command/sdist.pyc matches
/usr/lib/python2.6/dist-packages/setuptools/command/sdist.py
import setuptools.command.sdist # precompiled from /usr/lib/python2.6
/dist-packages/setuptools/command/sdist.pyc
# /usr/lib/python2.6/distutils/command/sdist.pyc matches
/usr/lib/python2.6/distutils/command/sdist.py
import distutils.command.sdist # precompiled from
/usr/lib/python2.6/distutils/command/sdist.pyc
# /usr/lib/python2.6/distutils/text_file.pyc matches
/usr/lib/python2.6/distutils/text_file.py
import distutils.text_file # precompiled from
/usr/lib/python2.6/distutils/text_file.pyc
# /usr/lib/python2.6/distutils/filelist.pyc matches
/usr/lib/python2.6/distutils/filelist.py
import distutils.filelist # precompiled from
/usr/lib/python2.6/distutils/filelist.pyc
# /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyc
matches /usr/lib/python2.6/dist-packages/setuptools/command/install_lib.py
import setuptools.command.install_lib # precompiled from
/usr/lib/python2.6/dist-packages/setuptools/command/install_lib.pyc
# /usr/lib/python2.6/distutils/command/install_lib.pyc matches
/usr/lib/python2.6/distutils/command/install_lib.py
import distutils.command.install_lib # precompiled from
/usr/lib/python2.6/distutils/command/install_lib.pyc
}}}
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1339>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list