#1028473 dictionaries-common: problem in russian dict. Word '��� ��' contains illegal characters. #1028473
- Package:
- dictionaries-common
- Source:
- dictionaries-common
- Submitter:
- Jason Lee Quinn
- Date:
- 2023-01-16 16:39:06 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, About two weeks ago on a fresh install of Debian Bookworm from a daily installer build I came accross a dictionary error related to the installation of synaptic. The relavent output is -------- Setting up synaptic (0.91.2) ... Processing triggers for dictionaries-common (1.29.3) ... ispell-autobuildhash: Processing 'american' dict. ispell-autobuildhash: Processing 'brasilero' dict. ispell-autobuildhash: Processing 'british' dict. ispell-autobuildhash: Processing 'catala' dict. ispell-autobuildhash: Processing 'danish' dict. ispell-autobuildhash: Processing 'espa-nol' dict. ispell-autobuildhash: Processing 'lietuviu' dict. ispell-autobuildhash: Processing 'ngerman' dict. ispell-autobuildhash: Processing 'polish' dict. ispell-autobuildhash: Processing 'portugues' dict. ispell-autobuildhash: Processing 'russian' dict. Word '��� ��' contains illegal characters. ispell-autobuildhash: Processing 'swiss' dict.-------- It looks to be an error in a dictionary file but I never selected any language except English so this is default behavior and as far as I can tell I do not even have the russian dictionary installed at all. My best guess is that this is a issue in dictionaries-common/dc-deconf-select.pl and/or related files related to dpkg triggers. If you'd like more details about this just suggest what extra info you'd like and I can try to supply it. Cheers, Jason
El mié, 11 ene 2023 a las 17:15, Jason Lee Quinn (<jason.lee.quinn+debian@gmail.com>) escribió: HI, This is a harmless message during hash creation for russian ispell dict. Nothing to worry about. By the way, you have all those ispell dicts installed although you may have not explicitly installed them. Thanks for your contribution to Debian
Thank you for the reply. If these dictionaries are installed, where are they located? I've searched /usr/lib/ispell and many other places can only find american and british dictionaries on my machine. Also where does the "contains illegal characters" message actually come from? Whatever the source of that messgae, I'm having trouble tracking it down. A techincal explaination about why the message is harmless would also be interesting for me. Perhaps the message itself and the logic that produces it could be improved to provide a nicer user experience.
El sáb, 14 ene 2023 a las 15:39, Jason Lee Quinn (<jason.lee.quinn+debian@gmail.com>) escribió: Hi, You should find relevant files under different dirs. In one of my boxes $ dir /usr/lib/ispell/ /usr/share/ispell/ /var/lib/ispell/ /var/lib/dictionaries-common/ispell/ /usr/lib/ispell/: american.aff castellano.hash english.aff espanol.hash spanish.hash american.hash default.aff espa~nol.aff README.select-ispell castellano.aff default.hash espa~nol.hash spanish.aff /usr/share/ispell/: american.med+.mwl.gz american.mwl.gz english.aff espa~nol.mwl.gz /var/lib/dictionaries-common/ispell/: iamerican ispanish /var/lib/ispell/: american.compat american.hash american.remove espa~nol.compat espa~nol.hash espa~nol.remove README If there is no trace of those dicts in your dirs, synaptic is upgrading something else (A virtual machine?) Munched word in line 39 of original russian ispell dict contains whitespace, which is allowed only as word separator, not in the middle of a word. Then ispell (and aspell) complains about it and skips that word, that is the message. This is harmless because its only result is that word is skipped. Attached patch should strip that word before package is built, thus making the message go away. I am reassigning this bug report to irussian (I am also uploader for it) and will upload a package with this fix unless maintainer disagree. Thanks again for your feedback.
We believe that the bug you reported is fixed in the latest version of
rus-ispell, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1028473@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Agustin Martin Domingo <agmartin@debian.org> (supplier of updated rus-ispell package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 15 Jan 2023 20:16:39 +0100
Source: rus-ispell
Architecture: source
Version: 0.99g5-29
Distribution: unstable
Urgency: medium
Maintainer: Mikhail Gusarov <dottedmag@debian.org>
Changed-By: Agustin Martin Domingo <agmartin@debian.org>
Closes: 1028473
Changes:
rus-ispell (0.99g5-29) unstable; urgency=medium
.
[ Debian Janitor ]
* debian/copyright: use spaces rather than tabs to start continuation lines.
* Update lintian override info to new format:
+ debian/source/lintian-overrides: line 1-2
+ debian/irussian.lintian-overrides: line 1-2
+ debian/aspell-ru.lintian-overrides: line 1-2
.
[ Agustin Martin Domingo ]
* Skip words containing illegal characters (whitespace). Thanks Jason
Lee Quinn (Closes: #1028473).
* debian/control: Bump Standards-Version. No changes required.
* debian/copyright: Update to 2023.
* debian/aspell-ru.lintian-overrides: More updates to new format.
Checksums-Sha1:
13b50b80d4a9b2d314c4c973b7c1995915023540 2095 rus-ispell_0.99g5-29.dsc
51c75bdd0bb0ea73f43c2d5fbf6063785a3f36c3 9716 rus-ispell_0.99g5-29.debian.tar.xz
a36663d7af9e1df5aa5eb1c915ff98e0d626f895 6889 rus-ispell_0.99g5-29_amd64.buildinfo
Checksums-Sha256:
2968ad09383befb55b20cf7d00d262016fd6cf9a664303294280507e4d1f51f6 2095 rus-ispell_0.99g5-29.dsc
8ca0f9759bd2b9eded6ad1e88b9acd4ac49adefa8a0b0969c4afdaba1aff3eef 9716 rus-ispell_0.99g5-29.debian.tar.xz
8ef6fbfc24d3771a6df6a3434c9eca02079ffbb89ed55d7b7245547a5669eab5 6889 rus-ispell_0.99g5-29_amd64.buildinfo
Files:
9243bd019d4acfb4a2658bc9607dbbda 2095 text optional rus-ispell_0.99g5-29.dsc
23ea5d87afbc86422909436c52eb34e2 9716 text optional rus-ispell_0.99g5-29.debian.tar.xz
9aab978d4c4e3a726a485227035a473c 6889 text optional rus-ispell_0.99g5-29_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEEehey7p+gYd346SEFJrCLeiggvwFAmPEga4ACgkQFJrCLeig
gvzYtQ//YNuqqA7Q7KJwd02/XxEqMISj6nu8NSSWtpZ/FNAma+a9pDQk3xqC3laA
2exBuTkVGRm0E0SVCZnFzW2pN1fbYwnmTE3GNakfepzSCEbWqnIMqFBAvRW+i8M8
5dQV7TLyp+bjKCpdHUlU6Z6RdFD/3Zgv9fkbiKckMvlkayi/ILYLtMJGQqZIsrcU
Key7Tec97YGib+1g9T4GiXOB/H9Ss4Xm6cJTpn1hgAzFO4zCmk61ckTjzQk7H2v5
CrPMuMfaHtHDE8yEchFrzYWNye5n2z/VxrCAM9dH770wFoG00wsHe9D1GcrXT2tP
gFt8mR487GKkhcvdob6vWa5pZBQDKnadqOQ0/HrZH6/j+tZGu8CnF+nbIMV2Yn/v
9Ck1mpOx/d3WE+A+mKHFERjDkwABtUwyjiU+dO12gkVCVL1LmK+Kv1W4ryXWPtbJ
PYtcvwFnfFTPaY3DbNaTKadz4DsXr+Iq0tMDwM9Nhuf++WTtSawYTUF6ueUEd//Z
ghAtbcCUEwW6izJasTiFGkxQvYx+Rd1JjFN51rnZTuz5nUK1v1GxuFe8HqCgserA
S7wN6rZwlckxVV8WF0Zkc4Jnrx0IVw3WQYyMLCA+9km7ZlYvQs8ipCtU3eScLCCS
iaGAiUaZrWYfbcRbIqLCr2sgCn2SXf5dbCDmDf8CeSdGUh6kQfA=
=YH4X
-----END PGP SIGNATURE-----