possible 1.8.3 / 1.9.1 intertalk issue #1668

Closed
opened 2012-02-09 17:57:31 +00:00 by vikarti · 10 comments
vikarti commented 2012-02-09 17:57:31 +00:00
Owner

I have system which was running 1.8.3+I2P patches(from Killyourtv.i2p)
later it was updated to 1.9.1
CentOS 5
I also have this from deep-check on

ERROR: ValueError(need more than 8 values to unpack)
"[Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 8 values to unpack"
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/base.py:789:runUntilCurrent
/root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/eventual.py:26:_turn
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks
--- <exception caught here> ---
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:269:_repair_finished
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:130:_fill_checker_results
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/servermap.py:258:recoverable_versions

and

"ERROR: AttributeError('NoneType' object has no attribute 'callRemote')"
"[Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'callRemote'"
/root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/call.py:674:_done
/root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/call.py:60:complete
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks
--- <exception caught here> ---
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:553:_got_response
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:420:_loop
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:105:query
ERROR: ValueError(need more than 8 values to unpack)
"[Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 8 values to unpack"
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/base.py:789:runUntilCurrent
/root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/eventual.py:26:_turn
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks
--- <exception caught here> ---
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:269:_repair_finished
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:130:_fill_checker_results
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/servermap.py:258:recoverable_versions
[root@lalangamena ~]# ./tahoe-repair-all.sh 
*** avatar
ERROR: AssertionError()
"[Failure instance: Traceback: <type 'exceptions.AssertionError'>: "
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:560:upload
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:658:_do_serialized
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:297:addCallback
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:286:addCallbacks
--- <exception caught here> ---
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:658:<lambda>
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:686:_upload
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/publish.py:407:publish"ERROR: AttributeError('NoneType' object has no attribute 'callRemote')"
"[Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'callRemote'"
/root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/call.py:674:_done
/root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/call.py:60:complete
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks
--- <exception caught here> ---
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:553:_got_response
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:420:_loop
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:105:query
ERROR: ValueError(need more than 8 values to unpack)
"[Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 8 values to unpack"
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/base.py:789:runUntilCurrent
/root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/eventual.py:26:_turn
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks
--- <exception caught here> ---
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:269:_repair_finished
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:130:_fill_checker_results
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/servermap.py:258:recoverable_versions
[root@lalangamena ~]# ./tahoe-repair-all.sh 
*** avatar
ERROR: AssertionError()
"[Failure instance: Traceback: <type 'exceptions.AssertionError'>: "
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:560:upload
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:658:_do_serialized
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:297:addCallback
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:286:addCallbacks
--- <exception caught here> ---
/root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:658:<lambda>
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:686:_upload
/root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/publish.py:407:publish

/root/tahoe is path to old tahoe install(1.8.3 i2p one needed to be installed with python 2.6 for some reason)

1.8.3/i2p is no longer in $PATH/PYTHONPATH(but this folder is still present on machine).

tahoe --version from this machine

[root@lalangamena .tahoe]# tahoe --version
allmydata-tahoe: 1.9.1,
foolscap: 0.6.2,
pycryptopp: 0.5.29,
zfec: 1.4.17,
Twisted: 10.2.0,
Nevow: 0.10.0,
zope.interface: unknown,
python: 2.6.0,
platform: Linux-redhat_5.5-i686-32bit_ELF,
pyOpenSSL: 0.11,
simplejson: 2.1.3,
pycrypto: 2.3,
pyasn1: unknown,
mock: 0.6.0,
sqlite3: 2.4.1 [sqlite 3.3.6],
setuptools: 0.6c16dev3

I don't exactly knew how this happen. how they become intermingled.as I said - old one is not in PATH/PYTHONPATH.
Moving /root/tahoe away resulted in

[root@lalangamena ~]# tahoe restart
Traceback (most recent call last):
  File "/root/tahoe-new/allmydata-tahoe-1.9.1/support/bin/tahoe", line 9, in <module>
    load_entry_point('allmydata-tahoe==1.9.1', 'console_scripts', 'tahoe')()
  File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 318, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 2245, in load_entry_point
    return ep.load()
  File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 1977, in load
    if require: self.require(env, installer)
  File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 1990, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 575, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: pycryptopp>=0.5.20

so this looks like 1.9.1's setup.py somehow got it's hands on parts of old install?

I have system which was running 1.8.3+I2P patches(from Killyourtv.i2p) later it was updated to 1.9.1 CentOS 5 I also have this from deep-check on ``` ERROR: ValueError(need more than 8 values to unpack) "[Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 8 values to unpack" /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/base.py:789:runUntilCurrent /root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/eventual.py:26:_turn /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks --- <exception caught here> --- /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:269:_repair_finished /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:130:_fill_checker_results /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/servermap.py:258:recoverable_versions ``` and ``` "ERROR: AttributeError('NoneType' object has no attribute 'callRemote')" "[Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'callRemote'" /root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/call.py:674:_done /root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/call.py:60:complete /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks --- <exception caught here> --- /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:553:_got_response /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:420:_loop /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:105:query ERROR: ValueError(need more than 8 values to unpack) "[Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 8 values to unpack" /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/base.py:789:runUntilCurrent /root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/eventual.py:26:_turn /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks --- <exception caught here> --- /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:269:_repair_finished /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:130:_fill_checker_results /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/servermap.py:258:recoverable_versions [root@lalangamena ~]# ./tahoe-repair-all.sh *** avatar ERROR: AssertionError() "[Failure instance: Traceback: <type 'exceptions.AssertionError'>: " /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:560:upload /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:658:_do_serialized /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:297:addCallback /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:286:addCallbacks --- <exception caught here> --- /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:658:<lambda> /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:686:_upload /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/publish.py:407:publish"ERROR: AttributeError('NoneType' object has no attribute 'callRemote')" "[Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'callRemote'" /root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/call.py:674:_done /root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/call.py:60:complete /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks --- <exception caught here> --- /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:553:_got_response /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:420:_loop /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/immutable/upload.py:105:query ERROR: ValueError(need more than 8 values to unpack) "[Failure instance: Traceback: <type 'exceptions.ValueError'>: need more than 8 values to unpack" /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/base.py:789:runUntilCurrent /root/tahoe/allmydata-tahoe-1.8.3/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/eventual.py:26:_turn /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:361:callback /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:455:_startRunCallbacks --- <exception caught here> --- /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:269:_repair_finished /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/checker.py:130:_fill_checker_results /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/servermap.py:258:recoverable_versions [root@lalangamena ~]# ./tahoe-repair-all.sh *** avatar ERROR: AssertionError() "[Failure instance: Traceback: <type 'exceptions.AssertionError'>: " /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:560:upload /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:658:_do_serialized /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:297:addCallback /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:286:addCallbacks --- <exception caught here> --- /root/tahoe/allmydata-tahoe-1.8.3/Twisted-10.2.0-py2.6-linux-i686.egg/twisted/internet/defer.py:542:_runCallbacks /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:658:<lambda> /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/filenode.py:686:_upload /root/tahoe-new/allmydata-tahoe-1.9.1/src/allmydata/mutable/publish.py:407:publish ``` /root/tahoe is path to old tahoe install(1.8.3 i2p one needed to be installed with python 2.6 for some reason) 1.8.3/i2p is no longer in $PATH/PYTHONPATH(but this folder is still present on machine). tahoe --version from this machine ``` [root@lalangamena .tahoe]# tahoe --version allmydata-tahoe: 1.9.1, foolscap: 0.6.2, pycryptopp: 0.5.29, zfec: 1.4.17, Twisted: 10.2.0, Nevow: 0.10.0, zope.interface: unknown, python: 2.6.0, platform: Linux-redhat_5.5-i686-32bit_ELF, pyOpenSSL: 0.11, simplejson: 2.1.3, pycrypto: 2.3, pyasn1: unknown, mock: 0.6.0, sqlite3: 2.4.1 [sqlite 3.3.6], setuptools: 0.6c16dev3 ``` I don't exactly knew how this happen. how they become intermingled.as I said - old one is not in PATH/PYTHONPATH. Moving /root/tahoe away resulted in ``` [root@lalangamena ~]# tahoe restart Traceback (most recent call last): File "/root/tahoe-new/allmydata-tahoe-1.9.1/support/bin/tahoe", line 9, in <module> load_entry_point('allmydata-tahoe==1.9.1', 'console_scripts', 'tahoe')() File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 318, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 2245, in load_entry_point return ep.load() File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 1977, in load if require: self.require(env, installer) File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 1990, in require working_set.resolve(self.dist.requires(self.extras),env,installer)) File "/root/tahoe-new/allmydata-tahoe-1.9.1/setuptools-0.6c16dev3.egg/pkg_resources.py", line 575, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: pycryptopp>=0.5.20 ``` so this looks like 1.9.1's setup.py somehow got it's hands on parts of old install?
tahoe-lafs added the
unknown
minor
defect
1.9.1
labels 2012-02-09 17:57:31 +00:00
tahoe-lafs added this to the undecided milestone 2012-02-09 17:57:31 +00:00
killyourtv commented 2012-02-14 11:06:52 +00:00
Author
Owner

