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.

unhandled error in plugin transmission utf8

See original GitHub issue

Expected behaviour:

flexget execute runs

Actual behaviour:

After downloading the torrent files, the following error is thrown when trying to pass to transmission: BUG: Unhandled error in plugin transmission: ‘utf8’ codec can’t decode byte 0x84 in position 0: invalid start byte

Steps to reproduce:

Not sure. Installed flexget via PIP and ensured fully updated ensured that plugin is fully updated Transmission GUI installed on Synology NAS using download centre install

Config: http://pastebin.com/e781m2KV

tasks:
  task-a:
    rss: https://revolutiontt.me/rss.php?feed=dl&bookmarks=on&passkey=*****
    accept_all: yes
    transmission:
      host: 172.16.
      port: 51413
      username: ****
      password: ****
    download: /volume1/Torrents/Torrents/

schedules:
  - tasks: 'task-a'
    interval:
      minutes: 15

Log:

2017-03-23 20:04 DEBUG    manager                       Figuring out config load paths
2017-03-23 20:04 DEBUG    manager                       Found config: /volume1/homes/admin/config.yml
2017-03-23 20:04 DEBUG    manager                       Config file /volume1/homes/admin/config.yml selected
2017-03-23 20:04 INFO     manager                       Test mode, creating a copy from database ...
2017-03-23 20:04 INFO     manager                       Test database created
2017-03-23 20:05 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2017-03-23 20:05 INFO     transmission  task-a          Trying to connect to transmission...
2017-03-23 20:05 CRITICAL task          task-a          BUG: Unhandled error in plugin transmission: 'utf8' codec can't decode byte 0xa6 in position 3: inva$
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/flexget/task.py", line 483, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/flexget/plugins/clients/transmission.py", line 141, in on_task_start
    self.client = self.create_rpc_client(config)
  File "/usr/lib/python2.7/site-packages/flexget/plugins/clients/transmission.py", line 75, in create_rpc_client
    cli = transmissionrpc.Client(config['host'], config['port'], user, password)
  File "/usr/lib/python2.7/site-packages/transmissionrpc-0.11-py2.7.egg/transmissionrpc/client.py", line 169, in __init__
    self.get_session()
  File "/usr/lib/python2.7/site-packages/transmissionrpc-0.11-py2.7.egg/transmissionrpc/client.py", line 828, in get_session
    self._request('session-get', timeout=timeout)
  File "/usr/lib/python2.7/site-packages/transmissionrpc-0.11-py2.7.egg/transmissionrpc/client.py", line 247, in _request
    http_data = self._http_query(query, timeout)
  File "/usr/lib/python2.7/site-packages/transmissionrpc-0.11-py2.7.egg/transmissionrpc/client.py", line 205, in _http_query
    result = self.http_handler.request(self.url, query, headers, timeout)
  File "/usr/lib/python2.7/site-packages/transmissionrpc-0.11-py2.7.egg/transmissionrpc/httphandler.py", line 82, in request
    return response.read().decode('utf-8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa6 in position 3: invalid start byte

Additional information:

  • Flexget Version: 2.10.19
  • Python Version: 2.7.12 & 3.5.1
  • Installation method: CLI using PIP
  • OS and version: Synology DSM 6.1
  • Link to crash log: http://pastebin.com/KngNng6E

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cviumcommented, Jun 27, 2018

Please refrain from double posting… Commenting on either the issue or the related PR is enough.

1reaction
viggy96commented, Apr 13, 2018

Ah, lol, well, I guess I’ll submit a pull request at some point.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unhandled error in plugin transmission after upgrade to 3.0.0
I have a two different installations, Debian and macOS. Both stopped downloading after upgrade to 3.0.0. The error is different though. Debian:
Read more >
Flexget/Flexget - Gitter
... Fixed unhandled UTF8 error in transmission plugin - https://git.io/vxhJ8 ... I am thinking about doing a Todoist input plugin that would be...
Read more >
UTF-8 CSV File Error Fix - Agile Store Locator WordPress Plugin
Store Locator Plugin Guide​​ Solution: This error is mainly due to the wrong encoding of the CSV file. To fix this issue please...
Read more >
Bug listing with status RESOLVED with resolution TEST ...
... "gedit-plugins ebuild" status:RESOLVED resolution:TEST-REQUEST severity: ... Bug:76982 - "net-www/links-2.1_pre15 compile error with unicode USE flag" ...
Read more >
- 002 FUNCTION RESET UNABLE TO BE DONE - FATAL ERROR
Cause: Unsuccessful attempt to execute and re-gen a function. Action: Verify that the appropriate version of PROIV software has been installed and is...
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