Problem with updatesearchindex.php

Author Message

Chalda Pnuzig

Tuesday 11 December 2007 9:38:48 am

When I run

<b>php ./bin/php/updatesearchindex.php </b>

I get this output:

 Starting object re-indexing
Number of objects to index: 2327
...................................................................... 3.00816501934%
...................................................................... 6.01633003868%
...............GPL Ghostscript 8.54: Unrecoverable error, exit code 1

This error is issued by <b>pstotext</b>:

<b>pstotext -debug namefile.pdf</b>

GPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2006 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Warning: the map file cidfmap was not found.
QI 100 0 0 -100 0 7200
Processing pages 1 through 1.
Page 1
QM 1 Error: /undefined in --get--
Operand stack:
   --dict:10/10(L)--   (\000/)   --nostringval--   --dict:0/200(L)--   --dict:12/17(ro)(L)--   1   --dict:12/17(ro)(L)--   FontBBox
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   --nostringval--   --nostringval--   2   1   1   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   false   1   %stopped_push   --nostringval--   %loop_continue   --nostringval--   --nostringval--   --nostringval--   %array_continue   2   10   %oparray_pop   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1122/1686(ro)(G)--   --dict:2/20(G)--   --dict:77/200(L)--   --dict:77/200(L)--   --dict:105/127(ro)(G)--   --dict:253/347(ro)(G)--   --dict:21/24(L)--   --dict:4/6(L)--   --dict:21/32(L)--   --dict:17/20(L)--   --dict:40/47(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.54: Unrecoverable error, exit code 1

Is there a solution to catch the error and continue the script?

I feel like I could... like I could... TAKE ON THE WORLD!!!

Softriva .com

Wednesday 19 December 2007 4:43:02 am

Check out this

http://oracleappstechnology.blogspot.com/2007/11/gpl-ghostscript-854-unrecoverable-error.html

OOzy

gabriele francescotto

Monday 09 February 2009 9:27:05 am

Hi,
is there someone that found a solution for this problem?

Thanks in advanced,
gabriele

www.opencontent.it
via Verdi 19, 38100 Trento

Gaetano Giunta

Tuesday 10 February 2009 1:04:06 am

Is there a bug posted in the tracker about this?

Principal Consultant International Business
Member of the Community Project Board

gabriele francescotto

Wednesday 11 February 2009 8:42:17 am

Hi Gaetano,
it's seems not.

I'll do it.

www.opencontent.it
via Verdi 19, 38100 Trento

Paul Borgermans

Wednesday 11 February 2009 9:40:44 am

pstotext is really buggy, better use xpdf and create a wrapper script for best results

see also http://ez.no/developer/forum/extensions/ez_find/ez_find_don_t_index_pdf_with_special_chars_like_c/re_ez_find_don_t_index_pdf_with_special_chars

hth
Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:33:59
Script start
Timing: Jan 31 2025 01:33:59
Module start 'layout'
Timing: Jan 31 2025 01:33:59
Module start 'content'
Timing: Jan 31 2025 01:33:59
Module end 'content'
Timing: Jan 31 2025 01:33:59
Script end

Main resources:

Total runtime0.0211 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 588.1328151.2109
Module start 'layout' 0.00420.0033 739.3438220.6875
Module start 'content' 0.00760.0118 960.03131,005.8984
Module end 'content' 0.01940.0017 1,965.929737.9922
Script end 0.0211  2,003.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.6569140.0002
Check MTime0.00115.2081140.0001
Mysql Total
Database connection0.00062.715110.0006
Mysqli_queries0.002411.487730.0008
Looping result0.00000.042910.0000
Template Total0.00125.710.0012
Template load0.00104.588810.0010
Template processing0.00021.084010.0002
Override
Cache load0.00073.283710.0007
General
dbfile0.00125.531880.0001
String conversion0.00000.023740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs