[tahoe-lafs-trac-stream] [tahoe-lafs] #1714: Tahoe-lafs fails to start with python 2.7 due to missing argparse module

tahoe-lafs trac at tahoe-lafs.org
Wed Jun 19 18:00:45 UTC 2013


#1714: Tahoe-lafs fails to start with python 2.7 due to missing argparse module
---------------------------+---------------------------
     Reporter:  vrusinov   |      Owner:  vrusinov
         Type:  defect     |     Status:  new
     Priority:  major      |  Milestone:  undecided
    Component:  packaging  |    Version:  1.9.1
   Resolution:             |   Keywords:  argparse zfec
Launchpad Bug:             |
---------------------------+---------------------------

Old description:

> {{{
> Traceback (most recent call last):
>   File "/usr/bin/tahoe", line 6, in <module>
>     from pkg_resources import load_entry_point
>   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2707, in
> <module>
>     working_set.require(__requires__)
>   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 686, in
> require
>     needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 584, in
> resolve
>     raise DistributionNotFound(req)
> pkg_resources.DistributionNotFound: argparse>=0.8
> }}}
>
> But since python 2.7 argparse is included in standard library:
> http://www.python.org/dev/peps/pep-0389/, so my system does not have
> separate module for argparse.

New description:

 {{{
 Traceback (most recent call last):
   File "/usr/bin/tahoe", line 6, in <module>
     from pkg_resources import load_entry_point
   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2707, in
 <module>
     working_set.require(__requires__)
   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 686, in
 require
     needed = self.resolve(parse_requirements(requirements))
   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 584, in
 resolve
     raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: argparse>=0.8
 }}}

 But since python 2.7 argparse is included in standard library:
 http://www.python.org/dev/peps/pep-0389/, so my system does not have
 separate module for argparse.

--

Comment (by zooko):

 What's the status of this ticket? Did the fact that I made a new release
 of zfec solve it and now it can be closed?

 Or should we implement one of the suggestions from the comments, such as
 "It will help if tahoe-lafs will declare >= zfec-1.4.23 dependency" (from
 comment:12)?

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1714#comment:14>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list