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.

Re: [EP-tech] Generate Abstracts Error

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Tue, 01 Jul 2008 12:57:55 +0100


Threading: [EP-tech] Generate Abstracts Error from qahwash AT kfupm.edu.sa
      • This Message

*** http://www.eprints.org/tech.php/id/%3C486A1BC3.6080107%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Maher Qahwash wrote:
> Hello,
>  
> We changed the values of divisions for several eprintids in the 
> eprint_divisions table in mysql to move them in bulk to another 
> division, then did generate_abstracts which gave the correct results 
> but with the bellow error , then did generate views which also gave 
> correct results and actually moved them to the new divisions, one 
> thing we noticed is the divisions value in the eprint__ordervalue_en 
> table did not change to the new value , will this have any effect 
> anywhere? 
> this is the generate_abstracts error we received:
>  
> Writing abstracts
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  string ne at /var/lib/eprints3/perl_lib/EPrints/DataObj/Document.pm 
> line 580.
>  
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  string ne at /var/lib/eprints3/perl_lib/EPrints/DataObj/Document.pm 
> line 580.
>  
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  substitution (s///) at 
> /var/lib/eprints3/perl_lib/EPrints/DataObj/Document.pm l
> ine 1563.
>  
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  concatenation (.) or string at 
> /var/lib/eprints3/perl_lib/EPrints/DataObj/Docum
> ent.pm line 1565.
>  
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  string eq at /var/lib/eprints3/perl_lib/EPrints/Script.pm line 258.
>  
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  string eq at /var/lib/eprints3/perl_lib/EPrints/Script.pm line 258.
>  
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  string eq at /var/lib/eprints3/perl_lib/EPrints/Script.pm line 258.
>  
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  hash element at 
> /var/lib/eprints3/perl_lib/EPrints/Plugin/Export/DC.pm line 158
> .
>  
>  (while in configuration subroutine eprint_render) Use of 
> uninitialized value in
>  hash element at 
> /var/lib/eprints3/perl_lib/EPrints/Plugin/Export/DC.pm line 158
Hi,

It looks to me like you have some broken Document records. From MySQL 
try doing this:

SELECT docid FROM document WHERE format IS NULL;

I think the "quick" fix would be to (assuming it's format):

UPDATE document SET format="other" WHERE format IS NULL;

Cheers,
Tim.


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