Skip to content

from_transmission stopped working in 3.6.0 #3741

@carno

Description

@carno

Expected behaviour:

clean_torrents is executed and finished torrents are removed

Actual behaviour:

task is aborted with CRITICAL exception

Config:

  clean_torrents:
    disable: [seen, seen_info_hash]
    from_transmission:
      only_complete: yes
    if:
      - transmission_progress == 100: accept
    transmission:
      action: remove
    no_entries_ok: yes

Log:

(click to expand)
2023-04-11 18:58:30 DEBUG    task          clean_torrents  executing clean_torrents
2023-04-11 18:58:30 TRACE    template      clean_torrents  templates: ['global']
2023-04-11 18:58:30 DEBUG    disable       clean_torrents  Disabled plugins: seen_info_hash, seen
2023-04-11 18:58:30 INFO     transmission  clean_torrents  Trying to connect to transmission...
2023-04-11 18:58:30 DEBUG    transmission  clean_torrents  Connecting to http://localhost:9091/transmission/
2023-04-11 18:58:30 INFO     transmission  clean_torrents  Successfully connected to transmission.
2023-04-11 18:58:30 INFO     transmission  clean_torrents  Trying to connect to transmission...
2023-04-11 18:58:30 DEBUG    transmission  clean_torrents  Connecting to http://localhost:9091/transmission/
2023-04-11 18:58:30 INFO     transmission  clean_torrents  Successfully connected to transmission.
2023-04-11 18:58:30 DEBUG    transmission  clean_torrents  Connecting to http://localhost:9091/transmission/
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: original_title = 'XYZ'
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: title = 'XYZ'
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: original_url = ''
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: url = ''
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: torrent_info_hash = '2b3f087214be36fec48aa6392a14fcf4189d5fa4'
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: content_size = 2623.425117492676
2023-04-11 18:58:30 TRACE    entry         clean_torrents  ENTRY SET: location = '/data/transmission-home/torrents/2b3f087214be36fec48aa6392a14fcf4189d5fa4.torrent'
2023-04-11 18:58:30 CRITICAL plugin        clean_torrents  Tried to set 'XYZ' url to PosixPath('/data/transmission-home/torrents/2b3f087214be36fec48aa6392a14fcf4189d5fa4.torrent')
2023-04-11 18:58:30 WARNING  task          clean_torrents  Aborting task (plugin: from_transmission)

Additional information:

  • FlexGet version: 3.6.1
  • Python version: 3.11.2
  • Installation method: pip
  • Using daemon (yes/no): yes
  • OS and version: Siduction
  • Link to crash log:

It looks like starting with #3716 https://github.com/Flexget/Flexget/blob/develop/flexget/plugins/clients/transmission.py#L230 sets url to pathlib.Path while Entry expect str for url https://github.com/Flexget/Flexget/blob/develop/flexget/entry.py#L237

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions