Re: [o-info] Saving Problems in O

From: Edward Berry (eaberry@lbl.gov)
Date: Fri Oct 26 2001 - 18:16:52 CDT


Albion Baucom wrote:
>  As1> Saved
>  As1> Graphics released.
> 
> If I reopen the model I do not see the changes, and the file is untouched
> in the shell (modification date is not changed). Now, I must preface this
> with the fact that I am using a copy of the original database that a user
> had the problem with. They could not save. I made a local copy of the file

The first thing I would check is the contents of the datablock FILE_O_SAVE .
write FILE_O_SAVE junk.o
$ cat junk.o


This block contains the name to which O will save its binary file.
It can contain a path/filename pointing to a completely different directory.
It may point to a different file than the one you started O with,

What often happens is people will rename a database, or copy to 
a different directory, without changing the contents of FILE_O_SAVE 
in that database. Then O continues to write to the old database
(only of the path is in FILE_O_SAVE, in the case of changing directory)

A better way to rename a database is to load it in O,
DB_DELETE FILE_O_SAVE
SAVE

since FILE_O_SAVE doesn't exist, O will prompt you for a filename,
put that filename in the datablock, and save to that filename.


Hope that clears it up!
Ed
_______________________________________________
o-info mailing list
o-info@o-info.imsb.au.dk
http://o-info.imsb.au.dk/mailman/listinfo/o-info



This archive was generated by hypermail 2b29 : Tue Mar 20 2007 - 03:13:30 CST