Opened at 2009-01-17T16:22:04Z
Closed at 2009-01-23T22:50:52Z
#588 closed defect (fixed)
"tahoe start" fails even though "tahoe --version" works
| Reported by: | zooko | Owned by: | cgalvan |
|---|---|---|---|
| Priority: | major | Milestone: | undecided |
| Component: | unknown | Version: | 1.2.0 |
| Keywords: | Cc: | ||
| Launchpad Bug: |
Description
We recently added a test to the buildbot to make sure that $BASEDIR/bin/tahoe --version works. (Thanks to Chris Galvan.) Unfortunately, on my Ubuntu Hardy system right now, even though $BASEDIR/bin/tahoe --version successfully emits: allmydata: 1.2.0-r3424, foolscap: 0.3.2, pycryptopp: 0.5.1, zfec: 1.4.4, twisted: 8.2.0, nevow: 0.9.31, python: 2.5.2, platform: Linux-Ubuntu_8.04-x86_64-64bit, simplejson: 2.0.3, pyopenssl: 0.7, setuptools: 0.7a1, $BASEDIR/bin/tahoe start fails like this:
TAHO yukyuk:~$ ~/playground/allmydata/tahoe/trunk/trunk/bin/tahoe start
STARTING /home/zooko/.tahoe
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/application/app.py", line 694, in run
runApp(config)
File "/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/application/app.py", line 411, in run
self.application = self.createOrGetApplication()
File "/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/application/app.py", line 494, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File "/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/application/app.py", line 505, in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/application/service.py", line 390, in loadApplication
application = sob.loadValueFromFile(filename, 'application', passphrase)
File "/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg/twisted/persisted/sob.py", line 214, in loadValueFromFile
exec fileObj in d, d
File "tahoe-client.tac", line 4, in <module>
from allmydata import client
exceptions.ImportError: No module named allmydata
Failed to load application: No module named allmydata
client node probably not started
To close this issue ticket we should first add a test to the buildbot to confirm that tahoe start works on all supported platforms, and then fix it so that it works. :-)
Change History (2)
comment:1 Changed at 2009-01-18T22:56:17Z by zooko
comment:2 Changed at 2009-01-23T22:50:52Z by zooko
- Resolution set to fixed
- Status changed from new to closed
This is fixed -- test_runner tests this now. Relevant patches are roughly between 210da5cd9a7e7c46 and b77c89ac6092f34a.

Hm, it occurs to me that these tests are intended to test whether tahoe start works: src/allmydata/test/test_runner.py.