LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Kate prints debug messages in Slackware 14 (http://www.linuxquestions.org/questions/slackware-14/kate-prints-debug-messages-in-slackware-14-a-4175433197/)

fgcl2k 10-20-2012 06:35 AM

Kate prints debug messages in Slackware 14
 
When launched from the command line kate prints about 85 lines of debug messages like
Code:

kate(24744)/kate-filetree KateFileTreeModel::handleEmptyParents: BEGIN!
kate(24744)/kate-filetree KateFileTreeModel::handleEmptyParents: parent ProxyItemDir(0x20fda40,0x0,-1,"m_root", children:0) grandparentProxyItemDir(0x0)
kate(24744)/kate-filetree KateFileTreeModel::setupIcon: BEGIN!
kate(24744)/kate-filetree KateFileTreeModel::setupIcon: END!

Does this happen to anyone else? I find it very annoying because the console is filled with debug lines and I can't see the previous activity.
P.S. All the messages seem to come from "kate-filetree".

hj1967 10-20-2012 07:19 AM

Quote:

Originally Posted by fgcl2k (Post 4810583)
When launched from the command line kate prints about 85 lines of debug messages like
Code:

kate(24744)/kate-filetree KateFileTreeModel::handleEmptyParents: BEGIN!
kate(24744)/kate-filetree KateFileTreeModel::handleEmptyParents: parent ProxyItemDir(0x20fda40,0x0,-1,"m_root", children:0) grandparentProxyItemDir(0x0)
kate(24744)/kate-filetree KateFileTreeModel::setupIcon: BEGIN!
kate(24744)/kate-filetree KateFileTreeModel::setupIcon: END!

Does this happen to anyone else? I find it very annoying because the console is filled with debug lines and I can't see the previous activity.
P.S. All the messages seem to come from "kate-filetree".

I have this with many KDE apps...but I run xfce. I guess you have to live with it or ask the kate developers.
or start it using the redirectory of stdout/stderr to /dev/null
eg in csh: kate >& /dev/null

Kate produces:
kate
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QGtkStyle was unable to detect the current GTK+ theme.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QGtkStyle was unable to detect the current GTK+ theme.
kbuildsycoca4 running...
kbuildsycoca4(2823) VFolderMenu::loadDoc: Parse error in "/home/hj/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line 1 , col 1 : "unexpected end of file"
kbuildsycoca4(2823) KConfigGroup::readXdgListEntry: List entry MimeType in ".hidden/kommander.desktop" is not compliant with XDG standard (missing trailing semicolon).
kate(2812)/kate-filetree KateFileTreePluginView::KateFileTreePluginView: BEGIN: mw: Kate::MainWindow(0xfeb8c0)
kate(2812)/kate-filetree ProxyItem::ProxyItem: ProxyItem(0x117b460,0x0,-1,QObject(0x0) ,"m_root")
kate(2812)/kate-filetree ProxyItem::ProxyItem: ProxyItem(0x117c850,0x0,-1,QObject(0x0) ,"Untitled")
kate(2812)/kate-filetree KateFileTreeModel::documentOpened: before add: ProxyItem(0x117c850,0x0,-1,KateDocument(0xf5fbf0) , "Untitled" )
kate(2812)/kate-filetree KateFileTreeModel::setupIcon: BEGIN!
kate(2812)/kate-filetree KateFileTreeModel::setupIcon: END!
kate(2812)/kate-filetree KateFileTreeModel::handleInsert: BEGIN!
kate(2812)/kate-filetree KateFileTreeModel::handleInsert: empty item
kate(2812)/kate-filetree ProxyItem::addChild: added ProxyItem(0x117c850,0x117b460,0,KateDocument(0xf5fbf0) , "Untitled" ) to ProxyItemDir(0x117b460,0x0,-1,"m_root", children:1)
kate(2812)/kate-filetree KateFileTreeModel::documentOpened: after add: ProxyItem(0x117c850,0x117b460,0,KateDocument(0xf5fbf0) , "Untitled" )
kate(2812)/kate-filetree KateFileTreeProxyModel::KateFileTreeProxyModel: BEGIN!
kate(2812)/kate-filetree KateFileTreePluginView::setListMode: BEGIN
kate(2812)/kate-filetree KateFileTreePluginView::setListMode: treeMode
kate(2812)/kate-filetree KateFileTreePluginView::setListMode: END
kate(2812)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(2812)/kate-filetree KateFileTreePluginView::viewChanged: BEGIN!
kate(2812)/kate-filetree KateFileTreeProxyModel::docIndex: !
kate(2812)/kate-filetree KateFileTreeModel::docIndex: BEGIN!
kate(2812)/kate-filetree KateFileTreeModel::docIndex: END!
kate(2812)/kate-filetree KateFileTreePluginView::viewChanged: selected doc= KateDocument(0xf5fbf0) QModelIndex(0,0,0x10fb330,KateFileTreeProxyModel(0x11ad900) )
kate(2812)/kate-filetree KateFileTreePluginView::viewChanged: display= "Untitled"
kate(2812)/kate-filetree KateFileTreeModel::documentActivated: BEGIN!
kate(2812)/kate-filetree KateFileTreeModel::documentActivated: adding viewHistory ProxyItem(0x117c850,0x117b460,0,KateDocument(0xf5fbf0) , "Untitled" )
kate(2812)/kate-filetree KateFileTreeModel::updateBackgrounds: BEGIN!
kate(2812)/kate-filetree KateFileTreeModel::updateBackgrounds: END!
kate(2812)/kate-filetree KateFileTreeModel::documentActivated: END!
kate(2812)/kate-filetree KateFileTree::slotCurrentChanged: current: QModelIndex(0,0,0x10fb330,KateFileTreeProxyModel(0x11ad900) ) previous: QModelIndex(-1,-1,0x0,QObject(0x0) )
kate(2812)/kate-filetree KateFileTree::slotCurrentChanged: got doc, setting prev: QModelIndex(0,0,0x10fb330,KateFileTreeProxyModel(0x11ad900) )
kate(2812)/kate-filetree KateFileTreePluginView::viewChanged: END!

Woodsman 10-20-2012 09:39 AM

I don't know about KDE4 but in KDE3/Trinity there is an app named kdebugdialog. With that app users can select the amount of stdout/stderr output from KDE apps.

fgcl2k 10-20-2012 09:44 AM

Quote:

Originally Posted by Woodsman (Post 4810676)
I don't know about KDE4 but in KDE3/Trinity there is an app named kdebugdialog. With that app users can select the amount of stdout/stderr output from KDE apps.

Thanks. Using kdebugdialog and deselecting the kate entries the debug messages went down from 85 to 3.

hj1967 10-20-2012 11:14 AM

Quote:

Originally Posted by fgcl2k (Post 4810682)
Thanks. Using kdebugdialog and deselecting the kate entries the debug messages went down from 85 to 3.

Indeed a handy option I did not know about.

I have now two messages left but these come from Qt. I don't think Qt has a runtime config option for these but maybe somebody knows.

Code:

hjp1:~>        kate
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QGtkStyle was unable to detect the current GTK+ theme.



All times are GMT -5. The time now is 04:10 AM.