Fedora Linux Support Community & Resources Center
  #1  
Old 25th November 2011, 08:44 PM
joe.pelayo Offline
An ape descendant
 
Join Date: Dec 2006
Location: Mexico City
Age: 29
Posts: 3,104
linuxchrome
Exclamation Can't open Nautilus in F16 x86_64

Hello everybody.

At first it was an occasional glitch in F16, now it happens always: I can't open Nautilus no matter what.

Here is the error message given by the terminal:
Code:
[joe@tizoc ~]$ nautilus
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 23, in <module>
    from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".',))

(nautilus:4407): Nautilus-Python-WARNING **: nautilus_python_init_python failed
Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 48, in <module>
    from gi.repository import Nautilus, Gtk, Gdk, Vte, GLib
  File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 23, in <module>
    from ._gi import _API, Repository
ImportError: cannot import name _API
Violación de segmento (`core' generado)
[joe@tizoc ~]$
Anyone else? Is there any solution to this? Last night I disabled SELinux for a while (rebooted the machine of course) and it didn't help.

I also realize it has something to do with Python but have no idea how to fix it.

EDIT: According to this bug report it only happens to the 64 bit version, it also suggests to fix the problem by removing "nautilus-terminal". After removing the aforementioned nautilus extension the problem "went away", but it is just a workaround (at least for those who need nautilus-terminal).

Thanks,
Joe.
__________________
Notebook: Acer Aspire 5536-5112.
AMD Athlon X2 QL64 @ 2.1GHz, 4GB DDR2 PC2-5300, ATI Radeon HD3200 (256MB), 250GB Toshiba HDD, HL-DT-ST DVDRAM GT20N
Fedora 16 x86_64

Netbook: Acer Aspire One A150
Intel Atom N270 @ 1.6GHz, 1.5 GB DDR2 PC2-4200, Intel Graphics (8MB?), 160GB Seagate HDD
Fedora 15 i686

Last edited by joe.pelayo; 25th November 2011 at 11:22 PM. Reason: Found a workaround.
Reply With Quote
  #2  
Old 22nd December 2011, 04:28 AM
filegrepper Offline
Registered User
 
Join Date: Nov 2008
Posts: 12
linuxfirefox
Re: Can't open Nautilus in F16 x86_64

Seeing the same thing here. Fresh install of F16 64 bit, fully updated.

[rod@acer ~]$ nautilus
Initializing nautilus-image-converter extension
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 23, in <module>
from ._gi import _API, Repository
ImportError: could not import gobject (error was: ImportError('When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject".',))

(nautilus:2233): Nautilus-Python-WARNING **: nautilus_python_init_python failed
Traceback (most recent call last):
File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 48, in <module>
from gi.repository import Nautilus, Gtk, Gdk, Vte, GLib
File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 23, in <module>
from ._gi import _API, Repository
ImportError: cannot import name _API
Segmentation fault (core dumped)
[rod@acer ~]$

---------- Post added at 09:42 PM ---------- Previous post was at 09:35 PM ----------

After removing the recently installed nautilus-terminal, things are fine again.
Interesting reading here;
https://bugzilla.redhat.com/show_bug...iple&id=744534

---------- Post added at 10:28 PM ---------- Previous post was at 09:42 PM ----------

Shoot, I wish I would have read your entire post, you found the answer to the problem!
Reply With Quote
Reply

Tags
f16, nautilus, open, x8664

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nautilus fails to open in F16 x86_64 joe.pelayo Using Fedora 0 14th November 2011 03:28 PM
nautilus open terminal cmscritic Using Fedora 2 7th September 2009 11:27 PM
Nautilus scripts, mostly bash, as root open nautilus in current folder. leadgolem Programming & Packaging 18 28th January 2008 08:21 AM
nautilus-open-terminal making nautilus crash XMAG Using Fedora 5 3rd December 2007 09:05 PM


Current GMT-time: 14:31 (Saturday, 19-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat