You are here

Still having Unhandled Exception post processing messga

8 posts / 0 new
Last post
Bernie V
Offline
Joined: 6 months
Last seen: 6 months
Still having Unhandled Exception post processing messga

Hi,

I discoverd this forum some days ago and love it!. I just can't get around the exception error message. I attached my files and logs. Any ideas?

I'm on the latest exe and ini versions.

Regards,

Bernd

Attachments: 
Blackbear199
Online
Joined: 1 year
Last seen: 1 min

u have a few problems.

1st if you have never used mdb with webgrab before congratulations as you were very close on your setup.

the humo.be.ini file has not been updated to use the new season/episode system(Sx Ey) thats available since webgrab version 56.25.

this is required because the new postprocessor V2.02 needs to know how to interept the season/episode information.

attatched is the updated ini with this fixed.

now for mdb to use this season/episode system it has to be given the formats for it.

in your mdb.config.xml you need to add the <episode-num pattern....</episode-num> information for each site your wish to use with mdb.either replace one of the existing line or add this one..

  <episodenum_pattern site="humo.be">"S'S1' E'E1'/'Et1'"""S'S1' E'E1'""E'E1'/'Et1'""E'E1'"</episodenum_pattern>

if you want to know what to put for these patterns just open the ini your are using(humo.be.ini) and look for the index_episode/episode line that conrtains it,for this site its this..

