Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 17/12/2020, à 20:47

cdomi

Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

Bonjour,

Je suis sous Ubuntu 20.04.1 LTS avec la version de libreOffice 7.0.1.2.

Grammalecte version 1.9 ne fonctionnant pas, j'ai désinstallé celle-ci pour installer la dernière version 2.0.

Celle-ci ne s'active pas après installation. Même résultat avec la version 1.7 de grammalecte.

Le site de grammalecte indique un ceci :

Veuillez à installer la «passerelle Python-UNO», le paquet se nomme en général libreoffice-pyuno, python3-uno ou openoffice-python-uno ou quelque chose d’approchant, ça dépend des distributions. Il existe une passerelle pour Python3 et une autre pour Python2. Grammalecte fonctionne avec Python 3.3, ou en version rétrocompatible avec Python 2.7.

La version de python installé actuellement est la 2.7.18.

Un message d'alerte lors de la tentative d'installation de python3-uno indique ceci :
Les paquets suivants contiennent des dépendances non satisfaites :
libreoffice-common : Casse: python3-uno (< 1:7.0.0~alpha) mais 1:6.4.6-0ubuntu0.20.04.1 devra être installé
E: Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état

Une idée pour résoudre le problème et la prise en charge de l'extension grammalecte sur LibreOffice ?

Merci

Dernière modification par cdomi (Le 19/12/2020, à 19:48)

Hors ligne

#2 Le 17/12/2020, à 21:15

abelthorne

Re : Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

Comment as-tu installé cette version de LO ? paquets deb ? dépôt tiers ?

Pour essayer d'y voir plus clair, donne le retour de :

dpkg -l | grep libreoffice
dpkg -l | grep python-is
dpkg -l | grep uno

Hors ligne

#3 Le 17/12/2020, à 23:12

JBF

Re : Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

cdomi a écrit :

Je suis sous Ubuntu 20.04.1 LTS avec la version de libreOffice 7.0.1.2.

La version 7.0 de LibreOffice en est à sa 4e mise à jour corrective (7.0.4) : ta 7.0.1 est dépassée depuis un moment.
La version actuelle de Grammalecte est la 2.0.0 sortie le 4 décembre : https://grammalecte.net/#download


LibreOffice : https://fr.libreoffice.org/ (téléchargement, documentation, FAQ, assistance, contribuer, ...)
Aide pour LibreOffice par la communauté francophone : https://ask.libreoffice.org/fr/

Hors ligne

#4 Le 19/12/2020, à 17:26

cdomi

Re : Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

Bonjour,

La version de LO paquet deb de la mise à jour de 18.04 vers 20.04

Voici les infos relevés :

ii  liblibreoffice-java                        1:7.0.1~rc2-0ubuntu0.18.04.1            all          LibreOffice UNO runtime environment -- Java library
ii  libreoffice-avmedia-backend-gstreamer      1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        transitional package for GStreamer backend for LibreOffice
ii  libreoffice-base                           1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- database
ii  libreoffice-base-core                      1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- shared library
ii  libreoffice-base-drivers                   1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        Database connectivity drivers for LibreOffice
ii  libreoffice-calc                           1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- spreadsheet
ii  libreoffice-common                         1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- arch-independent files
ii  libreoffice-core                           1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- arch-dependent files
ii  libreoffice-draw                           1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- drawing
ii  libreoffice-gnome                          1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- GNOME integration
ii  libreoffice-gtk3                           1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- GTK+ 3 integration
ii  libreoffice-help-common                    1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- common files for LibreOffice help
ii  libreoffice-help-en-us                     1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- English_american help
ii  libreoffice-help-fr                        1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- French help
ii  libreoffice-impress                        1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- presentation
ii  libreoffice-java-common                    1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- arch-independent Java support files
ii  libreoffice-l10n-fr                        1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- French language package
rc  libreoffice-librelogo                      1:7.0.1~rc2-0ubuntu0.18.04.1            all          Logo-like programming language for LibreOffice
ii  libreoffice-math                           1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        office productivity suite -- equation editor
ii  libreoffice-nlpsolver                      0.9+LibO7.0.1~rc2-0ubuntu0.18.04.1      all          "Solver for Nonlinear Programming" extension for LibreOffice
ii  libreoffice-ogltrans                       1:7.0.1~rc2-0ubuntu0.18.04.1            all          transitional package for libreoffice-ogltrans
ii  libreoffice-pdfimport                      1:7.0.1~rc2-0ubuntu0.18.04.1            all          transitional package for PDF Import component for LibreOffice
ii  libreoffice-report-builder                 1:7.0.1~rc2-0ubuntu0.18.04.1            all          LibreOffice component for building database reports
ii  libreoffice-report-builder-bin             1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        LibreOffice component for building database reports -- libraries
ii  libreoffice-script-provider-bsh            1:7.0.1~rc2-0ubuntu0.18.04.1            all          BeanShell script support provider for LibreOffice scripting framework
ii  libreoffice-script-provider-js             1:7.0.1~rc2-0ubuntu0.18.04.1            all          JavaScript script support provider for LibreOffice scripting framework
rc  libreoffice-script-provider-python         1:7.0.1~rc2-0ubuntu0.18.04.1            all          Python script support provider for LibreOffice scripting framework
ii  libreoffice-sdbc-firebird                  1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        Firebird SDBC driver for LibreOffice
ii  libreoffice-sdbc-mysql                     1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        MariaDB/MySQL SDBC driver for LibreOffice
ii  libreoffice-sdbc-postgresql                1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        PostgreSQL SDBC driver for LibreOffice
ii  libreoffice-style-breeze                   1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- Breeze symbol style
ii  libreoffice-style-colibre                  1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- colibre symbol style
ii  libreoffice-style-elementary               1:7.0.1~rc2-0ubuntu0.18.04.1            all          office productivity suite -- Elementary symbol style