FWIW, the I2P installer script will use whatever "python" points to, it doesn't depend on python2.6.

At the end of the installation you're advised to set the PATH and PYTHONPATH accordingly. I'd guess that you may have left the old installation defined in the PATH.

Make sure the old path is not defined in PATH and PYTHONPATH then try to reinstall.

FWIW, the I2P installer script will use whatever "python" points to, it doesn't depend on python2.6. At the end of the installation you're advised to set the `PATH` and `PYTHONPATH` accordingly. I'd guess that you may have left the old installation defined in the `PATH`. Make sure the old path is not defined in PATH and PYTHONPATH then try to reinstall.
davidsarah commented 2012-02-17 19:11:45 +00:00
Author
Owner

Possibly related to #1669 (notice the "ValueError (need more than 8 values to unpack)"), but the mixture of 1.8.3 and 1.9.1 code means that we can't conclude anything concrete from this traceback.

How was the installation updated to 1.9.1? Using tahoe setup.py install? It seems as though it is using the 1.9.1 Tahoe code with the dependencies (Twisted, foolscap, etc.) that were installed for 1.8.3+I2P. That could result in using a wrong version of a dependency if its requirement changed, although it is not as bad as mixing files within the same Python package.

Possibly related to #1669 (notice the "ValueError (need more than 8 values to unpack)"), but the mixture of 1.8.3 and 1.9.1 code means that we can't conclude anything concrete from this traceback. How was the installation updated to 1.9.1? Using `tahoe setup.py install`? It seems as though it is using the 1.9.1 Tahoe code with the dependencies (Twisted, foolscap, etc.) that were installed for 1.8.3+I2P. That could result in using a wrong version of a dependency if its requirement changed, although it is not as bad as mixing files within the same Python package.
tahoe-lafs added
packaging
major
and removed
unknown
minor
labels 2012-02-17 19:11:58 +00:00
davidsarah commented 2012-02-17 19:13:35 +00:00
Author
Owner

After moving /root/tahoe back, please do tahoe --version-and-path

After moving /root/tahoe back, please do `tahoe --version-and-path`
vikarti commented 2012-02-17 19:22:19 +00:00
Author
Owner

how?
I don't use install.
just python setup.py build / python setup.py test on new one
I moved /root/tahoe back

