[maemo-developers] investiganting a hildonization bug (open loadopt file: permission denied)

From: Caio Begotti caio at ueberalles.net
Date: Wed Nov 26 01:46:37 EET 2008
Hello there,

I'm writing my very first Python application using the PyQt4 packages  
which another brazilian, Luciano Wolf, announced last september  
(IIRC). I know the code linked below is pretty crappy but I've found a  
weird problem while Hildonizing my app.

Astmontray is a systray applet with a very simple menu layout that I  
wrote following both Python and Qt4 documentation and seems to work  
fine on my Macbook running Leopard, my Mandriva 2009.0 box and Maemo  
Diablo. Despite its source everything seems to be running alright.

However, on Diablo the context menu is not Hildonized (by that I mean  
"it does not look like the rest of the environment, it has a raw Qt4  
appearance"). That happens every time I run the app after a "sudo  
gainroot", but if I run the app as a regular user I get the following  
message in terminal:

Open loadopt file: Permission denied

Even though I get this message every time I run it, it misteriously  
works AND get properly Hildonized. How come? Any ideas? Is it known or  
am I missing something obvious here? I wouldn't doubt that, btw.

The current code is freely available at:
http://caio.ueberalles.net/svn/voip/asterisk/astmontray/

[]s

Caio Begotti

More information about the maemo-developers mailing list