Comment 5 for bug 877044

Revision history for this message
Alan Hoyle (alanh) wrote :

I am trying to add a script to the launcher under 11.10 and also running into errors. Steps to reproduce:

get unity-launcher-editor
cd ~/unity-launcher-editor
./ule
Click the "document plus" icon in the upper left.
click "Custom" tab
enter launcher name, command, comment, choose icon
click add.

nothing happens in the launcher, and I get a a couple of errors on the command line. See below:

alanh@ubuntu:~/unity-launcher-editor$ ./ule
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
2011-12-02 17:10:40,875::INFO::unitylaunchereditor.dialogs.app -> Application started.
2011-12-02 17:10:40,890::INFO::unitylaunchereditor.dialogs.app -> <GLib.Variant(['nautilus-home.desktop', 'chromium-browser.desktop', 'ubuntu-software-center.desktop', 'gnome-terminal.desktop', 'synaptic.desktop'])>
Traceback (most recent call last):
  File "/home/alanh/unity-launcher-editor/unitylaunchereditor/widgets/launcherview.py", line 134, in _on_row_change
    self.emit("selection-changed", model, row_iter, objDesktop)
TypeError: could not convert type gtk.ListStore to PyObject required for parameter 0
system_tab
custom_tab
Traceback (most recent call last):
  File "/home/alanh/unity-launcher-editor/unitylaunchereditor/addassistant.py", line 51, in __on_add_clicked
    self.emit('add-clicked', obj)
TypeError: could not convert type dict to PyObject required for parameter 0
Traceback (most recent call last):
  File "/home/alanh/unity-launcher-editor/unitylaunchereditor/addassistant.py", line 51, in __on_add_clicked
    self.emit('add-clicked', obj)
TypeError: could not convert type dict to PyObject required for parameter 0