home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
XMLTVImport duplicate item error
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="willemx" data-source="post: 1250092" data-attributes="member: 84794"><p>I did some more testing:</p><p>I created another simple tvguide.xml containing only 1 item (see attached file).</p><p>I started the import by clicking the Import-button in Mediaportal TV Service configuration app.</p><p>I checked what happened in 3 log files: SetupTv.log, TVService-error.log and TVService.log. (I pasted the relevant log lines together in the attached file logs.txt)</p><p></p><p>As can be seen in SetupTv.log, I started the import at [2018-10-27 10:49:41,632]</p><p></p><p>At [2018-10-27 10:49:42,242], (after less than a second) SetupTv.log reports: Xmltv: imported 1 channels, 1 programs status:tvguide.xml:File imported successfully;</p><p>So you would expect everything to be ok,</p><p>BUT:</p><p></p><p>At [2018-10-27 10:50:29,627] (after nearly a minute), both TVService-error.log and TVService.log report:</p><p>[XmlTvImporter] [ERROR] - XML tv import error loading C:\Users\wille_000\AppData\Local\WebGrab+Plus\tvguide.xml err:Er is al een item met dezelfde sleutel toegevoegd. </p><p> bij System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)</p><p> bij System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)</p><p> bij TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)</p><p></p><p>so, everything is not ok after all...</p><p></p><p>my conclusions:</p><ul> <li data-xf-list-type="ul">tvguide.xml is correct</li> <li data-xf-list-type="ul">something is wrong inside the database or something is wrong with the TvXML import plugin</li> <li data-xf-list-type="ul">the import plugin needs better log reporting like printing out the offending duplicate key value</li> </ul></blockquote><p></p>
[QUOTE="willemx, post: 1250092, member: 84794"] I did some more testing: I created another simple tvguide.xml containing only 1 item (see attached file). I started the import by clicking the Import-button in Mediaportal TV Service configuration app. I checked what happened in 3 log files: SetupTv.log, TVService-error.log and TVService.log. (I pasted the relevant log lines together in the attached file logs.txt) As can be seen in SetupTv.log, I started the import at [2018-10-27 10:49:41,632] At [2018-10-27 10:49:42,242], (after less than a second) SetupTv.log reports: Xmltv: imported 1 channels, 1 programs status:tvguide.xml:File imported successfully; So you would expect everything to be ok, BUT: At [2018-10-27 10:50:29,627] (after nearly a minute), both TVService-error.log and TVService.log report: [XmlTvImporter] [ERROR] - XML tv import error loading C:\Users\wille_000\AppData\Local\WebGrab+Plus\tvguide.xml err:Er is al een item met dezelfde sleutel toegevoegd. bij System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) bij System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) bij TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress) so, everything is not ok after all... my conclusions: [LIST] [*]tvguide.xml is correct [*]something is wrong inside the database or something is wrong with the TvXML import plugin [*]the import plugin needs better log reporting like printing out the offending duplicate key value [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
xmlTV
XMLTVImport duplicate item error
Contact us
RSS
Top
Bottom