PlexTraktSync: Trakt official lists raise : 'TraktList' object has no attribute 'trakt_items'
Confirmation
- I have read the README.md on the project homepage
- I have checked if identical issue already exists
The problem
Traceback (most recent call last):
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\IDE\.py\PlexTraktSync-0.23.4\plextraktsync\__main__.py", line 18, in <module>
cli()
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "D:\IDE\.py\PlexTraktSync-0.23.4\plextraktsync\cli.py", line 53, in cli
sync()
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\victo\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "D:\IDE\.py\PlexTraktSync-0.23.4\plextraktsync\cli.py", line 28, in wrap
cmd(*args, **kwargs)
File "D:\IDE\.py\PlexTraktSync-0.23.4\plextraktsync\commands\sync.py", line 57, in sync
runner.sync(walker=w, dry_run=config.dry_run)
File "D:\IDE\.py\PlexTraktSync-0.23.4\plextraktsync\sync.py", line 90, in sync
listutil.addPlexItemToLists(movie)
File "D:\IDE\.py\PlexTraktSync-0.23.4\plextraktsync\trakt_list_util.py", line 97, in addPlexItemToLists
tl.addPlexItem(m.trakt, m.plex.item)
File "D:\IDE\.py\PlexTraktSync-0.23.4\plextraktsync\trakt_list_util.py", line 61, in addPlexItem
rank = self.trakt_items.get((trakt_item.media_type, trakt_item.trakt))
AttributeError: 'TraktList' object has no attribute 'trakt_items'
D:\IDE\.py\PlexTraktSync-0.23.8>
Error trace / logs
2022-11-01 11:49:48,271 WARNING[gitinfo.gitinfo]:No git dir found]
2022-11-01 11:50:23,519 ERROR[plexapi]:http://139.162.130.28:8443: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2022-11-01 11:50:44,443 ERROR[plexapi]:http://46.164.221.196:33400: HTTPConnectionPool(host='46.164.221.196', port=33400): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001FAEB4D0DC0>, 'Connection to 46.164.221.196 timed out. (connect timeout=30)'))
2022-11-01 11:50:44,443 ERROR[plexapi]:https://46-164-221-196.e2111fcb49ed4b5c9070f0b62df6213e.plex.direct:33400: HTTPSConnectionPool(host='46-164-221-196.e2111fcb49ed4b5c9070f0b62df6213e.plex.direct', port=33400): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001FAEB4D1240>, 'Connection to 46-164-221-196.e2111fcb49ed4b5c9070f0b62df6213e.plex.direct timed out. (connect timeout=30)'))
2022-11-01 11:51:40,546 INFO[PlexTraktSync]:Sync Movie sections: [<PlexLibrarySection:movie:Документальное>, <PlexLibrarySection:movie:Короткометражки>, <PlexLibrarySection:movie:Фильмы>]
2022-11-01 11:51:40,553 INFO[PlexTraktSync]:Sync Show sections: [<PlexLibrarySection:show:Аниме>, <PlexLibrarySection:show:Сериалы>]
2022-11-01 11:51:43,020 INFO[PlexTraktSync]:Downloaded List Alien 40th Anniversary Short Films
2022-11-01 11:51:43,611 INFO[PlexTraktSync]:Downloaded List Alien
2022-11-01 11:51:44,762 INFO[PlexTraktSync]:Downloaded List Scary-Movies
2022-11-01 11:51:45,426 INFO[PlexTraktSync]:Downloaded List Popular Horror
2022-11-01 11:52:16,421 WARNING[gitinfo.gitinfo]:No git dir found
2022-11-01 11:52:16,427 INFO[PlexTraktSync]:PlexTraktSync [0.23.0dev0]
2022-11-01 11:52:16,522 INFO[PlexTraktSync]:Sync Movie sections: [<PlexLibrarySection:movie:Документальное>, <PlexLibrarySection:movie:Короткометражки>, <PlexLibrarySection:movie:Фильмы>]
2022-11-01 11:52:16,527 INFO[PlexTraktSync]:Sync Show sections: [<PlexLibrarySection:show:Аниме>, <PlexLibrarySection:show:Сериалы>]
2022-11-01 11:52:19,369 INFO[PlexTraktSync]:Downloaded List Alien 40th Anniversary Short Films
2022-11-01 11:52:19,380 INFO[PlexTraktSync]:Downloaded List Alien
2022-11-01 11:52:19,402 INFO[PlexTraktSync]:Downloaded List Scary-Movies
2022-11-01 11:52:19,415 INFO[PlexTraktSync]:Downloaded List Popular Horror
Expected behavior
Synchronization of views and ratings.
Steps to reproduce the behavior
Installation with [pipx]:
- pipx install PlexTraktSync to run:
- plextraktsync
Inspect of problematic items
No response
Workarounds
No response
Install method
pipx
Version
0.23.8
Python Version
3.7.10
Operating System and Version
Windows 11 Pro
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 41
Commits related to this issue
- Add instructions to install from pull request to main readme — committed to Taxel/PlexTraktSync by glensc 2 years ago
@bulletproof2k so, waiting reproducer exact steps then.