[tahoe-lafs-trac-stream] [tahoe-lafs] #1159: stop using .tac files: make it possible to change appname, Python package-directory name, perhaps other names
tahoe-lafs
trac at tahoe-lafs.org
Mon Aug 22 09:34:48 PDT 2011
#1159: stop using .tac files: make it possible to change appname, Python package-
directory name, perhaps other names
-------------------------+-------------------------------------------------
Reporter: | Owner: somebody
davidsarah | Status: new
Type: defect | Milestone: eventually
Priority: major | Version: 1.8β
Component: code- | Keywords: test-needed backward-compatibility
nodeadmin | forward-compatibility appname tac
Resolution: |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by davidsarah):
Elrond on {{{#tahoe-lafs}}} said that they had a problem starting nodes
with the Debian-packaged version of Tahoe-LAFS v1.8.2, due to the
{{{pkg_resources.require('twisted')}}} in the .tac file. Apparently
twisted was installed in a way that wasn't recognized by pkg_resources
(possibly due to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631163).
Commenting out the {{{pkg_resources.require}}} worked.
The output of {{{tahoe --version-and-path}}} was
{{{
allmydata-tahoe: 1.8.2 (/usr/lib/pymodules/python2.6),
foolscap: 0.6.1 (/usr/lib/python2.6/dist-packages),
pycryptopp: 0.5.29 (/usr/lib/python2.6/dist-packages),
zfec: 1.4.5 (/usr/lib/python2.6/dist-packages),
Twisted: 10.1.0 (/usr/lib/python2.6/dist-packages),
Nevow: 0.10.0 (/usr/lib/python2.6/dist-packages),
zope.interface: unknown (/usr/lib/python2.6/dist-packages/zope),
python: 2.6.6 (/usr/bin/python),
platform: Linux-debian_6.0.2-i686-32bit_ELF (None),
pyOpenSSL: 0.10 (/usr/lib/pymodules/python2.6),
simplejson: 2.1.1 (/usr/lib/pymodules/python2.6),
pycrypto: 2.1.0 (/usr/lib/python2.6/dist-packages),
pyasn1: unknown (/usr/lib/pymodules/python2.6/pyasn1),
mock: 0.6.0 (/usr/lib/pymodules),
sqlite3: 2.4.1 [sqlite 3.7.6.2] (/usr/lib/python2.6),
setuptools: 0.6 [distribute] (/usr/lib/python2.6/dist-packages)
Warning: dependency twisted (version 10.1.0 imported from
'/usr/lib/python2.6/dist-packages') was not found by pkg_resources.
For debugging purposes, the PYTHONPATH was
None
install_requires was
['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4',
'zope.interface', 'foolscap[secure_connections] >= 0.6.1', 'Nevow >=
0.6.0', 'pycrypto == 2.0.1, == 2.1.0, >= 2.3', 'pyasn1 >= 0.0.8a', 'mock',
'pycryptopp >= 0.5.14']
sys.path after importing pkg_resources was
/usr/bin:
/usr/lib/python2.6:
/usr/lib/python2.6/plat-linux2:
/usr/lib/python2.6/lib-tk:
/usr/lib/python2.6/lib-old:
/usr/lib/python2.6/lib-dynload:
/usr/local/lib/python2.6/dist-packages:
/usr/lib/python2.6/dist-packages:
/usr/lib/python2.6/dist-packages/PIL:
/usr/lib/pymodules/python2.6:
/usr/lib/pymodules/python2.6/gtk-2.0:
/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode
}}}
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1159#comment:18>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list