End of file missing error

Status
Not open for further replies.

ike

Usenet Archive
Joined
Jan 21, 2001
Messages
7
Reaction score
0
What to do about "end of file missing error"? I have had some sizeable loss of data in these files . I tried a few Edg commands to fix these files. But I am lost about how to use Edg. What would cause these design files to do this? WindowsNT MicroStationSE

Thank you, IKE
 
"ike" wrote:
What to do about "end of file missing error"? I have had some sizeable loss of data in these files . I tried a few Edg commands to fix these files. But I am lost about how to use Edg. What would cause these design files to do this? WindowsNT MicroStationSE

Thank you, IKE

Your guess is as good as mine Ike..

I read somewhere that if you open this in MS95, there will be a question if you want to attempt to repair...do not enter yes.

If you want you can start edg.exe
enter the complete path to the design file..including extension... type 'repair' type '1:end'

type 'close'
type 'exit'

Please do this on a backup copy of your damaged file.

Then there is Axiom Filefixer located at axion.com which claims to be able to repair this type of errors.

You might want to try it ...

No previous experience with the said software..

Hope this helps.
 
Ike
Never ask yes to the repairquestion in ustn. It will only chop off the file and leave you with whaterver is left. (You can try it on a backup)

You cansearch Google for this, it's been up many times before. http://groups.google.com/groups?q=comp.cad.microstation&hl=en&lr=&safe=off&btnG=Google+Search&site=groups

1- Try attach the problem-file as reference to a new file, and copy the elements.

2- I have once been thought the following:
open EDG
type path+filename
vw
repair all
open path+newfilename
write all
q

3- Send the file to Bentey support

Thomas Voghera

On Fri, 28 Dec 2001 03:33:10 GMT, "ike"
wrote:

What to do about "end of file missing error"? I have had some sizeable loss of data in these files . I tried a few Edg commands to fix these files. But I am lost about how to use Edg. What would cause these design files to do this? WindowsNT MicroStationSE

Thank you, IKE
 
The following is an informative Tech Note that will help you repair the end of file among other things with EdG:

http://selectservices.bentley.com/technotes/faqs/6119.htm

Erik Lofgren
Bentley System Inc.

ike wrote:

What to do about "end of file missing error"? I have had some sizeable loss of data in these files . I tried a few Edg commands to fix these files. But I am lost about how to use Edg. What would cause these design files to do this? WindowsNT MicroStationSE

Thank you, IKE
 
"ike" wrote:

What to do about "end of file missing error"? I have had some sizeable
loss
of data in these files . I tried a few Edg commands to fix these files.
But
I am
lost about how to use Edg. What would cause these design files to do
this?
WindowsNT
MicroStationSE

Thank you, IKE
This has been discussed so many times here, and answered in so many ways. Here is one approach that seems to be pretty good. Always back your file up first. Always, when asked, "Attempt repair?" say no. At least until you are certain you have a current good backup; then you can try answering yes and see how it comes out.

Failing that, here is an edg sequence that has been posted before:

Set Search/All
Set Verify/All
Verify Whole/None
Patch WTF/Auto Whole
Patch WID/Auto Whole
Repair Whole
Verify Whole/None
Exit
 
Jim,

I reviewed Bentleys EDG FAQ document, it states that EDG will not recognize V8 files due to it new file format. It does not state what avenue we have to repair V8 files. Do you know of any new method? edg_v8?
 
End of file missing? No you must be mistaken, that is all sorted out, V8 is robust and doesn't do that anymore. Ask Bentley if you don't believe me!!!!

B)

"Juan Auces" wrote:

Jim,

I reviewed Bentleys EDG FAQ document, it states that EDG will not
recognize
V8 files due to it new file format. It does not state what avenue we have
to
repair V8 files. Do you know of any new method? edg_v8?

Perhaps you should set the compatiblity mode to 3 or 4 so you don't write the new V8 format then you can use the old edg

hehe
 
If you really want to find out why these faults occur check your cell libraries with edg. If you can't fix a cell library with edg use a mdl utility to move good cells to a fresh library and then detsroy the bad cell library.

You'd be amazed at how many faults are caused by nested cells or cells with illegal elelments etc.

Fixing files is good practice if you want to program too, as you get to see how microstation really works.

B)

Shame EDG is defunct with V8.... :-(

"Jim Weisgram" wrote:

"ike" wrote:

> What to do about "end of file missing error"? I have had some sizeable loss
> of data in these files . I tried a few Edg commands to fix these files. But
> I am
> lost about how to use Edg. What would cause these design files to do this?
> WindowsNT
> MicroStationSE
>
...
up
first. Always, when asked, "Attempt repair?" say no. At least until you
are
certain you have a current good backup; then you can try answering yes and see how it comes out.

Failing that, here is an edg sequence that has been posted before:

Set Search/All
Set Verify/All
Verify Whole/None
Patch WTF/Auto Whole
Patch WID/Auto Whole
Repair Whole
Verify Whole/None
...
 
Hi,

I don't know what will happen when you use an add-on tool that creates bad elements.

In the worst imagineable case you will end up with a valid DGN element with invalid content.

I.e. as far as uStn V8 goes it will not choke on this element, but some tools may not understand what to do with it.

If you can think a parallell: uStn is a gun. DGN is a full round of ammunition and Elements are ammo (bullets).

In V7 it was possible to create some invalid bullets in a round, and although they fit a round, they would not fit the gun's firing chamber (i.e. the gun would be damaged on such attempt).

In V8 all bullets always *will* fit the gun nicely, but the gun (eventually) may not fire until replacing (skipping) the faulty bullet.

Best!
/Chris Z.

"Jim Weisgram" wrote:
"Juan Auces" wrote:

> Jim,
>
> I reviewed Bentleys EDG FAQ document, it states that EDG will not recognize
> V8 files due to it new file format. It does not state what avenue we have to
> repair V8 files. Do you know of any new method? edg_v8?
>
>

...
 
"ike" wrote:
What to do about "end of file missing error"? I have had some sizeable loss of data in these files . I tried a few Edg commands to fix these files. But I am lost about how to use Edg. What would cause these design files to do this? WindowsNT MicroStationSE

Thank you, IKE

Hi Ike..
never answere yes to that question which asks to repaiir the End missing.
Say "NO"

make a copy of ur file,
then thru Edg type the below listed comands:

set search/all
set verify/all
end
undemarcate
end
demarcate
end
show size
undemarcate
repair whole
exit
now try to open ur file.
ope this helps
 
Status
Not open for further replies.

Latest threads

Back
Top