Giter Site home page Giter Site logo

Comments (4)

Jorg8 avatar Jorg8 commented on August 14, 2024

It is the first time I use this addon (Kodi on nexus player android tv) and I have seen that this error happens because the content of tvshowList ['show_id'] corresponds to the IMDB id and start with "tt" so it can not be converted to integer.
It also happens to me but at the moment I have not tried to change it and see what happens.

from script.tvtime.

ilansas avatar ilansas commented on August 14, 2024

Same trouble for me

from script.tvtime.

zachside avatar zachside commented on August 14, 2024

Hello, same trouble for me. Sync from Kodi to TV Show is not working (kodi on openelec on raspberryPi). I'll check the log if it can help.

from script.tvtime.

felipesalomao avatar felipesalomao commented on August 14, 2024

I have exactly same problem, i am running kodi 17.6 on raspbian, raspberry pi 3. it cant sync.. same error in log.. Somebody know how fix it?

See log

05:06:41.321 T:1638507264   DEBUG: ### [TVShow Time] - list=[{'season': 5, 'show_id': 257655, 'episode': 6, 'title': u'Arrow'}, {'season': 2, 'show_id': 295647, 'episode': 4, 'title': u'Blindspot'}, {'season': 5, 'show_id': 81189, 'episode': 16, 'title': u'Breaking Bad'}, {'season': 2, 'show_id': 284210, 'episode': 13, 'title': u'Colony'}, {'season': 1, 'show_id': 292174, 'episode': 13, 'title': u'Dark Matter'}, {'season': 8, 'show_id': 79349, 'episode': 12, 'title': u'Dexter'}, {'season': 3, 'show_id': 290853, 'episode': 14, 'title': u'Fear the Walking Dead'}, {'season': 6, 'show_id': 121361, 'episode': 10, 'title': u'Game of Thrones'}, {'season': 3, 'show_id': 274431, 'episode': 7, 'title': u'Gotham'}, {'season': 5, 'show_id': 247897, 'episode': 12, 'title': u'Homeland'}, {'season': 2, 'show_id': 292124, 'episode': 8, 'title': u'Humans'}, {'season': 1, 'show_id': 295760, 'episode': 16, 'title': u'Legends of Tomorrow'}, {'season': 2, 'show_id': 281662, 'episode': 13, 'title': u"Marvel's Daredevil"}, {'season': 2, 'show_id': 289590, 'episode': 1, 'title': u'Mr. Robot'}, {'season': 1, 'show_id': 282670, 'episode': 10, 'title': u'Narcos'}, {'season': 5, 'show_id': 248742, 'episode': 13, 'title': u'Person of Interest'}, {'season': 4, 'show_id': 75340, 'episode': 22, 'title': u'Prison Break'}, {'season': 1, 'show_id': 176941, 'episode': 2, 'title': u'Sherlock'}, {'season': 1, 'show_id': 305288, 'episode': 8, 'title': u'Stranger Things'}, {'season': 5, 'show_id': 268592, 'episode': 2, 'title': u'The 100'}, {'season': 3, 'show_id': 279121, 'episode': 3, 'title': u'The Flash (2014)'}, {'season': 4, 'show_id': 269533, 'episode': 10, 'title': u'The Last Ship'}, {'season': 1, 'show_id': 337480, 'episode': 8, 'title': u'The Mechanism'}, {'season': 2, 'show_id': 276564, 'episode': 13, 'title': u'The Strain'}, {'season': 8, 'show_id': 153021, 'episode': 16, 'title': u'The Walking Dead'}, {'season': 1, 'show_id': 311713, 'episode': 3, 'title': u'Timeless (2016)'}, {'season': 2, 'show_id': 296762, 'episode': 3, 'title': u'Westworld'}, {'season': 2, 'show_id': 280494, 'episode': 15, 'title': u'Z Nation'}]
05:06:41.350 T:1638507264   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: ''
                                            Traceback (most recent call last):
                                              File "/root/.kodi/addons/script.tvshowtime/program.py", line 367, in <module>
                                                start()
                                              File "/root/.kodi/addons/script.tvshowtime/program.py", line 66, in start
                                                first_step()
                                              File "/root/.kodi/addons/script.tvshowtime/program.py", line 89, in first_step
                                                scan(which_way)
                                              File "/root/.kodi/addons/script.tvshowtime/program.py", line 223, in scan
                                                if int(tvshowList[i]['show_id']) == int(tvshowTime['show_id']):
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--
05:06:41.509 T:1638507264    INFO: Python script stopped

from script.tvtime.

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.