I hereby claim:
- I am mehdisadeghi on github.
- I am mehdisadeghi (https://keybase.io/mehdisadeghi) on keybase.
- I have a public key ASDHyO9_jfn51twjitNp4hc9n35bGkkS0X7xSPI3Yjw5awo
To claim this, I am signing this object:
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() |
# 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: |
(sqmpy-env)pc-p282(/W5/sade/workspace/saga-samples) SAGA_VERBOSE=DEBUG python sge.py | |
2014:08:13 12:15:01 MainThread saga : [INFO ] saga-python version: 0.17 | |
2014:08:13 12:15:01 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.myproxy | |
2014:08:13 12:15:01 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.myproxy for saga.Context API with URL scheme(s) ['myproxy://'] | |
2014:08:13 12:15:01 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.x509 | |
2014:08:13 12:15:01 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.x509 for saga.Context API with URL scheme(s) ['x509://'] | |
2014:08:13 12:15:01 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.ssh | |
2014:08:13 12:15:01 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.ssh for saga.Context API with URL scheme(s) ['ssh://'] | |
2014:0 |
(sqmpy-env)pc-p282(/W5/sade/workspace/simple-queue-manager) SAGA_VERBOSE=DEBUG python run.py | |
2014:08:13 12:27:00 MainThread saga : [INFO ] saga-python version: 0.17 | |
* Running on http://0.0.0.0:5001/ | |
* Restarting with reloader | |
2014:08:13 12:27:02 MainThread saga : [INFO ] saga-python version: 0.17 | |
in submit.... before wrapper initialization | |
2014:08:13 12:27:05 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.myproxy | |
2014:08:13 12:27:05 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.context.myproxy for saga.Context API with URL scheme(s) ['myproxy://'] | |
2014:08:13 12:27:05 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.x509 | |
2014:08:13 12:27:05 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.context.x509 for saga.Context API with URL scheme(s) ['x509://'] |
(sqmpy-env)pc-p282(/W5/sade/workspace/saga-samples) SAGA_VERBOSE=DEBUG python sge.py | |
2014:08:13 12:58:00 MainThread saga : [INFO ] saga-python version: 0.17 | |
2014:08:13 12:58:00 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.myproxy | |
2014:08:13 12:58:00 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.myproxy for saga.Context API with URL scheme(s) ['myproxy://'] | |
2014:08:13 12:58:00 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.x509 | |
2014:08:13 12:58:00 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.x509 for saga.Context API with URL scheme(s) ['x509://'] | |
2014:08:13 12:58:00 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.ssh | |
2014:08:13 12:58:00 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.ssh for saga.Context API with URL scheme(s) ['ssh://'] | |
2014:0 |
2014:08:13 15:41:50 MainThread saga : [INFO ] saga-python version: 0.17 | |
2014:08:13 15:41:50 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.myproxy | |
2014:08:13 15:41:50 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.myproxy for saga.Context API with URL scheme(s) ['myproxy://'] | |
2014:08:13 15:41:50 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.x509 | |
2014:08:13 15:41:50 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.x509 for saga.Context API with URL scheme(s) ['x509://'] | |
2014:08:13 15:41:50 MainThread saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.ssh | |
2014:08:13 15:41:50 MainThread saga.Engine : [INFO ] Register adaptor saga.adaptors.context.ssh for saga.Context API with URL scheme(s) ['ssh://'] | |
2014:08:13 15:41:50 MainThread saga.Engine : [INFO ] Loading adaptor saga.ad |
^C(sqmpy)pc-p282(/W5/sade/workspace/simple-queue-manager) export SAGA_VERBOSE=DEBUG | |
(sqmpy)pc-p282(/W5/sade/workspace/simple-queue-manager) python run.py | |
2014:08:20 12:43:54 27684 MainThread saga : [INFO ] saga-python version: 0.17 | |
* Running on http://0.0.0.0:5001/ | |
* Restarting with reloader | |
2014:08:20 12:43:56 27688 MainThread saga : [INFO ] saga-python version: 0.17 | |
in submit.... before wrapper initialization | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.myproxy | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Register adaptor saga.adaptors.context.myproxy for saga.Context API with URL scheme(s) ['myproxy://'] | |
2014:08:20 12:44:00 27688 Dummy-1 saga.Engine : [INFO ] Loading adaptor saga.adaptors.context.x509 |
from twisted.application import service, internet | |
from twisted.python.log import ILogObserver | |
import sys, os | |
sys.path.append(os.path.dirname(__file__)) | |
from kademlia.network import Server | |
from kademlia import log | |
application = service.Application("kademlia") | |
application.setComponent(ILogObserver, log.FileLogObserver(sys.stdout, log.INFO).emit) |
# | |
# Request-reply client in Python | |
# Connects REQ socket to tcp://localhost:5559 | |
# Sends "Hello" to server, expects "World" back | |
# | |
import zmq | |
import sys | |
# Prepare our context and sockets | |
context = zmq.Context() |
I hereby claim:
To claim this, I am signing this object: