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

List:       kde-devel
Subject:    Re: QDBusConnection::registerObject: "Invalid object path given" -
From:       Jaroslav Barton <djaara () djaara ! net>
Date:       2009-08-09 17:41:08
Message-ID: 1249839668.10123.5.camel () localhost
[Download RAW message or body]

Hi all,

I has similar issue with property names exported via glib D-Bus [1],
[2]. I think there are some unspecified details in D-Bus specification.

[1]
http://blog.djaara.net/wordpress/2009/03/31/qt-vs-d-bus-access-to-properties-with-dash-in-name/

[2] http://bugs.freedesktop.org/show_bug.cgi?id=20948



Kevin Krammer píše v Ne 09. 08. 2009 v 13:38 +0200:
> On Sunday, 2009-08-09, Matthew Woehlke wrote:
> > Thomas � wrote:
> > > Am Saturday 08 August 2009 schrieb Matthew Woehlke:
> > >> I'm tripping this assert in an app I am developing, and have no idea
> > >> why. Any suggestions?
> > >>
> > >> The path in question appears to be "/kaleo-fire/MainWindow_1".
> > >> "kaleo-fire" is the name of the binary, MainWindow is the name of the
> > >> main window class (Kaleo::Fire::MainWindow).
> > >
> > > Try w/o the dash (kaleo_fire), i think there was some issue (but am not
> > > really sure).
> >
> > Um... wow, wouldn't have come up with that. Is that by design, or a
> > bug?? (And yes, s/-/_/ makes it work...)
> 
> That's by design. In the Qt docs [1] this can be found under "Object Paths" 
> and in the D-Bus spec [2] under "Valid Object Paths"
> 
> Cheers,
> Kevin
> 
> [1] http://doc.trolltech.com/4.5/intro-to-dbus.html
> [2] http://dbus.freedesktop.org/doc/dbus-specification.html
> 
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
-- 
Jaroslav Bartoň

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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