Skip Menu |

This queue is for tickets about the Text-Quoted CPAN distribution.

Report information
The Basics
Id: 3234
Status: resolved
Priority: 0/
Queue: Text-Quoted

People
Owner: Nobody in particular
Requestors: cubic [...] acronis.ru
jesse [...] bestpractical.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.2
Fixed in: (no value)



Subject: Die at line 187.
Internal Error () on 'DVD-Audio, DVD-Video, WMA, MP3 ?? N?.?' ? - are characters in some encoding(Russian, German and may be other) This is very interesting that 1) $@ is empty 2) result is ok if I comment out die 3) but s/// don't return true value May be it's perl 5.8.0 related problem I don't know. I can't do more testing on this because I don't have enough time and error occure in the big software. May be later I could write small code that repeat error.
Date: Tue, 30 Sep 2003 09:44:23 -0400
From: Jesse Vincent <jesse [...] bestpractical.com>
To: bug-text-quoted [...] rt.cpan.org
Subject: [fwd] Re: [rt-users] internal ticket error. (from: cubic@acronis.ru)
----- Forwarded message from "Ruslan U. Zakirov" <cubic@acronis.ru> ----- From: "Ruslan U. Zakirov" <cubic@acronis.ru> To: Einar Fagertun <einar.fagertun@cc.uit.no> Cc: rt-users@lists.fsck.com Subject: Re: [rt-users] internal ticket error. List-Help: <mailto:rt-users-request@lists.fsck.com?subject=help> List-Post: <mailto:rt-users@lists.fsck.com> List-Subscribe: <http://lists.fsck.com/mailman/listinfo/rt-users>, <mailto:rt-users-request@lists.fsck.com?subject=subscribe> List-Id: For users of RT: Request Tracker <rt-users.lists.fsck.com> List-Unsubscribe: <http://lists.fsck.com/mailman/listinfo/rt-users>, <mailto:rt-users-request@lists.fsck.com?subject=unsubscribe> List-Archive: <http://lists.fsck.com/pipermail/rt-users/> X-Spam-Status: No, hits=-4.2 required=7.0 tests=AWL,BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO, KNOWN_MAILING_LIST,PRECEDENCE_BULK,RCVD_IN_OSIRUSOFT_COM, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Einar Fagertun wrote: Show quoted text
>Does anyone recognise this error and what causes it? > >It occurs on some tickets when u try to open them (It shows the error >message below rather than the content of the ticket) > >Line 187 is marked red in the errormessage > >-----------------------------Error------------------------------------------------------------ > >System error > >error: Internal Error () on 'dvs det skjærer seg ikke bare pÃ¥ >importerte meldinger. Jeg kan altsÃ' at >/usr/lib/perl5/site_perl/5.8.0/Text/Quoted.pm line 187. > >context: ... >183: $lines[-1]{presig} .= $lines[-1]{quoter} = defn $2; >184: $lines[-1]{presig} .= $lines[-1]{quotespace} = defn $3; >185: $lines[-1]{hang} = defn(Hang->new($_)); >186: >187: s/([ \t]*)(.*?)(\s*)$// >188: or die "Internal Error ($@) on '$_'"; >189: $lines[-1]{hangspace} = defn $1; >190: $lines[-1]{text} = defn $2; >191: $lines[-1]{empty} = $lines[-1]{hang}->empty() && $2 !~ /\S/; >... > >code stack: /usr/lib/perl5/site_perl/5.8.0/Text/Quoted.pm:187 >/usr/lib/perl5/site_perl/5.8.0/Text/Quoted.pm:63 >/opt/rt3/share/html/Ticket/Elements/ShowTransaction:62 >/opt/rt3/share/html/Ticket/Elements/ShowHistory:65 >/opt/rt3/share/html/Ticket/Display.html:37 >/opt/rt3/share/html/autohandler:182 > >raw error > > >
It's an perl or Qouted.pm bug. On some text this s///; operator return false, but in fact there is no error. You could change Quoted.pm like this: 187: s/([ \t]*)(.*?)(\s*)$//; 188: die "Internal Error ($@) on '$_'" if ($@); I don't remember have I send bugreport somewhere... Best regards. Ruslan. Show quoted text
_______________________________________________ rt-users mailing list rt-users@lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
----- End forwarded message ----- -- http://www.bestpractical.com/rt -- Trouble Ticketing. Free.
Fixed in 1.3 release.