digitalec / deemon

Monitor specified artists for new releases
GNU General Public License v3.0
176 stars 15 forks source link

TypeError: vars() argument must have dict attribute #102

Closed pokemaster974 closed 7 months ago

pokemaster974 commented 11 months ago

Hi, I got an error when trying to make a refresh. Downloads seems to have been ok. For information, one of the releases can't be download but it's bypass because of the settings in my .json "halt_download_on_error": false

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Program Files\Python311\Scripts\deemon.exe__main.py", line 7, in <module>
  File "C:\Program Files\Python311\Lib\site-packages\deemon__main.py", line 5, in main
    cli.run()
  File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1130, in call
    return self.main(args, kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 760, in invoke
    return __callback(args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\site-packages\deemon\cli.py", line 293, in refresh_command
    refresh.run()
  File "C:\Program Files\Python311\Lib\site-packages\deemon\cmd\refresh.py", line 272, in run
    dl.download_queue(self.queue_list)
  File "C:\Program Files\Python311\Lib\site-packages\deemon\cmd\download.py", line 224, in download_queue
    raw_values = [str(x) for x in vars(failed[0]).values()]
                                  ^^^^^^^^^^^^^^^
TypeError: vars() argument must have dict attribute

Thanks.