Topic Options
#46653 - 02/04/14 04:46 PM Image Failing Occasionally
mizzfit Offline
OL Newbie

Registered: 06/22/11
Posts: 24
Loc: Ontario, Canada
Hi,

This has been going on for some time now ... but nothing seems to be concrete as to when it happens. It occurs randomly. But here is the error message:

------------------------------------------------------------------------
WPROC: Statement - Email - Fax (thread id: 724) - 23:32:19

Starting plugin Folder Capture - 23:32:19
Input path: %{global.sWorkingFolder}Statements\Sort
Parsed path: C:\\PlanetPress\\Work\\Statements\Sort
Mask: *.*
Parsed mask: *.*
Processing file C:\\PlanetPress\\Work\\Statements\Sort\BRAYT.txt
File captured : C:\Documents and Settings\All Users\Application Data\Objectif Lune\PlanetPress Suite 7\PlanetPress Watch\Spool\5.tmp\job00ZNJPJNQBJLC44B4A6299.dat, size: 1200 bytes
Plugin Folder Capture completed successfully - 23:32:19 (elapsed time: 00:00:00:031)

Starting plugin Set Job Infos and Variables - 23:32:19
Value: @(1,19,19,66,67,KeepCase,NoTrim)@(1,19,19,69,70,KeepCase,NoTrim)@(1,19,19,72,73,KeepCase,NoTrim)
JobInfo/Variable %{FileName} is set to "013114"
Plugin Set Job Infos and Variables completed successfully - 23:32:19 (elapsed time: 00:00:00:000)

Starting plugin Run Script - 23:32:19
Run embedded script...
W3602 : Error 0 on line 1, column 39: Microsoft VBScript compilation error: Expected ')'
W3603 : Error running script.
Run Script: W1603 : Plugin failed - 23:32:19 (elapsed time: 00:00:00:000)

Starting plugin Send To Folder - 23:32:19
Path: C:\PlanetPress\Work\WebArchiveBackup
Parsed path: C:\PlanetPress\Work\WebArchiveBackup
Filename: %o
Parsed filename: BRAYT.txt
File sent : C:\PlanetPress\Work\WebArchiveBackup\BRAYT.txt, size: 1200 bytes
Plugin Send To Folder completed successfully - 23:32:19 (elapsed time: 00:00:00:000)

Starting plugin PlanetPress Image - 23:32:19
Output filename: %{FileName}
Parsed output filename: 013114
Archive folder: C:\Wamp\www\Statements\@(1,17,17,60,86,KeepCase,Trim)
Parsed archive folder: C:\Wamp\www\Statements\BRAYT
Generating an Optimized PostScript Stream job.
Initializing state...
Loading data file C:\Documents and Settings\All Users\Application Data\Objectif Lune\PlanetPress Suite 7\PlanetPress Watch\Spool\5.tmp\job00ZNJPJNQI8PQ45B4A62B8.dat...
Initializing document Statement.ptk...
Setting global variables...
Producing an Optimized PostScript document...
PlanetPress Image output successful on host 127.0.0.1
Plugin PlanetPress Image completed successfully - 23:32:21 (elapsed time: 00:00:01:859)

Starting plugin Run Script - 23:32:21
Run embedded script...
W3602 : Error 0 on line 1, column 39: Microsoft VBScript compilation error: Expected ')'
W3603 : Error running script.
Run Script: W1603 : Plugin failed - 23:32:21 (elapsed time: 00:00:00:000)

Starting plugin Text Condition - 23:32:21
String: @(1,2,2,1,1,KeepCase,NoTrim)
Parsed string: E
String 2: E
Parsed string 2: E
E contains E: true
Condition result is true
Plugin Text Condition completed successfully - 23:32:21 (elapsed time: 00:00:00:016)

Starting plugin Set Job Infos and Variables - 23:32:21
Value: @(1,17,17,1,255,KeepCase,Trim)
JobInfo/Variable %{AccountNumber} is set to "BRAYT"
Plugin Set Job Infos and Variables completed successfully - 23:32:21 (elapsed time: 00:00:00:000)

Starting plugin PlanetPress Image - 23:32:21
Output filename: %O
Parsed output filename: BRAYT
Generating an Optimized PostScript Stream job.
Initializing state...
Loading data file C:\Documents and Settings\All Users\Application Data\Objectif Lune\PlanetPress Suite 7\PlanetPress Watch\Spool\5.tmp\job00ZNJPJO1O4124CB4A6A0B.dat...
Initializing document Statement.ptk...
Setting global variables...
Producing an Optimized PostScript document...
I0012 : Error producing job of document "Statement.ptk": Out of memory while expanding memory stream
I0006 : PlanetPress Image output failed on host 127.0.0.1
1: No statement produced for BRAYT
PlanetPress Image: W1603 : Plugin failed - 23:32:21 (elapsed time: 00:00:00:172)

File sent to error bin process ErrorMail
Starting plugin Run Script - 23:32:21
Run embedded script...
W3602 : Error 0 on line 1, column 39: Microsoft VBScript compilation error: Expected ')'
W3603 : Error running script.
Run Script: W1603 : Plugin failed - 23:32:21 (elapsed time: 00:00:00:016)

Starting plugin Text Condition - 23:32:21
String: @(1,2,2,1,1,KeepCase,NoTrim)
Parsed string: E
String 2: F
Parsed string 2: F
E contains F: false
Condition result is false
Plugin Text Condition completed successfully - 23:32:21 (elapsed time: 00:00:00:000)

Starting plugin Delete - 23:32:21
Deleting file : job00ZNJPJO2SARE4EB4A6AC7.dat, size: 1200 bytes
Plugin Delete completed successfully - 23:32:21 (elapsed time: 00:00:00:000)

Starting plugin Delete - 23:32:21
Deleting file : job00ZNJPJNQBJLC44B4A6299.dat, size: 1200 bytes
Plugin Delete completed successfully - 23:32:21 (elapsed time: 00:00:00:000)

WPROC: Statement - Email - Fax (thread id: 724) complete - 23:32:21 (elapsed time: 00:00:02:110)

--------------------------------------------------------------

This happened to 28 customers this month. Is there anything that anybody can see that would cause this sort of behavior?

With 28 failing there was 328 successful generations.

Intel Xeon E5620 @ 2.4GHz with 12GB ram, Windows Server 2003 Enterprise. PP 7.5.3.8067

Thanks,

Top
#46655 - 02/04/14 04:52 PM Re: Image Failing Occasionally [Re: mizzfit]
Jeff_K
Unregistered


W3602 : Error 0 on line 1, column 39: Microsoft VBScript compilation error: Expected ')'

Looks like your VB is lacking a closing parenthesis.

Top
#46656 - 02/04/14 05:09 PM Re: Image Failing Occasionally [Re: mizzfit]
mizzfit Offline
OL Newbie

Registered: 06/22/11
Posts: 24
Loc: Ontario, Canada
That error message appears on every generation ... this was a script that was developed during implementation by Objectiflune. Here is a good one:

------------------------------------------------------------------------
WPROC: Statement - Email - Fax (thread id: 724) - 23:33:09

Starting plugin Folder Capture - 23:33:09
Input path: %{global.sWorkingFolder}Statements\Sort
Parsed path: C:\\PlanetPress\\Work\\Statements\Sort
Mask: *.*
Parsed mask: *.*
Processing file C:\\PlanetPress\\Work\\Statements\Sort\CARLSU.txt
File captured : C:\Documents and Settings\All Users\Application Data\Objectif Lune\PlanetPress Suite 7\PlanetPress Watch\Spool\5.tmp\job00ZNJPJW1OCR2F5B4B2702.dat, size: 892 bytes
Plugin Folder Capture completed successfully - 23:33:09 (elapsed time: 00:00:00:016)

