[RAS] processing aborts
Christian Zimmermann
christian.zimmermann at uconn.edu
Sat Oct 24 08:53:03 CDT 2009
On Sat, 24 Oct 2009, Thomas Krichel wrote:
>
> Thomas Krichel writes
>
>> The insert of the two lines appears to have worked, but the nightly
>> job has interrupted processing. The job is running on channel 0.
>> If it finishes after 15:00 we have a problem beacues I will
>> leave and not return until Sunday morning. We need somebody
>> to make the DNS change back when the process is finished.
Give me instructions, and I'll do it. But I will be away 13:30-17:30.
>
> Actually, this concerns RAS and should have been sent
> to RAS-run. I am sorry for my oversight.
>
> To summarize, processing of CitEc aborted. I added two
> encoding statements.
>
> In
>
> /home/aras/acis/lib/ACIS/Citations/Input.pm
>
> $prev_ostring =
> my $ost = $_->{ostring};
> #tok 2009-10-23
> $ost=Encode::encode('utf8',$ost);
> #tok 2009-10-23
> my $md5 = Digest::MD5::md5_base64( $ost );
> my $clid = "$srcdocsid-$md5";
> delete $index->{$clid};
>
> In
>
> /home/aras/acis/lib/RePEc/Index/Collection/CitationsAMF.pm
>
> my $ctx = Digest::MD5->new;
> $ctx -> add( "$id\n" );
> foreach ( @$self ) {
> if ( not ref( $_ ) ) { next; }
> my $s = " ";
> $s .= $_->{ostring};
> if ( $_->{trgdocid} ) {
> $s .= '@';
> $s .= $_->{trgdocid};
> }
> $s .= "\n";
> #tok 2009-10-23
> $s=Encode::encode('utf8', $s);
> #tok 2009-10-23
> $ctx -> add( $s );
> }
> return $ctx->b64digest;
>
> This is not innocent code, I think.
>
>
> Cheers,
>
> Thomas Krichel http://openlib.org/home/krichel
> http://authorclaim.org/profile/pkr1
> skype: thomaskrichel
>
> _______________________________________________
> RAS-run mailing list
> RAS-run at lists.openlib.org
> http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
>
More information about the RAS-run
mailing list