manisandro / gImageReader

A Gtk/Qt front-end to tesseract-ocr.
GNU General Public License v3.0
1.57k stars 187 forks source link

Failure to download and install dictionary #649

Closed AgostinoSturaro closed 5 months ago

AgostinoSturaro commented 10 months ago

@manisandro I installed gImageReader in the C:/Program Files/gImageReader folder. It says I should install the spellchecking dictionary.

2023-09-02 14_08_52-gImageReader

However, when I try, it fails to download with this error

2023-09-02 14_11_29-Error

I am connected to the Internet and I saw no firewall popup, so it's likely a folder permission issue.

I tried to run it as Administrator. Then it seemed to work, but it actually did not.

2023-09-02 14_12_23-gImageReader

After that, I still get the same error about missing dictionaries. In fact, I see a mismatch between the myspell folder and the hunspell folder.

2023-09-02 14_15_21-hunspell 2023-09-02 14_14_52-myspell

manisandro commented 8 months ago

Are you using an up-to-date version of gimagereader?

AgostinoSturaro commented 8 months ago

If you mean the latest stable version, 3.4.1, yes. Please note the installation folder.

manisandro commented 8 months ago

I believe this has been fixed in https://github.com/manisandro/gImageReader/commit/a4820ebb8f8f05086f11c310c3f55a6ff5903f3e, which is not yet part of a released stable version. Can you try with the latest master snapshot build?

AgostinoSturaro commented 8 months ago

I've run a scan of the file gImageReader_latest_qt5_x86_64.exe in the releases page and it looks infected. https://www.virustotal.com/gui/file/f5acd4954907c334c77766dfcc7d12168fc67d1bbcd537a3491a0dd9a1f425f4

It could be a false positive, but since Avast, AVG and McAffee are all complaining about it, you might want to find out why.

Besides, looking at the commit, I think it won't solve the permission issue when downloading a language after the installation.

manisandro commented 8 months ago

The only possible action here is to find out how to contact the respective companies and warn them about the false positives. There is no way to know exactly what is triggering a match in their signatures. Alternatively you can try the portable version, or even compile yourself.

manisandro commented 5 months ago

Should be fixed with https://github.com/manisandro/gImageReader/commit/a4820ebb8f8f05086f11c310c3f55a6ff5903f3e