Error in 0.28.11
AndreiArdelean1 opened this issue · comments
Confirmation
- I have read the README.md on the project homepage
- I have checked if identical issue already exists
- I have tried downgrading to find version that can be used as a workaround
The problem
After 0.28.10 running ‘watch’ or ‘unmatched’ throws error.
Steps to reproduce the behavior
Run watch command on 0.28.11
Error trace / logs
INFO Connecting with url: http://plex:32400, timeout 30 seconds
ERROR No module named 'plextraktsync.media'
╭───────────────── Traceback (most recent call last) ─────────────────╮
│ /app/plextraktsync/cli.py:26 in wrap │
│ │
│ 23 │ │ │ cmd = getattr(module, name) │
│ 24 │ │ │ │
│ 25 │ │ │ try: │
│ ❱ 26 │ │ │ │ cmd(*args, **kwargs) │
│ 27 │ │ │ except ClickException as e: │
│ 28 │ │ │ │ from plextraktsync.factory import logger │
│ 29 │ │ │ │ logger.fatal(f"Error running {name} command: │
│ │
│ /app/plextraktsync/commands/unmatched.py:9 in unmatched │
│ │
│ 6 │ factory.run_config.update(progressbar=not no_progress_bar) │
│ 7 │ ensure_login() │
│ 8 │ plex = factory.plex_api │
│ ❱ 9 │ mf = factory.media_factory │
│ 10 │ wc = factory.walk_config │
│ 11 │ walker = factory.walker │
│ 12 │
│ │
│ /usr/local/lib/python3.12/functools.py:995 in __get__ │
│ │
│ 992 │ │ │ raise TypeError(msg) from None │
│ 993 │ │ val = cache.get(self.attrname, _NOT_FOUND) │
│ 994 │ │ if val is _NOT_FOUND: │
│ ❱ 995 │ │ │ val = self.func(instance) │
│ 996 │ │ │ try: │
│ 997 │ │ │ │ cache[self.attrname] = val │
│ 998 │ │ │ except TypeError: │
│ │
│ /app/plextraktsync/util/Factory.py:54 in media_factory │
│ │
│ 51 │ │
│ 52 │ @cached_property │
Error: Error running unmatched command: No module named 'plextraktsync.media'
│ 53 │ def media_factory(self): │
│ ❱ 54 │ │ from plextraktsync.media.MediaFactory import MediaFac │
│ 55 │ │ │
│ 56 │ │ trakt = self.trakt_api │
│ 57 │ │ plex = self.plex_api │
╰─────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'plextraktsync.media'
Expected behavior
Don’t throw error
Inspect of problematic items
No response
Workarounds
Run ducker image with tag ‘0.28.11’
Install method
docker-compose
Config file contents
No response
Version
0.28.11
Python Version
Plex Server Version
1.32.8.7639-fb6452ebf
Operating System and Version
Ubuntu host
Me too in Windows 10 x64
476.1ms (setup:858): 2024-01-20 15:31:23
476.1ms (setup:859): C:\Users\Username\AppData\Local\Programs\Python\Python312\Scripts\pipx list --json
476.1ms (setup:860): pipx version is 1.4.3
477.1ms (setup:861): Default python interpreter is 'C:\Users\Username\AppData\Local\Programs\Python\Python312\python.exe'
483.1ms (run_subprocess:168): running <checking pip's availability>
564.1ms (run_subprocess:190): stdout: ModuleSpec(name='pip', loader=<_frozen_importlib_external.SourceFileLoader object at 0x000002B9373F7DD0>, origin='C:\Users\Username\.local\pipx\shared\Lib\site-packages\pip\init.py', submodule_search_locations=['C:\Users\Username\.local\pipx\shared\Lib\site-packages\pip'])
565.1ms (run_subprocess:193): returncode: 0
565.1ms (needs_upgrade:78): Time since last upgrade of shared libs, in seconds: 373. Upgrade will be run by pipx if greater than 2592000.
565.1ms (run_subprocess:168): running <checking pip's availability>
640.1ms (run_subprocess:190): stdout: ModuleSpec(name='pip', loader=<_frozen_importlib_external.SourceFileLoader object at 0x0000018DD7197DD0>, origin='C:\Users\Username\.local\pipx\shared\Lib\site-packages\pip\init.py', submodule_search_locations=['C:\Users\Username\.local\pipx\shared\Lib\site-packages\pip'])
640.1ms (run_subprocess:193): returncode: 0
642.1ms (run_subprocess:168): running <checking pip's availability>
717.1ms (run_subprocess:190): stdout: ModuleSpec(name='pip', loader=<_frozen_importlib_external.SourceFileLoader object at 0x000001D772C37DD0>, origin='C:\Users\Username\.local\pipx\shared\Lib\site-packages\pip\init.py', submodule_search_locations=['C:\Users\Username\.local\pipx\shared\Lib\site-packages\pip'])
717.1ms (run_subprocess:193): returncode: 0
718.1ms (run_subprocess:168): running <checking pip's availability>
795.1ms (run_subprocess:190): stdout: ModuleSpec(name='pip', loader=<_frozen_importlib_external.SourceFileLoader object at 0x00000291F5A67DD0>, origin='C:\Users\Username\.local\pipx\shared\Lib\site-packages\pip\init.py', submodule_search_locations=['C:\Users\Username\.local\pipx\shared\Lib\site-packages\pip'])
796.1ms (run_subprocess:193): returncode: 0
797.1ms (cli:932): pipx finished.
@AndreiArdelean1 please recheck your versions and fix issue details. what version is broken? what version last worked? also show exact command line. your bugreport not reproducible, you haven't even shared your compose file or how you run and what.
@Havokdan mee too what? don't see any resemblance of original reporter, and you also haven't shown any details what are you doing. you probably should open your own bug report.