Forums / General / Problem with updatesearchindex.php

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

eZ debug

Timing: Jan 30 2025 21:12:55
Script start
Timing: Jan 30 2025 21:12:55
Module start 'content'
Timing: Jan 30 2025 21:12:55
Module end 'content'
Timing: Jan 30 2025 21:12:55
Script end

Main resources:

Total runtime0.1971 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0118 587.9297370.2969
Module start 'content' 0.01180.0144 958.22661,009.6250
Module end 'content' 0.02620.1709 1,967.85163,899.9609
Script end 0.1970  5,867.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.2821200.0002
Check MTime0.00130.6529200.0001
Mysql Total
Database connection0.00070.373310.0007
Mysqli_queries0.094748.04051410.0007
Looping result0.00130.66061390.0000
Template Total0.170586.510.1705
Template load0.00090.434210.0009
Template processing0.169686.035610.1696
Override
Cache load0.00060.313510.0006
Sytem overhead
Fetch class attribute can translate value0.00201.010410.0020
XML
Image XML parsing0.00030.143610.0003
General
dbfile0.00954.8116200.0005
String conversion0.00000.004130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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