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] 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] [prev] [next] [options] [help]