Bug 1046899

Summary: nautilus-python cannot find pygobject on x86_64
Product: [Fedora] Fedora Reporter: Franco Bugnano <fri8k>
Component: nautilus-pythonAssignee: Patrick Dignan <dignan.patrick>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dignan.patrick, mnl, oskar.berggren
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: nautilus-python-1.1-6.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-15 06:57:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix none

Description Franco Bugnano 2013-12-27 10:43:30 UTC
Description of problem:

I have installed Fedora 20 x86_64, and I wanted to use tortoisehg-nautilus (which uses the nautilus-python extension and worked fine on Fedora 19 x86_64), but it does not work.

When starting Nautilus from the command line, the following errors appear:

ImportError: could not import gobject (could not find _PyGObject_API object)

(nautilus:4571): Nautilus-Python-WARNING **: pygobject initialization failed

(nautilus:4571): Nautilus-Python-WARNING **: nautilus_python_init_python failed
Initializing nautilus-open-terminal extension



Version-Release number of selected component (if applicable): 
Fedora 20
nautilus-3.10.1-2.fc20.x86_6
nautilus-python-1.1-4.fc19.x86_64
tortoisehg-nautilus-2.10.1-0.fc20.noarch



How reproducible:


Steps to Reproduce:
1. Open Nautilus
2. Go to a directory that is versioned with Mercurial

Actual results:
The directory is shown as it was not versioned, no symbols and no tortoisehg context menu


Expected results:
The versioned directory contains the symbols for up to date files, or modified files, and the right-click context menu has some commonly used Mercurial commands


Additional info:

Comment 1 Oskar Berggren 2014-01-07 15:07:12 UTC
The nautilus-python package needs to be rebuilt for Fedora 20, see bug #992325 and #993991.

Comment 2 Michael Lipp 2014-02-03 22:37:25 UTC
Created attachment 858873 [details]
Fix

Here is the patch that I have applied to nautilus-python.spec in order to get everything working again -- quite simple, actually.

Comment 3 Fedora Update System 2014-02-04 11:14:29 UTC
nautilus-python-1.1-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/nautilus-python-1.1-6.fc20

Comment 4 Fedora Update System 2014-02-05 03:43:42 UTC
Package nautilus-python-1.1-6.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nautilus-python-1.1-6.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2032/nautilus-python-1.1-6.fc20
then log in and leave karma (feedback).

Comment 5 Franco Bugnano 2014-02-05 08:50:44 UTC
The nautilus-python-1.1-6.fc20 found in the updates-testing repo works great and fixes this bug, thank you very much.

Comment 6 Franco Bugnano 2014-02-07 09:41:45 UTC
Before closing this bug, I found that the overlay symbols and the tortoisehg context menus are there, but if I try to make an action on a file inside a subdirectory, for example

Right click on a modifiled file->TortoiseHG->Revert file...

tortoisehg fails with the message box:
No files found for this operation.

On the console the output is something like
static/coffee/levels.coffee: No such file or directory

I don't know if this is a problem with the latest version of tortoisehg-nautilus, or the nautilus-python patch.

Comment 7 Fedora Update System 2014-02-15 06:57:08 UTC
nautilus-python-1.1-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.