Bug#801373: padre: Padre crashes on startup with YAML::Tiny found a duplicate key 'chomp'

Derek Kaye debian-bugs at dezzanet.co.uk
Fri Oct 9 09:40:44 UTC 2015


Package: padre
Version: 1.00+dfsg-3
Severity: important

Dear Maintainer,

   * What led up to the situation?
I ran padre for the first time without immediate issue.
While running for the first time I edited some preferences (I can't remember exactly which) in the preferences GUI. On closing the preferences, Padre crashed.
On restarting padre, I get the following and Padre immediately exits:

$ padre
YAML::Tiny found a duplicate key 'chomp' in line '' at /usr/share/perl5/Padre/Document/Perl.pm line 321.
Perl exited with active threads:
	3 running and unjoined
	0 finished and unjoined
	0 running and detached

There appears to be a similar issue on Launchpad, which has a patch attached:
https://bugs.launchpad.net/ubuntu/+source/padre/+bug/1392271

diff -ru padre-1.00+dfsg.orig/share/languages/perl5/perl5.yml padre-1.00+dfsg/share/languages/perl5/perl5.yml
--- padre-1.00+dfsg.orig/share/languages/perl5/perl5.yml	2013-01-12 18:18:59.000000000 +0100
+++ padre-1.00+dfsg/share/languages/perl5/perl5.yml	2014-11-13 11:43:49.279327194 +0100
@@ -36,7 +36,7 @@
 chomp:
  cmd: (STRING) or (ARRAY)
  exp: Remove the newline from the end of the STRING or from the end of every string in the ARRAY.
-chomp:
+chop:
  cmd: (STRING)
  exp: Remove last character from STRING. (Usually better to use chomp than chop.)
 chown:

-- System Information:
Debian Release: 8.1
  APT prefers testing
  APT policy: (1000, 'testing'), (1000, 'stable'), (995, 'stable'), (750, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages padre depends on:
ii  ack-grep                        2.14-4
ii  cpanminus                       1.7014-1
ii  libalgorithm-diff-perl          1.19.02-3
ii  libcapture-tiny-perl            0.25-1
ii  libclass-adapter-perl           1.07-1
ii  libclass-inspector-perl         1.28-1
ii  libclass-unload-perl            0.08-1
ii  libclass-xsaccessor-perl        1.19-2+b4
ii  libdbd-sqlite3-perl             1.44-1
ii  libdbi-perl                     1.631-3+b1
ii  libdebug-client-perl            0.29-2
ii  libdevel-dumpvar-perl           1.06-1
ii  libdevel-refactor-perl          0.05-1
ii  libfile-copy-recursive-perl     0.38-1
ii  libfile-find-rule-perl          0.33-1
ii  libfile-homedir-perl            1.00-1
ii  libfile-pushd-perl              1.009-1
ii  libfile-remove-perl             1.52-1
ii  libfile-sharedir-perl           1.102-1
ii  libfile-slurp-perl              9999.19-4
ii  libfile-which-perl              1.09-1
ii  libhtml-parser-perl             3.71-1+b3
ii  libio-string-perl               1.08-3
ii  libio-stringy-perl              2.110-5
ii  libipc-run-perl                 0.92-1
ii  libjson-xs-perl                 2.340-1+b2
ii  liblist-moreutils-perl          0.33-2+b1
ii  liblocale-msgfmt-perl           0.15-1
ii  libmodule-manifest-perl         1.08-1
ii  libmodule-starter-perl          1.620+dfsg-1
ii  liborlite-migrate-perl          1.10-1
ii  liborlite-perl                  1.98-1
ii  libparams-util-perl             1.07-2+b1
ii  libparse-errorstring-perl-perl  0.21-1
ii  libparse-exuberantctags-perl    1.02-1+b1
ii  libpod-abstract-perl            0.20-1
ii  libpod-pom-perl                 0.29-1
ii  libpod2-base-perl               0.043-1
ii  libppi-perl                     1.218-1
ii  libppix-editortools-perl        0.18-1
ii  libppix-regexp-perl             0.036-1
ii  libprobe-perl-perl              0.03-1
ii  libsort-versions-perl           1.60-1
ii  libtemplate-tiny-perl           1.12-1
ii  libtext-diff-perl               1.41-1
ii  libtext-findindent-perl         0.10-1
ii  libtext-patch-perl              1.8-1
ii  liburi-perl                     1.64-1
ii  libwww-perl                     6.08-1
ii  libwx-perl                      1:0.9923-4
ii  libwx-perl-processstream-perl   0.32-1
ii  libwx-scintilla-perl            0.39-1+b1
ii  libyaml-tiny-perl               1.64-1
ii  perl [libthreads-shared-perl]   5.20.2-3+deb8u1

padre recommends no packages.

padre suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list