Crash after run: YAML::Tiny found a duplicate key

Bug #1392271 reported by Piotr Roszatycki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
padre (Debian)
Fix Released
Unknown
padre (Ubuntu)
New
Undecided
Unassigned

Bug Description

dexter@pepper:~$ 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

The patch:

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:

Tags: patch
Changed in padre (Debian):
status: Unknown → New
Changed in padre (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.