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

See original GitHub issue

Expected behaviour:

Flexget adds torrent to transmission and starts it.

Actual behaviour:

Torrent is added, but is not started.

Steps to reproduce:

Run flexget.

Config:

https://pastebin.com/Caj8pVTM

Log:

2018-01-05 13:05 INFO     download      nyaa            Downloading: Yuru Camp - 01 (1280x720 HEVC2 AAC).mkv
2018-01-05 13:05 INFO     download      nyaa            Downloading: Ramen Daisuki Koizumi-san - 01 (1280x720 HEVC2 AAC).mkv
2018-01-05 13:05 INFO     transmission  nyaa            "Yuru Camp - 01 (1280x720 HEVC2 AAC).mkv" torrent added to transmission
2018-01-05 13:05 CRITICAL task          nyaa            BUG: Unhandled error in plugin transmission: 'ascii' codec can't decode byte 0xe2 in position 35: ordinal not in range(128)
2018-01-05 13:05 CRITICAL manager       nyaa            An unexpected crash has occurred. Writing crash report to /home/box/.config/flexget/crash_report.2018.01.05.130509236016.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.11.20
2018-01-05 13:05 WARNING  task          nyaa            Aborting task (plugin: transmission)

2018-01-05 13:05 DEBUG    manager                       Figuring out config load paths
2018-01-05 13:05 DEBUG    manager                       Found config: /home/box/.config/flexget/config.yml
2018-01-05 13:05 DEBUG    manager                       Config file /home/box/.config/flexget/config.yml selected
2018-01-05 13:05 INFO     download      nyaa            Downloading: Yuru Camp - 01 (1280x720 HEVC2 AAC).mkv
2018-01-05 13:05 INFO     download      nyaa            Downloading: Ramen Daisuki Koizumi-san - 01 (1280x720 HEVC2 AAC).mkv
2018-01-05 13:05 INFO     transmission  nyaa            "Yuru Camp - 01 (1280x720 HEVC2 AAC).mkv" torrent added to transmission
2018-01-05 13:05 CRITICAL task          nyaa            BUG: Unhandled error in plugin transmission: 'ascii' codec can't decode byte 0xe2 in position 35: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 486, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/clients/transmission.py", line 303, in on_task_output
    self.add_to_transmission(self.client, task, config)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/clients/transmission.py", line 528, in add_to_transmission
    file_path = os.path.dirname(os.path.join(download_dir, fl[r.id][main_id]['name']))
  File "/usr/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 35: ordinal not in range(128)

Additional information:

  • FlexGet version: 2.11.20
  • Python version: 2.7.12
  • Installation method: pip, global
  • Using daemon (yes/no): no
  • OS and version: Ubuntu Server 16.04.3
  • Link to crash log: https://pastebin.com/ZdQLuJus

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
plittlefieldcommented, Aug 17, 2019

I’ve just run it again after an update and I still get the same error…

BUG: Unhandled error in plugin transmission: name 'TransmissionError' is not defined

…so, FlexGet is effectively USELESS at this point.

Oh well.

0reactions
gazpachokingcommented, Apr 29, 2021

Thinking this may be solved by our new transmission-rpc library.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unhandled error in plugin from_transmission #2794 - GitHub
Step 1: Upgrade to 3.1.92; Step 2: Install transmission-rpc; Step 3: Use from_transmission in task. Config: TRANS_CLN: no_entries_ok: ...
Read more >
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 >
transmission - FlexGet
Manages torrents within the Transmission bittorrent client. ... This plugin requires the transmission-rpc library. To install it, run:.
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 >
Fatal Error: This website is experiencing technical difficulties…
To fix this issue · Login to your FTP client and search for your WordPress installation root. · Go to /wp-content/plugins/ and change...
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