Starting plugin Set Job Infos and Variables - 23:33:09
Value: @(1,19,19,66,67,KeepCase,NoTrim)@(1,19,19,69,70,KeepCase,NoTrim)@(1,19,19,72,73,KeepCase,NoTrim)
JobInfo/Variable %{FileName} is set to "013114"
Plugin Set Job Infos and Variables completed successfully - 23:33:09 (elapsed time: 00:00:00:015)

Starting plugin Run Script - 23:33:09
Run embedded script...
W3602 : Error 0 on line 1, column 39: Microsoft VBScript compilation error: Expected ')'
W3603 : Error running script.
Run Script: W1603 : Plugin failed - 23:33:09 (elapsed time: 00:00:00:000)

Starting plugin Send To Folder - 23:33:09
Path: C:\PlanetPress\Work\WebArchiveBackup
Parsed path: C:\PlanetPress\Work\WebArchiveBackup
Filename: %o
Parsed filename: CARLSU.txt
File sent : C:\PlanetPress\Work\WebArchiveBackup\CARLSU.txt, size: 892 bytes
Plugin Send To Folder completed successfully - 23:33:09 (elapsed time: 00:00:00:016)

Starting plugin PlanetPress Image - 23:33:09
Output filename: %{FileName}
Parsed output filename: 013114
Archive folder: C:\Wamp\www\Statements\@(1,17,17,60,86,KeepCase,Trim)
Parsed archive folder: C:\Wamp\www\Statements\CARLSU
Generating an Optimized PostScript Stream job.
Initializing state...
Loading data file C:\Documents and Settings\All Users\Application Data\Objectif Lune\PlanetPress Suite 7\PlanetPress Watch\Spool\5.tmp\job00ZNJPJW1V1VGF6B4B2721.dat...
Initializing document Statement.ptk...
Setting global variables...
Producing an Optimized PostScript document...
I0012 : Error producing job of document "Statement.ptk": Out of memory while expanding memory stream
I0006 : PlanetPress Image output failed on host 127.0.0.1
PlanetPress Image: W1603 : Plugin failed - 23:33:10 (elapsed time: 00:00:00:641)

Starting plugin Run Script - 23:33:10
Run embedded script...
W3602 : Error 0 on line 1, column 39: Microsoft VBScript compilation error: Expected ')'
W3603 : Error running script.
Run Script: W1603 : Plugin failed - 23:33:10 (elapsed time: 00:00:00:000)

Starting plugin Text Condition - 23:33:10
String: @(1,2,2,1,1,KeepCase,NoTrim)
Parsed string: E
String 2: E
Parsed string 2: E
E contains E: true
Condition result is true
Plugin Text Condition completed successfully - 23:33:10 (elapsed time: 00:00:00:000)

Starting plugin Set Job Infos and Variables - 23:33:10
Value: @(1,17,17,1,255,KeepCase,Trim)
JobInfo/Variable %{AccountNumber} is set to "CARLSU"
Plugin Set Job Infos and Variables completed successfully - 23:33:10 (elapsed time: 00:00:00:000)

Starting plugin PlanetPress Image - 23:33:10
Output filename: %O
Parsed output filename: CARLSU
Generating an Optimized PostScript Stream job.
Initializing state...
Loading data file C:\Documents and Settings\All Users\Application Data\Objectif Lune\PlanetPress Suite 7\PlanetPress Watch\Spool\5.tmp\job00ZNJPJW5V1ZTF9B4B29C1.dat...
Initializing document Statement.ptk...
Setting global variables...
Producing an Optimized PostScript document...
PlanetPress Image output successful on host 127.0.0.1
Plugin PlanetPress Image completed successfully - 23:33:10 (elapsed time: 00:00:00:625)

Starting plugin Run Script - 23:33:10
Run embedded script...
W3602 : Error 0 on line 1, column 39: Microsoft VBScript compilation error: Expected ')'
W3603 : Error running script.
Run Script: W1603 : Plugin failed - 23:33:10 (elapsed time: 00:00:00:000)

Starting plugin Text Condition - 23:33:10
String: @(1,2,2,1,1,KeepCase,NoTrim)
Parsed string: E
String 2: F
Parsed string 2: F
E contains F: false
Condition result is false
Plugin Text Condition completed successfully - 23:33:10 (elapsed time: 00:00:00:016)

Starting plugin Delete - 23:33:10
Deleting file : job00ZNJPJW9OCZSFCB4B2C42.dat, size: 892 bytes
Plugin Delete completed successfully - 23:33:10 (elapsed time: 00:00:00:000)

Starting plugin Delete - 23:33:10
Deleting file : job00ZNJPJW1OCR2F5B4B2702.dat, size: 892 bytes
Plugin Delete completed successfully - 23:33:10 (elapsed time: 00:00:00:000)

WPROC: Statement - Email - Fax (thread id: 724) complete - 23:33:10 (elapsed time: 00:00:01:375)

------------------------------------------------------------------------

Top
#46657 - 02/04/14 05:20 PM Re: Image Failing Occasionally [Re: mizzfit]
mizzfit Offline
OL Newbie

Registered: 06/22/11
Posts: 24
Loc: Ontario, Canada
Would it help to see the script that runs? It is fairly large.

Top
#46658 - 02/04/14 05:23 PM Re: Image Failing Occasionally [Re: mizzfit]
Jeff_K
Unregistered


mizzfit,
The VB comment still valid, uncertain as to relationship of to the following. I overlooked a clue here:

Producing an Optimized PostScript document...
I0012 : Error producing job of document "Statement.ptk": Out of memory while expanding memory stream
I0006 : PlanetPress Image output failed on host 127.0.0.1

http://help.objectiflune.com/en/knowledgebase/Default_CSH.html#/KB/ERR/PPI/ERRI0012.html

Remember, PlanetPress is a 32bit application and can only use about 3gb of RAM per process. Are the failing files very large?

Top
#46659 - 02/04/14 05:27 PM Re: Image Failing Occasionally [Re: mizzfit]
mizzfit Offline
OL Newbie

Registered: 06/22/11
Posts: 24
Loc: Ontario, Canada
Thanks Jeff_K,

Watch runs as local system account ... so full access rights?

The file that originally gets dropped into the "Statement" pool is a text file ... normally 3 or 4MB max. So ... I can not possible see it being a memory issue. And this file itself would be 60K or less. Very small.

Top
#46660 - 02/04/14 05:29 PM Re: Image Failing Occasionally [Re: mizzfit]
Jeff_K
Unregistered


At this point I would suggest opening a support ticket so all the pertinent details can be reviewed.

http://www.objectiflune.com/OL/en-US/Support/Index.aspx

Top
#46661 - 02/04/14 07:16 PM Re: Image Failing Occasionally [Re: mizzfit]
mizzfit Offline
OL Newbie

Registered: 06/22/11
Posts: 24
Loc: Ontario, Canada
Thanks for the advise - unfortunately OL Care is expired. Will have to see if their is room in the budget for this.

Top
#46674 - 02/05/14 09:31 PM Re: Image Failing Occasionally [Re: mizzfit]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1970
Loc: Objectif Lune, Montreal, Qc
Mizzfit,

First of all, be aware that whenever a VBScript fails, it fails entirely. In other words, it doesn't perform part of what it's supposed to do until it errors out. So you either have to fix it, or remove it completely.

As for the memory issue, could it be that this text file does not have any CR/LF and is just a lonnnnnnnnnnng single line? If that line is more than 64K long it could overrun the string buffer in the document. That might not be the issue but it's worth a double-check.
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top