[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 19:07:40 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
Resolution: | Keywords: setuptools
Launchpad Bug: |
----------------------------+-----------------------------------------------
Comment (by zooko):
Thank you for the bug report! Could you also please post the results of
{{{python -c 'import pkg_resources;print
pkg_resources.require("setuptools")'}}}?
It looks like the behavior of stopping with an uncaught !KeyError
exception is due to a simple mistake -- would you be so kind as to apply
the following patch and try again? If that patch works then it should emit
a specific warning about the {{{setuptools}}} dependency but otherwise
proceed to start-up. Thanks!
{{{
diff -rN -u old-trunk/src/allmydata/__init__.py new-
trunk/src/allmydata/__init__.py
--- old-trunk/src/allmydata/__init__.py 2011-01-27 11:32:16.000000000
-0700
+++ new-trunk/src/allmydata/__init__.py 2011-01-27 11:32:22.000000000
-0700
@@ -260,6 +260,7 @@
if name not in pkg_resources_vers_and_locs:
errors.append("Warning: dependency %s (version %s
imported from %r) was not found by pkg_resources."
% (name, imp_ver, imp_loc))
+ continue
pr_ver, pr_loc = pkg_resources_vers_and_locs[name]
try:
}}}
(I'll also attach it as attachment:handle-missing-dep.patch.txt.)
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1339#comment:1>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list