AWN Applet not work

Bug #1071063 reported by Jose Manuel Perdomo
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
DockbarX
Undecided
Unassigned

Bug Description

Unfortunately the AWN applet not working properly, sometime icon not appears and in others appear too small (not all, only one icon).

My system Ubuntu 12.10 amd64 (updgrade from 12.04), Gnome-shell 3.6.1 and AWN 0.4.1

check the image - http://i.imgur.com/LsACh.jpg

Revision history for this message
Jose Manuel Perdomo (joz3) wrote :
tags: added: dockbarx
Revision history for this message
Matias Särs (msevens) wrote :

Can you check if there are any errors in ~/.dockbarx/log/dockbarx.log?

Revision history for this message
Jose Manuel Perdomo (joz3) wrote :

I do completely uninstall the Dockbarx (including I deleted the directory), reinstall again and run the awn applet and the directory not exist, but if I run the standalone Dockbar generates a directory and file and this is the content:

INFO | 2012-10-24 22:26:29,603 | DockbarX 0.90.3
INFO | 2012-10-24 22:26:29,604 | DockbarX init
INFO | 2012-10-24 22:26:29,776 | DockbarX reload
ERROR | 2012-10-24 22:26:29,830 | /usr/lib/pymodules/python2.7/dockbarx/iconfactory.py:534: GtkWarning: Theme file for default has no directories

  if self.icon_theme.has_icon(icon_name):
DEBUG | 2012-10-24 22:26:29,909 | Xlib.protocol.request.QueryExtension

Matias Särs (msevens)
Changed in dockbar:
status: New → Fix Committed
Revision history for this message
Enrico Sorio (enrico-sorio) wrote :

I confirm that this fix resolves the bug in the AWN applet.

Thank you!

no longer affects: ubuntu
Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :

this bug is still present today 16 Nov. 2012

I use AWN 0.4.1

my awn dockbarx applet was ok until today when I've upgraded dockbarx to version 0.90.3-1
now dockbarx dissapear from AWN

since from many years I use AWN + Dockbarx
this really broke my workflow

what I can do to get back awn-dockbarx ?
can I revert to the old awn-dockbarx in some way ?

Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :

Update - my previous version of AWN DockbarX was 0.48
but today upgrade jumped version to 0.90.3-1

Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :

Update 2

after today upgrade of DockbarX from 0.48 to 0.90.3-1 (Precise ..since I use Linux MInt with Precise repositories )

DockbarX standalone stopped working

the comand line :

sorin@sorin-sys ~ $ dockx
DockbarX 0.90.3
DockbarX init

** (dockx:26779): WARNING **: Binding '<super>Tab' failed!
Error: DockbarX couldn't set global keybinding '<super>Tab' for gkeys_select_next_group.
DockbarX reload
Name net.launchpad.DockManager is already in use. (This instance of) DockbarX will not use DockManager.
Traceback (most recent call last):
  File "/usr/bin/dockx", line 1306, in <module>
    dockx = DockX(monitor)
  File "/usr/bin/dockx", line 504, in __init__
    self.dockbar.load()
  File "/usr/lib/pymodules/python2.7/dockbarx/dockbar.py", line 288, in load
    self.reload()
  File "/usr/lib/pymodules/python2.7/dockbarx/dockbar.py", line 359, in reload
    self.__on_window_opened(self.screen, window)
  File "/usr/lib/pymodules/python2.7/dockbarx/dockbar.py", line 489, in __on_window_opened
    self.__add_window(window)
  File "/usr/lib/pymodules/python2.7/dockbarx/dockbar.py", line 642, in __add_window
    group.add_window(window)
  File "/usr/lib/pymodules/python2.7/dockbarx/groupbutton.py", line 358, in add_window
    window = Window(wnck_window, self)
  File "/usr/lib/pymodules/python2.7/dockbarx/windowbutton.py", line 76, in __init__
    self.item = WindowItem(self, group)
  File "/usr/lib/pymodules/python2.7/dockbarx/windowbutton.py", line 343, in __init__
    self.update_show_state()
  File "/usr/lib/pymodules/python2.7/dockbarx/windowbutton.py", line 457, in update_show_state
    window.monitor != self.group_r().monitor):
AttributeError: Window instance has no attribute 'monitor'

maybe this will help in some way ..

Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :

Update 3

the breackage is big - only docx-mate from version 0.90.3-1 will work with Linux MInt Mate
but this is not a satisfactory case .. I use AWN as panel

therefore 0.90.3 is a big break which will
divide linux users into classes - Gnome Shell and Unity = class 1 citizens
Mate users (a quite big number) = class 2 citizens

..now the question is why we have to pay such a price for having the desktop of choice
..today breackage bring down my workflow ..as I've used for many years
..it's clear that a fix will not be today

now I have to install a lot of software on Windows 7 to move my workflow there
this change ia real hurt and a real pain now ..

Revision history for this message
Alin Andrei (nilarimogard) wrote :

@Sorin: the AWN bug was fixed in bzr, but it's not yet available in the PPA. Until then, install this updated version: https://dl.dropbox.com/u/1113424/awn-applet-dockbarx_0.90.3-2%7Eppa%7Equantal_all.deb

Revision history for this message
Alin Andrei (nilarimogard) wrote :

I've added a patch from bzr to the DockBarX 0.90.3 package in the PPA, so you don't have to wait for a new release to get it to work with AWN. So this should be fixed in the latest PPA packages.

Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :

thanks for solution ...but is not working for me ..

I have cleared all awn and dockbarx folders
then I've reinstalled awn and dockbarx

dockbarx standalone is working well
awn applet is not working but also is not trowing any error (at least no error logs...)

trying to start the applet from CLI I got this :

---------------------

python DockBarX.py

** (DockBarX.py:26498): CRITICAL **: awn_icon_expose_event: assertion `priv->icon_srfc' failed

** (DockBarX.py:26498): WARNING **: Requested pixbuf for invalid size (0).
DockBarX.py:298: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
DockbarX 0.90.3
DockbarX init
DockbarX reload
Traceback (most recent call last):
  File "DockBarX.py", line 58, in __on_idle
    self.db.load()
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 288, in load
    self.reload()
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 359, in reload
    self.__on_window_opened(self.screen, window)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 489, in __on_window_opened
    self.__add_window(window)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 642, in __add_window
    group.add_window(window)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/groupbutton.py", line 358, in add_window
    window = Window(wnck_window, self)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/windowbutton.py", line 76, in __init__
    self.item = WindowItem(self, group)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/windowbutton.py", line 343, in __init__
    self.update_show_state()
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/windowbutton.py", line 457, in update_show_state
    window.monitor != self.group_r().monitor):
AttributeError: Window instance has no attribute 'monitor'

------------------

The question is
what I can do in this situation ? ( or if not easy to fix ...where I can find old dockbarx [0.48] ? this was the last workable version for me )

Thanks for the whole dockx effort - and - thanks in advance for a good advice..

Revision history for this message
Alin Andrei (nilarimogard) wrote :

@Nemes Ioan Sorin: I've tested it on a Linux Mint 13 Live CD and it works just fine as you can see here: http://i.imgur.com/YRgCA.png soo it's something on your system that broke it...

More than that, there's nothing I can do, but maybe Matias can help debug it...

Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :
Download full text (3.7 KiB)

Update 4

apt-line commented
removed all dockx traces with synaptic
installed version 0.48 using setup.py

..getting errors over errors
  like this one :

----------------------------------------------------------------
sorin@sorin-sys ~ $ avant-window-navigator
Screen is composited
mateconf backend

** (awn-applet:6367): CRITICAL **: desktop_agnostic_config_schema_option_get_per_instance: assertion `self != NULL' failed

