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

EPG Error #134

Closed
eric859 opened this issue Jun 24, 2017 · 7 comments
Closed

EPG Error #134

eric859 opened this issue Jun 24, 2017 · 7 comments

Comments

@eric859
Copy link

eric859 commented Jun 24, 2017

Got an error with standard install, so I replaced the .pl with the latest updated xmltv_parser.pl that fixed the unicode issue. Using both http link to xml as well as downloaded xml from same link I still get the following error:

2017-06-24 15:17:46,298 (b14) :  CRITICAL (core:574) - Exception in thread named 'GuideReloader' (most recent call last):
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-995f1dead\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "C:\Users\htpc2\AppData\Local\Plex Media Server\Plug-ins\IPTV.bundle\Contents\Code\xmltv_parser.py", line 123, in GuideReloader
    LoadGuide()
  File "C:\Users\htpc2\AppData\Local\Plex Media Server\Plug-ins\IPTV.bundle\Contents\Code\xmltv_parser.py", line 83, in LoadGuide
    desc = programme.find('desc').text.decode("utf-8")
AttributeError: 'NoneType' object has no attribute 'decode'
@eric859
Copy link
Author

eric859 commented Jun 24, 2017

Is a 2.2MB file too big for Plex?

@ghost
Copy link

ghost commented Jun 24, 2017

I don't think so

@eric859
Copy link
Author

eric859 commented Jun 24, 2017

Then I'm at a loss. The xml file header says UTF-8. It works with all the other software I've been testing with. Just not this one.

@ghost
Copy link

ghost commented Jun 24, 2017

I'll check my epg size and let you know what it is , if it's bigger maybe you can try mine to confirm

@eric859
Copy link
Author

eric859 commented Jun 24, 2017

Thanks! Let me know. I've attached mine in case you would be able to test it. If not, no problem.
xmltv.xml.txt

Cigaras added a commit that referenced this issue Jun 26, 2017
* Empty programme description fix (#134)
@yurra2
Copy link

yurra2 commented Aug 9, 2017

Hi All!
Still have the issue on 2.1.6
Using xmltv epg from here http://programtv.ru/xmltv.xml.gz

@Cigaras Cigaras removed the Fixed label Aug 18, 2017
@Cigaras
Copy link
Owner

Cigaras commented Sep 4, 2017

@yurra2, Your issue is fixed by @tylerrichey (0bc3e16), latest version 2.1.6 is available in releases section.

However I see Your program guide is quite big, when I try to manually load it in Plex Web client it says that the server is not responding because it takes more time for server to load the xml than client is willing to wait. But server loads the whole xml without issues disregarding the error the client shows. For now I do not have a solution for that client side error message... Maybe I will move manual loading to the background where automatic loading is running now, someday in the future...

@Cigaras Cigaras added the Fixed label Sep 4, 2017
@Cigaras Cigaras closed this as completed Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants