[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Cannot use KUniqueApplication with dcop
From:       Danny Pansters <danny () ricin ! com>
Date:       2006-08-23 23:53:27
Message-ID: 200608240153.27515.danny () ricin ! com
[Download RAW message or body]

On Wednesday 23 August 2006 23:58, Sebastian Kügler wrote:
> I'm trying to make a KUniqueApplication accessible via dcop, but I'm
> getting the following error:
>
> dcop-testapp: ERROR: Communication problem with dcop-testapp, it probably
> crashed.
>
> If I change KUniqueApplication to KApplication, it works just fine. Does
> anyone know what's going on here? How can I debug this further?
>
> Attached small program illustrates the problem (It's mostly the same as in
> my previous post).

When I used KUniqueApplication I used somewhat different methods for the 
appdata than you do, not all mentioned in the API may be supported by py-kde. 
That may be a lead.

But the thing that stands out is that you never show() your mainwindow. It may 
be implied by KApp but not by KUniqueApp (as this may already have an 
instance running). Just a thought...

HTH,

Dan

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic