﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
1536	nicely report any errors involving finding and using ifconfig	zooko		"A couple of users have recently [http://tahoe-lafs.org/pipermail/tahoe-dev/2011-September/006676.html reported] errors from [http://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/src/allmydata/util/iputil.py?annotate=blame&rev=4971#L177 iputil] when it couldn't find their {{{ifconfig}}} executable, e.g.:

{{{
[Failure instance: Traceback: <type 'exceptions.OSError'>: [Errno 2] No such file or directory
/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/site-packages/twisted/python/threadpool.py:207:_worker
/usr/lib/python2.7/site-packages/twisted/python/context.py:118:callWithContext
/usr/lib/python2.7/site-packages/twisted/python/context.py:81:callWithContext
/home/kytv/tahoe/allmydata-tahoe-1.8.3/src/allmydata/util/iputil.py:222:_synchronously_find_addresses_via_config
/home/kytv/tahoe/allmydata-tahoe-1.8.3/src/allmydata/util/iputil.py:236:_query
/usr/lib/python2.7/subprocess.py:679:__init__
/usr/lib/python2.7/subprocess.py:1228:_execute_child
]
calling os.abort()
}}}
We should catch this exception and report a useful error message, saying what the {{{sys.platform}}} was and asking them to report about their {{{ifconfig}}}, like David-Sarah [http://tahoe-lafs.org/pipermail/tahoe-dev/2011-September/006677.html did] on the list:
{{{
which ifconfig
ifconfig --help
ifconfig
}}}"	defect	closed	major	1.15.0	code-network	1.9.0a1	fixed	error pyutil iputil archlinux transparency review		
