Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] Re: generate views error

From: Yuri <yurj AT alfa.it>
Date: Mon, 19 May 2008 11:30:14 +0200


Threading: [EP-tech] generate views error from yurj AT alfa.it
      • This Message

*** http://www.eprints.org/tech.php/id/%3C483148A6.5070506%40alfa.it%3E
*** EPrints community wiki - http://wiki.eprints.org/

I've installed
$ perl -v

This is perl, v5.8.8 built for i686-linux

can be a perl version problem?

Yuri ha scritto:
> Eprints 2.3.12
>
> Can't use string ("") as a HASH ref while "strict 
refs" in use at 
> ../../../../bin/generate_views line 325.
>
> line 325:
>
>        elsif( $fields->[0]->is_type( "name" ) )
>        {
>                my %v=();
>                foreach my $field (  AT {$fields} )
>                {
>                        my $vref = $field->get_values( $session, $ds );
>                        foreach(  AT {$vref} )
>                        {
>                                if( !defined $_ ) { $_=""; }
>                                $_->{given} = '' unless defined( 
> $_->{given} ); <- LINE 325
>                                $_->{family} = '' unless defined( 
> $_->{family} );
>                                $v{$_->{given}.':'.$_->{family}}=$_;
>
>                        }
>                }
>                 AT values = values %v;
>
>        }
>
>
> ====
>
> Any idea? how can I find the wrong eprint?
>


[index] [prev] [next] [options] [help]