[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::online_bookbuilding

Title:Online Bookbuilding
Notice:This conference is write-locked: see note 1.3.
Moderator:VAXUUM::UTT
Created:Fri Aug 12 1988
Last Modified:Mon Jul 15 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:440
Total number of notes:2134

276.0. "CANNOTOPEN error in device conversion" by MUNLEG::WALTER (Michael Walter, LEG Munich) Fri Feb 09 1990 04:46

Hi,

today I ran into what seems like a bug in the device converter to me.

I searched the keywords and titles and didn't see it mentioned.

A book runs through all passes until the device conversion and then I
get an error which at first sight looks like a string handling
error between C and VMS library routines to me (no terminating '\0' or
something of that kind; the converter is written in C, isn't it?). 

Anyway, a "[" gets appended to the full file specification and the
opening routine bombs out:

[ D e v i c e    C o n v e r s i o n ]...
%DVC-I-IDENT, Online Device converter 2.0 Oct-6-1989
%DVC-E-CANNOTOPEN, cannot open input file
-DVC-I-INPUTFILE, input file is: 

                                                              this is it
++++++++++++++++++++++                                             v
   DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE.DVI_BOOKREADER[
-DVC-I-ONPAGE, on page [0] 
----------------------

**********************

Below I've appended the whole .LIS file, so you can see that the book
gets successfully built until the device conversion.

Maybe the bug would not have occured with a second build with the same
DOCUMENT command. Anyway I did a partial build starting with device
conversion (/NOTAG/NOTEX) and everything worked out fine. But if null
termination is the problem then again it might just as well have
bombed too...



%DOC-I-IDENT, VAX Document V1.2-A   2-JUN-1989 16:15:56.35
[ T a g    T r a n s l a t i o n ]...
%TAG-I-TAG_IDENT,  Tag Translator V1.2-004
%TAG-I-DEFSLOADD, End of Loading of Tag Definitions
%TAG-I-LCL_MSG01, Using online bookbuilding tools, 27-October-1989 baselevel
%TAG-I-ENDPASS_1, End of first pass over the input
%TAG-W-LCL_MSG13, tag <TAG_DIAGNOSTIC>, line 1, file

   DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE.SDML;

   No LMF information is specified for this document.
%TAG-I-FILEWRTOK, File LANGUAGE.TEX written
%TAG-I-FILEWRTOK, File 5228FRONT.TEX written
%TAG-I-FILEWRTOK, File 5228BASICS.TEX written
%TAG-I-FILEWRTOK, File 5228CREATING.TEX written
%TAG-I-FILEWRTOK, File 5228EDITING.TEX written
%TAG-I-FILEWRTOK, File 5228MANAGING.TEX written
%TAG-I-FILEWRTOK, File 5228RECORDING.TEX written
%TAG-I-FILEWRTOK, File 5228IMPORT_EXPORT.TEX written
%TAG-I-FILEWRTOK, File 5228CHARTING.TEX written
%TAG-I-FILEWRTOK, File 5228FUNCTIONS.TEX written
%TAG-I-FILEWRTOK, File 5228LIVE-LINK.TEX written
%TAG-I-FILEWRTOK, File 5228CUSTOMIZING.TEX written
%TAG-I-FILEWRTOK, File 5228EDIT_STRING_APP.TEX written
%TAG-I-FILEWRTOK, File 5228CONSOL_OPERATIONS_APP.TEX written
%TAG-I-FILEWRTOK, File APPENDIX_X.TEX written
%TAG-I-FILEWRTOK, File 5228GLOSSARY.TEX written
[ T e x t    F o r m a t t i n g ]...
%TEX-I-INFO, Loading DOC$STANDARD_FORMATS:TEX$STARTUP.TEX - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:GE_ONLINE.DESIGN, MW, 9-JAN-1990 - on page [1]
%TEX-I-INFO, loading online doctype design file, TEX$V2REFERENCE - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:TEX$O_COMMON.TEX - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:TEX$LANGUAGE_STRINGS.TEX - on page [1]
%TEX-I-LINETOOSHORT, Line too short - on page [20]
.
. Many LINETOOSHORTs ...
.
%TEX-I-INFO, Possible table paging problem. - on page [1404]
%TEX-I-LINETOOSHORT, Line too short - on page [1411]
%TEX-I-PAGESOUT, 1446 pages written.
-TEX-I-OUTFILENAME, 'DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE.DVI_BOOKREADER'
[ C o n t e n t s   G e n e r a t i o n ]...
[ T e x t    F o r m a t t i n g   C o n t e n t s ]...
%TEX-I-INFO, Loading DOC$STANDARD_FORMATS:TEX$STARTUP.TEX - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:GE_ONLINE.DESIGN, MW, 9-JAN-1990 - on page [1]
%TEX-I-INFO, loading online doctype design file, TEX$V2REFERENCE - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:TEX$O_COMMON.TEX - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:TEX$LANGUAGE_STRINGS.TEX - on page [1]
%TEX-I-PAGETOOSHORT, Page too short - on page [1]
%TEX-I-PAGESOUT, 2 pages written.
-TEX-I-OUTFILENAME, 'DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE_CONTENTS.DVI_BOOKREADER'
[ I n d e x    G e n e r a t i o n ]...
%INX-I-ENDPASS_1, End of first pass over input file: 

   'DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE.INX'
%INX-S-ENDPASS_2, End of second pass over input file.
%INX-S-CREATED, 'DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE_INDEX.TEX;1' created
[ T e x t    F o r m a t t i n g   I n d e x ]...
%TEX-I-INFO, Loading DOC$STANDARD_FORMATS:TEX$STARTUP.TEX - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:GE_ONLINE.DESIGN, MW, 9-JAN-1990 - on page [1]
%TEX-I-INFO, loading online doctype design file, TEX$V2REFERENCE - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:TEX$O_COMMON.TEX - on page [1]
%TEX-I-INFO, Loading DOC$LOCAL_FORMATS:TEX$LANGUAGE_STRINGS.TEX - on page [1]
%TEX-I-LINETOOSHORT, Line too short - on page [10]
%TEX-I-PAGESOUT, 11 pages written.
-TEX-I-OUTFILENAME, 'DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE_INDEX.DVI_BOOKREADER'
[ D e v i c e    C o n v e r s i o n ]...
%DVC-I-IDENT, Online Device converter 2.0 Oct-6-1989
%DVC-E-CANNOTOPEN, cannot open input file
-DVC-I-INPUTFILE, input file is: 

                                                              this is it
++++++++++++++++++++++                                             v
   DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE.DVI_BOOKREADER[
-DVC-I-ONPAGE, on page [0] 
----------------------
 
%DVC-E-BOOKABORT, aborting run -- book  DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE not created 
%DOC-E-ERROR_CONVERTER, Errors found by the device converter


DOCUMENT AA-PATKA-TE.SDML; ONLINE.GE_REFERENCE BOOKREADER/CONT/INDE=(GUIDE_HEADINGS,SORT=(LETTER))/KEEP/LIST=AA-PATKA-TE.LIS;/LOG/NOPRIN/SYMB=INFO_SYMBOLS.SDML;
Date/Time:  8-FEB-1990 17:56:20.34
CPU time: 6872.43 secs.
T.RTitleUserPersonal
Name
DateLines
276.1C bugRAGMOP::UTTFri Feb 09 1990 08:336
    It looks like you've run into the VAX C RTL bug that limits the
    number of chars in the file spec to 48 or less. Move the file to
    a higher level directory and/or shorten the file name and you
    should be OK.
    
    Mary
276.2Don't believe its a file spec length problemMUNLEG::WALTERMichael Walter, LEG MunichMon Feb 12 1990 04:4250
Hello Mary,

thanks for your response. I don't believe it's a bug that has to do with
file spec length though. I've appended a .LIS file which was produced
with the command

$ Document /notag/notex AA-PATKA-TE online book

I only ran the book through the device converter this time. Everything
remained in the same directory and name lengths remained the same too.
The book built successfully.

So I'm pretty sure that the failure described in .0 has got nothing
to do with file spec length. 

Just to be on the safe side I'll build the whole book again. But my
guess still is that a string is not being null terminated and the
characters up to the next '\0' are included in the full file specification.

If this is so I may only have a small chance to reproduce the problem.

I'll let you hear about the outcome of the full book build.

Regards

Michael W.

---- LIS file of successful build follows ----

%DOC-I-IDENT, VAX Document V1.2-B    25-JAN-1990 11:47:33.75
[ D e v i c e    C o n v e r s i o n ]...
%DVC-W-SPECIALERROR, error in \special 
   voila: plotfile doc$local_formats:small_logo.rags
-DVC-W-FIGFILOPN, cannot open figure file
-DVC-I-INPUTFILE, input file is: 
   DECDECISION:[DECISION.CALC.DOCU.BUILD]AA-PATKA-TE.DVI_BOOKREADER;
-DVC-I-ONPAGE, on page [3] 
 
%DVC-I-INCLUDING, including input file: 
   AA-PATKA-TE_CONTENTS
%DVC-I-INCLUDED, File RE_EN01511R_89.DECW$BOOKFIG was successfully included
.
.
.
%DVC-I-INCLUDED, File 5228-ch7-chart_func.DECW$BOOKFIG was successfully included
 
%DVC-I-INCLUDING, including input file: 
   AA-PATKA-TE_INDEX
%DVC-I-BOOKBUILT, book was successfully built
276.3Fixed in 1.2BCLOSET::FITZELLput nifty saying hereMon Feb 12 1990 08:403
    See note 251
    
    Mike
276.4Will install V1.2-B. ThanksMUNLEG::WALTERMichael Walter, LEG MunichMon Feb 12 1990 10:296
	Thanks, Mike.

	    I've installed it. Hope this fixes it.

        Michael W.