Page 1 of 1

Popup when exiting with error

Posted: Mon Aug 29, 2005 10:02 am
by Lucas
Alan,

when the grabber exits for any reason (like too many errors in getting data),

it pops up a prompt for the user to press OK. This interferes with running the grabber from a bat file in silent mode and as a result cannot take advantage of the error return code functionality to loop until a successful grab.

Is there a way to suppress that prompt?

Thanks in advance.

Posted: Mon Aug 29, 2005 10:05 am
by alanbirtles
select "supress error messages" in the logging tab of the configuration screen

Posted: Mon Aug 29, 2005 12:22 pm
by Lucas
Alan thanks!

:oops: I thought I did select that......... nevertheless I "ll have a look at it again.

Posted: Mon Aug 29, 2005 12:23 pm
by alanbirtles
or you could just use the console version which never produces error messages

Posted: Tue Aug 30, 2005 12:12 pm
by Lucas
I checked and I had the setting checked to suppress the messages, and the popup still appears :?:

Console! :shock: What's that? How do I enable it?

Posted: Tue Aug 30, 2005 12:18 pm
by alanbirtles
run xmltvrtc.exe instead of xmltvrt.exe, note that it doesn't currently return a status code (i will be making a relaese soon with the recent changes)

Posted: Tue Aug 30, 2005 12:20 pm
by Lucas
Never mind! :oops: I just saw the details.

It is not clear though: No parameters are required, yet /cDirectory is a param?

so to run it from a batch file I need a line xmltvrtc.exe /cDir

In dir I put a copy of the config files (.ini, altcats.txt etc)?

Posted: Tue Aug 30, 2005 12:38 pm
by alanbirtles
you dont have to specify a config directory, if you dont it will just use the current directory (same as the gui version), the config directory is to allow people to have multiple configurations with a single install of the program

Posted: Tue Aug 30, 2005 2:33 pm
by Lucas
Great! Thanks Alan.