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

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

3136.0. "PPage V1.3 Corrupt File Syndrome" by DICKNS::MACDONALD (WA1OMM 7.093/145.05/223.58 AX.25) Tue Nov 21 1989 16:32

Last night I dotted the last "i" on a 12 page newsletter using PPage
V1.3. I saved the file. An hour or so later I decided to go back and
make one last change. Much to my horror,, I could not load the file. I
received a PPage requestor indicating that the file was corrupt. I tried
a hard reboot, but that didn't work. I nearly threw a fit after all the
work that went into it.

Is anyone aware of a way to recover the file?

-Paul
T.RTitleUserPersonal
Name
DateLines
3136.1try anything/everythingMILKWY::JANZENcf. ANT::CIRCUITS,ANT::UWAVESTue Nov 21 1989 19:256
    Did you try diskdoctor?  Did you try first editing it with a simpler
    editor such as memacs on the extras disk or edit?  did you try 
    a hex file editor?
    Is there a create command that creates a file ina certain disk block as
    there is on rt11?
    Tom
3136.2DICKNS::MACDONALDWA1OMM 7.093/145.05/223.58 AX.25Wed Nov 22 1989 12:2415
>>    Did you try diskdoctor?  

For what purpose?

>>    Did you try first editing it with a simpler
>>    editor such as memacs on the extras disk or edit?  did you try 
      a hex file editor?
    
To edit what?

>>    Is there a create command that creates a file ina certain disk block as
>>    there is on rt11?
   
Dunno anything about rt11. There are no additional files created, just
the one big 225K source file.
3136.3VIKING::JANZENcf. ANT::CIRCUITS,ANT::UWAVESWed Nov 22 1989 13:0117
    If you could pull it into a different editor and save it it might
    chagne something that would make it seem not corrupted.  Simpler
    programs are often more tolerant of file flaws and fix them with they
    save the file.  The question is, is the file corrupt because some block
    pointer is bad or because the format went bad only for that program.
    Also, if a simpler editor can edit the file, you could at least not
    have to type in all the words again.  You might have to remove control
    codes and reload the text as a text file into the page formatting
    program.
    If the file is corrupt in terms of the operating system, diskdoctor
    might delete it or save most of it I forget; backup the disk before
    trying this.  
    NewZap could conceivably also tolerate a fault in the file and save it
    uncorrupted.
    In addition, trying all these other programs will give you other error
    messages that could help you decide what to do.
    Tom
3136.4DisksalvSALEM::LEIMBERGERSat Nov 25 1989 07:3921
    I'd use Disksalv before diskdoctor.Where diskdoctor will eather
    save or delete,disksalve will recover.I have had this problem with
    PPage before,and I never did recover the file.Lucky for me I am
    in the habit of saving often,and on an important document sometimes
    to two seperate disk.You know what they say"once bitten.....".
    I tend to feel that the document is corrupt only in the sense that
    PPage does not see what it is looking for.If you make a small sample
    file,and look at it with an editor,then look at the corrupt file
    you may very well spot the problem.Did you save the file to a floppy,or
    too your hard drive? I ask this because it may well be that the
    file was truncated if there was not room for it on the disk.Until
    you find out waht happened I'll save my file in sections,and or
    pages less than 10 pages long.Also I'll try a save to an almost
    full disk to see if PPage will handle it properly.From the files
    I have seen posted by you I would imagine that they require a lot
    of space.OH! another thought,you may want to try transcribe to see
    if it will load the file,and then save it properly,I doubt it but
    one never knows.If you don't have transcribe,you could swing by
    my place in Nashua,and try it.I am in the Phone book.18E hampshire
    dr. Thats exit 7 Forest Ridge.
    							bill
3136.5FIXDOC.LZHCRISTA::CAPRICCIOSmilin' Joe FissionMon Oct 29 1990 04:1949
    I don't know if this applies, but I found this on Steve Tibbett's BBS
    and thought it might help. It's from Gold Disk's Darren Jerrard:

                    CRISTA""::AMIGA:FIXDOC.LZH (14 blocks)

    Here's the docs:

- FixDoc -

FixDoc is a utility that will try to recover corrupt Professional Page v1.3
documents that cause the "Can't Understand Format String" requester to
appear in PPage when attempting to load the file.

FixDoc can take one or two parameters.  The first parameter is the name of
the corrupted document.  The second (optional) parameter is the name of the
desired output filename.  If you don't provide the second parameter, FixDoc
will try to write the fixed document to a file called
"RAM:FixedDocument.ppage".

e.g.  Assume you have a corrupted file named DOCUMENT1.PPAGE on your hard
drive.  Let's also assume your hard drive is called WORK:.

Then you would type:

    FIXDOC WORK:DOCUMENT1.PPAGE

This would correct your document and send the corrected copy into
RAM:FixedDocument.ppage

If you type:

    FIXDOC WORK:DOCUMENT1.PPAGE DF0:MYFILE

This will copy the corrected document to the internal floppy (DF0:) and
call it "MYFILE".

You will notice messages appearing on your screen.  The 'PTXT found'
messages just means that FixDoc has found some text in the input file.
 'Altering' means that the text was 'damaged' and is now being corrected.

If FixDoc doesn't fix your file, contact Gold Disk's Technical Support
department.  (We may need to see a copy of your document.)




Darren Jerrard.
Technical Support.