Add-ons Manager tried to update Spell Checker, but kept failing on a slow Internet link (mostly DNS). I had to manually download it. CudaText installed the .zip file, but after restart, Add-ons Manager still thought it needed to update Spell Checker.
So I removed Spell Checker, quit CudaText, deleted __trash and __pycache__ under ./py folder, and re-launched. Installed Spell Checker from .zip again, quit, and re-launched. Add-ons Manager *still* thinks Spell Checker needs updating.
How do I tell Add-ons Manager that Spell Checker is current?
Installing Plug-in from Download Does Not Update Add-ons Manager Entry
-
Random Void User
- Posts: 75
- Joined: 13.07.2024 21:19
-
main Alexey
- Posts: 2813
- Joined: 25.08.2021 18:15
Re: Installing Plug-in from Download Does Not Update Add-ons Manager Entry
you need to edit the item in the settings/packages.ini.
why Cud did not update that file on installing from zip? it don't know the version.
Code: Select all
[plugin.Spell_Checker.zip]
d=py
f=cuda_spell_checker/
v=2025.11.22-
Random Void User
- Posts: 75
- Joined: 13.07.2024 21:19
Re: Installing Plug-in from Download Does Not Update Add-ons Manager Entry
CudaText 1.231.0.1, linux-x86_64-gtk2, fpc 3.2.3
The plug-in .zip file has no version data. So bypassing Add-ons Manager leaves CudaText no way to know. Plug-ins need version data inside their .zip archives. A field in the install.inf info stanza might work:
I got stable Internet and used Add-ons Manager, which worked. The stanza in settings/packages.ini is now
The plug-in .zip file has no version data. So bypassing Add-ons Manager leaves CudaText no way to know. Plug-ins need version data inside their .zip archives. A field in the install.inf info stanza might work:
Code: Select all
[info]
title=Spell Checker
desc=Spell checker, based on Hunspell dictionaries. Shows red underlines for misspelled words, gives suggestions dialog.
type=cudatext-plugin
subdir=cuda_spell_checker
homepage=https://github.com/CudaText-addons/cuda_spell_checker
v=2025.12.18.1
Code: Select all
[plugin.Spell_Checker.zip]
d=py
f=cuda_spell_checker/
v=2025.12.18.1
-
main Alexey
- Posts: 2813
- Joined: 25.08.2021 18:15
Re: Installing Plug-in from Download Does Not Update Add-ons Manager Entry
sorry, but no wish to embed versions into all addons' install.inf files. double work (I already have it in the "cudatext-registry" Github repo). with small benefit.
-
Random Void User
- Posts: 75
- Joined: 13.07.2024 21:19
Re: Installing Plug-in from Download Does Not Update Add-ons Manager Entry
The file name could encode its version. Linux repos use this method. I saved the spelling plug-in on my disk as
Code: Select all
spellchecker-2025.12.18.1.zip