Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

use padpo on tutorial/venv.po, translate one empty#1064

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JulienPalard merged 2 commits intopython:3.8fromvpoulailleau:windows_translation
Dec 12, 2019

Conversation

vpoulailleau
Copy link
Contributor

Une traduction qui clôt rien, j’avais pas réservé.

Par contre, une traduction réalisé sous Windows avecpadpo,powrap,potodo et consort. 🎉

Cf#1062

@JulienPalard
Copy link
Member

Dans la série installer les outils sur Windows, pourrais-tu tester cette branche :https://github.com/JulienPalard/pospell/tree/hunspell

Elle tend a rendre l'installation de pospell plus simple sur windows (pas de dépendances à hunspell).

Mais elle n'est pas encore capable de télécharger toute seule un dictionnaire, et elle hardcode le path, donc j'imagine qu'elle ne fonctionne pas sur Windows :(

@vpoulailleau
Copy link
ContributorAuthor

vpoulailleau commentedDec 12, 2019
edited
Loading

Dans la série installer les outils sur Windows, pourrais-tu tester cette branche :JulienPalard/pospell@hunspell

@JulienPalard :

(venv_pospell) vincent@DESKTOP-URSSREA:/mnt/c/Users/vincent/Documents/traduction_python_docs/python-docs-fr$ pip install git+https://github.com/JulienPalard/pospell.git@hunspellCollecting git+https://github.com/JulienPalard/pospell.git@hunspell  Cloning https://github.com/JulienPalard/pospell.git (to hunspell) to /tmp/pip-jt6k1sd9-buildCollecting cyhunspell (from pospell==1.0.3)  Downloading https://files.pythonhosted.org/packages/7b/c1/f2d43b9a111de312a9f2e33118926e7e5b96d3f634adf643a4bb543bbe8a/CyHunspell-1.3.4.tar.gz (2.7MB)    100% |████████████████████████████████| 2.7MB 534kB/s    Complete output from command python setup.py egg_info:    Downloading https://github.com/hunspell/hunspell/archive/v1.6.2.tar.gz to /tmp/pip-build-u78tbtqk/cyhunspell/external/v1.6.2.tar.gz    Extracting /tmp/pip-build-u78tbtqk/cyhunspell/external/v1.6.2.tar.gz to /tmp/pip-build-u78tbtqk/cyhunspell/external    Traceback (most recent call last):      File "/tmp/pip-build-u78tbtqk/cyhunspell/find_library.py", line 226, in pkgconfig        raise RuntimeError(response)    RuntimeError: /bin/sh: 1: pkg-config: not found    During handling of the above exception, another exception occurred:    Traceback (most recent call last):      File "<string>", line 1, in <module>      File "/tmp/pip-build-u78tbtqk/cyhunspell/setup.py", line 46, in <module>        hunspell_config = pkgconfig('hunspell', language='c++')      File "/tmp/pip-build-u78tbtqk/cyhunspell/find_library.py", line 259, in pkgconfig        lib_path = build_hunspell_package(os.path.join(BASE_DIR, 'external', 'hunspell-1.6.2'))      File "/tmp/pip-build-u78tbtqk/cyhunspell/find_library.py", line 189, in build_hunspell_package        check_call(['autoreconf', '-vfi'])      File "/usr/lib/python3.8/subprocess.py", line 359, in check_call        retcode = call(*popenargs, **kwargs)      File "/usr/lib/python3.8/subprocess.py", line 340, in call        with Popen(*popenargs, **kwargs) as p:      File "/usr/lib/python3.8/subprocess.py", line 854, in __init__        self._execute_child(args, executable, preexec_fn, close_fds,      File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child        raise child_exception_type(errno_num, err_msg, err_filename)    FileNotFoundError: [Errno 2] No such file or directory: 'autoreconf'    ----------------------------------------Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-u78tbtqk/cyhunspell/

@JulienPalard
Copy link
Member

