SSoft7 / upload

Automatically exported from code.google.com/p/upload
1 stars 1 forks source link

rtorrent does no run Wrapper #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.rtorrent does not start the wrapper file (Execute)
2.
3.

What is the expected output? What do you see instead?
if i test in (/home/myuser/upload/)

upload -c "Movies/XviD" /home/myuser/downloads/anyfile
the Upload works fine , only the "automatic mode" does not work

What version of the product are you using? On what operating system?
Operatingsystem is Debian sqeeze

This 2 Lines i have testet:

system.method.set_key = 
event.download.finished,upload_torrent,"execute=/home/****/upload/wrapper,rtorre
nt,$d.get_chunk_size=,$d.get_base_path="

system.method.set_key = 
event.download.finished,upload_torrent,"execute{/home/****/upload/wrapper,rtorre
nt,$d.get_chunk_size=,$d.get_base_path=}"

Please provide any additional information below.

i think the Problem is in .rtorrent.rc or wrapper File

hope someone can help me :(

Original issue reported on code.google.com by D3V...@gmail.com on 18 Jun 2012 at 2:11

GoogleCodeExporter commented 9 years ago
You can try to run the command manually and see what output you get:

/home/****/upload/wrapper rtorrent CHUNKSIZE FULLPATH

replace CHUNKSIZE and BASEPATH with the values from rtorrent:

Chunks: 1450 / 1450 * 262144

the last number there (after the * ) is the CHUNKSIZE

Base Path: /home/****/downloads/SOME.RELEASE

the whole path is the BASEPATH

also in your wrapper file you need to remove the ">/dev/null 2>&1 &" after the 
command (line 27: upload -z $2 "$3" >/dev/null 2>&1 &) else you wont get any 
output.
Don't forget to put it back again after you've tested

Original comment by code.or....@gmail.com on 5 Jul 2012 at 7:25