[tahoe-lafs-trac-stream] [tahoe-lafs] #1918: iputil: finding IP addresses fails on kfreebsd

tahoe-lafs trac at tahoe-lafs.org
Mon Feb 11 22:02:04 UTC 2013


#1918: iputil: finding IP addresses fails on kfreebsd
-----------------------------+----------------------------
 Reporter:  davidsarah       |          Owner:  davidsarah
     Type:  defect           |         Status:  new
 Priority:  normal           |      Milestone:  undecided
Component:  code-network     |        Version:  1.9.2
 Keywords:  iputil kfreebsd  |  Launchpad Bug:
-----------------------------+----------------------------
 From [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700239]:

 tahoe start fails on kfreebsd:

 NevowSite starting on 3456
 Starting factory <nevow.appserver.NevowSite instance at 0x1a62fc8>
 My pid: 29925
 DatagramProtocol starting on 55322
 Starting protocol <twisted.internet.protocol.DatagramProtocol instance at
 0x1a73248>
 Unhandled Error
 #011Traceback (most recent call last):
 #011  File "/usr/lib/python2.7/threading.py", line 525, in __bootstrap
 #011    self.__bootstrap_inner()
 #011  File "/usr/lib/python2.7/threading.py", line 552, in
 __bootstrap_inner
 #011    self.run()
 #011  File "/usr/lib/python2.7/threading.py", line 505, in run
 #011    self.__target(*self.__args, **self.__kwargs)
 <exception caught here> ---
 #011  File "/usr/lib/python2.7/dist-
 packages/twisted/python/threadpool.py", line 207, in _worker
 #011    result = context.call(ctx, function, *args, **kwargs)
 #011  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py",
 line 118, in callWithContext
 #011    return self.currentContext().callWithContext(ctx, func, *args,
 **kw)
 #011  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py",
 line 81, in callWithContext
 #011    return func(*args,**kw)
 #011  File "/usr/lib/python2.7/dist-packages/allmydata/util/iputil.py",
 line 214, in _synchronously_find_addresses_via_config
 #011    raise UnsupportedPlatformError(sys.platform)
 #011allmydata.util.iputil.UnsupportedPlatformError: gnukfreebsd8
 Node._startService failed, aborting
 [Failure instance: Traceback: <class
 'allmydata.util.iputil.UnsupportedPlatformError'>: gnukfreebsd8
 /usr/lib/python2.7/threading.py:525:__bootstrap
 /usr/lib/python2.7/threading.py:552:__bootstrap_inner
 /usr/lib/python2.7/threading.py:505:run
 <exception caught here> ---
 /usr/lib/python2.7/dist-packages/twisted/python/threadpool.py:207:_worker
 /usr/lib/python2.7/dist-
 packages/twisted/python/context.py:118:callWithContext
 /usr/lib/python2.7/dist-
 packages/twisted/python/context.py:81:callWithContext
 /usr/lib/python2.7/dist-
 packages/allmydata/util/iputil.py:214:_synchronously_find_addresses_via_config
 ]
 calling os.abort()
 calling os.abort()

 The following patch fixes the issue:
 {{{
 --- tahoe-lafs-1.9.2.orig/src/allmydata/util/iputil.py
 +++ tahoe-lafs-1.9.2/src/allmydata/util/iputil.py
 @@ -161,6 +161,7 @@
      "netbsd4": "bsd",
      "netbsd5": "bsd",
      "netbsd6": "bsd",
 +    "gnukfreebsd8": "bsd",
      "sunos5": "sunos",
      "cygwin": "cygwin",
      }
 }}}

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1918>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list