Dans la série installer les outils sur Windows, pourrais-tu tester cette branche :JulienPalard/pospell@hunspell

@JulienPalard :

(venv_pospell) vincent@DESKTOP-URSSREA:/mnt/c/Users/vincent/Documents/traduction_python_docs/python-docs-fr$ pip install git+https://github.com/JulienPalard/pospell.git@hunspellCollecting git+https://github.com/JulienPalard/pospell.git@hunspell  Cloning https://github.com/JulienPalard/pospell.git (to hunspell) to /tmp/pip-jt6k1sd9-buildCollecting cyhunspell (from pospell==1.0.3)  Downloading https://files.pythonhosted.org/packages/7b/c1/f2d43b9a111de312a9f2e33118926e7e5b96d3f634adf643a4bb543bbe8a/CyHunspell-1.3.4.tar.gz (2.7MB)    100% |████████████████████████████████| 2.7MB 534kB/s    Complete output from command python setup.py egg_info:    Downloading https://github.com/hunspell/hunspell/archive/v1.6.2.tar.gz to /tmp/pip-build-u78tbtqk/cyhunspell/external/v1.6.2.tar.gz    Extracting /tmp/pip-build-u78tbtqk/cyhunspell/external/v1.6.2.tar.gz to /tmp/pip-build-u78tbtqk/cyhunspell/external    Traceback (most recent call last):      File "/tmp/pip-build-u78tbtqk/cyhunspell/find_library.py", line 226, in pkgconfig        raise RuntimeError(response)    RuntimeError: /bin/sh: 1: pkg-config: not found    During handling of the above exception, another exception occurred:    Traceback (most recent call last):      File "<string>", line 1, in <module>      File "/tmp/pip-build-u78tbtqk/cyhunspell/setup.py", line 46, in <module>        hunspell_config = pkgconfig('hunspell', language='c++')      File "/tmp/pip-build-u78tbtqk/cyhunspell/find_library.py", line 259, in pkgconfig        lib_path = build_hunspell_package(os.path.join(BASE_DIR, 'external', 'hunspell-1.6.2'))      File "/tmp/pip-build-u78tbtqk/cyhunspell/find_library.py", line 189, in build_hunspell_package        check_call(['autoreconf', '-vfi'])      File "/usr/lib/python3.8/subprocess.py", line 359, in check_call        retcode = call(*popenargs, **kwargs)      File "/usr/lib/python3.8/subprocess.py", line 340, in call        with Popen(*popenargs, **kwargs) as p:      File "/usr/lib/python3.8/subprocess.py", line 854, in __init__        self._execute_child(args, executable, preexec_fn, close_fds,      File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child        raise child_exception_type(errno_num, err_msg, err_filename)    FileNotFoundError: [Errno 2] No such file or directory: 'autoreconf'    ----------------------------------------Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-u78tbtqk/cyhunspell/

Genial.

@JulienPalardJulienPalard merged commit1d5ab1b intopython:3.8Dec 12, 2019
@JulienPalard
Copy link
Member

👍

@vpoulailleau
Copy link
ContributorAuthor

Genial.

@JulienPalard, attend, je viens de voir ça :

Ubuntu on windows needs autoconf and build tooling installed to function. Install sudo apt-get install autoconf automake libtool build-essential pkg-config python python-dev to enable build tooling to work.

Ce qui est mon cas. En fait, il y a du C++ dans tes dépendances, donc faut que je teste dans le Ubuntu du Windows Store, et en dehors. Je te tiens au jus…

@JulienPalard
Copy link
Member

@vpoulailleau tu pourrais tester de pip install directementcyhunspell, je pense que c'est eux le souci, et peut être directement bug report ici :https://github.com/MSeal/cython_hunspell/

@christopheNan
Copy link
Contributor

Merci à padpo et à son auteur !

vpoulailleau and Seluj78 reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JulienPalardJulienPalardJulienPalard approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@vpoulailleau@JulienPalard@christopheNan

[8]ページ先頭

©2009-2025 Movatter.jp