pasanlamahewa / rutorrent

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

Torrents paused (create torrent error) #417

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make a torrent with rutorrents plugin
2. Download that torrent to another system with rtorrent/rutorrent
3. Used both internal php mode and mktorrent

What is the expected output? What do you see instead?

What environment are you using?
1. My ruTorrent version is...  3.0 (beta) and 3.0
2. My rTorrent version is... 0.8.6
3. I use web-server... it version is... on OS... Lighttpd and debian 5
3. I use browser... it version is... on OS... FireFox on windows

Are some errors present in the web-server log?

Are some errors present in the browser error console?

Please provide any additional information below.

If I create a torrent with rutorrent (PHP or MKTorrent) it makes fine with
no error.  If I then upload the torrent to a site and try to download it
with another server (same setup) the torrent starts paused.  In the
rtorrent error log I get this:
Could not open file "/home/somename/downloads/IMAX -
Cosmic.Voyage.1080p.BluRay.DD51.x264/IMAX - Cosmic.Voyage.1080p.B
           luRay.DD51.x264.mkv": No such file or directory

Other clients can download the torrent fine i.e utorrent on my home PC. 
All other torrents I download on the server start fine aswell. The
downloads directory is chmod 771 (userowner:www-data) so permissions should
be a problem.

If I create the torrent using MKTorrent from the cli it starts fine, so I
think there is maybe a bug in the create torrent function.

Original issue reported on code.google.com by payme...@serverscene.com on 25 May 2010 at 9:14

GoogleCodeExporter commented 9 years ago
>Other clients can download the torrent fine i.e utorrent on my home PC. All 
other
torrents I download on the server start fine aswell.

As result: ruTorrent hasn't relation to this problem.

Original comment by novik65 on 27 May 2010 at 10:51

GoogleCodeExporter commented 9 years ago
How do you mean.. I would think this is a problem with rutorrent if:
1: I make a torrent using the rutorrent create torrent plugin (using mktorrent) 
and I
get this problem
2: I make a torrent on same server but from the cli with mktorrent and dont get 
this
problem.  
That would suggest a problem within the rutorrent create torrent plugin myself. 
 I
only mentioned the torrents that wont start, do on utorrent as to try and help 
pin
point the problem. Seems like its not able to make the directory on loading a
torrent.  If I force recheck the problem torrent, it crashes rtorrent but on 
startup
the torrent begins to download.

Is there a suggested fix for this at all, as having rtorrent crash just to get 
the
torrent to download is not really a good fix in my opinion.

Original comment by payme...@serverscene.com on 27 May 2010 at 11:02

GoogleCodeExporter commented 9 years ago
A better method to get this solved would be make it reproducible.   From what 
you describe, it doesn't sound 
like a rutorrent issue. 

When torrents go to "pause" it is normally due to:

permission problem

or 

told to download to a path which does not exist. If you're sure neither of 
these apply then attach a torrent on a 
site where we can download it and see exactly what you mean.

Original comment by Wonslung@gmail.com on 30 May 2010 at 3:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, seeing the exact same issue.
Another user using a similar seedbox setup to mine (rutorrent and rtorrent, 
same build versions) uploads a torrent to tracker.
I download that torrent from tracker and it goes to paused status, evertime, 
every torrent they upload.

If I their torrent into my other seedbox (torrentflux) it works fine.

Wierd thing is it seems he can download torrents I've created with my setup, 
just not vice versa.

The folder is created (from torrent name) and does have the correct perms but 
no files are inside the folder and the torrent cannot be un paused.

Original comment by budiswi...@gmail.com on 14 Jun 2010 at 6:23

GoogleCodeExporter commented 9 years ago
Fixed in latest SVN for me at least.  No change on any of my servers apart from 
removing rutorrent completly and setting the new SVN version up.

Thanks 

Original comment by payme...@serverscene.com on 2 Jul 2010 at 5:43

GoogleCodeExporter commented 9 years ago
where do I donate to by the way :)

Original comment by payme...@serverscene.com on 2 Jul 2010 at 5:44

