Calling Resource sha1 is disabled! Use Resource sha256 instead Error while installing tesseract in mac

28 views
Skip to first unread message

Mahesh Mesta

unread,
Aug 28, 2017, 4:34:38 AM8/28/17
to tesseract-ocr
                 Hello,

I am trying to install tesseract in mac to work with ruby gem tesseract-ocr. However, it seems like the newest version of the tesseract is not supported by the gem. Hence I tried the following:

brew install 
https://raw.githubusercontent.com/Homebrew/homebrew/
8ba134eda537d2cee7daa7ebdd9f728389d9c53e/Library/Formula/tesseract.rb

it throws the following error:

Error: Calling Resource#sha1 is disabled!
Use Resource#sha256 instead.
/Users/maheshmesta/Library/Caches/Homebrew/Formula/tesseract.rb:123:in `block 
(2 levels) in <class:Tesseract>'

How can I rectify this issue?

Regards,

Mahesh

ShreeDevi Kumar

unread,
Aug 28, 2017, 4:41:35 AM8/28/17
to tesser...@googlegroups.com
Try 

$ brew update
$ brew install tesseract --HEAD

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/430f84fe-29d0-4b33-8c95-d97884f948a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages