[tahoe-lafs-trac-stream] [tahoe-lafs] #1405: python setup.py --help-commands raises exception
tahoe-lafs
trac at tahoe-lafs.org
Thu Oct 25 22:47:30 UTC 2012
#1405: python setup.py --help-commands raises exception
---------------------------+---------------------------------------
Reporter: zooko | Owner: zooko
Type: defect | Status: assigned
Priority: minor | Milestone: 1.10.0
Component: packaging | Version: 1.8.2
Resolution: | Keywords: packaging setuptools docs
Launchpad Bug: |
---------------------------+---------------------------------------
Old description:
> {{{
> zompu:~/playground/tahoe-lafs/pristine$ python setup.py --help-commands
> Traceback (most recent call last):
> File "setup.py", line 417, in <module>
> **setup_args
> File "/usr/lib/python2.7/distutils/core.py", line 138, in setup
> ok = dist.parse_command_line()
> File "/home/zooko/playground/tahoe-
> lafs/pristine/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 271, in
> parse_command_line
> result = _Distribution.parse_command_line(self)
> File "/usr/lib/python2.7/distutils/dist.py", line 464, in
> parse_command_line
> if self.handle_display_options(option_order):
> File "/usr/lib/python2.7/distutils/dist.py", line 669, in
> handle_display_options
> self.print_commands()
> File "/home/zooko/playground/tahoe-
> lafs/pristine/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 403, in
> print_commands
> cmdclass = ep.load(False) # don't require extras, we're not running
> File "/home/zooko/playground/tahoe-
> lafs/pristine/setuptools-0.6c16dev3.egg/pkg_resources.py", line 1978, in
> load
> entry = __import__(self.module_name, globals(),globals(),
> ['__name__'])
> ImportError: No module named upload_docs
> }}}
> {{{
> zompu:~/playground/tahoe-lafs/pristine$ ./bin/tahoe --version
> allmydata-tahoe: 1.8.2-r5043,
> foolscap: 0.6.1,
> pycryptopp: 0.5.28-r769,
> zfec: 1.4.7,
> Twisted: 10.1.0,
> Nevow: 0.10.0,
> zope.interface: unknown,
> python: 2.7.1+,
> platform: Linux-Ubuntu_11.04-x86_64-64bit_ELF,
> pyOpenSSL: 0.10,
> simplejson: 2.1.2,
> pycrypto: 2.1.0,
> pyasn1: unknown,
> mock: 0.7.1,
> sqlite3: 2.6.0 [sqlite 3.7.4],
> setuptools: 0.6c16dev3
> }}}
New description:
{{{
zompu:~/playground/tahoe-lafs/pristine$ python setup.py --help-commands
Traceback (most recent call last):
File "setup.py", line 417, in <module>
**setup_args
File "/usr/lib/python2.7/distutils/core.py", line 138, in setup
ok = dist.parse_command_line()
File "/home/zooko/playground/tahoe-
lafs/pristine/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 271, in
parse_command_line
result = _Distribution.parse_command_line(self)
File "/usr/lib/python2.7/distutils/dist.py", line 464, in
parse_command_line
if self.handle_display_options(option_order):
File "/usr/lib/python2.7/distutils/dist.py", line 669, in
handle_display_options
self.print_commands()
File "/home/zooko/playground/tahoe-
lafs/pristine/setuptools-0.6c16dev3.egg/setuptools/dist.py", line 403, in
print_commands
cmdclass = ep.load(False) # don't require extras, we're not running
File "/home/zooko/playground/tahoe-
lafs/pristine/setuptools-0.6c16dev3.egg/pkg_resources.py", line 1978, in
load
entry = __import__(self.module_name, globals(),globals(),
['__name__'])
ImportError: No module named upload_docs
}}}
{{{
zompu:~/playground/tahoe-lafs/pristine$ ./bin/tahoe --version
allmydata-tahoe: 1.8.2-r5043,
foolscap: 0.6.1,
pycryptopp: 0.5.28-r769,
zfec: 1.4.7,
Twisted: 10.1.0,
Nevow: 0.10.0,
zope.interface: unknown,
python: 2.7.1+,
platform: Linux-Ubuntu_11.04-x86_64-64bit_ELF,
pyOpenSSL: 0.10,
simplejson: 2.1.2,
pycrypto: 2.1.0,
pyasn1: unknown,
mock: 0.7.1,
sqlite3: 2.6.0 [sqlite 3.7.4],
setuptools: 0.6c16dev3
}}}
--
Comment (by davidsarah):
thedod was confused by this bug. We should probably just apply the patch
(and bump the zetuptoolz version).
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1405#comment:8>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list