Bug 145648 - kate: X windows and library runtime warnings
Summary: kate: X windows and library runtime warnings
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-18 19:35 UTC by Olivier Vitrat
Modified: 2008-08-13 16:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Vitrat 2007-05-18 19:35:09 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Debian stable Packages

Reported in Debian BTS at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=423482

When I run kate from a terminal, I get the following warnings/errors:


$ kbuildsycoca running...
X Error: BadWindow (invalid Window parameter) 3
Major opcode:  20
Minor opcode:  0
Resource id:  0x1e0085a
X Error: BadWindow (invalid Window parameter) 3
Major opcode:  20
Minor opcode:  0
Resource id:  0x1e0085a
X Error: BadWindow (invalid Window parameter) 3
Major opcode:  18
Minor opcode:  0
Resource id:  0x1e0085a
QObject::connect: No such signal KListView::doubleclicked(QListViewItem*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'KateSaveModifiedDialog')
QObject::disconnect: Unexpected null parameter

$ ICE default IO error handler doing an exit(), pid = 24734, errno = 0

The X Errors happen during normal editing (sorry, I didn't see where they
happened.   They are rare messages, but after a half-hour session editing
a LaTeX document, I frequently see several).
The first three QObject::  errors occur as kate is terminating;
the last one happens a fraction of a second later.

This happens when I am running kdm as my display manager
and xfce as my windowing system.   (I'm not running in a pure
KDE environment.)
Comment 1 Rob 2007-05-19 18:53:56 UTC
I get the "ICE" error too.

When I first start _any_ KDE application, including Kate, I get these sort of messages fill a few screen fulls:

# kate mail.txt       
kbuildsycoca running...
Reusing existing ksycoca
kio (KService*): WARNING: Invalid Service : media_realfolder.desktop
kio (KSycoca): ERROR: No database available!
kbuildsycoca: WARNING: '/usr/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: '/usr/share/applications/themus-theme-applier.desktop' specifies undefined mimetype/servicetype 'application/x-gnome-theme-installed'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies undefined mimetype/servicetype 'application/x-extension-mp4'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies undefined mimetype/servicetype 'application/x-extension-m4a'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies undefined mimetype/servicetype 'application/x-shorten'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies undefined mimetype/servicetype 'application/x-smil'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies undefined mimetype/servicetype 'application/xspf+xml'
kbuildsycoca: WARNING: '/usr/share/applications/totem.desktop' specifies undefined mimetype/servicetype 'application/x-quicktime-media-link'
... (on and on ...)
kbuildsycoca: WARNING: '/usr/share/applications/mplayer.desktop' specifies undefined mimetype/servicetype 'video/x-avi'
kbuildsycoca: WARNING: '/usr/share/applications/iceweasel.desktop' specifies undefined mimetype/servicetype 'application/rss+xml'
kbuildsycoca: WARNING: '/usr/share/applications/iceweasel.desktop' specifies undefined mimetype/servicetype 'application/rdf+xml'
QFile::open: No file name specified


Then kate starts up. Once I have ran _any_ KDE application once when I run another one the second time all those messages do NOT occur - the screen is "fairly" clean; I do get the odd message from time to time.


When I hit the "Help->Report Bug" menu choice on kate I got this on my screen when Konqueror started (to go to the bug report page):

Launched ok, pid = 22307
kded: '.' is not a working copy
kded: kdesvnd_dcop::isRepository Url zum repo check: http://bugs.kde.org/show_bug.cgi?id=121730
kded: kdesvnd_dcop::isRepository Protokoll: http
kded: kdesvnd_dcop::isRepository Url zum repo check: http://bugs.kde.org/show_bug.cgi
kded: kdesvnd_dcop::isRepository Protokoll: http
kded: '.' is not a working copy
kded: kdesvnd_dcop::isRepository Url zum repo check: http://bugs.kde.org/show_bug.cgi?id=121730
kded: kdesvnd_dcop::isRepository Protokoll: http
kded: kdesvnd_dcop::isRepository Url zum repo check: http://bugs.kde.org/show_bug.cgi
kded: kdesvnd_dcop::isRepository Protokoll: http
kded: '.' is not a working copy
kded: kdesvnd_dcop::isRepository Url zum repo check: http://bugs.kde.org/show_bug.cgi?id=145648
kded: kdesvnd_dcop::isRepository Protokoll: http
kded: kdesvnd_dcop::isRepository Url zum repo check: http://bugs.kde.org/show_bug.cgi
kded: kdesvnd_dcop::isRepository Protokoll: http


I would prefer to not have the clutter on my screen but if there is a reason for it then it should print in English (like the rest of the messages).


I can confirm the ICE error that "Olivier Vitrat" reported.

This bug does not seem exactly the same as a "similar" bug report:
http://bugs.kde.org/show_bug.cgi?id=121730

---

When quitting "kate" I get this sort of an error message printed.

# ICE default IO error handler doing an exit(), pid = 17967, errno = 0

I tried to run a command like "ps -e > ps-save-1.txt" to find out which program was causing the problem. Nothing showed up. I found that if I ran that command immediately after quitting "kate" but before the message was printed I could capture the pid and found out where the trouble was:

# grep 17967 ps-save*
ps-save-3.txt:17967 ?        00:00:00 knotify

The ICE is from knotify.

Sure would be great if we could apt-get KDE for Debian and have it install so that all those messages did not clutter the screen. I've tried to install various programs that _ought_ to install those mime type and inform KDE but to no avail. 

KDE needs it's _own_ list of standard mime types so it can guess what kind of file it is and open a pop-up to let you choose the configurer to fix the faults. Like WinXP. If it were not for the screen junk KDE would be A+++.
Comment 2 Philip Rodrigues 2007-05-19 23:10:04 UTC
If everything works correctly, the messages are harmless. You can switch off most of them using kdebugdialog (see the KDE User Guide).
Comment 3 Christoph Cullmann 2008-08-13 16:22:12 UTC
Nothing kate can change, looks like your package aren't without debug output...