Nautilus Terminal causing Nautilus not to load

Bug #920268 reported by David Riley
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nautilus Terminal
Fix Released
Undecided
Hicham HAOUARI

Bug Description

After installing Nautilus Terminal after installing from the Fedora 16 repos, and downloading and installing from the website, Nautilus refuses to load. Checking the ABRT report after the crash reports: "unhandled python exception in Nautilus". This happens every time I attempt to open Nautilus, and the file manager resumes its normal behavior after uninstalling the extension.

I've attached abrt's environ, var_log_messages, dso_list, and maps data, if the core dump or any further information is needed just let me know, I was pretty excited to find this extension and have an terminal built in to nautilus rather than having to use my spawn terminal script, so I'll be more than glad to help.

Revision history for this message
David Riley (dmfnr1) wrote :
Revision history for this message
David Riley (dmfnr1) wrote :

I apoligize if this bug tracker is only for Ubuntu users, it was where the "Report Bugs" link on your webpage led. If this is a better place for me to report this bug in relation to Fedora, please let me know.

Revision history for this message
madsector (manu-fo) wrote :

Had the same problem with Fedora 16 and Gnome 3 some time ago. Now I tried again and nautilus works again with the plugin installed, but the plugin doesn't work (no terminal is shown in the nautilus window). Maybe related to this bug here: https://bugzilla.redhat.com/show_bug.cgi?id=744534 even though nautilus works now for me with nautilus-python version 1.0 and the terminal plugin installed.

Revision history for this message
David Riley (dmfnr1) wrote :

My problem is pretty much exactly the same as the one in the bug you posted, starting nautilus from the terminal yields:

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:31386): Nautilus-Python-WARNING **: nautilus_python_init_python failed
Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 49, in <module>
    from gi.repository import GObject, 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)

I also have nautilus-python 1.0 installed, but nautilus still will not start with the nautilus-terminal extension installed.

Revision history for this message
Hicham HAOUARI (funnylife-ma) wrote :

I updated nautilus-python to 1.1 and nautilus-terminal to final 1.0 and I still get :

Traceback (most recent call last):
  File "/usr/lib/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:10865): Nautilus-Python-WARNING **: nautilus_python_init_python failed

Revision history for this message
madsector (manu-fo) wrote :

I just tried again nautilus-terminal (my nautilus-python is still version 1.0!) and now nautilus starts without an error with the plugin installed. But now the plugin doesn't work anymore, can't see the terminal inside the nautilus window. Tried it with the version from Fedora 16 repository and with the version from your website. Same behavior for both versions. When starting nautilus from terminal no errors appear, so maybe it has nothing to do with nautilus-python version after all!

Revision history for this message
Hicham HAOUARI (funnylife-ma) wrote :
Revision history for this message
madsector (manu-fo) wrote :

Well, thats odd. Installe both packages on Fedora 16 64bit, yum says installation went fine with new versions are listed, but the terminal window still doesn't appear in nautilus after restart with "nautilus -q" (which normally worked for nautilusßterminal installation).

Revision history for this message
Hicham HAOUARI (funnylife-ma) wrote :

Sorry, it is my fault on Fedora

Revision history for this message
Hicham HAOUARI (funnylife-ma) wrote :
Revision history for this message
madsector (manu-fo) wrote :

Yes, it works! Installed the new update of nautilus-python (still nautilus-terminal 1.0-1 installed) and now the nautilus-terminal plugin works all fine. Thanks a lot for the great work!

Changed in nautilus-terminal:
assignee: nobody → Hicham HAOUARI (funnylife-ma)
status: New → Fix Released
no longer affects: nautilus-terminal (Fedora)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.