You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I 'd like to know where/why the call fails but cannot find any logging. I already set the log level to debug in the parent asap-module call, but there is no additional output regarding the failed client script. That's the last line before the error:
Is there simply no output provided by the Render script, is it not forwarded to the Python logger, or is it logged somewhere else and I just haven't found it?
The temporary json file (I assume containing the tile specs) is deleted with the run, so I cannot call the client script directly to see its output.
Can I somehow set up render-python to also log the client script output?
Thanks for your support!
The text was updated successfully, but these errors were encountered:
This is a similar problem to #136 -- both getting at the fact that identifying issues in client calls is not straightforward enough to be useful. The bash/java output from the client defaults to writing stdout/stderr, but this is not as helpful as logging or exceptions in certain use cases (e.g. running code in a jupyter notebook).
Currently all client calls should allow you to pass stderr and stdout arguments directly to subprocess.call to write to custom files. Hopefully this information helps you figure out where to look for immediate debugging.
As you said, a better option is to incorporate these messages into the python logging. We already support making subprocess.check_output calls (but don't use them effectively), so it should be straightforward to work with this and add some logging support for at least converged stdout/stderr logging from all the clients.
I encounter the same problem which has plagued me a long time. I follow the instructions in the user guide document as shown below:
I have successfully pulled the image fcollman/render-python, but when I ran it, the following error arised:
docker run -t fcollman/render-python -v .:/scripts python /scripts/my_script.py
[FATAL tini (6)] exec -v failed: No such file or directory
I cannot find the my_script.py file in my current path. I think it can generate a complied jar file which relates the local system path to the render-ws-java-client scripts. Otherwise, the above problem issued by @martinschorb will arise.
Dear all,
when running a stack upload, I run into
I 'd like to know where/why the call fails but cannot find any logging. I already set the log level to
debug
in the parentasap-module
call, but there is no additional output regarding the failed client script. That's the last line before the error:Is there simply no output provided by the Render script, is it not forwarded to the Python logger, or is it logged somewhere else and I just haven't found it?
The temporary json file (I assume containing the tile specs) is deleted with the run, so I cannot call the client script directly to see its output.
Can I somehow set up render-python to also log the client script output?
Thanks for your support!
The text was updated successfully, but these errors were encountered: