Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've started to work with quickly and python (because I wanted to have some GTk3 integration and create and appindicator), and so I create the projecto like this :

quickly create ubuntu-application ualarm
cd ualarm
quickly run

And the application launched. But then I tried to add the appindicator like this :

quickly add indicator

And since then the application doesn't start anymore and this error appear :

aliasbody@BodyUbuntu-PC:~/Projectos/ualarm$ quickly run

(ualarm:8515): Gtk-WARNING **: Theme parsing error: gnome-panel.css:28:11: Not using units is deprecated. Assuming 'px'.
/usr/lib/python2.7/dist-packages/gi/overrides/ Warning: g_object_set_property: construct property "type" for object `Window' can't be set after construction
Gtk.Window.__init__(self, type=type, **kwds)
Traceback (most recent call last):
File "bin/ualarm", line 33, in <module>
File "/home/aliasbody/Projectos/ualarm/ualarm/", line 33, in main
window = UalarmWindow.UalarmWindow()
File "/home/aliasbody/Projectos/ualarm/ualarm_lib/", line 35, in __new__
File "/home/aliasbody/Projectos/ualarm/ualarm/", line 24, in finish_initializing
super(UalarmWindow, self).finish_initializing(builder)
File "/home/aliasbody/Projectos/ualarm/ualarm_lib/", line 75, in finish_initializing
self.indicator = indicator.new_application_indicator(self)
File "/home/aliasbody/Projectos/ualarm/ualarm/", line 52, in new_application_indicator
ind = Indicator(window)
File "/home/aliasbody/Projectos/ualarm/ualarm/", line 20, in __init__
self.indicator = AppIndicator3.Indicator('ualarm', '',      AppIndicator3.IndicatorCategory.APPLICATION_STATUS)
TypeError: GObject.__init__() takes exactly 0 arguments (3 given)

How can I solve this problem ?

share|improve this question
up vote 10 down vote accepted

The command quickly add indicator creates a file projectname/ where the indicator is created.

self.indicator = AppIndicator3.Indicator('projectname', '', AppIndicator3.IndicatorCategory.APPLICATION_STATUS)

change this line to:

self.indicator ='projectname', '', AppIndicator3.IndicatorCategory.APPLICATION_STATUS)

and it will work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.