u1sdtool gives gtk warnings in headless mode

Bug #906534 reported by Alex Chiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
New
Undecided
Ubuntu One Foundations+ team

Bug Description

I've managed to run U1 in headless mode, after using the following script and exporting the variable properly:

https://pastebin.canonical.com/45659/

sync works, so that's great.

However, we're getting messages which suggest some sort of gtk initialization is occurring unnecessarily:

ubuntu@server-3424:~/Ubuntu One$ u1sdtool --waiting
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)

I agree that headless mode isn't considered a normal operation. However, even when using in a local xterm *with* a proper desktop session, I still get gtk warnings:

achiang@aspen:~/Ubuntu One/u1.bootstrap/dotfiles$ u1sdtool --waiting

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Both the server and my local session are using Precise.

ubuntu@server-3424:~/Ubuntu One$ dpkg -l | grep ubuntuone
ii python-ubuntuone-client 2.0.0-0ubuntu4 Ubuntu One client Python libraries
ii python-ubuntuone-storageprotocol 2.0.0-0ubuntu1 Python library for Ubuntu One file storage and sharing service
ii ubuntuone-client 2.0.0-0ubuntu4 Ubuntu One client
ii ubuntuone-installer 2.0.0-0ubuntu1 Ubuntu One Installer

achiang@aspen:~/Ubuntu One/u1.bootstrap/dotfiles$ dpkg -l | grep ubuntuone
ii banshee-extension-ubuntuonemusicstore 2.3.2-1ubuntu1 Media Management and Playback application - U1MS extension
ii libubuntuone-1.0-1 0.11.0-0ubuntu6 Ubuntu One widget library
ii libubuntuone1.0-cil 0.11.0-0ubuntu6 CLI bindings for Ubuntu One widget library
ii python-ubuntuone-client 2.0.0-0ubuntu4 Ubuntu One client Python libraries
ii python-ubuntuone-control-panel 2.0.0-0ubuntu1 Ubuntu One Control Panel Python Libraries
ii python-ubuntuone-storageprotocol 2.0.0-0ubuntu1 Python library for Ubuntu One file storage and sharing service
ii ubuntuone-client 2.0.0-0ubuntu4 Ubuntu One client
ii ubuntuone-client-gnome 2.0.1-0ubuntu3 Ubuntu One client GNOME integration
ii ubuntuone-control-panel 2.0.0-0ubuntu1 Ubuntu One Control Panel
ii ubuntuone-control-panel-gtk 2.0.0-0ubuntu1 Ubuntu One Control Panel
ii ubuntuone-couch 0.3.0-0ubuntu2 Ubuntu One CouchDB
ii ubuntuone-installer 2.0.0-0ubuntu1 Ubuntu One Installer

Leo Arias (elopio)
Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → nobody
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
Revision history for this message
Leo Arias (elopio) wrote :

The GTK warnings are due to bug #762167.
Marking as a duplicate.

Thanks for your report.

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.