Git Product home page Git Product logo

Comments (10)

dpons039 avatar dpons039 commented on July 30, 2024

Hello Nate,

It's not fixed yet.

08:37:34 T:2787107936 ERROR: Exception in thread trakt-sync:
Traceback (most recent call last):
File "./Lib/threading.py", line 551, in __bootstrap_inner
File "/storage/.xbmc/addons/script.trakt/service.py", line 363, in run
sync.sync()
File "/storage/.xbmc/addons/script.trakt/sync.py", line 753, in sync
self.syncMovies()
File "/storage/.xbmc/addons/script.trakt/sync.py", line 725, in syncMovies
self.xbmcUpdateMovies(xbmcMoviesToUpdate)
File "/storage/.xbmc/addons/script.trakt/sync.py", line 694, in xbmcUpdateMovies
y = ((i / x) * 20) + 60
NameError: global name 's' is not defined

from script.trakt.

nate1280 avatar nate1280 commented on July 30, 2024

There's something else going on there, considering that function now has no variable named s in it at all. The line its erroring on doesn't even use the variable s.

from script.trakt.

N3MIS15 avatar N3MIS15 commented on July 30, 2024

That name error makes no sense at all. Did you restart XBMC after updating the addon?

from script.trakt.

dpons039 avatar dpons039 commented on July 30, 2024

Hello,
Yes, I had it restarted.
I did the following:1. Uninstall the old version2. restart3. Install the new version from the zip4. restart5. Run the manual sync

Best regards,

David Pons

from script.trakt.

nate1280 avatar nate1280 commented on July 30, 2024

Not sure whats going on, I removed play counts on all my movies, and tested a manual sync, and it goes through that code without issue.

from script.trakt.

dpons039 avatar dpons039 commented on July 30, 2024

I removed the playcounts on some movies and it was running alright, no errors. Also I realize that the error usually appeared after the "workers" get inactive. When the playcounts are a lot and some how the script stops processing for 30minutes forcing to reboot.

from script.trakt.

nate1280 avatar nate1280 commented on July 30, 2024

It may seem like it stops working, but, it sends upto 50 updates at a time through the XBMC JSON rpc, and, unfortunately, those are slow.. Nothing can be done about this part unfortunately.

The only other reason it would stop at all, is if it crashes, but you would see this in the log.

from script.trakt.

dpons039 avatar dpons039 commented on July 30, 2024

Aja, that means that if there are 200 to be updated they'll be sent in batches of 50? That was when it stopped, And it was there for 1h and no changes on the log or anything.

from script.trakt.

nate1280 avatar nate1280 commented on July 30, 2024

Yes, if it has to do 200 updates, it will call the XBMC JSON api 4 times, each with 50 update calls.

So 200 updates, will unfortunately take a bit of time.

from script.trakt.

dpons039 avatar dpons039 commented on July 30, 2024

OK, I'll keep up an eye on the logs for any error that may come up. Will keep you updated if the case.

from script.trakt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.