Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Unhandled error in plugin rtorrent ( while loading Magnet )  #1328

@hitokiri8x

Description

@hitokiri8x

Expected behaviour:

add torrents obtained from showrss to rTorrent via scgi

Actual behaviour:

a critical error is generated, flexget does not add torrent and terminate

Steps to reproduce:

flexget execute

Config:

tasks:
  showrss task:
    rss: http://showrss.info/user/xxx
    all_series: yes
    rtorrent:
      uri: scgi://localhost:5000
      path: /nas/{{series_name}}

Log:

2016-08-12 09:40 VERBOSE  details       showrss task    Summary - Accepted: 10 (Rejected: 1 Undecided: 0 Failed: 0)
2016-08-12 09:40 CRITICAL task          showrss task    BUG: Unhandled error in plugin rtorrent: expected bytes or bytearray, not str
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/flexget/task.py", line 444, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/flexget/plugins/plugin_rtorrent.py", line 473, in on_task_output
    self.add_entry(client, entry, options, start=config['start'], mkdir=config['mkdir'])
  File "/usr/local/lib/python3.4/dist-packages/flexget/plugins/plugin_rtorrent.py", line 584, in add_entry
    resp = client.load(torrent_raw, fields=options, start=start, mkdir=mkdir)
  File "/usr/local/lib/python3.4/dist-packages/flexget/plugins/plugin_rtorrent.py", line 261, in load
    params = ['', xmlrpc_client.Binary(raw_torrent)]
  File "/usr/lib/python3.4/xmlrpc/client.py", line 391, in __init__
    data.__class__.__name__)

Additional information:

  • Flexget Version: 2.2.15
  • Python Version: 3.4.2
  • Installation method: pip3
  • OS and version: raspbian jessy

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