Bug#237260: menu-methods use incorrectly replacewith
Package: kdelibs-bin
Version: 4:3.2.1-1
Severity: normal
Hello KDE maintainers,
I am testing the new KDE menu-methods and they are broken:
# update-menus
Unknown error, message=replacewith($string, $replace, $with): $replace and $with must have the same length.
install-menu: /etc/menu-methods/freedesktop-desktop-entry-spec-dirs: aborting
update-menus[4496]: Script /etc/menu-methods/freedesktop-desktop-entry-spec-dirs returned error status 1.
Unknown error, message=replacewith($string, $replace, $with): $replace and $with must have the same length.
install-menu: /etc/menu-methods/freedesktop-desktop-entry-spec-apps: aborting
update-menus[4496]: Script /etc/menu-methods/freedesktop-desktop-entry-spec-apps returned error status 1.
genmenu call replacewith($section,"/ ","-") which is incorrect, you need
to use replacewith($section,"/ ","--") if you want to replace both '/'
and ' ' by a dash.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=français, LC_CTYPE=français
Versions of packages kdelibs-bin depends on:
ii kdelibs4 4:3.2.1-1 KDE core libraries
ii libart-2.0-2 2.3.16-1 Library of functions for 2D graphi
ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libcupsys2 1.1.20final-16 Common UNIX Printing System(tm) -
ii libfam0c102 2.7.0-5 client library to control the FAM
ii libgcc1 1:3.3.3-2 GCC support library
ii libgcrypt1 1.1.12-4 LGPL Crypto library - runtime libr
ii libgnutls7 0.8.12-5 GNU TLS library - runtime library
ii libice6 4.3.0-5 Inter-Client Exchange library
ii libpng12-0 1.2.5.0-5 PNG library - runtime
ii libqt3c102-mt 3:3.2.3-2 Qt GUI Library (Threaded runtime v
ii libsm6 4.3.0-5 X Window System Session Management
ii libstdc++5 1:3.3.3-2 The GNU Standard C++ Library v3
ii libtasn1-0 0.1.2-1 Manage ASN.1 structures (runtime)
ii libx11-6 4.3.0-5 X Window System protocol client li
ii libxext6 4.3.0-5 X Window System miscellaneous exte
ii libxml2 2.6.6-1 GNOME XML library
ii libxrender1 0.8.3-5 X Rendering Extension client libra
ii libxslt1.1 1.1.2-3 XSLT processing library - runtime
ii netpbm 2:10.0-3 Graphics conversion tools
ii python 2.3.3-7 An interactive high-level object-o
ii xlibs 4.3.0-5 X Window System client libraries m
ii zlib1g 1:1.2.1-4 compression library - runtime
-- no debconf information
Reply to: