3

I'm having the same issue with RabbitVCS as this post: Rabbit VCS on Ubuntu 18.04 - not showing menu in Nautilus. However, I've followed the accepted answer and the comments, and I still do not get the RabbitVCS context menu.

enter image description here

UPDATE: Below are the results of the commands from the other post that I followed. Also, if it makes a difference, I'm running inside VirtualBox.

~$ aptitude search rabbitvcs
p   rabbitvcs-cli      - Command line interface for RabbitVCS                                     
i A rabbitvcs-core     - Easy version control                                                     
p   rabbitvcs-gedit    - Gedit extension for RabbitVCS                                            
i   rabbitvcs-nautilus - Nautilus extension for RabbitVCS

~$ ll ~/.local/share/nautilus-python/extensions/
total 52
drwxr-xr-x 2 alager alager  4096 Jan 28 14:20 ./
drwxr-xr-x 3 alager alager  4096 Jan 28 14:20 ../
-rw-r--r-- 1 alager alager 24082 Jan 28 14:20 RabbitVCS.py
-rw-r--r-- 1 alager alager 20384 Jan 28 14:20 RabbitVCS.pyc

Update2:

~$ python /usr/share/nautilus-python/extensions/RabbitVCS.py /usr/share/nautilus-python/extensions/RabbitVCS.py:63: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Nautilus, GObject, Gtk, GdkPixbuf

Aaron
  • 161
  • 1
  • 6

2 Answers2

1

Please follow the same procedure as the other question's accepted answer as you mentioned, but try killing Nautilus process instead of restarting it.


Install rabbitvcs-nautilus

sudo apt-get install rabbitvcs-nautilus

Create a local folder (under user home) to store the python extension

mkdir -p ~/.local/share/nautilus-python/extensions

Copy the RabbitVCS python extension to new local folder

cp /usr/share/nautilus-python/extensions/RabbitVCS.py \
~/.local/share/nautilus-python/extensions

Try restarting Nautilus:

nautilus -q

Optional: If you still cannot view the context menu, then try killing Nautilus, which should get usually restarted automatically.

sudo killall nautilus

Jim C
  • 371
0

If you still can't get it working, I'd recommend compiling it from source (AFTER purging the installed packages). I was never able to get the repo version working myself without some serious problems. One big problem being that when viewing logs, the comparison feature between revisions always told me both files were identical. Mmm, no, they are not...

The version in the Ubuntu repos is quite old compared to the newest (17.x)

https://github.com/rabbitvcs/rabbitvcs

The client you want is nautilus-3.0 if that's what you're using.

The instructions are all there. If you're running a newer (2.7 up, I believe) version of Python, in some of the relevant files it might be worth changing "import simplejson" to "import json as simplejson" in the source files whereever "import simplejson" appears, and then recompile/reinstall. This is because Python has changed its library to have "simplejson" as the default "json" library.

  • I followed the instructions from github...no dice. :( Their PPA doesn't work either with the current version (bionic) of ubuntu. – Aaron Jan 29 '19 at 16:59
  • If you want, I can try and get a script that performs everything for you tomorrow to install it. It definitely works for me on various distributions including Ubuntu... Might be something left over that is causing an issue? – James Forward Jan 29 '19 at 21:20
  • That's a tricky one, since now it "magically" started worked, while I was following N0rbert's suggestions. It's resolved, but not sure how/why. – Aaron Jan 29 '19 at 21:50
  • Seems like a case of Schrodinger's bug.

    Let me know if you do get the issue with compared revisions in the log saying "file is identical" though, that's the main issue I had with the repo version which is resolved by the version on GitHub.

    – James Forward Jan 30 '19 at 09:16