KDE

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • dbus Konsole invalid XML

    5 answers - 2645 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hello,
    I'm trying to start using dbus using dbus-viewer and selecting
    org.kde.konsole:
    Popup error "Unable to load "org.kde.konsole": Error in D-BUS description XML,
    line 20, column 69: not well-formed (invalid token)"
    [Invalid UTF-8] q\x10\x03\xb4q\x10\x03\xb4E node PUBLIC "-//freedesktop//DTD
    D-BUS Introspection 1.0//EN"
    "">
    <node>
    <interface name="org.kde.KApplication">
    <method name="updateUserTimestamp">
    <arg name="time" type="i" direction="in"/>
    </method>
    <method name="updateUserTimestamp">
    </method>
    <method name="reparseConfiguration">
    </method>
    <method name="quit">
    </method>
    </interface>
    <interface name="com.trolltech.Qt.QApplication">
    <property name="cursorFlashTime" type="i" access="readwrite"/>
    <property name="doubleClickInterval" type="i" access="readwrite"/>
    <property name="keyboardInputInterval" type="i" access="readwrite"/>
    <property name="wheelScrollLines" type="i" access="readwrite"/>
    ERRR HERE <property name="globalStrut" type="(ii)" access="readwrite"
    <annotation name="" value="QSize"/>
    </property>
    <property name="startDragTime" type="i" access="readwrite"/>
    <property name="startDragDistance" type="i" access="readwrite"/>
    <property name="LastWindowClosed" type="b" access="readwrite"/>
    <property name="styleSheet" type="s" access="readwrite"/>
    </interface>
    <interface name="">
    <property name="applicationName" type="s" access="readwrite"/>
    <property name="organizationName" type="s" access="readwrite"/>
    <property name="organizationDomain" type="s" access="readwrite"/>
    </interface>
    <interface name="">
    <method name="Get">
    <arg name="interface_name" type="s" direction="in"/>
    <arg name="property_name" type="s" direction="in"/>
    <arg name="value" type="v" direction="out"/>
    </method>
    <method name="Set">
    <arg name="interface_name" type="s" direction="in"/>
    <arg name="property_name" type="s" direction="in"/>
    <arg name="value" type="v" direction="in"/>
    </method>
    </interface>
    <interface name="">
    <method name="Introspect">
    <arg name="xml_data" type="s" direction="out"/>
    </method>
    </interface>
    </node>

    >Visit #unsub to unsubscribe <<
  • No.1 | | 222 bytes | |

    Kurt V. Hindenburg wrote:
    ERRR HERE <property name="globalStrut" type="(ii)"
    access="readwrite" <annotation name=""
    value="QSize"/>
    </property>
    This was fixed in Subversion, by dfaure.
  • No.2 | | 617 bytes | |

    Saturday 08 July 2006 10:45, Thiago Macieira wrote:
    | Kurt V. Hindenburg wrote:
    | ERRR HERE <property name="globalStrut" type="(ii)"
    | access="readwrite" <annotation name=""
    | value="QSize"/>
    | >
    | </property>
    |
    | This was fixed in Subversion, by dfaure.

    I updated qt, kdelibs4snapshot and kdebase. Now I get

    "Unable to load "org.kde.konsole_14483": Can't put <annotationelement here"

    Perhaps this is an error in the Konsole dbus code.

    Thanks,
    Kurt

    >Visit #unsub to unsubscribe <<
  • No.3 | | 570 bytes | |

    Kurt V. Hindenburg wrote:
    >I updated qt, kdelibs4snapshot and kdebase. Now I get
    >
    >"Unable to load "org.kde.konsole_14483": Can't put <annotationelement

    here"
    >
    >Perhaps this is an error in the Konsole dbus code.


    Can you paste the XML snippet?

    Annotations are allowed inside <interface>, <method>, <signaland
    <propertytags. I've asked for them to be allowed as well in <argtags,
    but so far there hasn't been much use to that.
  • No.4 | | 1604 bytes | |

    Saturday 08 July 2006 17:49, Thiago Macieira wrote:
    | Kurt V. Hindenburg wrote:
    | >I updated qt, kdelibs4snapshot and kdebase. Now I get
    | >
    | >"Unable to load "org.kde.konsole_14483": Can't put <annotationelement
    | here"
    | >
    | >Perhaps this is an error in the Konsole dbus code.
    |
    | Can you paste the XML snippet?
    |
    | Annotations are allowed inside <interface>, <method>, <signaland
    | <propertytags. I've asked for them to be allowed as well in <argtags,
    | but so far there hasn't been much use to that.

    <method name="reparseConfiguration">
    <annotation name="" value="true"/>
    </method>

    The above is the only place Konsole uses annotation; I removed the above lines
    and still get the same error
    The Konsole dbus code was written by Marcel Martin; I'm just trying to get my
    head around dbus.

    The only place I see an annotation in the debug output is:
    <interface name="com.trolltech.Qt.QApplication">
    <property name="cursorFlashTime" type="i" access="readwrite"/>
    <property name="doubleClickInterval" type="i" access="readwrite"/>
    <property name="keyboardInputInterval" type="i" access="readwrite"/>
    <property name="wheelScrollLines" type="i" access="readwrite"/>
    <property name="globalStrut" type="(ii)" access="readwrite">
    <annotation name="" value="QSize"/>
    </property>

    Kurt

    >Visit #unsub to unsubscribe <<
  • No.5 | | 454 bytes | |

    Kurt V. Hindenburg wrote:
    >* * <property name="globalStrut" type="(ii)" access="readwrite">
    >* * * <annotation name="" value="QSize"/>
    >* * </property>


    It looks like dbus-viewer is being unnecessarily strict WRT to the XML
    doctype. And it's not even correct.

    I'd suggest a bug report to the dbus-viewer maintainers with the full XML
    that is generating the error.

Re: dbus Konsole invalid XML


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 9 =
QUESTION ON "KDE"

EMSDN.COM