Skip to content

Instantly share code, notes, and snippets.

View mehdisadeghi's full-sized avatar

mehdisadeghi

View GitHub Profile
@mehdisadeghi
mehdisadeghi / gist:5b09ba5e0840e5ec561b
Created August 11, 2014 16:18
KeyError: 'unset GREP_OPTIONS; qstat'
# script
__author__ = "Ole Weidner"
__copyright__ = "Copyright 2012-2013, The SAGA Project"
__license__ = "MIT"
""" This examples shows how to run a job on a remote SGE cluster
using the 'SGE' job adaptor.
More information about the saga-python job API can be found at:
@mehdisadeghi
mehdisadeghi / ssh_could_not_resolve_host_name
Created July 31, 2014 07:54
process i/o failed: (())
127.0.0.1 - - [31/Jul/2014 09:50:58] "POST /job/submit HTTP/1.1" 500 -
Traceback (most recent call last):
File "/W5/sade/workspace/sqmpy-env/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/W5/sade/workspace/sqmpy-env/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/W5/sade/workspace/sqmpy-env/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/W5/sade/workspace/sqmpy-env/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()