root@lalangamena ~]# tahoe --version-and-path
allmydata-tahoe: 1.9.1 (/root/tahoe-new/allmydata-tahoe-1.9.1/src),
foolscap: 0.6.3 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/foolscap-0.6.3-py2.4.egg),
pycryptopp: 0.5.29 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pycryptopp-0.5.29-py2.4-linux-i686.egg),
zfec: 1.4.22 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/zfec-1.4.22-py2.4-linux-i686.egg),
Twisted: 10.2.0 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/Twisted-10.2.0-py2.4-linux-i686.egg),
Nevow: 0.10.0 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/Nevow-0.10.0-py2.4.egg),
zope.interface: unknown (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/zope.interface-3.8.0-py2.4-linux-i686.egg/zope),
python: 2.4.3 (/usr/bin/python),
platform: Linux-redhat_5.5-i686-32bit_ELF (None),
pyOpenSSL: 0.11 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pyOpenSSL-0.11-py2.4-linux-i686.egg),
simplejson: 1.7 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/simplejson-1.7-py2.4-linux-i686.egg),
pycrypto: 2.5 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pycrypto-2.5-py2.4-linux-i686.egg),
pyasn1: unknown (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pyasn1-0.1.2-py2.4.egg),
mock: 0.8.0rc2 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages),
pysqlite: 2.6.3 [sqlite 3.3.6] (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pysqlite-2.6.3-py2.4-linux-i686.egg),
setuptools: 0.6c16dev3 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/setuptools-0.6c16dev3.egg)
how? I don't use install. just python setup.py build / python setup.py test on new one I moved /root/tahoe back ``` root@lalangamena ~]# tahoe --version-and-path allmydata-tahoe: 1.9.1 (/root/tahoe-new/allmydata-tahoe-1.9.1/src), foolscap: 0.6.3 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/foolscap-0.6.3-py2.4.egg), pycryptopp: 0.5.29 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pycryptopp-0.5.29-py2.4-linux-i686.egg), zfec: 1.4.22 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/zfec-1.4.22-py2.4-linux-i686.egg), Twisted: 10.2.0 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/Twisted-10.2.0-py2.4-linux-i686.egg), Nevow: 0.10.0 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/Nevow-0.10.0-py2.4.egg), zope.interface: unknown (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/zope.interface-3.8.0-py2.4-linux-i686.egg/zope), python: 2.4.3 (/usr/bin/python), platform: Linux-redhat_5.5-i686-32bit_ELF (None), pyOpenSSL: 0.11 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pyOpenSSL-0.11-py2.4-linux-i686.egg), simplejson: 1.7 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/simplejson-1.7-py2.4-linux-i686.egg), pycrypto: 2.5 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pycrypto-2.5-py2.4-linux-i686.egg), pyasn1: unknown (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pyasn1-0.1.2-py2.4.egg), mock: 0.8.0rc2 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages), pysqlite: 2.6.3 [sqlite 3.3.6] (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pysqlite-2.6.3-py2.4-linux-i686.egg), setuptools: 0.6c16dev3 (/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/setuptools-0.6c16dev3.egg) ```
davidsarah commented 2012-02-17 22:56:52 +00:00
Author
Owner

Replying to vikarti:

how?
I don't use install.
just python setup.py build / python setup.py test on new one

Oh, ok. I was confused by the /root paths and the fact that you're using tahoe to run. You should be using bin/tahoe (in this case /root/tahoe-new/bin/tahoe) to run an instance of Tahoe that has been built rather than installed.

What does

root@lalangamena ~]# which tahoe

say?

BTW, I don't recommend running Tahoe as root.

