Open anaschaudhary33 opened 3 years ago
Hi, could you check the log file for whitespace characters? Are there any caret returns? Also, please make sure, that https://github.com/bugy/script-server/wiki/Script-config#requires_terminal is set to true
Interesting... How do you see this in a history section? For me it looks correct:
Interesting... How do you see this in a history section? For me it looks correct:
My history looks similar as yours.
Cool, looks like a bug indeed.
To help me reproduce it, may I ask you to run your script in script server till the end (without stopping it) and:
Done that. Noticed that no line replaced and only the new lines added. screenshot of output and full output copied from script server.
Log file.
Hi @anaschauhan33, I tried to reproduce it locally by using your logs, without any success. I believe aria2c behaves differently when run from script server or .sh file.
Could you try to execute aria2c directly from script server "script_path"? i.e. "script_path": "aria2c --conf-path=/home/pi/.aria2/aria2_alt.conf"
Hi @anaschauhan33, I tried to reproduce it locally by using your logs, without any success. I believe aria2c behaves differently when run from script server or .sh file.
Could you try to execute aria2c directly from script server "script_path"? i.e. "script_path": "aria2c --conf-path=/home/pi/.aria2/aria2_alt.conf"
You mean should I try to execute the same script (in terminal) which is in script-server's path??
{
"name": "test",
"script_path": "conf/scripts/test.sh",
"requires_terminal": true,
"output_format": "terminal",
"parameters": [
{
"name": "text",
"required": false,
"type": "text"
}
]
}
It is working fine in terminal.
No, I mean to use this configuration in Script server:
{
"name": "test",
"script_path": "aria2c --conf-path=/home/pi/.aria2/aria2_alt.conf",
"requires_terminal": true,
"output_format": "terminal",
"parameters": [
{
"name": "text",
"required": false,
"type": "text"
}
]
}
If it won't work, I'll try it in ~10 days. I have very limited access to internet now and cannot use a downloader for testing. And from the log files you provided, I don't see any root cause for a problem
I have tried. But got the same result. Here is the log file
If it won't work, I'll try it in ~10 days. I have very limited access to internet now and cannot use a downloader for testing. And from the log files you provided, I don't see any root cause for a problem
Thank you very much. I appreciate your efforts ☺️
When using script-server the aria2c prints only summary of downloding file but not live progress.
While in shell it prints the live progress and also the summary in between as,
Is there any way to get live downloading progress output in web-server??
Edit: Log file appears as