IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#19825 - 08/09/06 05:02 PM rangecheck errors
Juan Ascoli Offline
OL Toddler

Registered: 08/24/05
Posts: 49
Loc: Crutchfield - Charlottesville,...
I'm seeing a couple of "rangecheck" errors, which are probably related...

1) While in PlanetPress, I use the PrintPreview to view my document. Tbe Simulation setting is set to "PlanetPress Image" and PostScript interpreter is set to "Internal interpreter". When I enable the "Run locally" checkbox, the preview is correctly generated. Oddly, when I uncheck it, an error box shows "Error converting file: rangecheck", followed by a second error box that says "P0054 : There was an error converting to PDF."

2) While in PlanetWatch, I get a similar error when using PlanetImage to create a PDF file. The "PlanetPress Suite Service Console" shows:
...
Starting conversion...
Initializing Jaws
To: PO64528 2006-08-08 180046.pdf
Ripping File...

I1007:Error while converting to PDF: Error converting file:rangecheck

I1005:Error while processing input directory; moving file to error folder: job211EB8EA.ps
-----------------------------------------------

Any ideas on what might be going on?

Thanks,
Juan

Top
#19826 - 08/10/06 12:21 PM Re: rangecheck errors
cosimo Offline
OL Expert

Registered: 10/31/01
Posts: 1286
Loc: montreal
Hi,

Please click on "Report an Issue" and we will handle this issue internally.

Thanks
Cosimo

Top
#19827 - 08/18/06 11:28 AM Re: rangecheck errors
Juan Ascoli Offline
OL Toddler

Registered: 08/24/05
Posts: 49
Loc: Crutchfield - Charlottesville,...
All is fixed now. Thanks for your help!

For everyone else, my problem was caused by a PlanetPress Talk "right()" function that was attempting to return the 5 rightmost characters of a particular string. In my case, the original string was sometimes empty, then causing the "right()" function to fail with this "rangeerror" message, visible when using PrintPreview (with the "Run locally" checkbox DISABLED). PlanetWatch would also report a similar "rangecheck" error, later.

The lesson I learned is to beware of strings that may sometimes be empty. The Talk string functions may not handle them gracefully, so test for stringlength, etc beforehand.

Top


Moderator:  cosimo, OL Newsgroup Support