If I kill java manually from the processes, I can relaunch scrollview though.
On Friday, February 1, 2013 4:00:17 PM UTC+5:30, raakeshvara rao wrote: > > Me too have same problem. > The ScrollView works only once. Once I close it , it does not work anymore. > > On Sunday, November 18, 2012 11:06:37 PM UTC+5:30, Linda Li wrote: >> >> >> Or did you used version from your distribution? >> I follow the instruction in >> http://code.google.com/p/tesseract-ocr/wiki/Compiling >> The version is 3.02.02 >> >> >> >> Do you have only one installation of tesseract in your system? >> >> Before that I installed 3.01. >> >> In the terminal, I confirmed that it is the new 3.02.02 working >> $ tesseract --version >> tesseract 3.02.02 >> leptonica-1.69 >> libgif 4.1.6 : libjpeg 8b : libpng 1.2.46 : libtiff 3.9.5 : zlib 1.2.3.4 >> >> >> >> What kind of options you used? >> Sorry I do not understand what option you referred to. >> >> >> Can you send me config.log? >> It is attached. (It seems when I tried to attach it, there was error >> with the server) >> >> Thanks for your help. >> >> On Sunday, November 18, 2012 11:15:38 AM UTC-6, zdenop wrote: >>> >>> Did you compile tesseract by yourself? If yes, did you use standard >>> compilation process(autotools)? What kind of options you used? Can you >>> send me config.log? Or did you used version from your distribution? >>> Do you have only one installation of tesseract in your system? >>> >>> -- >>> Zdenko >>> >>> >>> On 18.11.2012 01:19, Linda Li wrote: >>> > Here are some more details >>> > >>> > >>> > (1) >>> > Use the original svutill.cpp (not remove ">/dev/null 2>&1" ) >>> > export SCROLLVIEW_PATH >>> > then run: >>> > tesseract temp.jpg output segdemo inter >>> > >>> > The terminal ouput is: >>> > ---------------------------- >>> > Tesseract Open Source OCR Engine v3.02.02 with Leptonica >>> > ScrollView: Waiting for server... >>> > ScrollView: Waiting for server... >>> > ---------------------------- >>> > >>> > The viewerdebugging window pops out, but with no segmentation picture >>> in it. >>> > see the attachment. >>> > >>> > I use Ctrl+C to terminate the procedure. >>> > I use quit of the icon of the ViewerDebugging window to close the >>> window. >>> > >>> > I run the command on terminal: >>> > java -Xms512m -Xmx1024m -Djava.library.path=$SCROLLVIEW_PATH -cp >>> > >>> $SCROLLVIEW_PATH/ScrollView.jar:$SCROLLVIEW_PATH/piccolo-1.2.jar:$SCROLLVIEW_PATH/piccolox-1.2.jar >>> >>> >>> > com.google.scrollview.ScrollView >>> > The output is: >>> > ---------------------------- >>> > java.net.BindException: Address already in use >>> > at java.net.PlainSocketImpl.socketBind(Native Method) >>> > at >>> > >>> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353) >>> > at java.net.ServerSocket.bind(ServerSocket.java:336) >>> > at java.net.ServerSocket.<init>(ServerSocket.java:202) >>> > at java.net.ServerSocket.<init>(ServerSocket.java:114) >>> > at com.google.scrollview.ScrollView.main(ScrollView.java:397) >>> > ---------------------------- >>> > >>> > Now if I try to input the command "tesseract temp.jpg output segdemo >>> inter" >>> > again, the window will not pop out any more. >>> > >>> > I log out, then log in. >>> > >>> > (2) >>> > Now I have logged in again. >>> > export SCROLLVIEW_PATH=/home/tesseract-ocr-3.02.02/java >>> > >>> > Now following the troubleshooting instruction I remove ">/dev/null >>> 2>&1" in >>> > the svutill.cpp file. >>> > It would be like below. >>> > ---------------------------- >>> > const char* cmd_template = "-c \"trap 'kill %1' 0 1 2 ; java " >>> > "-Xms1024m -Xmx2048m -Djava.library.path=%s -cp >>> %s/ScrollView.jar:" >>> > "%s/piccolo-1.2.jar:%s/piccolox-1.2.jar" >>> > " com.google.scrollview.ScrollView" >>> > " & wait\""; >>> > ---------------------------- >>> > >>> > The output in the terminal window is: >>> > ---------------------------- >>> > Tesseract Open Source OCR Engine v3.02.02 with Leptonica >>> > ScrollView: Waiting for server... >>> > ---------------------------- >>> > >>> > The viewerdebugging window pops out, but with no segmentation picture >>> in it. >>> > Same as the one in (1) (in attachment) >>> > >>> > (3) >>> > Have no idea what is wrong. Thanks in advance. >>> > >>> > >>> > >>> > On Friday, November 16, 2012 2:37:26 PM UTC-6, zdenop wrote: >>> >> On Fri, Nov 16, 2012 at 3:05 AM, Linda Li >>> >> <[email protected]<javascript:> >>> >>> >>> wrote: >>> >>> Can you post screenshot where is visible console with messages + >>> >> tesseract debugging window? >>> >> >>> >> How can I solve the problem? >>> >> Did you tried unmodified source? >>> >> >>> >> >>> >> >>> >>> -- -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en --- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

