From: asashour <asa...@ya...> - 2015-05-23 18:38:43
|
Hi, You must subscribe to the list before posting. Please retest with latest version, and provide the output. Ahmed -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36169.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: Ahmed A. <asa...@ya...> - 2015-05-24 20:56:22
|
Hi Rogal, With some fixes, SVN version now gets the error: Caused by: com.gargoylesoftware.htmlunit.ScriptException: 5264280 - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch. (http://hostname/ocrad.js#1306) Can you provide a compiled version with that option? You can get the latest snapshot once after a green build in https://ci.canoo.com/teamcity/project.html?projectId=HtmlUnit You can help investigate by looking into http://htmlunit.sourceforge.net/submittingJSBugs.html Ahmed From: rogal180 <rog...@gm...> To: htm...@li... Sent: Saturday, May 23, 2015 9:39 PM Subject: Re: [Htmlunit-user] HtmlUnit does not execute code library ocrad.js Hi OK, i changed to version 2.16 and this time gets the error: Edit 1: if I add the java code something like this: then exceptions disappear, but gives me: I mean, that does not set properly tag. If I open a file aaa.html manually in the browser, it orzymuje the contents of this tag. I would ask for help, how can I solve this problem / go around |
From: rogal180 <rog...@gm...> - 2015-05-24 21:50:35
|
Hi, Thank you for your response, You can write me how can I download the latest snapshot as a guest? Regards -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36179.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: Ahmed A. <asa...@ya...> - 2015-05-25 08:12:23
|
Hi, As hinted in HtmlUnit home page, you can get it from https://ci.canoo.com/teamcity/viewLog.html?buildTypeId=HtmlUnit_FastBuild&buildId=lastSuccessful&tab=artifacts (login as guest) Ahmed From: rogal180 <rog...@gm...> To: htm...@li... Sent: Sunday, May 24, 2015 11:31 PM Subject: Re: [Htmlunit-user] HtmlUnit does not execute code library ocrad.js Hi, Thank you for your response, You can write me how can I download the latest snapshot as a guest? Regards -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36179.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: rogal180 <rog...@gm...> - 2015-05-25 15:07:51
|
Hi, Now is this: I downloaded and changed to version 17, but this time with the line: is thrown exception: this is just the game that I gave above. Regards, Lukasz -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36187.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: asashour <asa...@ya...> - 2015-05-25 16:01:10
|
Hi, This is classpath issue. Please remove all your currently used JARs and use instead all the .jars inside the 'lib' folder of "htmlunit-2.17-SNAPSHOT-bin.zip" Ahmed -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36191.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: rogal180 <rog...@gm...> - 2015-05-25 18:08:19
|
OK, I did as you wrote. Now, after a while processing another exception occurred: These exceptions probably never end :( Regards, Lukasz -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36196.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: asashour <asa...@ya...> - 2015-05-25 18:48:53
|
Hi, That was the error I had yesterday. With latest snapshot just deployed, you won't have any errors. However, there is no text output. You need to hint about which logic in HtmlUnit is different than real browser, to take this forward. Ahmed -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36197.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: rogal180 <rog...@gm...> - 2015-05-23 19:59:04
|
Hi OK, i changed to version 2.16 and this time gets the error: Edit 1: if I add the java code something like this: then exceptions disappear, but gives me: I mean, that does not set properly tag. If I open a file aaa.html manually in the browser, it orzymuje the contents of this tag. I would ask for help, how can I solve this problem / go around -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36172.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: asashour <asa...@ya...> - 2015-05-25 19:08:51
|
rogal180 wrote > Where can I find the latest version ? At the exact location where you get 2.17 snapshot (ci.canoo.com), it is updated each and every time the test suite passes. rogal180 wrote > "However, there is no text output." - What did you mean? The final expected output of the OCR is text output inside the page, which is empty instead of recognized text. Ahmed -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36199.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: rogal180 <rog...@gm...> - 2015-05-25 19:13:53
|
File.html you ran locally in the browser, eg. Firefox? Recognized text is added to the tag: Lukasz -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36200.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |
From: rogal180 <rog...@gm...> - 2015-05-25 18:54:50
|
Hi, Where can I find the latest version ? "However, there is no text output." - What did you mean? Lukasz -- View this message in context: http://htmlunit.10904.n7.nabble.com/HtmlUnit-does-not-execute-code-library-ocrad-js-tp36167p36198.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |