[EP-tech] Re: Eprints 3.1 to 3.3 upgrade not working

David Whitehead dwhitehead at lincoln.ac.uk
Wed Jan 23 09:46:36 GMT 2013


Hi Tim,

Thanks for getting back to me, As I have installed EPrints into the /usr/ I have looked into /usr/share/eprints3/perl_lib/EPrints/Plugin/Convert and there are 4 pm files. Below is there last modified dates,
DocPDF.pm - Last modified 29/05/2012
IndexCodes.pm - Last modified 29/05/2012
PlainText.pm - Last modified 29/05/2012
Thumbnails.pm - Last modified 29/05/2012



I am unsure as to why I would be using an older convertor as all I have done is install a brand new version of eprints 3.3.10. I then copied only version of the "Documents" folder in the archives and
Redid the archive database with the same name but made from the 3.2.4 sql backup that I made after upgrading from 3.1 to 3.2.4. 

On another side note though I did also notice that the simple search Xapian is also not working in 3.3.10 "even freshly installed with no modifications yet to EPrints" every time you try and do a basic search you go to internal server error page, the error in the apache log is "Exception: /usr/share/eprints3/archives/"name"/var/xapian". When navigating to the var folder I find nothing their other than one timestamp method. Just thought you might want to know,

I installed EPrints 3.3 on Ubuntu via package manage "apt-get install" after adding "deb http://deb.eprints.org/3.3/ stable/" and "deb-src http://deb.eprints.org/3.3/ source/" to sources.list

I hope this information is of some use to you, if you need anything else just let me know and thanks again for getting back to me,

Kind regards,

David Whitehead.

-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Tim Brody
Sent: 22 January 2013 16:48
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: Eprints 3.1 to 3.3 upgrade not working

On Tue, 2013-01-22 at 10:19 +0000, David Whitehead wrote:
> Hi All,
> 
>  
> 
> I have been assigned the task of trying to convert the current EPrints 
> repository we have into 3.3. So far what I have managed to do is 
> install 3.2 and then upgrade the current EPrints database and data 
> into 3.2.4. I have installed 3.3 and I am attempting to do the same 
> thing but It’s not working and I get quite a lot of various different 
> errors.
> 
>  
> 
> Below is a general list of errors I seem to be getting, I was 
> wondering if you could tell me either what might be causing them or 
> any kind of known solution for them:-
> 
>  
> 
>  
> 
> ·         Error: Expected the default config, but wasn’t able to find
> it, or it isn’t a dictionary.
> 
> ·         Error: no current point in closepath.
> 
> ·         Error: Failed parsing page 85 using hint tables.
> 
> ·         Error: Failed to parse xref entry.
> 
> ·         Error:Top-level pages object is wrong type (null).
> 
> ·         Error: Object (253, 0) is not a pageDict.
> 
> ·         Error: Invalid number of first page shared object groups.
> 
> ·         Error Opening /tmp/ep-convertK7cXi/Drawing Perspective
> Remembering the basics Lecture.txt: No such file or directory at 
> /usr/share/eprints3/perl_lib/Eprints/Plugin/Convert/IndexCodes.pm
> line 57 (This stops the upgrade process all together)
> 
>  
> 
> Note: I have been on the EPrints wiki and I have tried the 
> subject_reindex method on both 3.2 and 3.3 but I still cannot get past
> 3.3 without the errors.
> 
> http://wiki.eprints.org/w/Upgrading_from_3.1

Hi,

It looks like the text isn't being extracted from a PDF and, rather than the PDF convert plugin gracefully returning, it trips a file missing check in Convert::IndexCodes.

Can you compare your set of Convert plugins with:
http://trac.eprints.org/eprints/browser/tags/3.3.7/system/perl_lib/EPrints/Plugin/Convert

It doesn't look like you should get to the problem you have, so I'm wondering if you have an old PDF text extraction plugin that's getting in the way (instead of Convert::DocPDF and the 'antiwordpdf' utility).

--
All the best,
Tim

The University of Lincoln - a top performer in student satisfaction, enjoying an unrivalled ascent through the University league tables, set in a dynamic, research rich and vibrant campus in the heart of a great historic student-friendly city.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.
 
Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.
 
The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.



More information about the Eprints-tech mailing list