You are here

Issues with XML file to load on Xteve

20 posts / 0 new
Last post
Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months
Issues with XML file to load on Xteve

Having issues when I upload my .xml file to Xteve. I get this error shown in the picture: "expected element type tv but have html". When I run the config.xml it does seem to be grabbing the information and license seems to be working fine. Having a hard time trying to figure out where the error is coming from. Thank you for your assistance!

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

my guess is your tvguide.xml somehow got corrupt.
delete it and run webgrab again to create a new one and try to import that into xteve.

Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

Thank you for your response Blackbear199, I just deleted the .xml and recreated it but xteve is still showing me the same error. I don't know it this helps but I am uploading it to gdrive and shortened the url with bit.ly. Whenever I try to upload the .xml from my a directory it shows this error: "stat ./C:\Users\drew1\AppData\Local\WebGrab+Plus: no such file or directory". Hope this helps.

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

its posssible its getting corrupt uploading it to gdrive but i highly doubt this.
why are you not importing it directly to xteve using a local filepath?
i asssume xteve is running on the same pc you using to grab epg data?
been using xteve a long time and never had any issues with it.

Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

So Webgrab++ is on my pc, xsteve I have on my server. Every time I try to import to xteve directly I get this error "C:\Users\drew1\AppData\Local\WebGrab+Plus: File not found" on xteve. I also tried to install xteve on my pc just to see if I get those same errors and both with the link and trying to locate the file path and same thing.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

have you checked your actual tvguide.xml file for this <html> tag?
it shouldnt exist.
check your original tvguide.xml webgrab creates and the one after uploading to gdrive.

Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

I went on both .xml in webgrabplus and the one uploaded on Gdrive and tried to control+f < html > but nothing comes up on the search. I have a feeling it's the .xml file that I might not be configuring correctly. I just tried to upload it on dropbox without bit.ly and the same error comes up on xsteve. Here is the .xml file from the root folder.

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

tvguide.xml wont contain any personal info.
it might be too big though,i thnk 2mb is limit.maybe be sure to zip it.
upload it somewhere else and provide the link if you cant add it here.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

i dont see anything wrong with your xml file.
i think you should ask about this on xteve git.
https://github.com/xteve-project/xTeVe/issues

Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

Here is the file and the file in .zip. It's not a lot of channels yet and only have it for 1 day but I wanted to give it a test to make sure it would be working correctly before I continue to configure it. If there is anything else I can provide please let me know.

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

i downloaded your tvguide.xml and it imported fine for me with no errors.

2022-04-11 17:17:57 [xTeVe] Check File: /raiddata/0/NAS_WebGrab/tvguide.xml
2022-04-11 17:17:58 [xTeVe] XEPG: Parse XMLTV file: tvguide
2022-04-11 17:17:58 [xTeVe] XEPG: Update database

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

tried it also hosting it on my server.loaded fine using a url also.

2022-04-11 17:45:07 [xTeVe] Check File: http://127.0.0.1:89/tvguide.xml
2022-04-11 17:45:08 [xTeVe] XEPG: Parse XMLTV file: tvguide
2022-04-11 17:45:08 [xTeVe] XEPG: Update database

Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

Thank you so much for confirming it's not the configuration, I'm going to try it on another machine. I even click on copy path and paste it on Xteve and it still shows "no such file or directory", it's so weird.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

C:\Users\drew1\AppData\Local\WebGrab+Plus\tvguide.xml

doesnt work?

Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

Just tried it on xsteve and this the error that keeps coming up.

Attachments: 
Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

It finally worked but on the xteve on my pc. Now just have to figure it out how to do it on the server.

Attachments: 
Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

well it dont make sense to me that your running webgrab on pc and xteve on server.
i would put both in one place or the other.
thats how i have mine setup and load my guide.xml from local path into xteve.
then you can host your mapped channel/m3u and guide.xml directly with xteve's built in server.

Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

I understand completely, the reason I did that was because I was getting this error so I figured let me see if it happens on the pc. I like the webgraplus program more on windows compared to the one they have on docker. The one that comes on windows has the run.exe and I don't see that on the docker on unraid option. I stop the container and restart it but nothing updates after that.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 6 hours

webgrab wont run automatically on linux.
easiest way is to just add a crond job to schedule it.
its been discussed here on hte forums(make sure u run it as root).
once u have that setup/working like you want xteve has a built in scheduler u can set to update your tvguide.xml,make sure you set this to a time after you webgrab update is completed.

Drudidz
Offline
Donator
Joined: 2 years
Last seen: 7 months

Thank you for all your help Blackbear199, I will look into this. Ideally would like to have everything on my server as well.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl