Error when adding indicator in quickly

Posted by tachyons on Ask Ubuntu See other posts from Ask Ubuntu or by tachyons
Published on 2012-07-02T01:18:59Z Indexed on 2012/07/02 3:23 UTC
Read the original article Hit count: 346

I just started new project using quickly Eevery thing work perfectly .I decided to add an indicator to my program

I used the command quickly add indicator using the command quickly add indicator . After that my project stoped working It shows the following error

 quickly run
/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, **kwargs)
Traceback (most recent call last):
  File "bin/mytube", line 33, in <module>
    mytube.main()
  File "/home/aboobacker/mytube/mytube/__init__.py", line 33, in main
    window = MytubeWindow.MytubeWindow()
  File "/home/aboobacker/mytube/mytube_lib/Window.py", line 35, in __new__
    new_object.finish_initializing(builder)
  File "/home/aboobacker/mytube/mytube/MytubeWindow.py", line 24, in finish_initializing
    super(MytubeWindow, self).finish_initializing(builder)
  File "/home/aboobacker/mytube/mytube_lib/Window.py", line 75, in finish_initializing
    self.indicator = indicator.new_application_indicator(self)
  File "/home/aboobacker/mytube/mytube/indicator.py", line 52, in new_application_indicator
    ind = Indicator(window)
  File "/home/aboobacker/mytube/mytube/indicator.py", line 20, in __init__
    self.indicator = AppIndicator3.Indicator('mytube', '', AppIndicator3.IndicatorCategory.APPLICATION_STATUS)
TypeError: GObject.__init__() takes exactly 0 arguments (3 given)

How to fix it ?

© Ask Ubuntu or respective owner

Related posts about application-development

Related posts about quickly