----- 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