[BlueOnyx:05874] Re: rtf to pdf error

Dr. Blunt cleardata at earthlink.net
Wed Nov 17 10:03:40 -05 2010


I think I resolved the output error. Seems when you run the Ted script
even though it is in the /usr/loca/ted you need to run it from the dir
that has the source *.rtf ... in this case would be /home/users/admin/
for testing.
David



At 06:56 PM 11/11/2010, you wrote:
>Getting this error noted below: The error seems to be happening in the Ted
>call.  Ted never generates the postscript file and therefore, ghostscript
>fails when it looks for the PS file. Any help would be appreciated...Thanks
>in advance as always.
>
>Output from command:  /usr/local/Ted/rtf2pdf.sh Test-App13.rtf Test-App13.pdf
>
>docRtfRead.c( 56) rcw->rcwWord="enspace" rcw->rcwID=202
>docRtfRead.c( 56) rcw->rcwWord="enspace" rcw->rcwID=202
>utilMatchFont.c(881) df->dfName="MS Mincho" df->dfCharset=128
>df->dfCodepage=-1 df->dfOfficeCharsetMapping=0x0
>docLayoutLine.c(266) psfl->psflFamilyCount=4
>docLayoutLine.c(267) docNumberOfParagraph(bi)=29
>docLayoutLine.c(268) tp->tpTextAttributeNumber=10
>docLayoutLine.c(269) (char *)bi->biParaString+tp->tpStroff="  ____ ____
>____ ____ ____ ____" afi=0x0
>docLayoutLine.c(460) done=-1
>docLayoutLine.c(984) done=-1
>docLayoutLine.c(1275) accepted=-1
>docLayoutLines.c(466) accepted=-1
>docLayoutLines.c(629) accepted=-1
>docLayoutParagraphs.c(154) accepted=-1
>docLayoutRow.c(158) 1=1
>docLayoutRow.c(596) 1=1
>docLayout.c(844) 1=1
>docLayoutSect.c(148) i=4
>docLayout.c(836) 1=1
>docLayout.c(732) 1=1
>docLayout.c(797) 1=1
>docLayout.c(932) 1=1
>tedLayout.c(1071) 1=1
>tedPage.c(332) 1=1
>tedDocument.c(571) 1=1
>appPrintDocument.c(556) fromName="Test-App13.rtf"
>appPrintDocument.c(591) fromName="Test-App13.rtf"
>appMain.c(933) argv[1]="--printToFile" argv[2]="Test-App13.rtf"
>argv[3]="/tmp/19667.ps"
>appMain.c(1101) res=-1
>GNU Ghostscript 7.07: Unrecoverable error, exit code 1
>rm: cannot remove `/tmp/19667.ps': No such file or directory
>Error: /undefinedfilename in (/tmp/19667.ps)
>Operand stack:
>
>Execution stack:
>     %interp_exit   .runexec2   --nostringval--   --nostringval--
>--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
>--nostringval--   false   1   %stopped_push   --nostringval-- 
>--nostringval--
>Dictionary stack:
>     --dict:1062/1123(ro)(G)--   --dict:0/20(G)--   --dict:88/200(L)--
>Current allocation mode is local
>Last OS error: 2
>
>---------------------------------------------
>Output from command: Ted --setProperty usePostScriptFilters 1 --setProperty
>usePostScriptIndexedImages 1 --printToFile Test-App13.rtf Test-App13.ps
>
>docRtfRead.c( 56) rcw->rcwWord="enspace" rcw->rcwID=202
>docRtfRead.c( 56) rcw->rcwWord="enspace" rcw->rcwID=202
>utilMatchFont.c(881) df->dfName="MS Mincho" df->dfCharset=128
>df->dfCodepage=-1 df->dfOfficeCharsetMapping=0x0
>docLayoutLine.c(266) psfl->psflFamilyCount=4
>docLayoutLine.c(267) docNumberOfParagraph(bi)=29
>docLayoutLine.c(268) tp->tpTextAttributeNumber=10
>docLayoutLine.c(269) (char *)bi->biParaString+tp->tpStroff="  ____ ____
>____ ____ ____ ____" afi=0x0
>docLayoutLine.c(460) done=-1
>docLayoutLine.c(984) done=-1
>docLayoutLine.c(1275) accepted=-1
>docLayoutLines.c(466) accepted=-1
>docLayoutLines.c(629) accepted=-1
>docLayoutParagraphs.c(154) accepted=-1
>docLayoutRow.c(158) 1=1
>docLayoutRow.c(596) 1=1
>docLayout.c(844) 1=1
>docLayoutSect.c(148) i=4
>docLayout.c(836) 1=1
>docLayout.c(732) 1=1
>docLayout.c(797) 1=1
>docLayout.c(932) 1=1
>tedLayout.c(1071) 1=1
>tedPage.c(332) 1=1
>tedDocument.c(571) 1=1
>appPrintDocument.c(556) fromName="Test-App13.rtf"
>appPrintDocument.c(591) fromName="Test-App13.rtf"
>appMain.c(933) argv[1]="--printToFile" argv[2]="Test-App13.rtf"
>argv[3]="Test-App13.ps"
>appMain.c(1101) res=-1
>
>---------------------------------------------
>
>
>
>
>.....
>
>_______________________________________________
>Blueonyx mailing list
>Blueonyx at blueonyx.it
>http://www.blueonyx.it/mailman/listinfo/blueonyx
>
>
>-----
>No virus found in this message.
>Checked by AVG - www.avg.com
>Version: 10.0.1153 / Virus Database: 424/3250 - Release Date: 11/11/10

..... 




More information about the Blueonyx mailing list