﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
966	'make app-install' hangs when ToolShed website is down	tic20@…	Conrad Huang	"{{{
Posting via email since it seems the webserver is down. Turns out this plays havoc with bundle installation by `make app-install` - and more generally causes a very long hang when exiting ChimeraX. It appears the culprit is toolshed.AvailableBundleCache.load() - its urlopen() request doesn't specify a timeout, then it defaults to the global default timeout, which from what I've read is set to None (so technically it should *never* time out, although it appears to anyway after a few minutes). Anyway, on ChimeraX exit everything hangs waiting for its thread to join. Simple solution would be to change line 30 of `toolshed/available.py` to

{{{
       with urlopen(url, timeout=some_reasonable_value) as f:
}}}

where some_reasonable_value = 5 (seconds) or so.



}}}
"	defect	closed	normal		Tool Shed		fixed		chimera-programmers				all	ChimeraX
