SageTV Community  

Go Back   SageTV Community > SageTV International User Forums > SageTV United Kingdom
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV United Kingdom SageTV and SageTV Recorder Users from the UK - This forum is for you to post about specific issues using SageTV software in the UK.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-07-2009, 05:22 AM
newschapmj1 newschapmj1 is offline
Sage User
 
Join Date: May 2004
Location: UK,London
Posts: 56
xmltv importer 'stops' - undeclared entity 'nbsp'

I use Digiguide + Birtles XMLTV grabber with the free XMLTV Importer.

I got the error message below over the last 2 weeks.
It took me a while to look in the error log folder as I would have expected an error alert on the screen.
The Application was still using 17% CPU and the progress bar was changing colour so I thought the application was working normally.

Clicking on "Open Configuration and Logs Folder" pointed me to the cause of the problem

Hopefully this will stop other new users making the same silly mistake

removing nbsp from the xmtv file fixed the problem.
=====================================

20090207 10:04:43.072 - Info - Import Started
20090207 10:04:49.461 - Info - Processing XMLTV Source: Default
20090207 10:04:49.463 - Info - Loading XMLTV File: C:\Users\TV\AppData\Local\VirtualStore\Program Files\SageTV\SageTV\epgdata.xml
20090207 10:04:52.189 - Error - Unable to parse XMLTV File 'C:\Users\TV\AppData\Local\VirtualStore\Program Files\SageTV\SageTV\epgdata.xml': Reference to undeclared entity 'nbsp'. Line 110700, position 35.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg, Int32 lineNo, Int32 linePos)
at System.Xml.XmlTextReaderImpl.HandleGeneralEntityReference(String name, Boolean isInAttributeValue, Boolean pushFakeEntityIfNullResolver, Int32 entityStartLinePos)
at System.Xml.XmlTextReaderImpl.ResolveEntity()
at System.Xml.XmlLoader.LoadEntityReferenceNode(Boolean direct)
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at LMGestion.XMLTVImporter.XMLTVImporter.DoImport()
__________________
PVR-350 (PAL)
Athlon 3200,MSI K7N2 Delta
Nvidia GForce 7600 GS, 1024 MB RAM
Disk ST380011T & ST3160023AS & ST3200822AS
Case Antec Sonata

Vista Home premium, & updates
Sage 6.x
Reply With Quote
  #2  
Old 03-31-2009, 10:05 AM
ElGato's Avatar
ElGato ElGato is offline
Sage Advanced User
 
Join Date: Jun 2008
Location: Oxford, UK
Posts: 104
Send a message via ICQ to ElGato Send a message via MSN to ElGato
How do you stop it happening in the first place?
Reply With Quote
  #3  
Old 04-01-2009, 03:33 AM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
I have a routine that cleans up some common xml problems using ALTER - available freeware around the net. Script does:
Code:
set xvid=C:\XviD\
set log=%xvid%XMLTVlog.txt
set sage=Y:\SageTV\
set gui="C:\Program Files\XMLTV GUI\XmltvGUI.exe"
echo %Date% %time%: XMLTV Started  >> %log%
%gui% /cdigi /Grab /d14
ALTER 5.xml 16 ""
ALTER 5.xml "" ""
ALTER 5.xml "&B;" "+B;"
ALTER 5.xml " " ""
del /Q *.del 2> nul
move /Y 5.xml %sage%
echo %Date% %time%: XMLTV Completed Successfully >> %log%
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #4  
Old 04-17-2009, 12:20 PM
newschapmj1 newschapmj1 is offline
Sage User
 
Join Date: May 2004
Location: UK,London
Posts: 56
Can anyone find this useful alter software?

My google searches are not as good as I thought!
__________________
PVR-350 (PAL)
Athlon 3200,MSI K7N2 Delta
Nvidia GForce 7600 GS, 1024 MB RAM
Disk ST380011T & ST3160023AS & ST3200822AS
Case Antec Sonata

Vista Home premium, & updates
Sage 6.x
Reply With Quote
  #5  
Old 04-18-2009, 11:03 AM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Find alter here:
http://www.resoo.org/docs/dos/free_s...htm#searchrepl
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
Reply

Tags
lmgestion, xmltv importer


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
er... how do i run the xmltv importer sfag SageTV United Kingdom 4 01-20-2009 07:14 AM
XMLTV importer not closing down after import harryf SageTV EPG Service 1 08-17-2008 07:12 PM
LM Gestion XMLTV Importer + lost program guide crollorc SageTV Beta Test Software 7 12-06-2006 09:55 AM
No Scheduled Recordings: StephaneM's XMLTV importer with v6 beta ekiwi SageTV Beta Test Software 7 10-31-2006 07:41 PM
StephaneM's XMLTV importer Question gerberdude SageTV EPG Service 11 07-31-2006 06:50 PM


All times are GMT -6. The time now is 02:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.