question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`from_deluge` is missing `deluge_label` key for Deluge 2.x

See original GitHub issue

Expected behaviour:

After updating Deluge from 1.3.15 to 2.0.3, my task fails to run because the key deluge-label is no longer being populated by from_deluge.

Actual behaviour:

This key should still be available in Deluge 2.x

Steps to reproduce:

  • Step 1: Add a random torrent to Deluge 2.x, add label test to it.
  • Step 2: Run flexget --test execute --task sample_task --dump
  • Step 3: Notice that deluge_label does not exist. It used to exist for Deluge 1.3.15.

Config:

--- config from task: sample_task
accept_all: true
disable:
  - seen
  - seen_info_hash
from_deluge:
  filter:
    label: test
    state: Seeding
  host: deluge-host
  password: password
  port: 58846
  username: username
no_entries_ok: true

---

Log:

(click to expand)
2020-02-04 17:41:36 INFO     manager                       Test mode, creating a copy from database ...
2020-02-04 17:41:37 INFO     manager                       Test database created
2020-02-04 17:41:40 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2020-02-04 17:42:04 INFO     deluge_client.client sample_task     Connecting to deluge-manual:58846
2020-02-04 17:42:04 VERBOSE  details       sample_task     Produced 1 entries.
2020-02-04 17:42:04 VERBOSE  task          sample_task     ACCEPTED: `debian-10.2.0-amd64-netinst.iso` by accept_all plugin
2020-02-04 17:42:04 VERBOSE  details       sample_task     Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2020-02-04 17:42:04 WARNING  task          sample_task     Task doesn't have any output plugins, you should add (at least) one!
-- Accepted: ---------------------------
title            : debian-10.2.0-amd64-netinst.iso
url              : 
original_url     : 
accepted_by      : accept_all
content_files    : [debian-10.2.0-amd64-netinst.iso]
content_size     : 335.0
deluge_active_time: 62
deluge_all_time_download: 363873728
deluge_auto_managed: True
deluge_comment   : "Debian CD from cdimage.debian.org"
deluge_completed_time: 1580856084
deluge_creator   : 
deluge_distributed_copies: 0.0
deluge_download_location: /ssd
deluge_download_payload_rate: 2848
deluge_eta       : 0
deluge_file_priorities: (4,)
deluge_file_progress: (1.0,)
deluge_files     : ({'index': 0, 'path': 'debian-10.2.0-amd64-netinst.iso', 'size': 351272960, 'offset': 0},)
deluge_finished_time: 40
deluge_hash      : 86d4c80024a469be4c50bc5a102cf71780310074
deluge_id        : 86d4c80024a469be4c50bc5a102cf71780310074
deluge_is_auto_managed: True
deluge_is_finished: True
deluge_is_seed   : True
deluge_last_seen_complete: 1580856121
deluge_max_connections: -1
deluge_max_download_speed: -1.0
deluge_max_upload_slots: -1
deluge_max_upload_speed: -1.0
deluge_message   : OK
deluge_move_completed: False
deluge_move_completed_path: /root/Downloads
deluge_move_on_completed: False
deluge_move_on_completed_path: /root/Downloads
deluge_name      : debian-10.2.0-amd64-netinst.iso
deluge_next_announce: 0
deluge_num_files : 1
deluge_num_peers : 0
deluge_num_pieces: 1340
deluge_num_seeds : 0
deluge_orig_files: ({'index': 0, 'path': 'debian-10.2.0-amd64-netinst.iso', 'size': 351272960, 'offset': 0},)
deluge_owner     : dangmai
deluge_paused    : False
deluge_peers     : ()
deluge_piece_length: 262144
deluge_pieces    : None
deluge_prioritize_first_last: False
deluge_prioritize_first_last_pieces: False
deluge_private   : False
deluge_progress  : 100.0
deluge_queue     : -1
deluge_ratio     : 0.0
deluge_remove_at_ratio: False
deluge_save_path : /ssd
deluge_seed_mode : False
deluge_seed_rank : 1342177298
deluge_seeding_time: 40
deluge_seeds_peers_ratio: 56.66666793823242
deluge_sequential_download: False
deluge_shared    : False
deluge_state     : Seeding
deluge_stop_at_ratio: False
deluge_stop_ratio: 2.0
deluge_storage_mode: sparse
deluge_super_seeding: False
deluge_time_added: 1580856061
deluge_time_since_download: 40
deluge_time_since_transfer: 40
deluge_time_since_upload: -1
deluge_total_done: 351272960
deluge_total_payload_download: 363873728
deluge_total_payload_upload: 0
deluge_total_peers: 15
deluge_total_remaining: 0
deluge_total_seeds: 850
deluge_total_size: 351272960
deluge_total_uploaded: 0
deluge_total_wanted: 351272960
deluge_tracker   : http://bttracker.debian.org:6969/announce
deluge_tracker_host: debian.org
deluge_tracker_status: Announce OK
deluge_trackers  : ({'url': 'http://bttracker.debian.org:6969/announce', 'trackerid': '', 'message': '', 'last_error': {'value': 0, 'category': 'system'}, 'next_announce': None, 'min_announce': None, 'scrape_incomplete': -1, 'scrape_complete': -1, 'scrape_downloaded': -1, 'tier': 0, 'fail_limit': 0, 'fails': 0, 'source': 1, 'verified': False, 'updating': False, 'start_sent': False, 'complete_sent': False, 'send_stats': True},)
deluge_upload_payload_rate: 0
media_id         : <LazyField - value will be determined when it is accessed>
original_title   : debian-10.2.0-amd64-netinst.iso
quality          : <LazyField - value will be determined when it is accessed>
task             : sample_task
torrent_info_hash: 86d4c80024a469be4c50bc5a102cf71780310074
torrent_peers    : 0
torrent_seeds    : 0

2020-02-04 17:42:06 INFO     manager                       Removed test database

Additional information:

  • FlexGet version: 3.1.6
  • Python version: 3.7
  • Installation method: Docker container
  • Using daemon (yes/no): no
  • OS and version: Ubuntu 18.04 for host, Alpine for Docker container
  • Link to crash log: N/A

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
gazpachokingcommented, Feb 5, 2020

There is certainly a way we can get that field still. I’m currently trying to determine whether it’s a bug in deluge, or we need to change our call to get it.

1reaction
gazpachokingcommented, Jan 26, 2022

PR got merged. Next release of deluge won’t have this problem anymore. 2.0.6 or 2.1.0, whatever comes out next.

Read more comments on GitHub >

github_iconTop Results From Across the Web

built-in Labels disappeared kinda - Deluge Forum
i'm using deluge 2.0.3 on mac 10.15.6 with python 3.8 there is no labels menu under RMB in desktop app in side bar...
Read more >
[Plugin] LabelPlus v0.3.2.2 - Page 18 - Deluge Forum
I can install labelplus and enable it in deluge 2.0.3, but i cant use it anywhere in the webgui? cant add label when...
Read more >
Deluge 2.x works on Windows 7 now!
Just wanted to let everyone know new Deluge versions now work on Windows 7 thanks to unofficial Python installers that will allow Python...
Read more >
Unofficial Deluge 2.0.x for Windows installer - Page 2
After some trial and error I found that the installer was missing icons in "data\share\icons\Adwaita". Those are the ones missing:.
Read more >
Missing all plugins after upgrading to v1.3.15 - Deluge Forum
However, all the default plugins is missing. ... deluge-2.PNG ... I installed Deluge with apt-get install deluged deluge-web -y and they're ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found