nicklan / Deluge-Pieces-Plugin

A plugin to show the status of each piece of a torrent in deluge
73 stars 34 forks source link

Cannot read properties of undefined (reading 'get_config') #33

Open Spider84 opened 2 years ago

Spider84 commented 2 years ago

After some time of work unable to load WebUI content.

  1. After WebUI starts - it's work correctly w/o any errors and warnings.
  2. After some time (hours) - it's stop show content. UI stil work, but now torrents and no Buttons reaction. In Chrome console next log:
Uncaught TypeError: Cannot read properties of undefined (reading 'get_config')
    at constructor.updateConfig (pieces.js:62:25)
    at new constructor (pieces.js:42:9)
    at S.onEnable (pieces.js:170:23)
    at S.enable (deluge-all.js:243:383)
    at Object.initialize (deluge-all.js:284:226)
    at deluge-all.js:289:440
    at ext-all.js:21:2438
    at b (ext-all.js:21:19924)

Deluge 2.0.5 libtorrent: 2.0.5.0 pieces: libtorrent: 0.6