web-dev-qa-db-fra.com

13.04 pas de menu contextuel après l’installation de rabbitvcs

J'utilisais le lapin dans 12.04 LTS et ensuite mis à niveau vers 13.04 alors que le menu du lapin avait disparu. Alors je suis allé à la page d'installation et ai suivi les instructions:

  1. Sudo add-apt-repository ppa:rabbitvcs/ppa
  2. Sudo apt-get update
  3. Sudo apt-get install rabbitvcs-nautilus3
  4. redémarrer l'ordinateur, pas de menu contextuel. Alors j'ai continué:
  5. Sudo apt-get install rabbitvcs-gedit
  6. Sudo apt-get install rabbitvcs-cli

    • Se déconnecter
    • s'identifier
    • nautile ouvert,
    • clic droit sur dossier aléatoire

mais toujours pas "Rabbit VCS" dans le menu contextuel. Je fais certainement quelque chose de mal. Mais ne peut pas comprendre quoi ...

EDIT La version de Nautilus est 3.6.3 et il s’agit essentiellement de la valeur par défaut fournie avec Ubuntu 13.04 - dans Ubuntu, il est appelé "Fichiers".

Contenu de .config/rabbitvcs/RabbitVCS.log:

2013-06-18 10:02:45,462 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,047 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/sv2013-06-18 10:02:45,462 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,047 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,047 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,437 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,437 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
n/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,047 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,437 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,437 ERROR   rabbitvcs.vcs.svn       The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
    update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.

Contenu de /usr/share/rabbitvcs/configspec.ini

[general]
language = string(default="English")
enable_attributes = boolean(default=True)
enable_emblems = boolean(default=True)
enable_recursive = boolean(default=True)
show_debug = boolean(default=False)
show_unversioned_files = boolean(default=True)

[external]
diff_tool = string(default="/usr/bin/meld")
diff_tool_swap = boolean(default=False)

[cache]
number_repositories = integer(default=30)
number_messages = integer(default=30)

[logging]
type = option("None", "File", "Console", "Both", default="Both")
level = option("Debug", "Warning", "Info", "Error", "Critical", default="Error")
7
Pavel Janicek

Vous pouvez corriger le menu contextuel manquant. Je suggère de supprimer la version de PPA installée et le ppa ( Comment supprimer un PPA ajouté via une ligne de commande? ), réinstallez la version d'Ubuntu et suivez les instructions que j'ai dérivées du bogue signalé: - https://bugs.launchpad.net/ubuntu/+source/rabbitvcs/+bug/10935 .

Vous devez télécharger le fichier suivant http://rabbitvcs.googlecode.com/svn/trunk/clients/nautilus-3.0/RabbitVCS.py

Copiez-le (en utilisant root/su/Sudo) dans:

/usr/share/nautilus-python/extensions/RabbitVCS.py

Vous devrez peut-être également créer le lien symbolique suivant:

Sudo ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0

Vous devrez redémarrer votre session (déconnecter et reconnecter) pour voir les modifications.

10
NGRhodes

Donc, il semble que vous ayez des fichiers .svn appartenant à votre ancienne version de rabbitvcs (probablement 1.6). Ceux-ci doivent être mis à niveau vers la version 1.7, qui correspond à la version que vous avez installée. Pour ce faire, exécutez les opérations suivantes sur un terminal:

svn upgrade

Vous devez redémarrer pour que cela se termine. Pour redémarrer: Sudo reboot

1
jobin