Bug 1767522 - rabbitvcs-nautilus does not work in Fedora 31
Summary: rabbitvcs-nautilus does not work in Fedora 31
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rabbitvcs
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pete Walter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-31 16:05 UTC by Franco Bugnano
Modified: 2020-09-25 16:46 UTC (History)
11 users (show)

Fixed In Version: rabbitvcs-0.18-1.fc32 rabbitvcs-0.18-1.fc31 rabbitvcs-0.18-2.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-01 19:30:59 UTC
Type: Bug


Attachments (Terms of Use)

Description Franco Bugnano 2019-10-31 16:05:59 UTC
Description of problem:
The Nautilus extension of RabbitVCS crashes with the following error:

Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/RabbitVCS.py", line 71, in <module>
    import rabbitvcs.vcs.status
  File "/usr/lib/python3.7/site-packages/rabbitvcs/vcs/status.py", line 403, in <module>
    class TestStatusObjects(unittest.TestCase):
  File "/usr/lib/python3.7/site-packages/rabbitvcs/vcs/status.py", line 408, in TestStatusObjects
    os.path.join(base, chr(x)) for x in range(97,123) 
  File "/usr/lib/python3.7/site-packages/rabbitvcs/vcs/status.py", line 408, in <listcomp>
    os.path.join(base, chr(x)) for x in range(97,123) 
NameError: name 'base' is not defined

Version-Release number of selected component (if applicable):
rabbitvcs-core-0.17.1-11.fc31.noarch
python3-rabbitvcs-0.17.1-11.fc31.noarch
rabbitvcs-cli-0.17.1-11.fc31.noarch
rabbitvcs-nautilus-0.17.1-11.fc31.noarch

How reproducible:
Always

Steps to Reproduce:
Install the rabbitvcs-nautilus RPM and run Nautilus.

Actual results:
Nautilus works, but without the RabbitVCS emblems and context-menu items, and if run from the command line, the traceback is printed.

Expected results:
Nautilus works, and in a Git repo, there are emblems that show the Git status of each file, and right clicking a file shows additional options (for example to show the file log, or to diff to a previous version).

Additional info:
It worked on Fedora 29 (using the Python 2 extension). I skipped Fedora 30, so I don't know if it worked there or not.

Comment 1 Marcio Jota Coelho 2019-11-14 11:39:51 UTC
Same Problem, at fedora 30

Comment 2 Pete Walter 2019-11-14 15:44:47 UTC
Upstream related: https://github.com/rabbitvcs/rabbitvcs/issues/279

Comment 3 Franco Bugnano 2019-11-14 16:12:08 UTC
Maybe it's related, maybe it's not.

As far as I understand, the latest git snapshot of RabbitVCS supports both Python2 and Python3, both GTK2 and GTK3, so if nautilus-python is built against Python3 and GTK3, then RabbitVCS should already work.

Comment 4 Edgar Hoch 2020-02-26 02:37:16 UTC
I have build version 0.18, it solves the problem for me.

I have created a pull request; please build packages for version 0.18.
https://src.fedoraproject.org/rpms/rabbitvcs/pull-request/2

Comment 5 Edouard Bourguignon 2020-04-07 16:41:27 UTC
still there in Fedora 32

Comment 6 Franco Bugnano 2020-04-30 15:04:59 UTC
In Fedora 32 the situation is worse, as RabbitVCS not only is at the old 0.17.1 version, but it pulls in the python2 dependencies.

Any chance of upgrading to the 0.18 version with Python3 and Gtk3?

It looks like Edgar Hoch already fixed the issue on February, will his pull request be merged?

Comment 7 jan p. springer 2020-08-28 12:45:03 UTC
any news on this?

Comment 8 Pete Walter 2020-08-31 13:05:56 UTC
I went ahead and built the new 0.18 version which should hopefully fix this.

Comment 9 Fedora Update System 2020-08-31 13:09:44 UTC
FEDORA-2020-0e599300b3 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-0e599300b3

Comment 10 Fedora Update System 2020-08-31 14:05:09 UTC
FEDORA-2020-d92d298b37 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d92d298b37

Comment 11 Fedora Update System 2020-08-31 15:55:41 UTC
FEDORA-2020-0e599300b3 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-0e599300b3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-0e599300b3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-08-31 16:34:54 UTC
FEDORA-2020-d92d298b37 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-d92d298b37`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d92d298b37

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2020-08-31 18:58:13 UTC
FEDORA-2020-f647f8ce72 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f647f8ce72`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f647f8ce72

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 jan p. springer 2020-09-01 13:26:24 UTC
rabbitvcs again shows up in nautilus and works. however, the above command line 'dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f647f8ce72' does not work as expected; the --advisory part needs to be replaced by the desired package (base) name to get the bodhi update.

Comment 15 Edgar Hoch 2020-09-01 13:45:53 UTC
(In reply to jan p. springer from comment #14)
> rabbitvcs again shows up in nautilus and works. however, the above command
> line 'dnf upgrade --enablerepo=updates-testing
> --advisory=FEDORA-2020-f647f8ce72' does not work as expected; the --advisory
> part needs to be replaced by the desired package (base) name to get the
> bodhi update.

The command for Fedora 32
dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-0e599300b3
works perfect, no need to replace anything.
Did you pick the command for your Fedora version?

Comment 16 Edgar Hoch 2020-09-01 13:47:21 UTC
(In reply to jan p. springer from comment #14)
> rabbitvcs again shows up in nautilus and works.
Please would you leave karma if it works for you?

Comment 17 jan p. springer 2020-09-01 14:08:32 UTC
(In reply to Edgar Hoch from comment #15)
> The command for Fedora 32
> dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-0e599300b3
> works perfect, no need to replace anything.
> Did you pick the command for your Fedora version?

sorry, my bad. picked the wrong one from the several emails.

Comment 18 Fedora Update System 2020-09-01 19:30:59 UTC
FEDORA-2020-0e599300b3 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2020-09-04 19:17:14 UTC
FEDORA-2020-db141558f9 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-db141558f9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-db141558f9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2020-09-08 15:14:03 UTC
FEDORA-2020-d92d298b37 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2020-09-25 16:46:06 UTC
FEDORA-2020-db141558f9 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.