I am trying to distribute a Widget based application using a .sav file. The steps I used to create the .sav file are below and are all done in a clean IDL session. IDL>.r traj3d_3d_animate IDL>RESOLVE_ALL IDL>SAVE, /ROUTINES, FILENAME='/path/to/file.sav' However, I get an error when the application runs. The error is below: % APP_USER_DIR: Null string not allowed in this context: . % Execution halted at: TRAJ3D_3D_PLOT_INIT 59 % TRAJ3D_3D_ANIMATE 326 % $MAIN$ Line 59 in the TRAJ3D_3D_PLOT_INIT procedure is a call to the SURFACE() function. I've found that if I start IDL, call the SURFACE() function to create a plot (either in X11 or send to the buffer using the /BUFFER keyword) and then RESTORE the save file and call TRAJ3D_3D_ANIMATE, everything works just fine. But, if restore the file and then try to call any function graphics, they give a similar error as the one above. Thanks for any help.
|