docconv icon indicating copy to clipboard operation
docconv copied to clipboard

Error occured while commond "go mod tidy"

Open Mmx233 opened this issue 3 years ago • 2 comments

go: finding module for package github.com/otiai10/gosseract/v1/gosseract
Crawler/module/crawler imports
        code.sajari.com/docconv imports
        github.com/otiai10/gosseract/v1/gosseract: module github.com/otiai10/gosseract@latest found (v2.2.1+incompatible), but does not contain package
github.com/otiai10/gosseract/v1/gosseract

Mmx233 avatar May 21 '21 11:05 Mmx233

Just got the very same error

zolastro avatar May 21 '21 11:05 zolastro

It seems that the folder structure of github.com/otiai10/gosseract has changed and there is no longer a "v1/gosseract" folder. This change is accounted for in the current master branch, but not in the release.

To solve it, you could just add this import to your go.mod instead of the tag v1.1.0:

code.sajari.com/docconv v1.1.1-0.20210427001343-7b3472bc323a

zolastro avatar May 21 '21 11:05 zolastro