Replying to [vikarti](/tahoe-lafs/trac-2024-07-25/issues/1668#issuecomment-87305): > how? > I don't use install. > just python setup.py build / python setup.py test on new one Oh, ok. I was confused by the /root paths and the fact that you're using `tahoe` to run. You should be using `bin/tahoe` (in this case `/root/tahoe-new/bin/tahoe`) to run an instance of Tahoe that has been built rather than installed. What does ``` root@lalangamena ~]# which tahoe ``` say? BTW, I don't recommend running Tahoe as root.
davidsarah commented 2012-02-17 22:59:38 +00:00
Author
Owner

Replying to killyourtv:

At the end of the [1.8.3+I2P] installation you're advised to set the PATH and PYTHONPATH accordingly.

Oh, that could confuse things no end. It shouldn't be necessary to set PYTHONPATH; as long as you're running the tahoe script that is in the bin/ directory of the build you want, that should be sufficient. If you set PYTHONPATH as well, then you're explicitly asking for a mixture of the code pointed to by PYTHONPATH and the code from that build.

Replying to [killyourtv](/tahoe-lafs/trac-2024-07-25/issues/1668#issuecomment-87298): > At the end of the [1.8.3+I2P] installation you're advised to set the `PATH` and `PYTHONPATH` accordingly. Oh, that could confuse things no end. It shouldn't be necessary to set `PYTHONPATH`; as long as you're running the `tahoe` script that is in the `bin/` directory of the build you want, that should be sufficient. If you set `PYTHONPATH` as well, then you're explicitly asking for a mixture of the code pointed to by `PYTHONPATH` and the code from that build.
vikarti commented 2012-02-18 04:48:32 +00:00
Author
Owner

at this time

[root@lalangamena ~]# which tahoe
/root/tahoe-new/allmydata-tahoe-1.9.1/bin/tahoe

which is correct.
I can't reproduce this one(with 1.8.3 paths) anymore

at this time ``` [root@lalangamena ~]# which tahoe /root/tahoe-new/allmydata-tahoe-1.9.1/bin/tahoe ``` which is correct. I can't reproduce this one(with 1.8.3 paths) anymore
tahoe-lafs added the
cannot reproduce
label 2012-02-18 07:22:18 +00:00
david-sarah@jacaranda.org commented 2012-03-31 02:18:17 +00:00
Author
Owner

[notice with incorrect ref deleted]commit

[notice with incorrect ref deleted]commit
killyourtv commented 2012-04-19 13:46:55 +00:00
Author
Owner

Replying to [davidsarah]comment:8:

Replying to killyourtv:

At the end of the [1.8.3+I2P] installation you're advised to set the PATH and PYTHONPATH accordingly.

Oh, that could confuse things no end. It shouldn't be necessary to set PYTHONPATH; as long as you're running the tahoe script that is in the bin/ directory of the build you want, that should be sufficient. If you set PYTHONPATH as well, then you're explicitly asking for a mixture of the code pointed to by PYTHONPATH and the code from that build.

That was a holdover from when duck was handling it. I'll test without PYTHONPATH being set and report back if it is required. If it is not needed (of course) I'll advise people to not set it any longer.

Replying to [davidsarah]comment:8: > Replying to [killyourtv](/tahoe-lafs/trac-2024-07-25/issues/1668#issuecomment-87298): > > At the end of the [1.8.3+I2P] installation you're advised to set the `PATH` and `PYTHONPATH` accordingly. > > Oh, that could confuse things no end. It shouldn't be necessary to set `PYTHONPATH`; as long as you're running the `tahoe` script that is in the `bin/` directory of the build you want, that should be sufficient. If you set `PYTHONPATH` as well, then you're explicitly asking for a mixture of the code pointed to by `PYTHONPATH` and the code from that build. That was a holdover from when duck was handling it. I'll test without PYTHONPATH being set and report back if it is required. If it is not needed (of course) I'll advise people to not set it any longer.
davidsarah commented 2012-04-19 18:25:45 +00:00
Author
Owner

Replying to [killyourtv]comment:13:

I'll test without PYTHONPATH being set and report back if it is required. If it is not needed (of course) I'll advise people to not set it any longer.

OK, thanks.

Replying to [killyourtv]comment:13: > I'll test without PYTHONPATH being set and report back if it is required. If it is not needed (of course) I'll advise people to not set it any longer. OK, thanks.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1668
No description provided.