puis

ii  python-is-python2                          2.7.17-4                                all          symlinks /usr/bin/python to the DEPRECATED python2

puis

ii  libuno-cppu3                               1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        LibreOffice UNO runtime environment -- CPPU public library
ii  libuno-cppuhelpergcc3-3                    1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        LibreOffice UNO runtime environment -- CPPU helper library
ii  libuno-purpenvhelpergcc3-3                 1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        LibreOffice UNO runtime environment -- "purpose environment" helper
ii  libuno-sal3                                1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        LibreOffice UNO runtime environment -- SAL public library
ii  libuno-salhelpergcc3-3                     1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        LibreOffice UNO runtime environment -- SAL helpers for C++ library
ii  libunoil-java                              1:7.0.1~rc2-0ubuntu0.18.04.1            all          LibreOffice UNO runtime environment -- UNO interface library (compatibility library)
ii  libunoloader-java                          1:7.0.1~rc2-0ubuntu0.18.04.1            all          LibreOffice UNO runtime environment -- (Java) UNO loader
rc  python3-uno                                1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        Python-UNO bridge
ii  uno-libs-private                           1:7.0.1~rc2-0ubuntu0.18.04.1            amd64        LibreOffice UNO runtime environment -- private libraries used by public one

Merci pour ton aide

Domi

Hors ligne

#5 Le 19/12/2020, à 17:59

cdomi

Re : Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

Bonjour,

J'ai mis à jour LibreOffice en utilisant de dépôt ppa:libreoffice/ppa
La version de LO est:
Version: 7.0.4.2
Ubuntu package version: 1:7.0.4_rc2-0ubuntu0.20.04.2

Toujours le même problème, impossible d'activer grammalecte 2.0

Dernière modification par cdomi (Le 19/12/2020, à 19:53)

Hors ligne

#6 Le 19/12/2020, à 18:29

abelthorne

Re : Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

Essaie ça :

sudo apt-get remove --purge libreoffice-librelogo libreoffice-script-provider-python python3-uno python-is-python2
sudo apt-get install python-is-python3
sudo apt-get install --reinstall python3-uno

Au cas où, donne aussi le retour de :

apt list | grep "installé, local"

Hors ligne

#7 Le 19/12/2020, à 19:49

cdomi

Re : Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

Nickel,

Grammalecte 2.0 fonctionne!

Merci

Bonne fêtes de fin d'année

Domi

Hors ligne

#8 Le 19/12/2020, à 19:54

abelthorne

Re : Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

Ça a été résolu par les commandes que j'ai données ? Si c'est le cas, je précise quand même quelque chose : je t'ai fait supprimer python-is-python2 (qui dit au système que la commande python correspond à Python 2.x) pour installer python-is-python3 à la place (qui dit que la commande python correspond à Python 3.x). Sachant que Python 2 a en grande partie été supprimé des dépôts Ubuntu parce qu'il est obsolète, c'était préférable et c'est peut-être ça qui posait problème mais si tu as des vieilles applis qui sont encore en Python 2, ce changement peut avoir des conséquences sur leur fonctionnement.

Hors ligne

#9 Le 13/07/2022, à 15:36

kmkm

Re : Grammalecte pour Libreoffice 7.0.1.2 [RESOLU]

Merci abelthorne.

Ma LibreOffice n'est pas de cette version, mais j'avais ce problème et cela me gênait longtemps. Mais enfin j'ai trouvè la solution.:)

Hors ligne