$ hod connect foo26345
Connecting to HOD cluster with label 'foo26345'...
/gpfs/scratch/projects/project_gpilot/vsc40023/software/hanythingondemand/3.2.0dev-cli/lib/python2.6/site-packages/hanythingondemand-3.1.4-py2.6.egg/hod/subcommands/connect.py:82: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
2016-10-20 11:36:40,859 ERROR not available in optimized mode MainThread No 'env' file found for cluster with label 'foo26345'
with this patch included, the deprecation warning is gone, leading to a much clearer error message (although there's room for further improvement, especially the 'not available in optimized mode' bit):
$ hod connect foo26345
Connecting to HOD cluster with label 'foo26345'...
2016-10-20 11:45:46,207 ERROR not available in optimized mode MainThread No 'env' file found for cluster with label 'foo26345'
Current output on a faulty
hod connect
:with this patch included, the deprecation warning is gone, leading to a much clearer error message (although there's room for further improvement, especially the 'not available in optimized mode' bit):