Trying to move torrents with rtmv

53 views
Skip to first unread message

Josh Oram

unread,
Apr 29, 2015, 12:34:10 PM4/29/15
to pyrosco...@googlegroups.com
I'm trying to move torrents but am getting a python assertion error.

stuntard@dracula:~$ rtcontrol name=*Community.S0* 'realpath=*/Finished/*' -qo '~/bin/rtmv "$(path)s" ~/torrents/downloads/TV/' | bash

INFO    
Moving to "~/torrents/downloads/TV/Community.S06E08.Intro.to.Recycled.Cinema.WebRip.x264-FiHTV"...
INFO    
Total time: 0.085 seconds.

Traceback (most recent call last):
 
File "/home/disk7/stuntard/bin/rtmv", line 9, in <module>
    load_entry_point
('pyrocore==0.4.3.dev20150429', 'console_scripts', 'rtmv')()
 
File "/home/disk7/stuntard/lib/pyroscope/src/pyrocore/scripts/rtmv.py", line 231, in run
   
RtorrentMove().run()
 
File "/home/disk7/stuntard/lib/pyroscope/src/pyrocore/scripts/base.py", line 236, in run
   
self.mainloop()
 
File "/home/disk7/stuntard/lib/pyroscope/src/pyrocore/scripts/rtmv.py", line 213, in mainloop
   
assert src1 == src2, 'Item path %r should match %r!' % (src1, src2)
AssertionError: Item path u'/home/disk7/stuntard/torrents/downloads/Community.S06E08.Intro.to.Recycled.Cinema.WebRip.x264-FiHTV' should match u'/home/disk7/stuntard/torrents/downloads/Finished/TV/Community.S06E08.Intro.to.Recycled.Cinema.WebRip.x264-FiHTV'!


Any ideas why?

Josh Oram

unread,
Apr 29, 2015, 12:55:53 PM4/29/15
to pyrosco...@googlegroups.com

I'm not sure why it is even trying to compare /home/disk7/stuntard/torrents/downloads/Community.S06E08.Intro.to.Recycled.Cinema.WebRip.x264-FiHTV as it was never part of the command, and if I output $(path)s to echo, it comes up with the correct directory

pyroscope

unread,
May 2, 2015, 5:07:06 PM5/2/15
to pyrosco...@googlegroups.com
Right now, rtmv assumes items *all* point to the default location within rtorrent (and then symlinks to the actual data), but you did outside moving to "Finished". You have to wait until I come around to adding a mode besides the current symlinking.
Reply all
Reply to author
Forward
0 new messages