Bug#638621: error parsing /usr/share/kde4/apps/kate/externaltools
Package: kate
Version: 4:4.6.5-1
Severity: normal
Tags: patch
While running kate from the command line, with all messages disabled via
kdebugdialog, I noticed this error repeated a few times:
"KConfigIni: In file /usr/share/kde4/apps/kate/externaltools, line 8: " "Invalid escape sequence "\'"."
Removing the escaped single quotes in the file and line indicated in the
error message fixes the problem.
The attached "diff -u" output changes the text from:
"The file \'%filename\' is not under revision control."
to
"The file: %filename, is not under revision control."
An escaped double quote (\") is also an invalid escape sequence.
The other problem, that of the message being spit out in spit of that
behaviour being disabled, is probably an upstream issue with some other KDE
component.
- Bruce
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages kate depends on:
ii kdebase-runtime 4:4.6.5-1 runtime components from the offici
ii libc6 2.13-16 Embedded GNU C Library: Shared lib
ii libkde3support4 4:4.6.5-2 KDE 3 Support Library for the KDE
ii libkdecore5 4:4.6.5-2 KDE Platform Core Library
ii libkdeui5 4:4.6.5-2 KDE Platform User Interface Librar
ii libkfile4 4:4.6.5-2 File Selection Dialog Library for
ii libkio5 4:4.6.5-2 Network-enabled File Management Li
ii libknewstuff2-4 4:4.6.5-2 "Get Hot New Stuff" v2 Library for
ii libknewstuff3-4 4:4.6.5-2 "Get Hot New Stuff" v3 Library for
ii libkparts4 4:4.6.5-2 Framework for the KDE Platform Gra
ii libktexteditor4 4:4.6.5-2 KTextEditor interfaces for the KDE
ii libplasma3 4:4.6.5-2 Plasma Library for the KDE Platfor
ii libqt4-dbus 4:4.7.3-7 Qt 4 D-Bus module
ii libqt4-qt3support 4:4.7.3-7 Qt 3 compatibility library for Qt
ii libqt4-sql 4:4.7.3-7 Qt 4 SQL module
ii libqt4-xml 4:4.7.3-7 Qt 4 XML module
ii libqtcore4 4:4.7.3-7 Qt 4 core module
ii libqtgui4 4:4.7.3-7 Qt 4 GUI module
ii libstdc++6 4.6.1-6 GNU Standard C++ Library v3
kate recommends no packages.
Versions of packages kate suggests:
ii aspell 0.60.7~20110707-1 GNU Aspell spell-checker
ii ispell 3.3.02-5 International Ispell (an interacti
ii khelpcenter4 4:4.6.5-1 help center
ii konsole 4:4.6.5-1 X terminal emulator
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/kde4/apps/kate/externaltools (from kate package)
--- externaltools.orig 2011-01-19 15:07:44.000000000 -0700
+++ externaltools 2011-08-19 22:27:16.000000000 -0600
@@ -5,7 +5,7 @@
[externaltool_CompareCurrentDocumenttoRCS]
acname=externaltool_CompareCurrentDocumenttoRCS
cmdname=document-diff
-command=if [ -z %directory ] then kdialog --title Error --msgbox "The document has never been saved and thus cannot be compared to RCS."; fi\ncd %directory\nif [ -d .svn ] && grep %filename .svn/entries 2>&1 >/dev/null ; then\n svn diff %filename|kompare -o -\nelif [ -d CVS ] && grep %filename CVS/Entries 2>&1 >/dev/null ; then\n cvs diff -ub %filename|kompare -o -\nelif [ -d .git ] && echo $(git ls-files) | grep %filename 2>&1 >/dev/null ; then\n git diff %filename|kompare -o -\nelse\n kdialog --title Error --msgbox "The file \'%filename\' is not under revision control."\nfi\n
+command=if [ -z %directory ] then kdialog --title Error --msgbox "The document has never been saved and thus cannot be compared to RCS."; fi\ncd %directory\nif [ -d .svn ] && grep %filename .svn/entries 2>&1 >/dev/null ; then\n svn diff %filename|kompare -o -\nelif [ -d CVS ] && grep %filename CVS/Entries 2>&1 >/dev/null ; then\n cvs diff -ub %filename|kompare -o -\nelif [ -d .git ] && echo $(git ls-files) | grep %filename 2>&1 >/dev/null ; then\n git diff %filename|kompare -o -\nelse\n kdialog --title Error --msgbox "The file: %filename, is not under revision control."\nfi\n
executable=kompare
icon=kompare
mimetypes=
Reply to: