Yep I rebooted my server and laptop, so Deluge definitely has been restarted.
Can you help me enable logging please?
Edit:
OK I found it
http://dev.deluge-torrent.org/wiki/Faq# ... ingenabled
Help with a Python Script (set_save_path)
Re: Help with a Python Script (set_save_path)
OK weird, enabled logging and guess what everything is working which is fantastic. Albeit only one TV has kicked in as yet, I'll report back tomorrow when a few more have downloaded.
Re: Help with a Python Script (set_save_path)
OK since enabling logging, every download has worked as you said it would, which is absolutely fantastic, Cas you are da man mate.
Not sure I want to disable logging as it might break what is working
It's not much but your work and time is appreciated - 7VB0197153024050R
Not sure I want to disable logging as it might break what is working
It's not much but your work and time is appreciated - 7VB0197153024050R
Re: Help with a Python Script (set_save_path)
Hi Cas,
Looked like I've jumped the gun a bit. It appears that it's not actually working as I thought it was.
TV progs are quite small and now downloads so fast and copies across to my HD quite quickly that I didn't notice that it actually wasn't working correctly.
It appears that it is still pausing when it completes and not continuing to seed like I thought it did.
Also when downloading multiple torrents, when one has finished, all downloading and uploading stops for all torrents until the copy has finished.
Taken from Error log using "deluged -l /home/srt/delugelog.log"
Looked like I've jumped the gun a bit. It appears that it's not actually working as I thought it was.
TV progs are quite small and now downloads so fast and copies across to my HD quite quickly that I didn't notice that it actually wasn't working correctly.
It appears that it is still pausing when it completes and not continuing to seed like I thought it did.
Also when downloading multiple torrents, when one has finished, all downloading and uploading stops for all torrents until the copy has finished.
Taken from Error log using "deluged -l /home/srt/delugelog.log"
Code: Select all
KeyError: '0482a6905f6b9b4469009c8899828ed610f947b6'
[ERROR ] 13:19:48 rpcserver:303 Exception calling RPC request: '0482a6905f6b9b4469009c8899828ed610f947b6'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 298, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 435, in get_torrents_status
status_dict[torrent_id] = self.get_torrent_status(torrent_id, keys, diff)
File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 417, in get_torrent_status
status = self.torrentmanager[torrent_id].get_status(keys, diff)
File "/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py", line 278, in __getitem__
return self.torrents[torrent_id]
KeyError: '0482a6905f6b9b4469009c8899828ed610f947b6'
[ERROR ] 13:19:48 rpcserver:303 Exception calling RPC request: '0482a6905f6b9b4469009c8899828ed610f947b6'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 298, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 435, in get_torrents_status
status_dict[torrent_id] = self.get_torrent_status(torrent_id, keys, diff)
File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 417, in get_torrent_status
status = self.torrentmanager[torrent_id].get_status(keys, diff)
File "/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py", line 278, in __getitem__
return self.torrents[torrent_id]
KeyError: '0482a6905f6b9b4469009c8899828ed610f947b6'
Re: Help with a Python Script (set_save_path)
Can you be more specific with what is happening. Are the folders still remaining on your ramdrive?srt75 wrote:It appears that it is still pausing when it completes and not continuing to seed like I thought it did.
I am surprised the copy process is still affecting network speed, did this occur with your bash script?srt75 wrote:Also when downloading multiple torrents, when one has finished, all downloading and uploading stops for all torrents until the copy has finished.
Those errors are irrelevant (minor sessionproxy issue) but do you have debug logs (-L debug) with the plugin messages.srt75 wrote:Taken from Error log using "deluged -l /home/srt/delugelog.log"
Re: Help with a Python Script (set_save_path)
I must admit I didn't include the "-L debug", I have set this now and will report back, I estimate it might be a big size, can I upload it here and if so how? Or shall I look through and post what I think is the issue(s).Cas wrote:Can you be more specific with what is happening. Are the folders still remaining on your ramdrive?srt75 wrote:It appears that it is still pausing when it completes and not continuing to seed like I thought it did.
The folders and files are no longer on the Ramdrive so that part is now working, but as soon as a download has finished all torrents that were seeding or downloading stop doing so, its like the connections are being dropped.
I am surprised the copy process is still affecting network speed, did this occur with your bash script?srt75 wrote:Also when downloading multiple torrents, when one has finished, all downloading and uploading stops for all torrents until the copy has finished.
No, I also auto FTP to home and that works straight after the copy process without any probs
Those errors are irrelevant (minor sessionproxy issue) but do you have debug logs (-L debug) with the plugin messages.srt75 wrote:Taken from Error log using "deluged -l /home/srt/delugelog.log"
Re: Help with a Python Script (set_save_path)
The log file is already over 100MB, but going through it I've come accross this:
[INFO ] 16:28:30 core:166 SmartMove: task 0 - created
[INFO ] 16:28:30 core:121 SmartMove: task 0 - the destination folder already contains this file. Torrent storage will NOT be moved.
[ERROR ] 16:28:30 core:152 COPYCOMPLETED: Move Storage failed
[INFO ] 16:28:30 core:166 SmartMove: task 0 - created
[INFO ] 16:28:30 core:121 SmartMove: task 0 - the destination folder already contains this file. Torrent storage will NOT be moved.
[ERROR ] 16:28:30 core:152 COPYCOMPLETED: Move Storage failed
Re: Help with a Python Script (set_save_path)
The SmartMove plugin hacks into the move_storage method so you should disable it.
Re: Help with a Python Script (set_save_path)
[DEBUG ] 18:30:59 alertmanager:123 performance_alert: Long.Island.Medium.S03E07.HDTV.x264-CRiMSON: performance warning: send buffer watermark too low (upload rate will suffer)
[DEBUG ] 18:30:59 alertmanager:123 performance_alert: Long.Island.Medium.S03E07.HDTV.x264-CRiMSON: performance warning: send buffer watermark too low (upload rate will suffer)
[DEBUG ] 18:30:59 torrentmanager:869 on_alert_torrent_finished
[DEBUG ] 18:30:59 torrentmanager:875 7b85a69c7f31284174e074a6f8f720e8e8094e08 is finished..
[DEBUG ] 18:30:59 rpcserver:466 intevents: {}
[DEBUG ] 18:30:59 core:111 [execute] Running commands for complete
[DEBUG ] 18:30:59 core:127 [execute] running /home/srt/movet.sh
[INFO ] 18:30:59 core:114 COPYCOMPLETED: Copying Long.Island.Medium.S03E07.HDTV.x264-CRiMSON from /home/srt/incomplete/ramdisk to /home/srt/complete
[DEBUG ] 18:30:59 core:160 COPYCOMPLETED: Applying new umask of octal 0000
[DEBUG ] 18:30:59 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:30:59 torrent:382 session.is_paused: False
[INFO ] 18:30:59 core:180 COPYCOMPLETED: Copying /home/srt/incomplete/ramdisk/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON/long.island.medium.s03e07.hdtv.x264-crimson.part08.rar to /home/srt/complete/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON/long.island.medium.s03e07.hdtv.x264-crimson.part08.rar
[DEBUG ] 18:30:59 torrentmanager:1015 on_alert_state_changed
[DEBUG ] 18:30:59 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:30:59 torrent:382 session.is_paused: False
[DEBUG ] 18:30:59 torrentmanager:1015 on_alert_state_changed
[DEBUG ] 18:30:59 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:30:59 torrent:382 session.is_paused: False
[DEBUG ] 18:30:59 torrentmanager:963 on_alert_tracker_announce
[DEBUG ] 18:30:59 core:143 COPYCOMPLETED: Cleanup empty dirs: [u'/home/srt/incomplete/ramdisk/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON']
[INFO ] 18:30:59 core:166 SmartMove: task 0 - created
[INFO ] 18:30:59 core:121 SmartMove: task 0 - the destination folder already contains this file. Torrent storage will NOT be moved.
[ERROR ] 18:30:59 core:152 COPYCOMPLETED: Move Storage failed
[DEBUG ] 18:31:00 torrentmanager:1103 on_alert_file_error: Long.Island.Medium.S03E07.HDTV.x264-CRiMSON file (/home/srt/incomplete/ramdisk/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON/long.island.medium.s03e07.hdtv.x264-crimson.part09.rar) error: No such file or directory
[DEBUG ] 18:31:00 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:31:00 torrent:382 session.is_paused: False
[DEBUG ] 18:31:00 torrentmanager:963 on_alert_tracker_announce
[DEBUG ] 18:31:00 torrentmanager:907 on_alert_torrent_paused
[DEBUG ] 18:31:00 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:31:00 torrent:382 session.is_paused: False
Status of Torrent
RED
No such file or directory: /home/srt/incomplete/ramdisk/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON/long.island.medium.s03e07.hdtv.x264-crimson.part09.rar
I've disabled "Move Completed to" from Preference > Downloads and restarted Deluge, I'm guessing this is Smart Storage.
[DEBUG ] 18:30:59 alertmanager:123 performance_alert: Long.Island.Medium.S03E07.HDTV.x264-CRiMSON: performance warning: send buffer watermark too low (upload rate will suffer)
[DEBUG ] 18:30:59 torrentmanager:869 on_alert_torrent_finished
[DEBUG ] 18:30:59 torrentmanager:875 7b85a69c7f31284174e074a6f8f720e8e8094e08 is finished..
[DEBUG ] 18:30:59 rpcserver:466 intevents: {}
[DEBUG ] 18:30:59 core:111 [execute] Running commands for complete
[DEBUG ] 18:30:59 core:127 [execute] running /home/srt/movet.sh
[INFO ] 18:30:59 core:114 COPYCOMPLETED: Copying Long.Island.Medium.S03E07.HDTV.x264-CRiMSON from /home/srt/incomplete/ramdisk to /home/srt/complete
[DEBUG ] 18:30:59 core:160 COPYCOMPLETED: Applying new umask of octal 0000
[DEBUG ] 18:30:59 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:30:59 torrent:382 session.is_paused: False
[INFO ] 18:30:59 core:180 COPYCOMPLETED: Copying /home/srt/incomplete/ramdisk/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON/long.island.medium.s03e07.hdtv.x264-crimson.part08.rar to /home/srt/complete/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON/long.island.medium.s03e07.hdtv.x264-crimson.part08.rar
[DEBUG ] 18:30:59 torrentmanager:1015 on_alert_state_changed
[DEBUG ] 18:30:59 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:30:59 torrent:382 session.is_paused: False
[DEBUG ] 18:30:59 torrentmanager:1015 on_alert_state_changed
[DEBUG ] 18:30:59 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:30:59 torrent:382 session.is_paused: False
[DEBUG ] 18:30:59 torrentmanager:963 on_alert_tracker_announce
[DEBUG ] 18:30:59 core:143 COPYCOMPLETED: Cleanup empty dirs: [u'/home/srt/incomplete/ramdisk/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON']
[INFO ] 18:30:59 core:166 SmartMove: task 0 - created
[INFO ] 18:30:59 core:121 SmartMove: task 0 - the destination folder already contains this file. Torrent storage will NOT be moved.
[ERROR ] 18:30:59 core:152 COPYCOMPLETED: Move Storage failed
[DEBUG ] 18:31:00 torrentmanager:1103 on_alert_file_error: Long.Island.Medium.S03E07.HDTV.x264-CRiMSON file (/home/srt/incomplete/ramdisk/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON/long.island.medium.s03e07.hdtv.x264-crimson.part09.rar) error: No such file or directory
[DEBUG ] 18:31:00 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:31:00 torrent:382 session.is_paused: False
[DEBUG ] 18:31:00 torrentmanager:963 on_alert_tracker_announce
[DEBUG ] 18:31:00 torrentmanager:907 on_alert_torrent_paused
[DEBUG ] 18:31:00 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG ] 18:31:00 torrent:382 session.is_paused: False
Status of Torrent
RED
No such file or directory: /home/srt/incomplete/ramdisk/Long.Island.Medium.S03E07.HDTV.x264-CRiMSON/long.island.medium.s03e07.hdtv.x264-crimson.part09.rar
I've disabled "Move Completed to" from Preference > Downloads and restarted Deluge, I'm guessing this is Smart Storage.
Re: Help with a Python Script (set_save_path)
Ok I've even now restarted my remote server and I still get:
[INFO ] 19:32:08 core:166 SmartMove: task 0 - created
[INFO ] 19:32:08 core:121 SmartMove: task 0 - the destination folder already contains this file. Torrent storage will NOT be moved.
[ERROR ] 19:32:08 core:152 COPYCOMPLETED: Move Storage failed
Is SmartMove not "Move Completed to"?
All new downloaded torrents now error after completion with status - "No such file or directory:"
EDIT:
Ok Me bad, SmartMove was a plugin, which is now disabled. Will update you again on next torrent.
[INFO ] 19:32:08 core:166 SmartMove: task 0 - created
[INFO ] 19:32:08 core:121 SmartMove: task 0 - the destination folder already contains this file. Torrent storage will NOT be moved.
[ERROR ] 19:32:08 core:152 COPYCOMPLETED: Move Storage failed
Is SmartMove not "Move Completed to"?
All new downloaded torrents now error after completion with status - "No such file or directory:"
EDIT:
Ok Me bad, SmartMove was a plugin, which is now disabled. Will update you again on next torrent.