--cull deleting file contents but not torrent.

92 views
Skip to first unread message

threegorgesdave

unread,
Sep 4, 2015, 11:48:52 AM9/4/15
to pyroscope-users
I'm running rTorrent 0.9.2/0.13.2 with pyroscope version 0.4.3.dev20150903 on a headless Debian 8.1 64bit os. Running into an issue when I'm either in rtorrent (ctrl+x then cull=) or issue a rtcontrol command with --cull the file contents get deleted but the torrent doesn't get removed. Not sure if this matters but when I was installing pyroscope I did get a prompt stating that there was an updated version of pip. Lastly I've got the following entry in my .rtorrent.rc ...
system.method.insert = cull,simple,"execute_nothrow=rtcontrol,-q,--detach,--cull,--yes,\"$cat=hash=,$d.get_hash=\"
Any help would or tips on troubleshooting this would be much appreciated. Thanks
Message has been deleted

threegorgesdave

unread,
Sep 4, 2015, 2:59:58 PM9/4/15
to pyroscope-users
Tried making sense of the debug output but it couldn't. Here it is below, hope it helps....

p2p@p2p:~$ rtcontrol FUSSBA* --cull -v --debug
DEBUG    Options: close=False, column_headers=False, config_dir=None, config_file=[], cron=False, cull=True, custom=None, debug=True, defines=[], delete=False, detach=False, dry_run=False, exec=None, flush=False, from_view=None, hash_check=False, help_fields=False, ignore=None, interactive=False, modify_view=None, nul=False, output_format=None, output_template=None, prio=None, purge=False, quiet=False, reverse_sort=False, select=None, shell=False, sort_fields=None, start=False, stats=False, summary=False, tag=None, tee_view=False, throttle=None, to_view=None, verbose=True, view_only=False, yes=False
DEBUG    Loading '/home/p2p/.pyroscope/config.ini'...
DEBUG    Loading '/home/p2p/.pyroscope/config.py'...
DEBUG    Sorting order is: name, alias
DEBUG    Matcher is: name=FUSSBA*
DEBUG    Loading rtorrent config from '/home/p2p/.rtorrent.rc'
DEBUG    rtorrent.rc: scgi_port = 127.0.0.1:5000
DEBUG    CMD MAPPINGS ARE: {'log=': 'print=', 'log': 'print'}
DEBUG    system.client_version() took 0.002 secs
DEBUG    system.library_version() took 0.001 secs
DEBUG    MAPPING for (0, 8, 7) added: {'d.get_down_total': 'd.down.total', 'd.get_up_total': 'd.up.total', 'd.get_up_rate': 'd.up.rate', 'd.save_session': 'd.save_full_session', 'd.get_down_rate': 'd.down.rate', 'd.get_custom': 'd.custom', 'get_name': 'session.name', 'view_filter': 'view.filter', 'session_save': 'session.save', 't.get_url': 't.url', 'view_list': 'view.list', 'get_session': 'session.path', 'system.get_cwd': 'system.cwd', 'd.multicall': 'd.multicall2', 'get_directory': 'directory.default'}
DEBUG    CMD MAPPINGS ARE: {'view_list=': 'view.list=', 'd.get_down_total': 'd.down.total', 'd.get_up_total': 'd.up.total', 'get_name=': 'session.name=', 't.get_url=': 't.url=', 'log=': 'print=', 'session_save=': 'session.save=', 'd.get_up_rate': 'd.up.rate', 'd.save_session': 'd.save_full_session', 'd.get_down_rate': 'd.down.rate', 'd.get_custom': 'd.custom', 'd.multicall': 'd.multicall2', 'view_filter': 'view.filter', 'session_save': 'session.save', 't.get_url': 't.url', 'd.get_down_total=': 'd.down.total=', 'view_list': 'view.list', 'get_session': 'session.path', 'd.get_up_rate=': 'd.up.rate=', 'view_filter=': 'view.filter=', 'system.get_cwd': 'system.cwd', 'd.get_custom=': 'd.custom=', 'log': 'print', 'get_session=': 'session.path=', 'd.get_down_rate=': 'd.down.rate=', 'get_name': 'session.name', 'get_directory=': 'directory.default=', 'get_directory': 'directory.default', 'd.save_session=': 'd.save_full_session=', 'd.multicall=': 'd.multicall2=', 'system.get_cwd=': 'system.cwd=', 'd.get_up_total=': 'd.up.total='}
DEBUG    MAP get_name ==> session.name
DEBUG    get_name() took 0.002 secs
DEBUG    system.time_usec() took 0.001 secs
DEBUG    MAP get_session ==> session.path
DEBUG    get_session() took 0.002 secs
DEBUG    MAP get_directory ==> directory.default
DEBUG    get_directory() took 0.002 secs
DEBUG    RtorrentEngine connected to p2p:9260 [rTorrent 0.9.2/0.13.2, up 2m  8s] via 'scgi://127.0.0.1:5000'
DEBUG    BEFORE MAPPING: (0, 'main', 'd.get_up_total=', 'd.get_down_rate=', 'd.get_up_rate=', 'd.get_hash=', 'd.get_name=', 'd.get_ratio=', 'd.is_active=', 'd.get_base_path=', 'd.get_tied_to_file=', 'd.is_open=', 'd.get_down_total=', 'd.get_size_bytes=', 'd.get_tracker_size=', 'd.is_private=', 'd.get_complete=')
DEBUG    MAP d.get_up_total= ==> d.up.total=
DEBUG    MAP d.get_down_rate= ==> d.down.rate=
DEBUG    MAP d.get_up_rate= ==> d.up.rate=
DEBUG    MAP d.get_down_total= ==> d.down.total=
DEBUG    AFTER MAPPING: (0, 'main', 'd.up.total=', 'd.down.rate=', 'd.up.rate=', 'd.hash=', 'd.name=', 'd.ratio=', 'd.is_active=', 'd.base_path=', 'd.tied_to_file=', 'd.is_open=', 'd.down.total=', 'd.size_bytes=', 'd.tracker_size=', 'd.is_private=', 'd.complete=')
DEBUG    MAP d.multicall ==> d.multicall2
DEBUG    d.multicall(0, 'main', 'd.up.total=', 'd.down.rate=', 'd.up.rate=', 'd.hash=', 'd.name=', 'd.ratio=', 'd.is_active=', 'd.base_path=', 'd.tied_to_file=', 'd.is_open=', 'd.down.total=', 'd.size_bytes=', 'd.tracker_size=', 'd.is_private=', 'd.complete=') took 0.019 secs
DEBUG    Got 30 items with 15 attributes from 'p2p:9260' [out 1.1 KiB, in 22.2 KiB, took 3.138ms/19.474ms]
DEBUG    BEFORE MAPPING: ('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 't.get_url=')
DEBUG    MAP t.get_url= ==> t.url=
DEBUG    AFTER MAPPING: ('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 't.url=')
DEBUG    t.multicall('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 't.url=') took 0.003 secs
INFO     About to CULL 1 out of 30 torrents.
CULL item FUSSBALL 3D.iso? [Y)es, n)o, a)ll yes, q)uit]: y
DEBUG    BEFORE MAPPING: ('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 't.get_url=')
DEBUG    MAP t.get_url= ==> t.url=
DEBUG    AFTER MAPPING: ('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 't.url=')
DEBUG    t.multicall('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 't.url=') took 0.003 secs
2015-09-04 14:47     CULL FUSSBALL 3D.iso {tracker.me}
DEBUG    d.get_directory('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45') took 0.003 secs
DEBUG    BEFORE MAPPING: ('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 'f.get_path=', 'f.get_size_bytes=', 'f.get_last_touched=', 'f.get_priority=', 'f.is_created=', 'f.is_open=')
DEBUG    AFTER MAPPING: ('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 'f.path=', 'f.size_bytes=', 'f.last_touched=', 'f.priority=', 'f.is_created=', 'f.is_open=')
DEBUG    f.multicall('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45', 0, 'f.path=', 'f.size_bytes=', 'f.last_touched=', 'f.priority=', 'f.is_created=', 'f.is_open=') took 0.003 secs
DEBUG    d.is_multi_file('36F0B0F18EAE1E2859F9BB2352C3CAFCACB4CB45') took 0.001 secs
DEBUG    Deleting '/home/p2p/rtorrent/data/movies/FUSSBALL 3D.iso'
DEBUG    XMLRPC stats: 12 req, out 3.3 KiB [1.1 KiB max], in 24.5 KiB [22.2 KiB max], 1.217ms/3.459ms avg latency
INFO     Total time: 16.770 seconds.

pyroscope

unread,
Sep 5, 2015, 7:03:06 PM9/5/15
to pyroscope-users
On Friday, September 4, 2015 at 5:48:52 PM UTC+2, threegorgesdave wrote:
Running into an issue when I'm either in rtorrent (ctrl+x then cull=) or issue a rtcontrol command with --cull the file contents get deleted but the torrent doesn't get removed.

Thanks for reporting, a fix is in git HEAD. 
Reply all
Reply to author
Forward
0 new messages