Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
Oh wait, my unicharset_extractor is working now. That libtesseract.so.4 must have been the culprit all along. Thank you very much for your help Stefan and to the others too as well :) -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubs

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
I tried ldd /usr/bin/tesseract and this is the result libtesseract.so.4 => /usr/lib/x86_64-linux-gnu/libtesseract.so.4 (0x7ff4ef93). However I still have this libtesseract.so.4.0.1 in /usr/local/lib. Should I also remove this? -- You received this message because you are subscribed to t

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
i get this result from the *ls *command: /usr/local/lib/libtesseract.so.4 but when I ran dpkg, it said that there is no path matching the pattern path but when I look at my directories, it's there. I'll try removing it now and maybe uninstalling pytesseract for now. -- You received this message

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread 'Stefan Weil' via tesseract-ocr
Anne, you have a /usr/local/bin/pytesseract which also installed /usr/local/lib/libtesseract.so.4. That conflicts with /usr/lib/x86_64-linux-gnu/libtesseract.so.4. Maybe it is sufficient to rename or remove /usr/local/lib/libtesseract.so.4. -- You received this message because you are subscribe

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread 'Stefan Weil' via tesseract-ocr
Programs installed in /usr/bin typically should not get shared libraries from /usr/local/lib, so /usr/local/lib/libtesseract.so.4 looks bad. Please try ls /usr/local/lib/libtesseract.so.4 dpkg -S /usr/local/lib/libtesseract.so.4 I expect that the library has not the same timestamp as th

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
*locate tesseract* /etc/apt/sources.list.d/alex-p-ubuntu-tesseract-ocr-bionic.list /etc/apt/sources.list.d/alex-p-ubuntu-tesseract-ocr-bionic.list.save /etc/apt/trusted.gpg.d/alex-p_ubuntu_tesseract-ocr.gpg /etc/systemd/system/snap-tesseract-1566.mount /etc/systemd/system/snap-tesseract-1574.mount

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread Lorenzo Bolzani
Also try: locate tesseract ldconfig -p | grep tesseract ls -l /usr/local/lib/libtesseract* and run: sudo ldconfig after you uninstall tesseract (or even right now). Il giorno ven 24 mag 2019 alle ore 15:37 anne < christineannecatu...@gmail.com> ha scritto: > These are what I get > *ldd /u

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
These are what I get *ldd /usr/bin/tesseract* linux-vdso.so.1 (0x727a6000) libtesseract.so.4 => /usr/local/lib/libtesseract.so.4 (0x7f249a528000) liblept.so.5 => /usr/local/lib/liblept.so.5 (0x7f249a0a) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread 'Stefan Weil' via tesseract-ocr
Thank you. Now try and report ldd /usr/bin/tesseract ldd /usr/bin/unicharset_extractor -- 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 tesseract-ocr+un

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread 'Stefan Weil' via tesseract-ocr
On Friday, 24 May 2019 15:16:21 UTC+2, anne wrote: > > Hi Stefan, these are the results: > *type tesseract* > tesseract is hashed (/usr/bin/tesseract) > > *type unicharset_extractor* > unicharset_extractor is hashed (/usr/bin/unicharset_extractor) > > *ls -l /usr/bin/tesseract* > -rwxr-xr-x 1 roo

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
Hi Stefan, these are the results: *type tesseract* tesseract is hashed (/usr/bin/tesseract) *type unicharset_extractor* unicharset_extractor is hashed (/usr/bin/unicharset_extractor) *ls -l /usr/bin/tesseract* -rwxr-xr-x 1 root root 30808 May 19 16:14 /usr/bin/tesseract *ls -l /usr/bin/unicharse

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread 'Stefan Weil' via tesseract-ocr
Hi Anne, please try this command sequence and report the result: type tesseract type unicharset_extractor ls -l /usr/bin/tesseract ls -l /usr/bin/unicharset_extractor Regards Stefan -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" gr

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
It's okay Shree, thank you very much for your help -- 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 tesseract-ocr+unsubscr...@googlegroups.com. To post to this

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread Shree Devi Kumar
I am at the limit of my Linux knowledge now :-( Someone else will need to help you fix the library mismatch. @zdenop @amitdo @stweil .. On Fri, May 24, 2019 at 3:35 PM anne wrote: > I removed it, checked *which* commands to which no outputs are shown. > Checked versions of tesseract, tex

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
I removed it, checked *which* commands to which no outputs are shown. Checked versions of tesseract, text2image, unicharset_extractor, console log tells me there is no such file or directory. Reinstalled tesseract*, *and I still get the same version number and error -- You received this messag

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread Shree Devi Kumar
*which tesseract: */snap/bin/tesseract *which text2image: *no output *which unicharset_extractor:* no output This shows that you have a version of tesseract installed in /snap/bin/tesseract This needs to be removed. On Fri, May 24, 2019 at 3:06 PM anne wrote: > To be honest, I am very confused

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
To be honest, I am very confused right now. I'm new to Ubuntu and Tesseract so if my questions are a bit eccentric, I do apologize for that. -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving ema

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
*which tesseract: */snap/bin/tesseract *which text2image: *no output *which unicharset_extractor:* no output *tesseract -v:* bash: /usr/bin/tesseract: No such file or directory *text2image -v:* bash: /usr/bin/text2image: No such file or directory *unicharset_extractor -v:* bash: /usr/bin/unicharse

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread Shree Devi Kumar
The version you reported and the one removed are different. >I'm using ubuntu version 18.04 and if I check for tesseract's version this is what I get tesseract 4.1.0-rc1-170-gb6bf >*text2image -v:* ERROR: shared library version mismatch (was 4.1.0-rc1-170-gb6bf, expected 4.1.0-rc2-73-g3452c Did

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread Shree Devi Kumar
After that, run the following and post the console output sudo add-apt-repository ppa:alex-p/tesseract-ocr sudo apt-get update sudo apt-get install -y \ libleptonica-dev \ libtesseract4 \ libtesseract-dev \ tesseract-ocr On Fri, May 24, 2019 at 2:37 PM Shree Devi Kumar wrote: > Please

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread Shree Devi Kumar
Please run following commands again, just to check what's the output of which tesseract which text2image which unicharset_extractor tesseract -v text2image -v unicharset_extractor -v On Fri, May 24, 2019 at 1:52 PM anne wrote: > *sudo apt-get purge --autore-remove libtesseract4* > > Reading p

Re: [tesseract-ocr] unicharset_extractor error

2019-05-24 Thread anne
*sudo apt-get purge --autore-remove libtesseract4* Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libtesseract-dev* libtesseract4* tesseract-ocr* tesseract-ocr-osd* 0 upgraded, 0 newly installed, 4 to remove

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread Shree Devi Kumar
sudo apt-get purge --auto-remove libtesseract4 sudo apt-get purge --auto-removelibtesseract-dev sudo apt-get purge --auto-removetesseract-ocr Share the console output log from the above On Thu, May 23, 2019 at 9:20 PM Shree Devi Kumar wrote: > You would have had tesseract directory in

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread Shree Devi Kumar
You would have had tesseract directory in case you had built it from source. >I still have the same error are you still getting same version numbers? On Thu, May 23, 2019 at 6:50 PM anne wrote: > I'm sorry if this may sound dumb but uh, where exactly is the tesseract > directory located? > > -

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread anne
I'm sorry if this may sound dumb but uh, where exactly is the tesseract directory located? -- 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 tesseract-ocr+unsub

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread anne
I tried skipping that part and executed the other commands, I still have the same error -- 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 tesseract-ocr+unsubscr.

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread anne
I cannot make uninstall, cause I don't have a tesseract directory anymore -- 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 tesseract-ocr+unsubscr...@googlegroups

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread Shree Devi Kumar
sudo apt-get purge --auto-remove tesseract-ocr also, in your tesseract directory make clean make uninstall Then reinstall again by sudo add-apt-repository ppa:alex-p/tesseract-ocr sudo apt-get update sudo apt-get install -y \ libleptonica-dev \ libtesseract4 \ libtesseract-dev \ tesse

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread anne
These are the outputs *which tesseract:* /usr/bin/tesseract *which text2image:* /usr/bin/text2image *which unicharset_extractor:* /usr/bin/unicharset_extractor *tesseract -v: * tesseract 4.1.0-rc1-170-gb6bf leptonica-1.78.0 libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread Shree Devi Kumar
what's the output of which tesseract which text2image which unicharset_extractor tesseract -v text2image -v unicharset_extractor -v On Thu, May 23, 2019 at 3:45 PM anne wrote: > I'm using ubuntu version 18.04 > and if I check for tesseract's version this is what I get > tesseract 4.1.0-rc1-170

Re: [tesseract-ocr] unicharset_extractor error

2019-05-23 Thread anne
I'm using ubuntu version 18.04 and if I check for tesseract's version this is what I get tesseract 4.1.0-rc1-170-gb6bf leptonica-1.78.0 libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 Found AVX2 Found AVX Found SSE -- You received this message because you are

Re: [tesseract-ocr] unicharset_extractor error

2019-05-20 Thread Shree Devi Kumar
Also check if you have two versions of program installed? On Mon, 20 May 2019, 19:14 Shree Devi Kumar, wrote: > What is your Ubuntu version? > > Are you using the ppa for installing? > > On Mon, 20 May 2019, 18:02 anne, wrote: > >> i did "sudo apt-get install tesseract-ocr" >> >> -- >> You rece

Re: [tesseract-ocr] unicharset_extractor error

2019-05-20 Thread Shree Devi Kumar
What is your Ubuntu version? Are you using the ppa for installing? On Mon, 20 May 2019, 18:02 anne, wrote: > i did "sudo apt-get install tesseract-ocr" > > -- > You received this message because you are subscribed to the Google Groups > "tesseract-ocr" group. > To unsubscribe from this group an

Re: [tesseract-ocr] unicharset_extractor error

2019-05-20 Thread anne
i did "sudo apt-get install tesseract-ocr" -- 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 tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, se

Re: [tesseract-ocr] unicharset_extractor error

2019-05-20 Thread Shree Devi Kumar
You need to make sure that you build/install tesseract as well as training_tools, otherwise they may get out of sync. How are you reinstalling it? On Mon, May 20, 2019 at 4:50 PM anne wrote: > Hi, I got this error while running the unicharset_extractor command > "ERROR: shared library version m

[tesseract-ocr] unicharset_extractor error

2019-05-20 Thread anne
Hi, I got this error while running the unicharset_extractor command "ERROR: shared library version mismatch (was 4.1.0-rc1-170-gb6bf, expected 4.1.0-rc2-48-g5320 ". I have already uninstalled Tesseract and reinstalled it again but i still keep getting this error. Any suggestions on how I can sol