[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Migrating Pology to Python 3
From: Luigi Toscano <luigi.toscano () tiscali ! it>
Date: 2023-01-22 0:43:02
Message-ID: e99d9a63-87a8-c948-683c-5a56e95fbe4e () tiscali ! it
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic