HeliBoard icon indicating copy to clipboard operation
HeliBoard copied to clipboard

Adding a diccionary : Error: the selected file is not a valid dictionary file.

Open jtorne-xtec opened this issue 3 months ago • 8 comments

When a dictionary is added, the error appears: the selected file is not a valid dictionary file.

To Reproduce Go to Dicctionaries->Add a dicctionary, and specify a .dic file

App version 3.4

Device:

  • Model: Poco Xiaomi HyperOS
  • OS: 15

jtorne-xtec avatar Oct 16 '25 10:10 jtorne-xtec

Which file is it? Where did you download it from?

eranl avatar Oct 16 '25 14:10 eranl

This file https://codeberg.org/Helium314/aosp-dictionaries/src/branch/main/dictionaries/main_ca.dict

jtorne-xtec avatar Oct 16 '25 14:10 jtorne-xtec

It works fine for me. You're adding it to your Catalan language, right?

eranl avatar Oct 16 '25 17:10 eranl

Yes, but if I add any other language, the same error appears

jtorne-xtec avatar Oct 16 '25 17:10 jtorne-xtec

Works for me when adding

  • in Dictionaries using the + button
  • in Dictionaries when clicking on a language -> add dictionary from file
  • via opening the .dict file in a file explorer

Helium314 avatar Oct 19 '25 04:10 Helium314

I’ve tried all three options, and none of them worked. The same error in all three cases.

Could it be a permissions issue? I’ve checked the app permissions, but I don’t see any option to allow access to system files.

I’ve installed the app from F-Droid

jtorne-xtec avatar Oct 22 '25 06:10 jtorne-xtec

I don't think it's a permission issue, as you don't need any permissions the way Heliboard accesses the file. Maybe there was some issue with the download? I uploaded the file here main_ca.dict.zip, though you will need to unzip it before Heliboard can use it (GitHub doesn't allow upload otherwise).

Helium314 avatar Nov 10 '25 20:11 Helium314

Maybe the download was corrupted. You could check whether the file size matches what is expected from the page you linked.

Helium314 avatar Nov 19 '25 19:11 Helium314