Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some errors occurred when syncing the playback progress #646

Open
luanche opened this issue May 11, 2024 · 5 comments
Open

Some errors occurred when syncing the playback progress #646

luanche opened this issue May 11, 2024 · 5 comments

Comments

@luanche
Copy link
Contributor

luanche commented May 11, 2024

Expected Behavior

sync the movies or tv shows playback progress normally.

Current Behavior

some errors in log when I tried to syncing playback progress back to Kodi

Possible Solution

I have no idea, but I will post my log on https://paste.kodi.tv/utixeqaces

2024-05-11 19:20:39.263 T:13041   error <general>: Exception in thread 
2024-05-11 19:20:39.263 T:13041   error <general>: trakt-sync
2024-05-11 19:20:39.263 T:13041   error <general>: :
                                                   
2024-05-11 19:20:39.263 T:13041   error <general>: 
2024-05-11 19:20:39.263 T:13041   error <general>: Traceback (most recent call last):
                                                   
2024-05-11 19:20:39.263 T:13041   error <general>: 
2024-05-11 19:20:39.263 T:13041   error <general>:   File "/Applications/Kodi.app/Contents/Libraries/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
                                                   
2024-05-11 19:20:39.264 T:13041   error <general>: 
2024-05-11 19:20:39.264 T:13041   error <general>:     
2024-05-11 19:20:39.264 T:13041   error <general>: self.run()
2024-05-11 19:20:39.264 T:13041   error <general>: 
                                                   
2024-05-11 19:20:39.264 T:13041   error <general>: 
2024-05-11 19:20:39.264 T:13041   error <general>:   File "/Users/luanche/Library/Application Support/Kodi/addons/script.trakt/resources/lib/service.py", line 424, in run
                                                   
2024-05-11 19:20:39.265 T:13041   error <general>: 
2024-05-11 19:20:39.265 T:13041   error <general>:     
2024-05-11 19:20:39.265 T:13041   error <general>: sync.sync()
2024-05-11 19:20:39.265 T:13041   error <general>: 
                                                   
2024-05-11 19:20:39.265 T:13041   error <general>: 
2024-05-11 19:20:39.265 T:13041   error <general>:   File "/Users/luanche/Library/Application Support/Kodi/addons/script.trakt/resources/lib/sync.py", line 60, in sync
                                                   
2024-05-11 19:20:39.265 T:13041   error <general>: 
2024-05-11 19:20:39.265 T:13041   error <general>:     
2024-05-11 19:20:39.265 T:13041   error <general>: syncMovies.SyncMovies(self, progress)
2024-05-11 19:20:39.265 T:13041   error <general>: 
                                                   
2024-05-11 19:20:39.266 T:13041   error <general>: 
2024-05-11 19:20:39.266 T:13041   error <general>:   File "/Users/luanche/Library/Application Support/Kodi/addons/script.trakt/resources/lib/syncMovies.py", line 53, in __init__
                                                   
2024-05-11 19:20:39.266 T:13041   error <general>: 
2024-05-11 19:20:39.266 T:13041   error <general>:     
2024-05-11 19:20:39.266 T:13041   error <general>: self.__addMovieProgressToKodi(traktMoviesProgress, kodiMovies, 81, 91)
2024-05-11 19:20:39.266 T:13041   error <general>: 
                                                   
2024-05-11 19:20:39.266 T:13041   error <general>: 
2024-05-11 19:20:39.266 T:13041   error <general>:   File "/Users/luanche/Library/Application Support/Kodi/addons/script.trakt/resources/lib/syncMovies.py", line 503, in __addMovieProgressToKodi
                                                   
2024-05-11 19:20:39.267 T:13041   error <general>: 
2024-05-11 19:20:39.267 T:13041   error <general>:     
2024-05-11 19:20:39.267 T:13041   error <general>: line2=kodiUtilities.getString(32127)
2024-05-11 19:20:39.267 T:13041   error <general>: 
                                                   
2024-05-11 19:20:39.267 T:13041   error <general>: 
2024-05-11 19:20:39.267 T:13041   error <general>:  
2024-05-11 19:20:39.267 T:13041    info <general>: Skipped 9 duplicate messages..
2024-05-11 19:20:39.267 T:13041   error <general>: ^
2024-05-11 19:20:39.268 T:13041    info <general>: Skipped 29 duplicate messages..
2024-05-11 19:20:39.268 T:13041   error <general>: 
                                                   
2024-05-11 19:20:39.268 T:13041   error <general>: 
2024-05-11 19:20:39.269 T:13041   error <general>: TypeError
2024-05-11 19:20:39.269 T:13041   error <general>: : 
2024-05-11 19:20:39.269 T:13041   error <general>: not all arguments converted during string formatting

Steps to Reproduce (for bugs)

  1. run Trakt in addon
  2. the sync progress will stuck on syncing playback progress

Context

Your Environment

  • Version used: script.trakt v3.6.1
  • Kodi version used: Kodi (21.0 (21.0.0) Git:20240406-60c4500054) x64
  • Operating System and version: Apple Inc. Macmini6,2 with macOS 10.15.7 (Version 10.15.7 (Build 19H2026))
@razzeee
Copy link
Collaborator

razzeee commented May 12, 2024

Which ui language are you using and can you provide a complete log, like mentioned in the readme (and I think in the issue template too)

@luanche
Copy link
Contributor Author

luanche commented May 13, 2024

Which ui language are you using and can you provide a complete log, like mentioned in the readme (and I think in the issue template too)

Thanks for you reply.
You might try these configs to reproduce this issue:

  1. Interface->Skin->Font: 'Arial based',
  2. Interface->Regional-Language: 'Chinese (Simple)'

Tips: Please change the font first, then change the language or you will get an incorrect interface

After these configs and trying to run Trakt addon manully, the sync progress will stuck on syncing playback progress.

Here is the full log file https://paste.kodi.tv/libujezefu

@razzeee
Copy link
Collaborator

razzeee commented May 13, 2024

This translation is missing a placeholder then

msgstr "%i部电影的播放进度正在Kodi中更新"

You can change them here https://kodi.weblate.cloud/projects/kodi-add-ons-scripts/script-trakt/zh_cn/

@luanche
Copy link
Contributor Author

luanche commented May 13, 2024

Yes, I just found it.
But I dont have access to change it. and I already sent a suggestion
image

@luanche
Copy link
Contributor Author

luanche commented May 17, 2024

Hello, I just wondering when the translation will be synced back to github. This error is literally blocking the feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants