﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
1668	possible 1.8.3 / 1.9.1 intertalk issue	vikarti	vikarti	"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?
"	defect	closed	major	undecided	packaging	1.9.1	cannot reproduce			
