[tahoe-lafs-trac-stream] [tahoe-lafs] #1355: bug in error path of cross_check_pkg_resources_versus_import
tahoe-lafs
trac at tahoe-lafs.org
Thu Feb 3 18:36:18 PST 2011
#1355: bug in error path of cross_check_pkg_resources_versus_import
--------------------------+-------------------------------------------------
Reporter: warner | Owner: somebody
Type: defect | Status: new
Priority: critical | Milestone: 1.9.0
Component: code | Version: 1.8.2
Resolution: | Keywords:
Launchpad Bug: |
--------------------------+-------------------------------------------------
Comment (by davidsarah):
Replying to [comment:1 davidsarah]:
> This error [...] happens when:
> * the {{{--version}}} or {{{--version-and-path}}} option to
{{{bin/tahoe}}} is used, and
> * the version of a package obtained either from import or from
pkg_resources, is not parseable at all by
[source:src/allmydata/util/verlib.py]. (A non-normalized but parseable
version is fine.)
Oops, {{{cross_check_pkg_resources_versus_import}}} is also called by
[source:src/allmydata/__init__.py at 4994#L378 get_package_versions_string],
which is used [source:src/allmydata/node.py at 4852#L4775 when constructing a
storage client or introducer node]. This will prevent running nodes
whenever the second condition above holds.
This situation is not happening on any of the buildbots, so it can't be
very common. However I think it still requires a 1.8.3 :-(
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1355#comment:2>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list