ithungto / rutorrent

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

CreateTorrent Plugin #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
 I'm using createtorrent 1.3 with the svn version plugin. I click on create but 
nothing happens.

Thanks.

Original issue reported on code.google.com by admin%st...@gtempaccount.com on 15 Aug 2009 at 8:10

GoogleCodeExporter commented 9 years ago
Does your user have acces to createtorrents ?
Is it in /usr/local/bin ? or if somewhere else point the plugin to it

Original comment by rascal...@gmail.com on 15 Aug 2009 at 8:13

GoogleCodeExporter commented 9 years ago
Yes the rTorrent user as well as the webserver user has access to it

Original comment by admin%st...@gtempaccount.com on 15 Aug 2009 at 8:15

GoogleCodeExporter commented 9 years ago
did you also set the following : 

Since the plug-in version of 1.1 it is made in the file plugins / create / 
conf.php.

1. $useExternal - if the given variable is true, external program createtorrent 
will
be used for .torrent file creation. $ useExternal - if the given variable is 
true,
external program createtorrent will be used for. torrent file creation.

2. $pathToCreatetorrent - the variable with the path to the program 
createtorrent. $
pathToCreatetorrent - the variable with the path to the program createtorrent. 
If
it's value is empty line (by default), createtorrent will be searched in PATH 
for a
web server user. If it's value is empty line (by default), createtorrent will be
searched in PATH for a web server user. The given option makes sense only if
$useExternal=true. The given option makes sense only if $ useExternal = true. 

Also I found out that all php files needed to be 777 for me to be able to do 
anything

Original comment by rascal...@gmail.com on 16 Aug 2009 at 6:21

GoogleCodeExporter commented 9 years ago
Yes I did do all that

Original comment by admin%st...@gtempaccount.com on 16 Aug 2009 at 7:46

GoogleCodeExporter commented 9 years ago
1) See web-server's log. Are the some errors present?
2) Try to localize problem. Is nothing happens with any source, for example? Is
nothing happens with $useExternal=false? Etc.

Original comment by novik65 on 16 Aug 2009 at 8:31

GoogleCodeExporter commented 9 years ago
It was working before just not anymore now..

Original comment by admin%st...@gtempaccount.com on 16 Aug 2009 at 8:33

GoogleCodeExporter commented 9 years ago
If you don't wish to answer to my questions - i can't do anything.

Original comment by novik65 on 16 Aug 2009 at 9:01

GoogleCodeExporter commented 9 years ago
There are no errors in the webserver and it is still nothing happens with false

Original comment by admin%st...@gtempaccount.com on 16 Aug 2009 at 9:10

GoogleCodeExporter commented 9 years ago
In that case i can't say anything. May be, you can give me access to you shell 
& webui? 
mailto:novik65@gmail.com

Original comment by novik65 on 16 Aug 2009 at 3:00

GoogleCodeExporter commented 9 years ago
Ok looks like if i set it to false it works but.. the 2GB limitation not sure 
whats wrong 
with createtorrent

Original comment by admin%st...@gtempaccount.com on 18 Aug 2009 at 6:38

GoogleCodeExporter commented 9 years ago
Try to use the program createtorrent manually. Under webserver's user. Like 
that:

su webserver_user
createtorrent -l 159744 -a dummy /tmp /tmp/test.torrent

Is it working? Is /tmp/test.torrent created?

Original comment by novik65 on 18 Aug 2009 at 7:19

GoogleCodeExporter commented 9 years ago
Yes it is, its been created

Original comment by admin%st...@gtempaccount.com on 18 Aug 2009 at 7:40

GoogleCodeExporter commented 9 years ago
I have'nt any ideas.

Original comment by novik65 on 18 Aug 2009 at 8:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Anyone else have any ideas?

Original comment by admin%st...@gtempaccount.com on 18 Aug 2009 at 6:08

GoogleCodeExporter commented 9 years ago
are you SURE you're just not waiting long enough?

on large torrents i've noticed it running but the .torrent didn't download to 
me yet

try this...log in via shell
then try to use addtorrent
then type this in shell
ps aux |grep -v grep| grep createtorrent

Original comment by Wonslung@gmail.com on 18 Aug 2009 at 6:19

GoogleCodeExporter commented 9 years ago
I'm sure because with false I can see it actually working, with true it doesnt 
work

Original comment by admin%st...@gtempaccount.com on 18 Aug 2009 at 6:31

GoogleCodeExporter commented 9 years ago
Where is createtorrent installed on your system ?

Please try to set the PATH in the config, maybe that works.
As some how it looks like that it does not find createtorrent when set to TRUE

And with FALSE it uses another app than creattorrent if I am not mistaken

Original comment by rascal...@gmail.com on 19 Aug 2009 at 4:12

GoogleCodeExporter commented 9 years ago
i had to set the path exactly.

on freebsd it installs to /usr/local/bin/createtorrent

Original comment by Wonslung@gmail.com on 19 Aug 2009 at 9:07

GoogleCodeExporter commented 9 years ago
I did that as well

Original comment by admin%st...@gtempaccount.com on 19 Aug 2009 at 9:34

GoogleCodeExporter commented 9 years ago
ok, i am also having issues with the createtorrent plugin but i think i figured 
out why.

I think it has problems with paths that have SPACES and weird charcters.

Novik, will you look into this?

Original comment by Wonslung@gmail.com on 24 Aug 2009 at 2:11

GoogleCodeExporter commented 9 years ago
Was fixed in r318.

Original comment by novik65 on 24 Aug 2009 at 5:20

GoogleCodeExporter commented 9 years ago
does this work even if you use the createtorrent binary?

will update and check.

I also notice that for large torrents createtorrent takes a SUPER long time. 
Sometimes more than an hour.  I'm not sure if this is normal or not.  The 
torrent i'm
trying to create is a very large one with 25 GB of data in it so perhaps it is 
just
due to size.  

Original comment by Wonslung@gmail.com on 26 Aug 2009 at 8:45

GoogleCodeExporter commented 9 years ago
>does this work even if you use the createtorrent binary?

This error (and it fix in r318) has relation to that case only.

>I also notice that for large torrents createtorrent takes a SUPER long time. 

Try to increase piece size.

Original comment by novik65 on 26 Aug 2009 at 11:12

GoogleCodeExporter commented 9 years ago
ahh, ok, i will try this.
thanks

Original comment by Wonslung@gmail.com on 26 Aug 2009 at 2:08

GoogleCodeExporter commented 9 years ago

Original comment by novik65 on 11 Sep 2009 at 11:38