[tahoe-dev] tahoe still dumps core

Zooko O'Whielacronx zookog at gmail.com
Mon May 27 17:37:07 UTC 2013


Ah, I see that there is already a trac ticket for this issue: #1707

The patch below ought to fix it for you. I've opened a new ticket
#1988 to talk about another possible solution.

Regards,

Zooko

https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1707# iputil cannot get
local IP addresses on newer Dragonfly BSD (sys.platform ==
"dragonfly2")
https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1988# don't stop the
process if you can't execute "ifconfig" or "route.exe"


diff --git a/src/allmydata/util/iputil.py b/src/allmydata/util/iputil.py
index 85b3b1d..cb3e7c0 100644
--- a/src/allmydata/util/iputil.py
+++ b/src/allmydata/util/iputil.py
@@ -161,6 +161,7 @@ _platform_map = {
     "netbsd4": "bsd",
     "netbsd5": "bsd",
     "netbsd6": "bsd",
+    "dragonfly2": "bsd",
     "sunos5": "sunos",
     "cygwin": "cygwin",
     }


More information about the tahoe-dev mailing list