Dear Gadgetron users,
I'm trying to use python gadgets within a docker insall ( ubuntu_1804_no_cuda ), I am not sure what should be the arguments in "process" method.
Also, where can I see the python output from print command ?
Thank you for your help
Franck
class MyRecoGadget(Gadget):
def process_config(self, cfg):
print("SparklingReco -> process_config()")
def process(self, header, data, metadata=None):
print("SparklingReco -> process()")
return 0
04-30 17:34:17.863 DEBUG [PythonGadget.h:155] Successfully declare class : MyRecoGadget
04-30 17:34:17.863 DEBUG [PythonGadget.h:186] Call process_config ...
04-30 17:34:17.864 DEBUG [PythonGadget.h:198] Call process_config completed - success
04-30 17:34:17.864 DEBUG [PythonGadget.h:394] Passing data on to python module failed
terminate called after throwing an instance of 'boost::python::error_already_set'
04-30 17:34:19.123 INFO [main.cpp:191] Starting ReST interface on port 9080
04-30 17:34:19.134 INFO [main.cpp:203] Starting cloudBus:
127.0.0.1:800204-30 17:34:19.135 INFO [main.cpp:251] Configuring services, Running on port 9002
04-30 17:34:19.135 DEBUG [CloudBus.cpp:191] CloudBus connected to relay at
127.0.0.1:8002