Git Product home page Git Product logo

Comments (18)

hikavdh avatar hikavdh commented on June 22, 2024

Try deleting the source definition files in ~/.xmltv/sources (in the userdirectory of the user running it!), so they get downloaded afresh.

from tvgrabpyapi.

easdue avatar easdue commented on June 22, 2024

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

I found the cause for the KeyError and am mostly surprised I have never seen it before. It comes from an error in tv_grab_API.json I just fixed. It might take ten minutes or so to propagate through any cashed data between you and github.
The weird thing is that this code bit deals with switching between the regularly alternating urls for horizon and should have shown up long time ago. Let me know if this solves it.

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

One other question. Does that high load stay indefinitely until you kill the script, and by indefinitely I mean more then 30 minutes?

from tvgrabpyapi.

easdue avatar easdue commented on June 22, 2024

from tvgrabpyapi.

easdue avatar easdue commented on June 22, 2024

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

The same KeyError: u'channel'?
That can't be as that key is no longer in data_def_names["source"]. I changed it to the correct u'channels'.
And tv_grab_API.json is always downloaded from git. So send me a log with the current error.

from tvgrabpyapi.

easdue avatar easdue commented on June 22, 2024

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

I guess you're referring to the dummy copy inside the package. I only update that on a new release. The live one is in the sourcematching repository.

from tvgrabpyapi.

easdue avatar easdue commented on June 22, 2024

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

OK, I get what is happening and to properly fix it, it needs some code adaption. But I think I can fix it for now by adding dummy entries to the horizon definition. I have to check if that won't have any repercussions else. The trouble is that this happens before the thread is tagged active, so the thread manager is not aware and does not correct the state resulting in an indefinite lock-up.

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

That's also why disabling the source does not help.

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

What puzzles me however is that it has not come up before and does not on for instance my system. This part is in place for over a year.

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

That won't do. The dummy entries get filtered by the conversion. I'll see if I can push a fix sometime soon.

from tvgrabpyapi.

erikdrenth avatar erikdrenth commented on June 22, 2024

Thanks for being on it. I'm having the same issues as easdue with exactly the same error (line 1996 and 2143). Can send more info if needed

from tvgrabpyapi.

easdue avatar easdue commented on June 22, 2024

I'm running fedora 27 and I have been using tvgrabpy since this summer. The error popped up I think last week so maybe an update here or there is the culprit (fedora is bleeding edge)

from tvgrabpyapi.

hikavdh avatar hikavdh commented on June 22, 2024

Try https://github.com/tvgrabbers/tvgrabpyAPI/releases/tag/beta-1.0.8-20180310

from tvgrabpyapi.

easdue avatar easdue commented on June 22, 2024

from tvgrabpyapi.

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.