mimtek / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

request to alter createtorrent or add a tunable #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The latest change to create torrent is nice, but it's still not ideal.

The problem is that on BSD based systems, the current createtorrent plugin
doesn't work as expected, as i explained in issue 185

The current fix at least allows us to find and download the newly created
torrents but what i'd like, is to have the ability to save/copy these
torrents to a unique directory which ISN'T the same directory as the normal
.torrents directory for rutorrent.

even a subdirectory would be acceptable.  The reason is as follows:

With the current fix, i add this directory as a tab using the new_tab addon
and/or as a ftp folder, but it also contains many torrents which are not
created by create.

As it works now, it IS saving the created torrents to the torrents/
directory, and i thank you for that. 

Original issue reported on code.google.com by Wonslung@gmail.com on 11 Dec 2009 at 12:46

GoogleCodeExporter commented 9 years ago
>but it also contains many torrents which are not created by create.

This torrents will be downloaded by ruTorrent, but rtorrent doesn't want to load
it's. I think you can delete its.

Original comment by novik65 on 11 Dec 2009 at 12:58

GoogleCodeExporter commented 9 years ago
you're missing my point.

let me try to explain again....

Currently, the only way i can get any function out create is to map the
/var/www/rtorrent/torrents/ directory into a web LIST AND SEND and/or a FTP 
folder.

I have users who aren't very smart.  When they see all these torrents with funny
names, it confuses them.  What i'd like is the ability to have "create" drop the
.torrent files into a DIFFERENT directory.  Even a subdirectory would be 
acceptable 
(something like /var/www/rtorrent/torrents/create/ ) because i could then map 
this
directory to FTP/HTTP and it would only list the created torrents.

i hope this makes more sense.  The problem is that with the current system, the 
php
script ends up timing out before the torrent is done.  Luckily, the helper 
program
WILL continue to create the .torrent, and thanks to you, it will SAVE the 
.torrent in
a folder, i just would like this folder to ONLY hold such torrents, as it would 
make
this a much more usable plugin

Original comment by Wonslung@gmail.com on 11 Dec 2009 at 2:21

GoogleCodeExporter commented 9 years ago
The torrents directory - is a temporarely directory for ALL torrent files, not 
for
create only, yes. Plugin "create" must give own result to user through http. 
You use
the side effect of it (temporarely disk storage), this is a doesn't good way. 

>The problem is that with the current system, the php script ends up timing out
before the torrent is done.

1) The php script is worked normally, it doesn't ends up. Else you can't see any
torrent files at all.
2) I guess, the problem is in your web-server, it terminate connection *before* 
user
can see the result of script working.
3) In any case we must work on *this* error. We doesn't try to add a fifth leg 
to the
rabbit.

I need the SSH+ruTorrent access to your system + describe of reproducing of 
error.

Original comment by novik65 on 11 Dec 2009 at 2:39

GoogleCodeExporter commented 9 years ago
sigh....ok.

I'll send you access by email, but this is a problem that persists on EVERY 
single
machine with freebsd i've set up.  The only time this EVER worked is when i set
timeouts to off and only with apache.

With cherokee or lighttpd or nginx this never works

Original comment by Wonslung@gmail.com on 11 Dec 2009 at 2:56

GoogleCodeExporter commented 9 years ago
when you create a torrent, it starts...you can see mktorrent (or 
trasnmissioncli or
any of the others) running in top.  after 10 seconds, you can see firefox go to 
DONE
and it never downloads

Original comment by Wonslung@gmail.com on 11 Dec 2009 at 3:44

GoogleCodeExporter commented 9 years ago
>I'll send you access by email

OK, i will wait it (don't receive it yet).

Original comment by novik65 on 11 Dec 2009 at 3:58

GoogleCodeExporter commented 9 years ago
i sent it.

Original comment by Wonslung@gmail.com on 11 Dec 2009 at 4:27

GoogleCodeExporter commented 9 years ago
Got it. 

Original comment by novik65 on 11 Dec 2009 at 4:35

GoogleCodeExporter commented 9 years ago
If i tried to create torrent for large source, you server say in reply - "504 
Gateway
Timeout" (but in access log it marked own reply as 200 OK - strange...)

See there -

http://code.google.com/p/cherokee/issues/detail?id=504

may be, this can helps to solve this problem?

Original comment by novik65 on 11 Dec 2009 at 4:56

GoogleCodeExporter commented 9 years ago
And this - 
http://www.sharms.org/blog/2009/05/12/cherokee-django-tip-timeout-value/

Original comment by novik65 on 11 Dec 2009 at 4:59

GoogleCodeExporter commented 9 years ago
ok, i'll try increasing it 

Original comment by Wonslung@gmail.com on 11 Dec 2009 at 5:05

GoogleCodeExporter commented 9 years ago
ok, you're correct and i'm just a fool.

It is the timeout.  

sorry for the waste of space and time

Original comment by Wonslung@gmail.com on 11 Dec 2009 at 5:16

GoogleCodeExporter commented 9 years ago
Don't forget to remove SSH & ruTorrent account, please.

Original comment by novik65 on 11 Dec 2009 at 6:25

GoogleCodeExporter commented 9 years ago
this is my personal account, i just changed the password for you.
will change bak now

Original comment by Wonslung@gmail.com on 11 Dec 2009 at 6:58