SABnzbd stats script for XChat (linux)
Re: SABnzbd stats script for XChat (linux)
Thanks, you update too fast
- Shadowtester
- Newbie
- Posts: 44
- Joined: July 31st, 2008, 11:04 am
Re: SABnzbd stats script for XChat (linux)
I am running into a problem this is on Mepis 8 linux which is based on Debian using Xchat 2 when I try to run the script I get this output in the chat window
Tcl plugin ERROR (alias SAB)
Error fetching data from http://192,168,0.120/sabnzbd/:8090
child process exited abnormally
while executing
"exec [xchatdir]/sabgetdata speed"
Now I have edited the sabgetdata as follows
host=http://192.168.0.120/sabnzbd/
port=8090
when I access sabnzbd in firefox I use the following address
http://192.168.0.120:8090/sabnzbd/
looking at the script output it looks like the port is in the wrong location in the address
Tcl plugin ERROR (alias SAB)
Error fetching data from http://192,168,0.120/sabnzbd/:8090
child process exited abnormally
while executing
"exec [xchatdir]/sabgetdata speed"
Now I have edited the sabgetdata as follows
host=http://192.168.0.120/sabnzbd/
port=8090
when I access sabnzbd in firefox I use the following address
http://192.168.0.120:8090/sabnzbd/
looking at the script output it looks like the port is in the wrong location in the address
Last edited by Shadowtester on June 30th, 2009, 7:53 pm, edited 1 time in total.
- Shadowtester
- Newbie
- Posts: 44
- Joined: July 31st, 2008, 11:04 am
Re: SABnzbd stats script for XChat (linux)
that was just a type in the post its correct in the file like I said it seems that the port is being put in the wrong location on the address maybe due to the fact that my sabnzbd is not in the root directory of the webserver but in its own directory I also have other thing applications which also use the webserver which is why the separate directories
Re: SABnzbd stats script for XChat (linux)
Not sure if it will make a difference, but can you try: host=http://192.168.0.120:8090/sabnzbd/
- Shadowtester
- Newbie
- Posts: 44
- Joined: July 31st, 2008, 11:04 am
Re: SABnzbd stats script for XChat (linux)
Tried that leaving he port= line empty however get the same kind of error but it shows an address of http://192.168.0.120:8090/sabnzbd/: so for some reason it was adding an extra : at the end of the line.
Last edited by Shadowtester on June 30th, 2009, 9:35 pm, edited 1 time in total.
Re: SABnzbd stats script for XChat (linux)
Thats weird..
Re: SABnzbd stats script for XChat (linux)
It expects the host, not a full url, i.e. just "192.168.0.120"Shadowtester wrote: Now I have edited the sabgetdata as follows
host=http://192.168.0.120/sabnzbd/
port=8090
- Shadowtester
- Newbie
- Posts: 44
- Joined: July 31st, 2008, 11:04 am
Re: SABnzbd stats script for XChat (linux)
ok I changed it to
host=192.168.0.120
port=8090
Now I am getting this error
Tcl plugin ERROR (alias SAB)
Error fetching data from 192,168,0.120:8090
child process exited abnormally
while executing
"exec [xchatdir]/sabgetdata speed"
host=192.168.0.120
port=8090
Now I am getting this error
Tcl plugin ERROR (alias SAB)
Error fetching data from 192,168,0.120:8090
child process exited abnormally
while executing
"exec [xchatdir]/sabgetdata speed"
Re: SABnzbd stats script for XChat (linux)
make sure you have sabgetdata and sab.tcl located at ~/.xchat2, also you must have xml2 installed.
- Shadowtester
- Newbie
- Posts: 44
- Joined: July 31st, 2008, 11:04 am
Re: SABnzbd stats script for XChat (linux)
Yes they are both in the /.xchat2 directory and yes xml2 is installed I think the problem is due to sabnzbd being installed in the www/sabnzbd folder of my webserver vs the www directory.
Re: SABnzbd stats script for XChat (linux)
why is it giving this error message:
Tcl plugin ERROR (alias SAB)
Error fetching data from 192,168,0.120:8090
child process exited abnormally
while executing
"exec [xchatdir]/sabgetdata speed"
check if "192,168,0.120" is without commas...
Tcl plugin ERROR (alias SAB)
Error fetching data from 192,168,0.120:8090
child process exited abnormally
while executing
"exec [xchatdir]/sabgetdata speed"
check if "192,168,0.120" is without commas...
- Shadowtester
- Newbie
- Posts: 44
- Joined: July 31st, 2008, 11:04 am
Re: SABnzbd stats script for XChat (linux)
just retyped the host again making sure I am using . vs , and here is the output from xchat
Tcl plugin ERROR (alias SAB)
Error fetching data from 192.168.0.120:8090
child process exited abnormally
while executing
"exec [xchatdir]/sabgetdata speed"
Tcl plugin ERROR (alias SAB)
Error fetching data from 192.168.0.120:8090
child process exited abnormally
while executing
"exec [xchatdir]/sabgetdata speed"
Re: SABnzbd stats script for XChat (linux)
go to your .xchat2 directory, run the script from console like ./sabgetdata speed
are you using username and password? contains the password any special characters?
are you using username and password? contains the password any special characters?
- Shadowtester
- Newbie
- Posts: 44
- Joined: July 31st, 2008, 11:04 am
Re: SABnzbd stats script for XChat (linux)
no I do not have username or password set for access and here is the output from the console
shadowtester@Shuttle:~/.xchat2$ ./sabgetdata speed
Error fetching data from 192.168.0.120:8090
shadowtester@Shuttle:~/.xchat2$
Could it be something due to the sabnzbd not being install in the webserver's root directory but in its own directory off of the webserver's root directory the url I have to use to access sabnzbd is http://192.168.0.120:8090/sabnzbd/ if its looking for the files in the webserver's root directory its not going to find them and get any error fetching data. Previously I have tried the following in as the host with no luck host=192.168.0.120/sabnzbd/ with port=8090 and ended up with an error fetching data from 192.168.0.120/sabnzbd/:8090. I have also tried the following as host host=http://192.168.0.120:8090/sabnzbd/ with the host= empty and I ended up with an error fetching data from http//192.168.0.120:8090/sabnzbd/: an extra : at the end of the line
shadowtester@Shuttle:~/.xchat2$ ./sabgetdata speed
Error fetching data from 192.168.0.120:8090
shadowtester@Shuttle:~/.xchat2$
Could it be something due to the sabnzbd not being install in the webserver's root directory but in its own directory off of the webserver's root directory the url I have to use to access sabnzbd is http://192.168.0.120:8090/sabnzbd/ if its looking for the files in the webserver's root directory its not going to find them and get any error fetching data. Previously I have tried the following in as the host with no luck host=192.168.0.120/sabnzbd/ with port=8090 and ended up with an error fetching data from 192.168.0.120/sabnzbd/:8090. I have also tried the following as host host=http://192.168.0.120:8090/sabnzbd/ with the host= empty and I ended up with an error fetching data from http//192.168.0.120:8090/sabnzbd/: an extra : at the end of the line
Last edited by Shadowtester on July 2nd, 2009, 8:32 am, edited 1 time in total.