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] Generate Abstracts Error
From: Maher Qahwash <qahwash AT kfupm.edu.sa>
Date: Tue, 01 Jul 2008 09:41:44 +0300
| Threading: | • This Message → Re: [EP-tech] Generate Abstracts Error from tdb01r AT ecs.soton.ac.uk → [EP-tech] Generate Views error - "Invalid value id in get_filters...." from alan.dawson AT strath.ac.uk |
This is a multi-part message in MIME format. 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 ↵ 158ATTACHMENT: message.html!
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.
[EP-tech] Generate Views error - "Invalid value id in get_filters...."
From: Alan Dawson <alan.dawson AT strath.ac.uk>
Date: Thu, 10 Jul 2008 11:39:02 +0100
| Threading: | ↑ [EP-tech] Generate Abstracts Error from qahwash AT kfupm.edu.sa • This Message |
*** ↵ http://www.eprints.org/tech.php/id/%3CEMEW-k69BaY2c5102c702ea1ef85367675b9baa51e1-4875E6C6.4040209%40strath.ac.uk%3E *** EPrints community wiki - http://wiki.eprints.org/ Some people have reported getting a series of errors: "Invalid value id in get_filters...." when running generate_views in EPrints 3.1. I hit this too yesterday after importing some department codes into eprint_divisions. I think that the problem is caused by undelimited numeric values in a text field (divisions). These values import ok but cause problems. The solution I used was to run a series of MySQL commands such as: UPDATE eprint_divisions SET divisions = '12222' where divisions LIKE '%12222%'; The data looked the same afterwards but it fixed the problem. I expect there are other solutions, but adding delimiters to the values in the text file before importing (using Mysql LOAD DATA...) doesn't work, as they get imported as characters. -- Alan Dawson Senior Researcher/Programmer Centre for Digital Library Research Livingstone Tower, 26 Richmond Street University of Strathclyde Glasgow G1 1XH 0141 548 2379 alan.dawson AT strath.ac.uk The University of Strathclyde is a charitable body, registered in Scotland, with registration number SC015263
[index] [options] [help]




