Migrating Pology to Python 3
Luigi Toscano
luigi.toscano at tiscali.it
Sun Jan 22 00:43:02 GMT 2023
Karl Ove Hufthammer ha scritto:
> Luigi Toscano skreiv 24.12.2022 15:28:
>> The problem with check_spell, on the other hand, is that it seems broken even
>> with python2, as the call to aspell leads to a segmentation fault, at least on
>> Debian testing. check_spell wraps aspell directly, calling the C library. My
>> suggestion would be to drop check_spell completely and use check_spell_ec,
>> which is based on the enchant library, which works.
>
> FWIW, ‘check_spell’ has *always* segfaulted for me (for many years, on Python
> 2).
I kind of suspected this has been the case for a long time.
> The current ‘check_spell_ec’ (Python 3) only partially works. I can
> successfully run
>
> posieve check-spell-ec
>
> But when I run
>
> posieve check-spell-ec -slist
>
> (to get a list of the misspelled words), I get an error message:
>
> posieve: [error] sort() takes no positional arguments
Can you please try:
https://invent.kde.org/sdk/pology/-/merge_requests/12
Ciao
--
Luigi
More information about the kde-i18n-doc
mailing list