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

Error 'str' object has no attribute 'items' (modif_torrent)

$
0
0

@ZileXa wrote:

I get multiple errors like this, after switching to Python3, Flexget 2.10.106.

2017-11-12 19:46 DEBUG    modif_torrent download-series-discover The.series.name.S02E06.REAL.HDTV.x264-SVA[rartv] seems to be a torrent
2017-11-12 19:46 DEBUG    entry         download-series-discover trying to debug key `torrent` value threw exception: 'str' object has no attribute 'get'
2017-11-12 19:46 ERROR    modif_torrent download-series-discover 'str' object has no attribute 'items'
Traceback (most recent call last):
  File "/home/osmc/flexget/lib/python3.4/site-packages/flexget/plugins/modify/torrent.py", line 61, in on_task_modify
    entry['torrent_info_hash'] = torrent.info_hash
  File "/home/osmc/flexget/lib/python3.4/site-packages/flexget/utils/bittorrent.py", line 297, in info_hash
    info_data = encode_dictionary(self.content['info'])
  File "/home/osmc/flexget/lib/python3.4/site-packages/flexget/utils/bittorrent.py", line 170, in encode_dictionary
    items = list(data.items())
AttributeError: 'str' object has no attribute 'items'

Full crashlog: https://pastebin.com/WKR3uQP8

the task:

##### Discover and download older episodes#
  download-series-discover:
    priority: 8
    template:
      - series
      - reject
      - torrents
      - transmission-series
      - series-metainfo
    magnets: yes
    convert_magnet:
      timeout: 120 seconds
    discover:
      release_estimations: strict
      interval: 15 minutes
      what:
        - next_series_seasons: yes
        - next_series_episodes: yes
      from:
        - piratebay:
            category: highres tv
        - limetorrents:
            category: tv
        - rarbg:
            category: [1, 18, 41, 49]

How can I help to solve this?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles