client nautilus plugin doesn't deal well with nautilus being launched in a remote ssh session

Bug #373826 reported by Rick McBride
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
Medium
Lucio Torre
Ubuntu One Servers
Invalid
Undecided
Unassigned

Bug Description

version info will be attached via apport-collect shortly

remoted to a test box via 'ssh -Y' and launched nautilus to do some comparison to a local session and check sync consistency. I get a TON of this stuff printing to the shell session (and I don't see our plugin bar in the file browser)

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 581, in msg_reply_handler
    *message.get_args_list()))
  File "/usr/lib/python2.6/dist-packages/canonical/ubuntuone/nautilus/storage.py", line 106, in got_error
    raise DBusException(error)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 581, in msg_reply_handler
    *message.get_args_list()))
  File "/usr/lib/python2.6/dist-packages/canonical/ubuntuone/nautilus/storage.py", line 106, in got_error
    raise DBusException(error)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 581, in msg_reply_handler
    *message.get_args_list()))
  File "/usr/lib/python2.6/dist-packages/canonical/ubuntuone/nautilus/storage.py", line 106, in got_error
    raise DBusException(error)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 581, in msg_reply_handler
    *message.get_args_list()))
  File "/usr/lib/python2.6/dist-packages/canonical/ubuntuone/nautilus/storage.py", line 106, in got_error
    raise DBusException(error)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 581, in msg_reply_handler
    *message.get_args_list()))
  File "/usr/lib/python2.6/dist-packages/canonical/ubuntuone/nautilus/storage.py", line 106, in got_error
    raise DBusException(error)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Revision history for this message
Rick McBride (rmcbride) wrote :

There probably is no dbus session for a ssh login. our plugin should detect this somehow and not spew errors.

I don't see this spam in the shell when launching nautilus when our client package is not installed.

Revision history for this message
Rick McBride (rmcbride) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: ubuntuone-client 0.1~9.04-1312-1
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
UbuntuoneClientPackages:
 ubuntuone-client 0.1~9.04-1312-1
 ubuntuone-storage-protocol 0.1+bzr31~trunk-0ubuntu1.9.04
 ubuntuone-ppa 2009.04.27-0ubuntu1
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare vboxusers

Revision history for this message
Rick McBride (rmcbride) wrote :
Changed in ubuntuone-client:
assignee: nobody → Lucio Torre (lucio.torre)
importance: Undecided → Medium
milestone: none → later
status: New → Triaged
Rick McBride (rmcbride)
visibility: private → public
Revision history for this message
Lucio Torre (lucio.torre) wrote :

you understand dbus here. maybe you can tell us whats going on.

Changed in ubuntuone-client:
assignee: Lucio Torre (lucio.torre) → Guillermo Gonzalez (verterok)
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Hi,

I think the running without a DBus session isn't supported :) but the nautilus plugin should handle this in order to avoid all those errors to the console.

A possible solution is to tunnel the dbus ssesion over ssh, or implement a ssh-transport for dbus :O

There is http://gabriel.sourceforge.net/ that allows using a remove DBus session over ssh.

Changed in ubuntuone-client:
assignee: Guillermo Gonzalez (verterok) → Lucio Torre (lucio.torre)
Changed in ubunet:
status: New → Invalid
dobey (dobey)
Changed in ubuntuone-client:
milestone: later → none
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.