Hello,

I re-did it from scratch the DB.  Here is what I did:

drop database invenio;
CREATE DATABASE invenio DEFAULT CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON invenio.* TO invenio@localhost IDENTIFIED BY 'invenio';

sudo -u apache /opt/invenio/bin/inveniocfg --update-all
sudo -u apache PYTHON_EGG_CACHE=/tmp/.python-eggs /opt/invenio/bin/inveniocfg 
--create-tables
sudo -u apache PYTHON_EGG_CACHE=/tmp/.python-eggs /opt/invenio/bin/inveniocfg 
--drop-demo-site --create-demo-site 
--load-demo-records --yes-i-know

But I got the error when I load the demo records.

stderr:
GPL Ghostscript 8.70: Unrecoverable error, exit code 1

2012-03-30 18:28:08 --> ERROR: Error when converting from 
/opt/invenio/var/data/files/g0/60/0003295.fig6b.ps.gz;1 to .txt: Error in 
running ('/usr/bin/gs', '-sProcessColorModel=DeviceCMYK', '-dPDFA', '-dBATCH', 
'-dNOPAUSE', '-dNOOUTERSAVE', '-dUseCIEColor', '-sDEVICE=pdfwrite', 
'-sOutputFile=output_file.pdf', 'PDFA_def.ps', 
'/opt/invenio/var/tmp/conversion8a2klE/input.ps.gz')
 stdout:
GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /undefinedfilename in --file--
Operand stack:
   --nostringval--   --nostringval--   (ISO Coated sb.icc)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1846   1   3   %oparray_pop   
1845   1   3   %oparray_pop   1829   1   3   %oparray_pop   1723   1   3   
%oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1152/1684(ro)(G)--   --dict:0/20(G)--   --dict:71/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 680


I re-installed ghostscript, I still got the error. Is this related with some of 
PDF rpm ?

Thanks a lot,

Regards,
Lanxin



________________________________________
From: Samuele Kaplun
Sent: 30 March 2012 10:40
To: Lanxin Ma
Cc: project-invenio-general (Invenio users)
Subject: Re: test my invenio 1.0.0

Dear Lanxin,

In data venerdì, 30 marzo 2012 10.14:07, Lanxin Ma ha scritto:
> Hello,
>
> Thank you for  your so quickly answer. I following your instruction, skip
> the smallram test. I re-ran the unit test, I got 7 error, please see the
> attached file. I do not understand the error.  Are they important errors?
> How can I fix them ?
>
> Thank you very much!!

unit/regression/tests are tests that us developer are writing in order to
proof that everything works (and keep working) as intended.

They have to be executed on a clean demo installation (with the vanilla demo
Atlantis Institute of Fictive Science repository). Are you executing them on a
such a clean demo site or on an installation you already started to customize?
(e.g. by changing authorization, user, submitting records, etc.)

Best regards,
        Samuele
--
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>

Reply via email to