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

tvgrabpy looping after exception in sources. #47

Closed
pensionado opened this issue Feb 2, 2020 · 6 comments
Closed

tvgrabpy looping after exception in sources. #47

pensionado opened this issue Feb 2, 2020 · 6 comments
Assignees
Labels

Comments

@pensionado
Copy link

My daily tv program update this morning was looping, which happens from time to time, but even after repeated manual starts it kept failing, I suspect the culprit is this:
`Loaded the English texts file
Using config file: /home/geert/.xmltv/tv_grab_nl3_py.conf
Downloading tv_grab_API.json...
Downloading tv_grab_nl.json...
Exception in thread source-primo.eu:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/tvgrabpyAPI/tv_grab_fetch.py", line 2037, in run
detail_idx = self.config.detail_sources.index(self.proc_id)
ValueError: 9 is not in list

Verifying the database
`
Suspect that problem originates from the downloaded files outside my control. Please advise which documentation you need.

@JanCeuleers
Copy link

In order not to make this purely a "me too" comment (but nevertheless: I am also experiencing this problem with the same symptoms and therefore probably a different selection of channels) let me add a little information about the symptoms I see:

The above error message appears quite quickly after the grabber starts. Despite the exception the grabber then proceeds but does not appear ever to terminate, consuming a fair amount of CPU. I have had to kill it.

Removing the program cache does not have any effect.

@vanesp
Copy link

vanesp commented Feb 2, 2020

Sorry. Have to make the "me too" comment. Moi aussi...

@hikavdh
Copy link
Contributor

hikavdh commented Feb 2, 2020

Yes I, I see it too, although not the error Pensionado is mentioning or any error. It seems to be the ever again recurring problem on disabling a source. Grrr.

@hikavdh hikavdh self-assigned this Feb 2, 2020
@hikavdh hikavdh added the bug label Feb 2, 2020
@hikavdh
Copy link
Contributor

hikavdh commented Feb 2, 2020

OK, weirdly enough the error with me does not show in the log, but does on the screen and I have identified it as coming from primo being a detail source. I removed the pointer from the primo sourcefile. Possibly now this error won't occur anymore, but I'm still testing and fixing it for the soon to come update to make the new humo work.

@hikavdh
Copy link
Contributor

hikavdh commented Feb 2, 2020

Fixed.

@hikavdh hikavdh closed this as completed Feb 2, 2020
@vanesp
Copy link

vanesp commented Feb 8, 2020

Thanks

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

No branches or pull requests

4 participants