You are here

Unhandled Exception MDB & REX

20 posts / 0 new
Last post
priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years
Unhandled Exception MDB & REX

Dear Sir,

- version WG++ 3.0.2.0
- Windows 10

How to fix unhandled exeption, i use default mdb and rex config file.

[ Info ] Job (MDB Version: 2.10) started at 05/05/2020 15:22:12
[ Info ]
[ Info ] Starting MDB Postprocess .. Version: 2.10
[Error ] Corrupt LocalMDB file - D:\AppData\WebGrab+Plus\firstmedia\mdb\mdb.xml
[Error ] Root element is missing.
[Error ] LocalMDB file - D:\AppData\WebGrab+Plus\firstmedia\mdb\mdb.xml - doesn't contain ShowDatabase data
[Error ] Check file content!
[Error ] Cannot run MDB postprocessor
[ Info ] Selecting serie and movie candidates:
[ Info ] s=serie-candiadate m=movie-candidate b=both
[ Info ]
[ Info ] CINEMAX
[ Info ]
s
[ Info ] FOX ACTION MOVIES HD
[ Info ]
mmmm
[ Info ] FOX FAMILY MOVIES
[ Info ]
[ Info ] FOX MOVIES
[ Info ]
mm
[ Info ] HBO
[ Info ]
mmsss
[ Info ] Candidates found: 8 movie / 4 serie / 0 both
[ Info ]
[Critical] Unhandled Exception
[Critical] For detailed info, see log file firstmedia\WebGrab++.log.txt
[Critical] Execution stopped

Thanks,
Priyadi

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

first u cant run both processors,its either rex or mdb.
so remove your 2nd postprocessor for rex in your webgrab config.xml

if you want to run both the u can run one after grabbing actual data,then setup another instance of webgrab and turn grabbing off and use ur mdb created guide.xml as the source and run the rex post processor.

now to your problem..
see the screenshot,on the setting line there is a -[space].remove them as it shouldn't be there.

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

dear sir,

Thanks, but i can't found - setting do you mean on my mdb.config.xml
could you send the working xml also where can i get the latest ini file for mdb ?

Thanks,
Priyadi

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

look at my screenshot,on the second line in you mdb.config.xml file its starts with a -[space]
this shouldn't be there.

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

i have open with notepad also use vim, but there no -[space] setting on the file

i check again on the logs before Unhandled Exception that have message Cannot run MDB postprocessor

LocalMDB file - D:\AppData\WebGrab+Plus\firstmedia\mdb\mdb.xml - doesn't contain ShowDatabase data
Check file content!
Cannot run MDB postprocessor
Selecting serie and movie candidates:
s=serie-candiadate m=movie-candidate b=both

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

ok,looks fine now.dont know why ur getting the error as ur file works fine for me.
i was opening the file in browser and it was showing this for me.
i just downloaded your mdb.config.xml and it works fine for me.

try this..

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

also you should use a proper editor and not notepad to edit files.
download notepad++ or atom editor.

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

Hi Blackberar,
Yes, notepad++ it's my main text editor, also vim in unix base. i this the issue is in ini file. can you share the working imdb.com ini files? i try to search but only found the old version 2015

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 5 hours

try these,they may be a bit newer but havnt used them in ages.
remember to use the correct filename in your mdb.config.xml
as u will see the series files are named different.

Attachments: 
priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

still same error
not sure why the mdb still error

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 5 hours

try running dos2unix on your mdb.config.xml file on Linux.
ssh and goto your mdb folder and run..
dos2unix mdb.config.xml
if it says dos2unix is not installed install it(there will be a message saying how).

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

hi blackbear, still same. may be i will try install mono and run this form linux

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

hi blackbear, still same. may be i will try install mono and run this form linux

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

hi blackbear, i try run on linux but still same result for mdb postproses
may i ask how to only run MDB or REX only, without new grab epg for all channel, i look on your logs it
no epg update requested!

Starting MDB Postprocess .. Version: 2.10
LocalMDB file /opt/webgrab/firstmedia/Mdb/mdb.xml not found ... created a new one ...
Selecting serie and movie candidates:
s=serie-candiadate m=movie-candidate b=both

FOX MOVIES

mm
HBO

msss
Candidates found: 3 movie / 3 serie / 0 both

Unhandled Exception
For detailed info, see log file /opt/webgrab/firstmedia/WebGrab++.log.txt
Execution stopped

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

hi blackbear, thanks for your support, after do some trial the now MDB and REX it's working

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 5 hours

so u ran both post processors(mdb and rex) from the same webgrab config.xml?
looking at ur log it appears so,i didn't think this was possible.
if so congrats as I didn't hink this would work..

the reason I say this is because of this...
in your rex or mdb config.xml u must specify a path or filename that different from that of the one in your wg config xml.
your original guide.xml remains untouched.
so I cannot see how rex and mdb can both be run at the same time as both use the same untouched source file.
so u should end up with 2 files,one with mdb run on and on rex was run on.

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

Hi Blackbear, the problem is i have space in site value mdb.config.xml.
yes, the output mdb and rex different, but the source is same

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 5 hours

ok, so it really doesn't work as u didn't end up with a single file with both mdb and rex postproccessors being run on.
as I said above u can run 1 at the time of grabbing(I woud run mdb).
then set up another instance of webgrab and use the guide.xml mdb created as the source and disable grabbing and enable the rex postprocessor.
the end result of the file rex produces should have both mdb and rex run on it.

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 5 hours

just read all ur above posts.
if u already have epg grabbed and want to test mdb or rex on the already grabbed data.
in your webgrab config xml postprocess just set grab="n"
webgrab wont grab any data and use the existing guide.xml and run whatever postprocessor u set.
as I said above you should remove ur 2nd postprocess line that's running rex.
I do this all the time when testing mdb or rex,why wait for data to be grabbed again when u already have it.

priyadi
Offline
Donator
Joined: 10 years
Last seen: 2 years

Hi blackbear, yes my config like in attachment

Attachments: 
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