PDA

View Full Version : Automatically load environment file at startup


luigimilano
12-04-2003, 08:45 AM
OSD Modeling 12.01 on HP-UX 11.00. If I put a file named pesd.env in users custom dir $HOME/sd_customize/12.00/ the start of the application, with Annotation module active at startup, is very slow instead if I manually load it at the end of startup is fast. Why this?

Tanks in Advance
Best Regards

clausb
12-05-2003, 07:16 AM
Hmmmm.... interesting. Is startup also slow if you put an empty pesd.env file into the customization directory? Any special settings that the pesd.env file contains? Was the pesd.env file saved when Annotation was active? When you start OSDM with the -v option, do you see any unusual messages in the startup window?

Claus

luigimilano
12-05-2003, 08:05 AM
No if I put an empty pesd.env file into the customization directory give the error: "NOTE: This file was saved with SolidDesigner version pre-2.0. Loading it into SolidDesigner version 12.01 may not be successful."
I create the pesd.env file after the first startup of Modeling without any customization, localization, no active any modules (Annotation module is independent by error), etc. The pesd.env file no contains any special settings. I attach a zip file containing 2 files one is pesd.env and the second is the log file automatically generated from Modeling during startup with -v option. I examing the log file in real time and a long time stay on the 8 line to the end of file "Loading /users/utenti/gigi/sd_customize/12.00/pesd.env".

Thanks Claus for your time
Best Regards

Wolfgang
12-07-2003, 03:42 AM
If I do understand right, the situation is this:


Loading /opt/Co.../sd_customize/sd_lights.lsp
Finished loading /opt/Co.../sd_customize/sd_lights.lsp
takes long time now
Loading /users/utenti/gigi/sd_customize/12.00/pesd.env
Finished loading /users/utenti/gigi/sd_customize/12.00/pesd.env
took long time here
Loading /opt/Co.../pesd_autoloads.lsp
Loading /opt/Co.../extensions/autoloads.lispcomp.lsp
Finished loading /opt/Co.../extensions/autoloads.lispcomp.lsp
Finished loading /opt/Co.../pesd_autoloads.lsp
Finished loading /opt/Co.../pesd_startup
Finished initializing base_start

but (without the default filename):
....
Finished loading /opt/Co.../pesd_startup
Finished initializing base_start

be interactive and use command line:
(load "/users/utenti/gigi/sd_customize/12.00/later_pesd.env")

Loading /users/utenti/gigi/sd_customize/12.00/later_pesd.env
Finished loading /users/utenti/gigi/sd_customize/12.00/later_pesd.env
is fast?


just confirm, please :).. or not :(

luigimilano
12-08-2003, 10:39 PM
Hi Wolfgang
Yesss I confirm all you say
Exactly this

Thanks