Nothing happens after a successful installation

Asked by Davis on 2013-07-20

Ubuntu 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

File downloaded & installed: Nautilus Terminal 1.0

As the title says, after a successful installation according to the terminal, I restarted my pc, but when I logged in again, nothing has changed.

Then, I created the file .nautilus-terminal as it follows:

$ gedit ~/.nautilus-terminal

Which content is:

[general]
#The terminal height (lines)
def_term_height=5
#The terminal default visibility in new windows? (1: Visible, 0: Hidden)
def_visible=1
#The terminal position (1: Top, 0: Bottom)
#NOTE: it is not recommended to put the terminal on the bottom
term_on_top=1

[terminal]
#The shell to use (Nautilus Terminal use the user's defined shell by default)
shell=/bin/bash

But still nothing changed after a restart.

What should I do? What am I doing wrong?

Thank you in advance and sorry for bothering :P

Question information

Language:
English Edit question
Status:
Solved
For:
Nautilus Terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Fabien LOISON
Solved:
2013-07-29
Last query:
2013-07-29
Last reply:
2013-07-29
Fabien LOISON (flozz) said : #1

Hello,

* What is your nautilus version?
* Have you installed Nautilus Python (https://projects.gnome.org/nautilus-python/) ?
* If you run nautilus from a terminal (nautilus -q && nautilus), is there any error message in the output?

Regards,

Davis (freebuntu) said : #2

1. Nautilus Version: GNOME nautilus 3.6.3

2. At first (before posting my question here), I tried to install nautilus-terminal without even knowing I had installed nautilus python, so when I did, this message appeared:

Nautilus Python (>= 1.0) [MISS]

So I couldn't installed it, then I searched in internet and found out this command:

$ sudo apt-get install nautilus-phyton

So I typed, and then I could finally install nautilus-terminal

-> In sum, the answer is yes, it's installed... apparently (unless I have to additional configure nautilus-python in some way I don't know).

3. $ nautilus -q && nautilus
No se pudo registrar la aplicación: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

(I have Ubuntu in Spanish, but translating the first part, in english it says something like: "The application couldn't be registered/checked: ...").

What this means? What should I do now?

Thank you.

Fabien LOISON (flozz) said : #3

Hello,

It seems there is a problem with Nautilus Python: when Nautilus Terminal starts, it should display the following message in the terminal:

    [Nautilus Terminal] I: Initializing the Nautilus extension"

does the following file exists?

    /usr/share/nautilus-python/extensions/nautilus_terminal.py

Regards,

Davis (freebuntu) said : #4

"does the following file exists?
    /usr/share/nautilus-python/extensions/nautilus_terminal.py"

It does.

Fabien LOISON (flozz) said : #5

Hello,

I made a test extension in order to know if the problem is caused by nautilus python or by nautilus terminal. To install it:

    mkdir -p ~/.local/share/nautilus-python/extensions/
    cd ~/.local/share/nautilus-python/extensions/
    wget http://tmp.fgsp.org/launchpad/nautilus-terminal/NautilusTestExtension.py
    chmod +x NautilusTestExtension.py
    nautilus -q && nautilus

Is there any message in the terminal?

NOTE:
to remove it type the following command and restart nautilus:

    rm ~/.local/share/nautilus-python/extensions/NautilusTestExtension.py

Davis (freebuntu) said : #6

It appears the same error mesage I showed in my second reply:

"No se pudo registrar la aplicación: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)"

:S

Fabien LOISON (flozz) said : #7

Ok,

so extensions are not loaded at all.

 * What is your linux distribution ?
 * Are you using GNOME (GNOME Shell?) or an other environment?

Davis (freebuntu) said : #8

1. Ubuntu 13.04 64 bits (Ubuntu 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux)

2. So you mean if it's Gnome, Kde, Unity, etc?
If that's the case, It's Unity (which came with Ubuntu by default).

Fabien LOISON (flozz) said : #9

ok,

I am installing Ubuntu 13.04 64bit on my netbook so I will be able to test :)

Davis (freebuntu) said : #10

Thank you very much for all your dedication. I really appreciate it :)

Fabien LOISON (flozz) said : #11

I think I found the problem...

Can you try the following command (and then restart nautilus):

     sudo ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0

NOTE:
This was the output of nautilus in my terminal:

(nautilus:2786): Nautilus-Python-WARNING **: g_module_open libpython failed: /usr/lib/libpython2.7.so.1.0: cannot open shared object file: No such file or directory
ImportError: could not import gobject (error was: '/usr/lib/x86_64-linux-gnu/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')

Davis (freebuntu) said : #12

Here is what I did and what it showed:

1. First I did what you said in your last reply:
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0

2. Then I restarted nautilus:
$ nautilus -q && nautilus
No se pudo registrar la aplicación: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

3. Then, given the above message once again, I did this:
$ nautilus -q
[Nautilus Terminal] I: Initializing the Nautilus extension
################ Initializing test extension
sys:1: Warning: g_object_set: assertion `G_IS_OBJECT (object)' failed

(nautilus:2928): LIBDBUSMENU-GLIB-WARNING **: Translation has an invalid value 'I-->D' for default text direction. Defaulting to left-to-right.

(nautilus:2928): LIBDBUSMENU-GLIB-WARNING **: Translation has an invalid value 'I-->D' for default text direction. Defaulting to left-to-right.
################ Shutting down test extension

4. And then this:
$ nautilus
[Nautilus Terminal] I: Initializing the Nautilus extension
################ Initializing test extension
sys:1: Warning: g_object_set: assertion `G_IS_OBJECT (object)' failed

(nautilus:2936): LIBDBUSMENU-GLIB-WARNING **: Translation has an invalid value 'I-->D' for default text direction. Defaulting to left-to-right.

(nautilus:2936): LIBDBUSMENU-GLIB-WARNING **: Translation has an invalid value 'I-->D' for default text direction. Defaulting to left-to-right.
################ Test extension: LocationWidget requested
################ Test extension: LocationWidget requested
################ Test extension: LocationWidget requested
################ Test extension: LocationWidget requested
[Nautilus Terminal] W: Can't find the VPaned...
[Nautilus Terminal] W: Can't find the VPaned...
################ Test extension: LocationWidget requested

Finally, I opened my home folder and it seems to work now, BUT (XD) it generated also something that bothers me, and it's a white horizontal line just under the black clock panel:

http://imageshack.us/a/img839/1364/t7m2.png

Although it seems not being such a problem, I want to ask you: why did it happen? Is it possible to remove?

Thank you very much :)

Best Fabien LOISON (flozz) said : #13

Hello,

This is a test bar provided by NautilusTestExtension.py. Just remove the test extension and restart nautilus:

    rm ~/.local/share/nautilus-python/extensions/NautilusTestExtension.py
    nautilus -q && nautilus

Davis (freebuntu) said : #14

Thanks Fabien LOISON, that solved my question.

Davis (freebuntu) said : #15

Tyvm for everything, now all works how it should :)

fabrixx (kraestal-8) said : #16

Hi, after a compilation with no errors on Debian testing and after use Fabien commandi i have this:

fabrizio@debian:~$ nautilus -q && nautilus
Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 478, in <module>
    CONF = Config()
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 67, in __init__
    self.read()
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 82, in read
    self._confp.read([config_file])
  File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /home/fabrizio/.nautilus-terminal, line: 1
'general]\n'

Fabien LOISON (flozz) said : #17

Hello,

 it seems that the file '/home/fabrizio/.nautilus-terminal' have an invalid syntax (maybe a missing '[' at the start of the file).

You can try to fix or remove this file.

Regards,

fabrixx (kraestal-8) said : #18

Very thanks, i fixet syntax error but now i have:
(nautilus:5813): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(nautilus:5813): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
Impossibile registrare l'applicazione: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

fabrixx (kraestal-8) said : #19

Sorry again, after rebbot the command open nautilus but without terminal.

I read:

fabrizio@debian:~$ nautilus -q && nautilus

(nautilus:5813): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(nautilus:5813): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
Impossibile registrare l'applicazione: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
fabrizio@debian:~$ nautilus -q && nautilus
[Nautilus Terminal] I: Initializing the Nautilus extension
sys:1: Warning: g_object_set: assertion 'G_IS_OBJECT (object)' failed
[Nautilus Terminal] I: Initializing the Nautilus extension
Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 394, in _on_crowbar_parent_set
    nterm = NautilusTerminal(self._uri, self._window)
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 124, in __init__
    self.shell_pid = self.term.fork_command_full(Vte.PtyFlags.DEFAULT,
AttributeError: 'Terminal' object has no attribute 'fork_command_full'
[Nautilus Terminal] W: Can't find the ScrolledWindow...

fabrixx (kraestal-8) said : #20

And this:
fabrizio@debian:~$ nautilus -q && nautilus
[Nautilus Terminal] I: Initializing the Nautilus extension
sys:1: Warning: g_object_set: assertion 'G_IS_OBJECT (object)' failed
[Nautilus Terminal] I: Initializing the Nautilus extension
Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 394, in _on_crowbar_parent_set
    nterm = NautilusTerminal(self._uri, self._window)
  File "/usr/share/nautilus-python/extensions/nautilus_terminal.py", line 124, in __init__
    self.shell_pid = self.term.fork_command_full(Vte.PtyFlags.DEFAULT,
AttributeError: 'Terminal' object has no attribute 'fork_command_full'

Fabien LOISON (flozz) said : #21

It is maybe due to an incompatible version of VTE. There is nothing to do but to patch Nautilus Terminal itself :s

A.Ortega (aortheru) said : #22

Same problem, and fixed!
Problem comes from vte redefinition, now functin vte_terminal_fork_command_full is called as vte_terminal_spawn_sync.
To work, you must only edit line 124 of /usr/share/nautilus-python/extensions/nautilus_terminal.py file, and change self.term.fork_command_full for self.term.spawn_sync.