GoogleCodeExporter commented 9 years ago
I can confirm that I also see this issue. 

It's caused by the PHP script with is run over the .torrent file to "inject" 
the announce url(s) and the private flag. Disabling this script causes 
perfectly working torrents. 

Original comment by GLaDOS...@gmail.com on 5 Jul 2010 at 12:28

GoogleCodeExporter commented 9 years ago
@payments

you donate by clicking the paypal link on the wiki.

There is also a forum post with the link here:

http://forums.rutorrent.org/index.php?topic=113.0

@GLaDOSDan 

can you be more specific.  I dont' have this problem so i'm still leaning 
towards poor setup.

Original comment by Wonslung@gmail.com on 5 Jul 2010 at 12:29

GoogleCodeExporter commented 9 years ago
Thanx woo its been done :D

Not sure if GLaDOSDan is having the same problem as I was.  BUT... I remember 
this being said about mine

Comment 1  by novi...@gmail.com, May 27, 2010
>Other clients can download the torrent fine i.e utorrent on my home PC. All 
other
torrents I download on the server start fine aswell.

As result: ruTorrent hasn't relation to this problem.

Which it clearly was not a setup issue as my server setup has never changed 
since this problem. 

GlaDOSDan:  Remove rutorrent completly and redo it, it might then work :)

Original comment by payme...@serverscene.com on 5 Jul 2010 at 12:42

GoogleCodeExporter commented 9 years ago
@People trying to replicate this. Try the following.

Use the plugin to create a .torrent

Then load the .torrent into A DIFFERENT rTorrent instance.

It should go right to "pausing" and never actually begin regardless of how much 
you remove/add it.

Original comment by GLaDOS...@gmail.com on 5 Jul 2010 at 12:49

GoogleCodeExporter commented 9 years ago
@Wonslung

I set you up as a user on our tracker 2 weeks back and provided a link (in a PM 
on there) to a torrent that displays the issue, but I can see you've never 
signed in so maybe you didn't get the details?
I was hoping that if you saw the issue for yourself it may help nail this once 
and for all.

Original comment by budiswi...@gmail.com on 5 Jul 2010 at 1:22

GoogleCodeExporter commented 9 years ago
try using buildtorrent as a work around until this is solved.

download it here:
http://claudiusmaximus.goto10.org/files/coding/buildtorrent/buildtorrent-0.8.tar
.gz

and then set rutorrent/plugins/create/conf.php accordingly

I've seen this issue recently, not sure what is causing it yet.

Original comment by Wonslung@gmail.com on 7 Jul 2010 at 6:22

GoogleCodeExporter commented 9 years ago
Cheers for the acknowlegement, have forwarded the details on and will update 
mine to use buildtorrent too.

Original comment by budiswi...@gmail.com on 19 Jul 2010 at 10:31

GoogleCodeExporter commented 9 years ago
So, have they figured out what the problem is exactly? If so, how close are 
they to fixing it? This is getting really annoying.

Original comment by dicema...@gmail.com on 21 Jul 2010 at 7:03

GoogleCodeExporter commented 9 years ago
A havent this problem. As result - i can't fix it.

Original comment by novik65 on 21 Jul 2010 at 10:54

GoogleCodeExporter commented 9 years ago
As a workaround for this issue you can create an empty file with with the exact 
name of the torrent's target (and exact path if it's a folder).
Then you upload your torrent to ruTorrent, it will be checked then started.

But I agree, it's clearly a problem that concerns torrents created from 
ruTorrent and added to a different instance of ruTorrent. 

Original comment by nicoled...@gmail.com on 13 Aug 2010 at 6:46

GoogleCodeExporter commented 9 years ago
The .torrent files contain "libtorrent_resume" keys. I think this is internal 
client stuff and not meant to be published. After removing all nonstandard 
stuff in the torrent file (you probably need to know a little bit about bencode 
to do this), rtorrent has no problems with the download.

Original comment by derp...@gmail.com on 14 Feb 2011 at 12:30