[tahoe-dev] Tahoe 1.5.0 r4108 aborts on XP

NODA, Kai nodakai at gmail.com
Thu Dec 10 23:07:03 PST 2009


Hi, all

I'm interested in Tahoe and tried to install it in my Windows box (XP SP3.)
However, I encountered the following problem:

> C:\allmydata-tahoe-1.5.0-r4108>c:\Python262\Scripts\tahoe.exe start --basedir C:\tahoebase
> STARTING C:\tahoebase
> c:\Python262\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\persisted\sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
>   import os, md5, sys
> c:\Python262\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\python\filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
>   import sha
> c:\Python262\lib\site-packages\foolscap-0.4.2-py2.6.egg\foolscap\banana.py:2: DeprecationWarning: the sets module is deprecated
>   import struct, sets, time
> c:\Python262\lib\site-packages\nevow-0.9.33_r17222-py2.6.egg\formless\annotate.py:730: DeprecationWarning: object.__new__() takes no parameters
>   rv = cls = InterfaceClass.__new__(cls, name, bases, dct)
> c:\Python262\lib\site-packages\nevow-0.9.33_r17222-py2.6.egg\nevow\testutil.py:7: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
>   from popen2 import Popen3
> 
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
> client node probably not started

\tahoebase\logs\twistd.log
> 2009-12-11 15:51:53+0900 [-] Log opened.
> 2009-12-11 15:51:53+0900 [-] twistd 8.2.0 (c:\Python262\python.exe 2.6.2) starting up.
> 2009-12-11 15:51:53+0900 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
> 2009-12-11 15:51:53+0900 [-] foolscap.pb.Listener starting on 4759
> 2009-12-11 15:51:57+0900 [-] nevow.appserver.NevowSite starting on 3456
> 2009-12-11 15:51:57+0900 [-] Starting factory <nevow.appserver.NevowSite instance at 0x01A5F580>
> 2009-12-11 15:51:57+0900 [-] My pid: 4748
> 2009-12-11 15:51:57+0900 [-] twisted.internet.protocol.DatagramProtocol starting on 4762
> 2009-12-11 15:51:57+0900 [-] Starting protocol <twisted.internet.protocol.DatagramProtocol instance at 0x01B07490>
> 2009-12-11 15:51:57+0900 [-] Unhandled Error
> 	Traceback (most recent call last):
> 	  File "c:\Python262\lib\site-packages\allmydata_tahoe-1.5.0_r4108-py2.6.egg\allmydata\node.py", line 259, in <lambda>
> 	    d.addCallback(lambda res: iputil.get_local_addresses_async())
> 	  File "c:\Python262\lib\site-packages\allmydata_tahoe-1.5.0_r4108-py2.6.egg\allmydata\util\iputil.py", line 102, in get_local_addresses_async
> 	    d.addCallback(_collect)
> 	  File "c:\Python262\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\internet\defer.py", line 195, in addCallback
> 	    callbackKeywords=kw)
> 	  File "c:\Python262\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\internet\defer.py", line 186, in addCallbacks
> 	    self._runCallbacks()
> 	--- <exception caught here> ---
> 	  File "c:\Python262\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\internet\defer.py", line 328, in _runCallbacks
> 	    self.result = callback(self.result, *args, **kw)
> 	  File "c:\Python262\lib\site-packages\allmydata_tahoe-1.5.0_r4108-py2.6.egg\allmydata\util\iputil.py", line 98, in _collect
> 	    for addr in res:
> 	exceptions.TypeError: 'NoneType' object is not iterable
> 	
> 2009-12-11 15:51:57+0900 [-] Node._startService failed, aborting
> 2009-12-11 15:51:57+0900 [-] [Failure instance: Traceback: <type 'exceptions.TypeError'>: 'NoneType' object is not iterable
> 2009-12-11 15:51:57+0900 [-] c:\Python262\lib\site-packages\allmydata_tahoe-1.5.0_r4108-py2.6.egg\allmydata\node.py:259:<lambda>
> 2009-12-11 15:51:57+0900 [-] c:\Python262\lib\site-packages\allmydata_tahoe-1.5.0_r4108-py2.6.egg\allmydata\util\iputil.py:102:get_local_addresses_async
> 2009-12-11 15:51:57+0900 [-] c:\Python262\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\internet\defer.py:195:addCallback
> 2009-12-11 15:51:57+0900 [-] c:\Python262\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\internet\defer.py:186:addCallbacks
> 2009-12-11 15:51:57+0900 [-] --- <exception caught here> ---
> 2009-12-11 15:51:57+0900 [-] c:\Python262\lib\site-packages\twisted-8.2.0-py2.6-win32.egg\twisted\internet\defer.py:328:_runCallbacks
> 2009-12-11 15:51:57+0900 [-] c:\Python262\lib\site-packages\allmydata_tahoe-1.5.0_r4108-py2.6.egg\allmydata\util\iputil.py:98:_collect
> 2009-12-11 15:51:57+0900 [-] ]
> 2009-12-11 15:51:57+0900 [-] calling os.abort()
> 2009-12-11 15:51:57+0900 [-] calling os.abort()

Moreover, setup.py test freezes:
> C:\allmydata-tahoe-1.5.0-r4108>c:\Python262\python.exe setup.py test
[snip]
>   BackupDB
>     test_basic ...                                                         [OK]
>     test_check ...                                                         [OK]
>     test_fail ...                                                          [OK]
>     test_wrong_version ...                                                 [OK]
> allmydata.test.test_base62
>   T
>     test_ende_0x00 ...                                                     [OK]
>     test_ende_0x000000 ...                                                 [OK]
>     test_ende_0x01 ...                                                     [OK]
>     test_ende_0x0100 ...                                                   [OK]
>     test_ende_0x010000 ...                                                 [OK]
>     test_ende_longrandstr ...                                              [OK]
>     test_ende_randstr ...                                                  [OK]
>     test_num_octets_that_encode_to_this_many_chars ...                     [OK]
>     test_odd_sizes ...                                                     [OK]
> allmydata.test.test_checker
>   WebResultsRendering
>     test_check ...
At this point, python.exe had to be terminated by Task Manager.

I used Python 2.6.2 MinGW-5.1.4 and pywin32-214.win32-py2.6 .
Upgrading to Python 2.6.4 and Mingw-5.1.6 didn't improve the situation.

Additioally,

>echo %PATH%
C:\MinGW514\bin

Any advice is welcome.

Thanks,

Kai


More information about the tahoe-dev mailing list