index_episode.modify {substring(type=regex pattern="Seizoen 'S1' Aflevering 'E1'/'Et1'"""Seizoen 'S1' Aflevering 'E1'""Seizoen 'S1'""Aflevering 'E1'/'Et1'""Aflevering 'E1'")|"^.*$"}

each pattern must be in its own " ".

lets look at a pattern,i'll use the first one...

"Seizoen 'S1' Aflevering 'E1'/'Et1'"

this is the format webgrab gets it from the site when it grabs the epg data.

look in the V2.02 thread for what these patterns means as i wont explain them all.i'll do just this one.

S1 - season number using 1 based

E1 - episode number using one based

Et1 - episode total number using one based

so webgrab takes this information and converts it to Sx Ex/Etx.

so say it got Seizoen 3 Aflevering 2/5 it would convert this to S3 E2/5 and this is what is written to your guide.xml

this is also the pattern you need to put in your mdb.config.xml which is the first pattern shown.

all the other patterns are usually a variation of the first one(thats how i do it when i create a ini).

so the second pattern is season and episode(no episode total),third is season only,fourth is episode/episode total,last episode only.

you see the similarities between them all now?

whit these changes it show not crash anymore.i tried on on your first channel(een) with 1 day epg and the results are not that good...

[  Debug ] Mdb data found for 0 out of 1 Movies-candidates
[  Debug ] Mdb data found for 4 out of 15 Series-candidates

this is mostly because mdb cannot do magic,any show without atleast a subtitle and or season/episode number will most likely not get a match.

also dont forget that any channel you do not want mdb to run on you can add to the bottom of your mdb.config.xml(before the </settings> tag) and it will be skipped.this will save time inspection shows it doesnt have to.

 

 

 

 

 

 

Attachments: 
Bernie V
Offline
Joined: 6 months
Last seen: 6 months

Great info, thx! It works! Meanwhile I'm busy with the rex process.

In my webgrab++config.xml I have at the moment these 2 lines for postprocessing

<postprocess run="y" grab="y">mdb</postprocess>
 <postprocess run="y" grab="y">rex</postprocess>

I would like to replace the full <credits> element from /mdb/guide.xml to /rex/guide.xml in the rex process. Is this possible?

I tried it with adding <credits> in the rex config file at the end but that didn't work

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

you cannot run both post processors,its either mdb or rex.

what you can do(and how i would do it) is when you run wegrab to grab the epg data from websites use the mdb post processor.

<postprocess run="y" grab="y">mdb</postprocess>

then after that use another instance of webgrab..

create a folder and all you need is the webgrab.exe,webgrab++config.xml rex folder(containing rex.config.xml)

the run that instance of webgrab using..

<postprocess run="n" grab="y">rex</postprocess>

add 1 dummy channel( any channel) to you webgrab++config.xml.webgrab needs atleast one listed or it will error.it wont be used as as you can see i have grabbing disabled.were just going to run rex.

what your trying wont work because of this is...

the path and filename you have in your first wegrab++config.xml(one thats grabs epg data and runs mdb) id what mdb uses as it source and outputs the mdb.xml(with additional mdn information).

if you have rex also it uses the same file so the original source xml is used again.

what you wan tis how i described..

first instance of webgrab runs,gets epg data from websites.lets call it guide.xml

after it completes mdb runs and uses guide.xml as its source,gets any mdb data that it can,writes a new file.lets call it mdb.guide.xml

now,using your second instance of webgrab(one with grabbing disabled and rex post processor  enabled)

use the path to the mdb.guide.xml as your source and rex will run as create its own xml.lets call it rex.guide.xml

this way both processors have been run on the source data.

your way its not.

rex is used to move,delete,alter whats already there.it cannot add whats not there.i think your seeing this because of what i described above.your only viewing the data after one post processor or another has run not both on the same data.

 

 

 

Bernie V
Offline
Joined: 6 months
Last seen: 6 months

After the mdb proces I saw some weired changes in the xml file concerning  <episode-num system="onscreen">. In some programs the element is changed to <episode-num system="onscreen}">

What could be the cause of adding } in this element?

 

<programme start="20170122143500 +0100" stop="20170122150500 +0100" channel="vtm">
    <title lang="nl">Sean Saves the World</title>
    <sub-title lang="nl">Date Expectation</sub-title>
    <desc lang="nl">Sean is zenuwachtig: hij heeft een blind date. Bovendien maakt hij zich zorgen over Ellie die naar een feestje gaat. Max vermoedt dat Sean een oogje op hem heeft (n)</desc>
    <credits>
      <actor>Sean Hayes</actor>
      <actor>Megan Hilty</actor>
      <actor>Echo Kellum</actor>
      <actor>Samantha Isler</actor>
      <actor>Thomas Lennon</actor>
      <actor>Linda Lavin</actor>
      <actor>Robert Gant</actor>
      <actor>Kaden Hetherington</actor>
    </credits>
    <date>2013</date>
    <category lang="nl">serie-komedie</category>
    <icon src="http://webgrabplus.com/%3Ca%20href%3D"http://img.humo.be/q100/w400/h/epg/img_767/767783.jpg">http://img.humo.be/q100/w400/h/epg/img_767/767783.jpg" />
    <icon src="http://webgrabplus.com/%3Ca%20href%3D"https://images-na.ssl-images-amazon.com/images/M/MV5BNjE5MzE5NzYwMl5BMl5BanBnXkFtZTgwODQwMjY1MjE@._V1_UY268_CR87,0,182,268_AL_.jpg">https://images-na.ssl-images-amazon.com/images/M/MV5BNjE5MzE5NzYwMl5BMl5BanBnXkFtZTgwODQwMjY1MjE@._V1_UY268_CR87,0,182,268_AL_.jpg" />
    <episode-num system="onscreen">S1 E3</episode-num>
    <episode-num system="onscreen}">S1E3</episode-num>
    <video>
      <quality>hdtv</quality>
    </video>
    <star-rating system="imdb">
      <value>7/10</value>
    </star-rating>
  </programme>
  <programme start="20170122150500 +0100" stop="20170122153000 +0100" channel="vtm">
    <title lang="nl">'Til Death</title>
    <sub-title lang="nl">Doug and Ally Return</sub-title>
    <desc lang="nl">Eddie en Joy zoeken een plaatsje voor hun nieuwe jacuzzi. Ze krijgen onverwacht bezoek van hun dochter Ally en haar vriendje Doug. Zij hebben groot nieuws: ze zijn 'getrouwd' door een sjamaan in Ecuador en willen in de achtertuin van hun ouders komen wonen. Eddie en Joy zien dit allesbehalve zitten en stellen alles in het werk om dit plan te dwarsbomen (n)</desc>
    <credits>
      <actor>Brad Garrett</actor>
      <actor>Joely Fisher</actor>
      <actor>Timm Sharp</actor>
      <actor>Lindsey Broad</actor>
    </credits>
    <date>2009</date>
    <category lang="nl">serie-sitcom</category>
    <icon src="http://webgrabplus.com/%3Ca%20href%3D"http://img.humo.be/q100/w400/h/epg/img_767/767785.jpg">http://img.humo.be/q100/w400/h/epg/img_767/767785.jpg" />
    <icon src="http://webgrabplus.com/%3Ca%20href%3D"https://images-na.ssl-images-amazon.com/images/M/MV5BMTczODcyNzkxNl5BMl5BanBnXkFtZTgwNzMxNjg0MjE@._V1_UY268_CR87,0,182,268_AL_.jpg">https://images-na.ssl-images-amazon.com/images/M/MV5BMTczODcyNzkxNl5BMl5BanBnXkFtZTgwNzMxNjg0MjE@._V1_UY268_CR87,0,182,268_AL_.jpg" />
    <episode-num system="onscreen">S4 E1/33</episode-num>
    <episode-num system="onscreen">S4E1</episode-num>
    <video>
      <quality>hdtv</quality>
    </video>
    <star-rating system="imdb">
      <value>7.4/10</value>
    </star-rating>
  </programme>

 

 

Blackbear199
Online
Joined: 1 year
Last seen: 1 min

never seen that before.

its definitely comming from the mdb process because there is no space between the season and episode information.

seeing its series shows are you still using the tvdb ini for them?(thats what u have in your zip files above).

if so open the tvdv.com.bing.ini and near the top you will see this..

*site {episodesystem=xmltv_ns}

remove the * at the beginning of the line(this enables the setting) and change it to..

episodesystem=onscreen

when no episodesystem= setting is given webgrab should default to onscreen which its doing for you but sometimes your getting the }.

maybe setting this value will solve your issue.

what i find weird is this setting cannot be altered  by the user with any kind of modification.its either onscreen or xmltv_ns.

these are the only 2 values webgrab reconizes internally so how the } is getting in there is beyond me.

 

 

 

Bernie V
Offline
Joined: 6 months
Last seen: 6 months

I use these ini's at the moment: <site series="imdb.com.imdb_series.onscreen,imdb.com.bing_series" movies="imdb.com.bing,imdb.com.ask"></site>

 

Bernie V
Offline
Joined: 6 months
Last seen: 6 months

I found the cause. In my imdb.com.bing_series.ini there was this line: site {url=imdb.com|mdbinitype=serie|cultureinfo=en-GB|charset=UTF-8|matchfactor=70|searchsite=imdb|episodesystem=onscreen}}

with at the end }}

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