Eu comecei a trabalhar com rapidez e python (porque eu queria ter alguma integração GTk3 e criar e appindicator), e assim eu criei o projeto assim:
quickly create ubuntu-application ualarm
cd ualarm
quickly run
E o aplicativo foi lançado. Mas então eu tentei adicionar o appindicator assim:
quickly add indicator
Desde então, o aplicativo não inicia mais e esse erro aparece:
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/Gtk.py:391: 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>
ualarm.main()
File "/home/aliasbody/Projectos/ualarm/ualarm/__init__.py", line 33, in main
window = UalarmWindow.UalarmWindow()
File "/home/aliasbody/Projectos/ualarm/ualarm_lib/Window.py", line 35, in __new__
new_object.finish_initializing(builder)
File "/home/aliasbody/Projectos/ualarm/ualarm/UalarmWindow.py", line 24, in finish_initializing
super(UalarmWindow, self).finish_initializing(builder)
File "/home/aliasbody/Projectos/ualarm/ualarm_lib/Window.py", line 75, in finish_initializing
self.indicator = indicator.new_application_indicator(self)
File "/home/aliasbody/Projectos/ualarm/ualarm/indicator.py", line 52, in new_application_indicator
ind = Indicator(window)
File "/home/aliasbody/Projectos/ualarm/ualarm/indicator.py", line 20, in __init__
self.indicator = AppIndicator3.Indicator('ualarm', '', AppIndicator3.IndicatorCategory.APPLICATION_STATUS)
TypeError: GObject.__init__() takes exactly 0 arguments (3 given)
Como posso resolver este problema?