systemart / rtgui

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

Torrent information error #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I open torrent details and see this error in FILES ear:

Notice: xmlrpc: Command "f.get_is_created" does not exist. (-503) in
/var/www/hu/stageline/xxx/functions.php on line 105

Warning: Invalid argument supplied for foreach() in
/var/www/hu/stageline/rtgui/view.php on line 82

I use rtorrent for svn

Does anyone know fix?

Original issue reported on code.google.com by stagel...@gmail.com on 25 Jan 2008 at 10:15

GoogleCodeExporter commented 9 years ago
in rtorrent 0.8.0

f.get_is_created is f.is_created 
and
f.get_is_open has become f.is_open

Original comment by ajay.ram...@gmail.com on 8 Feb 2008 at 1:59

GoogleCodeExporter commented 9 years ago
Strange, now some of the commands start with get_ but not all of them anymore...
Inconsistency...

Original comment by stefan.van.essen@gmail.com on 10 Feb 2008 at 7:28

GoogleCodeExporter commented 9 years ago
This is indeed due to rtorrent 0.8.0 (latest).

Quick fix is to change functions.php, line 102:

change "f.get_is_created" to "f.is_created"
and    "f.get_is_open" to "f.is_open"

So, the whole line should read:
 array($hash,"","f.get_completed_chunks=","f.get_frozen_path=","f.is_created=","f.is_open=","f.get_last_touched=","f.get_match_depth_next=","f.get_match_depth_prev=","f.get_offset=","f.get_path=","f.get_path_components=","f.get_path_depth=","f.get_priority=","f.get_range_first=","f.get_range_second=","f.get_size_bytes=","f.get_size_chunks="));

This will be fixed in next release (coming soon!)

Original comment by lemonbe...@gmail.com on 14 Feb 2008 at 9:25

GoogleCodeExporter commented 9 years ago
Fixed in 0.2.3

Original comment by lemonbe...@gmail.com on 3 Mar 2008 at 8:20

GoogleCodeExporter commented 9 years ago
This issue appears to have come back.  rTorrent 0.8.2 seems to be back to
f.get_is_created and f.get_is_open

Original comment by punctum....@googlemail.com on 3 Aug 2008 at 10:29