Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors when running GrammalecteCheck #14

Open
arnauldb opened this issue Jul 9, 2019 · 1 comment
Open

errors when running GrammalecteCheck #14

arnauldb opened this issue Jul 9, 2019 · 1 comment

Comments

@arnauldb
Copy link

arnauldb commented Jul 9, 2019

Hello,

I installed Grammalecte for vim, but I have these errors while running
GrammalecteCheck

Error detected while processing function 96_GrammalecteCheck:
line 28:
Command [python3 /home/arnauld/Desktop/docsdesktop/Grammalecte-fr-v1.2/grammalecte-cli.py -f /tmp/vKg381O/6 -roff apostrophe_typograp
hique apostrophe_typographique_après_t espaces_début_ligne espaces_milieu_ligne espaces_fin_de_ligne esp_début_ligne esp_milieu_ligne
esp_fin_ligne esp_mélangés2 typo_points_suspension1 typo_tiret_incise nbsp_avant_double_ponctuation nbsp_avant_deux_points nbsp_aprè
s_chevrons_ouvrants nbsp_avant_chevrons_fermants1 unit_nbsp_avant_unités1 unit_nbsp_avant_unités2 unit_nbsp_avant_unités3 -j -cl -owe
-ctx 2> /tmp/vKg381O/7] failed with error: 1
line 31:
['Traceback (most recent call last):', ' File "/home/arnauld/Desktop/docsdesktop/Grammalecte-fr-v1.2/grammalecte-cli.py", line 298,
in ', ' main()', ' File "/home/arnauld/Desktop/docsdesktop/Grammalecte-fr-v1.2/grammalecte-cli.py", line 200, in main', '
output(sText, hDst)', ' File "/home/arnauld/Desktop/docsdesktop/Grammalecte-fr-v1.2/grammalecte-cli.py", line 89, in output', '
echo(sText, end="")', ' File "/home/arnauld/Desktop/docsdesktop/Grammalecte-fr-v1.2/grammalecte/graphspell/echo.py", line 27, in
echo', ' print(obj, sep=sep, end=end, file=file, flush=flush)', 'UnicodeEncodeError: ''ascii'' codec can''t encode character ''\xa
0'' in position 306: ordinal not in range(128)']

In my .vimrc I added:
let g:grammalecte_cli_py='/home/arnauld/Desktop/docsdesktop/Grammalecte-fr-v1.2/grammalecte-cli.py'

I installed the plugin manually.

Thank you for any help.

@arnauldb arnauldb changed the title errors errors when running GrammalecteCheck Jul 9, 2019
@Stekache Stekache mentioned this issue Oct 24, 2020
@Stekache
Copy link
Contributor

Hello. Thanks for your plugin. Got the same problem as arnauldb, fixed #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants