Tikal: Program stops when filter throws exception
Original issue 163 created by bach2k%gazeta...@gtempaccount.com on 2011-02-02T11:01:26.000Z:
What steps will reproduce the problem?
1. Run tikal to process many files (for convert ex. *.html)
2. Some filters might throw exception if they recognize input as invalid. As filters operate on single files this is thrown only for current file
3. I don not know of public filter that does this but I suppose there are some and this should be easy to reproduce. For ex. in my filter I convert script files using compiler. When compiler finds error in script I throw OkapiBadFilterInputException.
What is the expected output? What do you see instead?
All files (excluding these for which exceptins are thrown) are converted.
Instead only files previous to file with exception are converted. Then tikal exits.
What version of the product are you using? On what operating system?
0.9, WinXp
Comments (3)
-
Account Deleted -
Account Deleted Comment 2. originally posted by @ysavourel on 2013-01-02T06:13:22.000Z:
Proposed fix at http://code.google.com/r/tingley-tipp/source/detail?r=d8222c368063dc5af631c9cb1f309233f0fe0b87&name=tikal-fixes
-
Account Deleted - changed status to resolved
Comment 3. originally posted by @ysavourel on 2013-01-03T05:59:17.000Z:
Fixed. By default, the current behavior is preserved. However, the -continue option may be passed to force tikal to continue processing the batch even if an individual file fails with an error.
Commit:
http://code.google.com/p/okapi/source/detail?r=19821f42eb2ea6ecbf72e7bc654bc440988ecfaa&name=dev - Log in to comment
Comment 1. originally posted by @ysavourel on 2012-12-20T00:00:14.000Z: