Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Unhandled error in plugin transmission: list indices must be integers or slices, not File,

$
0
0

Hi All,

I get this error in my log, preventing proper function. Anyone having any idea to what it is?

"Unhandled error in plugin transmission: list indices must be integers or slices, not File
Traceback (most recent call last):"

Sys info:
Flexget (flexget -V 3.1.93) running in docker: cpoppema/docker-flexget
Transmission (3.00 (bb6b5a062e)) running in docker: haugene/transmission-openvpn

(censored a little)

2021-01-02 14:58:01 CRITICAL task          xxxxx Movies BUG: Unhandled error in plugin transmission: list indices must be integers or slices, not File
Traceback (most recent call last):

  File "/usr/lib/python3.7/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
    │    └ <function Thread._bootstrap_inner at 0x7f02e3a585f0>
    └ <Thread(task_queue, started daemon 139650289281824)>
  File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
    │    └ <function Thread.run at 0x7f02e3a583b0>
    └ <Thread(task_queue, started daemon 139650289281824)>
  File "/usr/lib/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
    │    │        │    │        │    └ {}
    │    │        │    │        └ <Thread(task_queue, started daemon 139650289281824)>
    │    │        │    └ ()
    │    │        └ <Thread(task_queue, started daemon 139650289281824)>
    │    └ <bound method TaskQueue.run of <flexget.task_queue.TaskQueue object at 0x7f02de3eedd0>>
    └ <Thread(task_queue, started daemon 139650289281824)>
  File "/usr/lib/python3.7/site-packages/flexget/task_queue.py", line 46, in run
    self.current_task.execute()
    │    │            └ <function Task.execute at 0x7f02e1e28710>
    │    └ <flexget.task.Task object at 0x7f02dd3c17d0>
    └ <flexget.task_queue.TaskQueue object at 0x7f02de3eedd0>
  File "/usr/lib/python3.7/site-packages/flexget/task.py", line 87, in wrapper
    return func(self, *args, **kw)
           │    │      │       └ {}
           │    │      └ ()
           │    └ <flexget.task.Task object at 0x7f02dd3c17d0>
           └ <function Task.execute at 0x7f02e1e28680>
  File "/usr/lib/python3.7/site-packages/flexget/task.py", line 722, in execute
    self._execute()
    │    └ <function Task._execute at 0x7f02e1e285f0>
    └ <flexget.task.Task object at 0x7f02dd3c17d0>
  File "/usr/lib/python3.7/site-packages/flexget/task.py", line 688, in _execute
    self.__run_task_phase(phase)
    │                     └ 'output'
    └ <flexget.task.Task object at 0x7f02dd3c17d0>
  File "/usr/lib/python3.7/site-packages/flexget/task.py", line 514, in __run_task_phase
    response = self.__run_plugin(plugin, phase, args)
               │                 │       │      └ (<flexget.task.Task object at 0x7f02dd3c17d0>, {'host': 'xxxx', 'port': 9091, 'username': 'xxxx', 'password': 'xxxx...
               │                 │       └ 'output'
               │                 └ <PluginInfo(name=transmission)>
               └ <flexget.task.Task object at 0x7f02dd3c17d0>
> File "/usr/lib/python3.7/site-packages/flexget/task.py", line 547, in __run_plugin
    result = method(*args, **kwargs)
             │       │       └ {}
             │       └ (<flexget.task.Task object at 0x7f02dd3c17d0>, {'host': 'xxx', 'port': 9091, 'username': 'xxx', 'password': 'xxx...
             └ <Event(name=plugin.transmission.output,func=on_task_output,priority=135)>
  File "/usr/lib/python3.7/site-packages/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
           │    │     │       └ {}
           │    │     └ (<flexget.task.Task object at 0x7f02dd3c17d0>, {'host': 'xxxxx', 'port': 9091, 'username': 'xxxx', 'password': 'xxxx...
           │    └ <bound method PluginTransmission.on_task_output of <flexget.plugins.clients.transmission.PluginTransmission object at 0x7f02d...
           └ <Event(name=plugin.transmission.output,func=on_task_output,priority=135)>
  File "/usr/lib/python3.7/site-packages/flexget/plugins/clients/transmission.py", line 507, in on_task_output
    if any(fnmatch(file_list[f]['name'], mask) for mask in skip_files):
           │       │         │                             └ ['*.nfo', '*.sfv', '*[sS]ample*', '*.txt']
           │       │         └ File(name='xxxx.2020.DANiSH.1080p.BluRay.x264-RCDiVX/xxx.2020.danish.1080p.bluray.x264-rcdivx.r05', size=150...
           │       └ [File(name='xxxx.2020.DANiSH.1080p.BluRay.x264-RCDiVX/xxx.2020.danish.1080p.bluray.x264-rcdivx.r05', size=15...
           └ <function fnmatch at 0x7f02e3375f80>
  File "/usr/lib/python3.7/site-packages/flexget/plugins/clients/transmission.py", line 507, in <genexpr>
    if any(fnmatch(file_list[f]['name'], mask) for mask in skip_files):
           │       │         │           │         └ '*.nfo'
           │       │         │           └ '*.nfo'
           │       │         └ File(name='xxxx.2020.DANiSH.1080p.BluRay.x264-RCDiVX/xxxxx.2020.danish.1080p.bluray.x264-rcdivx.r05', size=150...
           │       └ [File(name='xxxxd.2020.DANiSH.1080p.BluRay.x264-RCDiVX/kxxxx.2020.danish.1080p.bluray.x264-rcdivx.r05', size=15...
           └ <function fnmatch at 0x7f02e3375f80>

TypeError: list indices must be integers or slices, not File
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/flexget/task.py", line 547, in __run_plugin
    result = method(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/flexget/plugins/clients/transmission.py", line 507, in on_task_output
    if any(fnmatch(file_list[f]['name'], mask) for mask in skip_files):
  File "/usr/lib/python3.7/site-packages/flexget/plugins/clients/transmission.py", line 507, in <genexpr>
    if any(fnmatch(file_list[f]['name'], mask) for mask in skip_files):
TypeError: list indices must be integers or slices, not File

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles