[maemo-developers] How to keep hildon-plugin-manager from loading plugins before the package is installed completely?
From: pHilipp Zabel philipp.zabel at gmail.comDate: Mon Jun 28 22:38:58 EEST 2010
- Previous message: QLineEdit and casing
- Next message: How to keep hildon-plugin-manager from loading plugins before the package is installed completely?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I tried to find the cause for https://bugs.maemo.org/show_bug.cgi?id=10798 (installation of status-area-applet-tor crashes hildon-status-menu), so I ran hildon-status-menu from the terminal before installing the Tor Status Area Applet from h-a-m: # /usr/sbin/dsmetool -k /usr/bin/hildon-status-menu # DEBUG_OUTPUT=1 /usr/bin/hildon-status-menu [...] atus-menu[27821]: GLIB DEBUG default - plugin-added: /usr/share/applications/hildon-status-menu/status-area-applet-tor.desktop atus-menu[27821]: GLIB DEBUG default - load_plugin_idle. Try to load plugin_id: status-area-applet-tor.desktop atus-menu[27821]: GLIB ERROR ** default - status-area-applet-tor.vala:118: Icon 'statusarea_tor_disabled' not present in theme aborting... So during installation, the plugin is loaded but causes SIGABRT because it can't find a theme icon that is part of the package: # dpkg -L status-area-applet-tor | grep "\(disabled\|\.desktop\)" /opt/maemo/usr/share/icons/hicolor/48x48/hildon/statusarea_tor_disabled.png /usr/share/applications/hildon-status-menu/status-area-applet-tor.desktop /usr/share/icons/hicolor/48x48/hildon/statusarea_tor_disabled.png My assessment of the situation is that hildon-status-menu loads the plugin as soon as status-area-applet-tor.desktop is unpacked. It then races against the unpacking process and wins. It tries to load the icon before the maemo-optified link /usr/share/icons/hicolor/48x48/hildon/statusarea_tor_disabled.png is created. Is this what happens? What should I do about it - I guess I can't stop h-s-m from prematurely loading the plugin? best regards Philipp
- Previous message: QLineEdit and casing
- Next message: How to keep hildon-plugin-manager from loading plugins before the package is installed completely?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]