Help with a Python Script (set_save_path)

General support for problems installing or using Deluge
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Help with a Python Script (set_save_path)

Post by Cas »

Well yes should disable "Move Completed to" but you must have also installed and enabled the SmartMove plugin which as I said before hacks the move_storage method and will mean you cannot change the storage location. This bug should be reported to the author of the SmartMove plugin.
srt75
Member
Member
Posts: 24
Joined: Tue Sep 25, 2012 9:29 pm

Re: Help with a Python Script (set_save_path)

Post by srt75 »

Hi Cas,

Log Extract as follows:

Code: Select all

[DEBUG   ] 20:25:08 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG   ] 20:25:08 torrent:382 session.is_paused: False
[DEBUG   ] 20:25:08 torrentmanager:1015 on_alert_state_changed
[DEBUG   ] 20:25:08 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG   ] 20:25:08 torrent:382 session.is_paused: False
[DEBUG   ] 20:25:08 torrentmanager:1015 on_alert_state_changed
[DEBUG   ] 20:25:08 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG   ] 20:25:08 torrent:382 session.is_paused: False
[DEBUG   ] 20:25:11 alertmanager:123 tracker_announce_alert: BlahBalh-FiCO (http://tracker.blahblah.org/announce.php?passkey=blahblah) sending announce (stopped)
[DEBUG   ] 20:25:11 alertmanager:123 torrent_paused_alert: BlahBlah-FiCO paused
[DEBUG   ] 20:25:11 torrentmanager:963 on_alert_tracker_announce
[DEBUG   ] 20:25:11 torrentmanager:907 on_alert_torrent_paused
[DEBUG   ] 20:25:11 torrent:381 set_state_based_on_ltstate: Seeding
[DEBUG   ] 20:25:11 torrent:382 session.is_paused: False
[DEBUG   ] 20:25:11 alertmanager:123 torrent_resumed_alert: BlahBlah-FiCO resumed
[DEBUG   ] 20:25:11 alertmanager:123 storage_moved_alert: BlahBlah-FiCO moved storage to: /home/srt/complete
[DEBUG   ] 20:25:11 torrentmanager:992 on_alert_storage_moved
Please note there is loads of stuff before, during and after the timeline above. I didn't think it necessary and would take up 2 or 3 pages.

Would this be anything:

Code: Select all

[DEBUG   ] 20:25:08 alertmanager:123 performance_alert: BlahBlah-FiCO: performance warning: send buffer watermark too low (upload rate will suffer)
I've noticed that all downloads will continue when the copying starts, it seems to only affect the uploading of completed torrents or the one currently copying.

I have also noticed within the log files "performance warning: max outstanding disk writes reached", which doesn't make sense when it's downloading straight to RAM.

So what I'm saying is everything is working as it should be, with the exception that it doesn't continue seeding when the copying has started.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Help with a Python Script (set_save_path)

Post by Cas »

There is a ticket describing the issue here: http://dev.deluge-torrent.org/ticket/1466

I will incorporate the patch into the plugin and update later today.
srt75
Member
Member
Posts: 24
Joined: Tue Sep 25, 2012 9:29 pm

Re: Help with a Python Script (set_save_path)

Post by srt75 »

Thanks Cas that'll be great mate, hopefully it fixes my issue.

Looking forward to the update.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Help with a Python Script (set_save_path)

Post by Cas »

I have uploaded 0.5 however I have not tested if the actual alert works: https://github.com/cas--/deluge-copycompleted/downloads

Enable debug logs to see if the send watermark buffer values are changing.
srt75
Member
Member
Posts: 24
Joined: Tue Sep 25, 2012 9:29 pm

Re: Help with a Python Script (set_save_path)

Post by srt75 »

Hi Cas,

I've downloaded and installed 0.5 locally and on my server, restarted both just to make sure.

Here's what happening now:

Downloading straight to RAM, download has completed but torrent still showing as downloading, path is still set to RAMDrive, If I Force-Recheck, torrent updates to seeding, but path remains as RAMDrive.

The log file is massive, like over a gig in size. This part is new and getting a truck load of them:
[DEBUG ] 16:30:21 core:162 COPYCOMPLETED: Performance Alert: My.Ghost.Story.S05E02.Roccos.Revenge.720p.HDTV.x264-DHD: performance warning: send buffer watermark too low (upload rate will suffer)
[DEBUG ] 16:30:21 core:166 COPYCOMPLETED: send_buffer_watermark currently set to: 102400 bytes
[DEBUG ] 16:30:21 core:162 COPYCOMPLETED: Performance Alert: My.Ghost.Story.S05E02.Roccos.Revenge.720p.HDTV.x264-DHD: performance warning: send buffer watermark too low (upload rate will suffer)
[DEBUG ] 16:30:21 core:166 COPYCOMPLETED: send_buffer_watermark currently set to: 102400 bytes
But also still getting truck loads of these:
[DEBUG ] 16:30:21 alertmanager:123 performance_alert: My.Ghost.Story.S05E02.Roccos.Revenge.720p.HDTV.x264-DHD: performance warning: send buffer watermark too low (upload rate will suffer)
[DEBUG ] 16:30:21 alertmanager:123 performance_alert: My.Ghost.Story.S05E02.Roccos.Revenge.720p.HDTV.x264-DHD: performance warning: send buffer watermark too low (upload rate will suffer)
Also my On Completion script no longer runs, which I guess is obvious as the torrent appears to not have completed, but clearly it has.

Is there anything specific I can search for in the log file, or anything you want from it that may help, there's like a few millions plus lines.

HTH.

SRT
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Help with a Python Script (set_save_path)

Post by Cas »

Oops small mistake in code, 0.6 should fix it.
srt75
Member
Member
Posts: 24
Joined: Tue Sep 25, 2012 9:29 pm

Re: Help with a Python Script (set_save_path)

Post by srt75 »

Cas wrote:Oops small mistake in code, 0.6 should fix it.
LOL, have grabbed 0.6 and installed on both again, well update you when I can.

Thanks again.
srt75
Member
Member
Posts: 24
Joined: Tue Sep 25, 2012 9:29 pm

Re: Help with a Python Script (set_save_path)

Post by srt75 »

Hi Cas,

Everything is now working again and log files are much much smaller, but it still unfortunately won't continue to seed from the Ramdrive, hopefully the log file will tell you something that obviously I can't see.

Many Thanks,

SRT.
Attachments
del_log.txt.zip
Deluge LogFile
(238.02 KiB) Downloaded 195 times
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Help with a Python Script (set_save_path)

Post by Cas »

Sorry I'm a bit confused, what do you mean "won't continue to seed from the Ramdrive", I thought you were seeding after moving to harddrive?
Post Reply