(awn-applet:6370): Gdk-CRITICAL **: IA__gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
DockbarX 0.90.3
DockbarX init
MateNu 0.4
settings load
matemenu found, using it as default menu parser
error importing webbookmarks
Error: Could not connect to Zeitgeist.
start
shaping window
DockbarX reload
Name net.launchpad.DockManager is already in use. (This instance of) DockbarX will not use DockManager.
Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/DockBarX/DockBarX.py", line 58, in __on_idle
    self.db.load()
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 288, in load
    self.reload()
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 359, in reload
    self.__on_window_opened(self.screen, window)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 489, in __on_window_opened
    self.__add_window(window)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 642, in __add_window
    group.add_window(window)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/groupbutton.py", line 358, in add_window
    window = Window(wnck_window, self)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/windowbutton.py", line 76, in __init__
    self.item = WindowItem(self, group)
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/windowbutton.py", line 343, in __init__
    self.update_show_state()
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/windowbutton.py", line 457, in update_show_state
    window.monitor != self.group_r().monitor):
AttributeError: Window instance has no attribute 'monitor'
Error reading web bookmarks

(CardapioAwnWrapper.py:6358): MateConf-CRITICAL **: mateconf_client_add_dir: assertion `mateconf_valid_key (dirname, NULL)' failed
Error: couldn't find out on which monitor window "Awn Settings" is located
Guessing it's monitor 0
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/dockbarx/windowbutton.py", line 172, in __on_geometry_changed
    if monitor != self.monitor:
AttributeError: Window instance has no attribute 'monitor'

-------------------------------------------

...thinking - why I have 0.48 but numbers on my screen looks like 0.9.x ? , then searcing on /usr/local/lib/python2.7/dist-packages
I found the reason

Conclusion (..may help debugging process ) :

after all synaptic uninstall procedures dockbarx folder and related egg-info file on /usr/local/lib/python2.7/dist-packages ...they are not deleted

..my new files (0.48) were copied along old (0.9.x) files and old files were recalled anytime I use dockx command - so all went bad

Because synaptic uninstall will remove files on /usr/bin and /usr/share ....

Read more...

Revision history for this message
Nemes Ioan Sorin (nemes-sorin) wrote :
Download full text (13.1 KiB)

with the last patched dockbarx 0.90.3-2 the bug is still present
this time I've cleared all dockbarx traces before the new install
this is what I get

sorin@sorin-sys:~$ avant-window-navigator
Screen is composited

(awn-applet:7982): libindicator-WARNING **: IndicatorObject class does not have an accessible description.

(awn-applet:7980): Gdk-CRITICAL **: IA__gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
DockbarX 0.90.3
DockbarX init

(awn-applet:7982): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

(awn-applet:7982): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
DockbarX reload
Name net.launchpad.DockManager is already in use. (This instance of) DockbarX will not use DockManager.
Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/DockBarX/DockBarX.py", line 61, in __on_idle
    self.db.load()
  File "/usr/lib/pymodules/python2.7/dockbarx/dockbar.py", line 288, in load
    self.reload()
  File "/usr/lib/pymodules/python2.7/dockbarx/dockbar.py", line 359, in reload
    self.__on_window_opened(self.screen, window)
  File "/usr/lib/pymodules/python2.7/dockbarx/dockbar.py", line 489, in __on_window_opened
    self.__add_window(window)
  File "/usr/lib/pymodules/python2.7/dockbarx/dockbar.py", line 642, in __add_window
    group.add_window(window)
  File "/usr/lib/pymodules/python2.7/dockbarx/groupbutton.py", line 358, in add_window
    window = Window(wnck_window, self)
  File "/usr/lib/pymodules/python2.7/dockbarx/windowbutton.py", line 76, in __init__
    self.item = WindowItem(self, group)
  File "/usr/lib/pymodules/python2.7/dockbarx/windowbutton.py", line 343, in __init__
    self.update_show_state()
  File "/usr/lib/pymodules/python2.7/dockbarx/windowbutton.py", line 457, in update_show_state
    window.monitor != self.group_r().monitor):
AttributeError: Window instance has no attribute 'monitor'
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.

(CardapioAwnWrapper.py:7957): MateConf-CRITICAL **: mateconf_client_add_dir: assertion `mateconf_valid_key (dirname, NULL)' failed
Error: couldn't find out on which monitor window "Terminal" is located
Guessing it's monitor 0
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/dockbarx/windowbutton.py", line 172, in __on_geometry_changed
    if monitor != self.monitor:
AttributeError: Window instance has no attribute 'monitor'
Erro...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments