Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OcrPlugin] Language Download #22

Open
3 of 4 tasks
dschoerk opened this issue Apr 20, 2018 · 2 comments
Open
3 of 4 tasks

[OcrPlugin] Language Download #22

dschoerk opened this issue Apr 20, 2018 · 2 comments
Assignees

Comments

@dschoerk
Copy link
Contributor

dschoerk commented Apr 20, 2018

  • Remove language files from this repo
  • Add action to open language download dialog
  • Add a list of languages + download buttons
  • List available languages based on what is available on github https://api.github.com/repos/tesseract-ocr/tessdata/ abandoned for the reasons below

adding buttons to a table cell: https://stackoverflow.com/a/35084467

@dschoerk dschoerk self-assigned this Apr 20, 2018
@dschoerk
Copy link
Contributor Author

selected languages are now stored with the regular QSettings as a QStringList. the value of the stringlist is not correctly displayed and editable in the nomacs settings editor, but the values are saved and loaded correctly.

@dschoerk
Copy link
Contributor Author

dschoerk commented Apr 21, 2018

https://api.github.com/repos/tesseract-ocr/tessdata/contents
QNetworkAccessManager / QNetworkRequest fail to retrieve the above url.

QNetworkReply::errorString says "ssl handshake failed"
QNetworkReply::sslErrors is empty
the slot QNetworkReply::sslErrors(QNetworkReply*, QList) is not called
seems buggy to me :( was testing that with the official build qt5.10 build for msvc 2015x64

Downloading of the language files works via: https://raw.githubusercontent.com/tesseract-ocr/tessdata/master/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant