hi
my VPE hangs when i try to open it after a simple import and visualization of 
spreadsheet data.
So i tried to save the program first and then open it(edit visual program). 
This resulted in the same behaviour. So i looked at the .net file and tried 
to open each of the macros that are include manually. This worked fine.
next i looked at my environment vars and startup script.
sh -x dx
++ echo ''
++ grep dxroot
+ x=
+ ARGS=
+ '[' '!' -z '' ']'
+ '[' -z '' ']'
+ prefix=/usr/local
+ DXROOT=/usr/local/dx
+ export DXROOT
+ '[' -z '' ']'
+ DXDATA=/usr/local/dx/samples/data
+ '[' -d /usr/local/dx/samples/data ']'
+ export DXDATA
+ '[' -z 
/usr/local/dx/samples/macros/:/mara2/geenen/NCF/test/traccoor/rotatie_nostokes/9
 
']'
+ '[' -z '' ']'
+ JXMACROS=/usr/local/dx/java/server/dxmacros
+ '[' -d /usr/local/dx/java/server/dxmacros ']'
+ '[' -z '' ']'
+ JXUSERMACROS=/usr/local/dx/java/server/usermacros
+ '[' -d /usr/local/dx/java/server/usermacros ']'
+ '[' -z 
/usr/local/dx/samples/macros/:/mara2/geenen/NCF/test/traccoor/rotatie_nostokes/9
 
']'
+ 
DXMACROS=/usr/local/dx/samples/macros/:/mara2/geenen/NCF/test/traccoor/rotatie_nostokes/9:/usr/local/dx/java/server/usermacros
+ '[' '!' -z 
/usr/local/dx/samples/macros/:/mara2/geenen/NCF/test/traccoor/rotatie_nostokes/9:/usr/local/dx/java/server/usermacros
 
']'
+ export DXMACROS
+ '[' -f /usr/local/dx/bin/dxworker ']'
+ exec /usr/local/dx/bin/dxworker

that looks just fine since the macros that are used are in 
/usr/local/dx/samples/macros/ I even include my working dir and copied the 
included macros to this dir.
All with no effect. Next I tried to install dx on a different system.
mandrake 9.1 opendx rpm 4.2
I had the same behaviour there.
The first lines of the .net file I try to open in the VPE 

// macro reference (direct): Make3DField 
/usr/local/dx/samples/macros//Make3DFieldMacro.net
include "Make3DFieldMacro.net"
//
// macro reference (direct): AutoScale 
/usr/local/dx/samples/macros//AutoScaleMacro.net
include "AutoScaleMacro.net"
//
// macro reference (direct): UnsquishGlyph 
/usr/local/dx/samples/macros//UnsquishGlyphMacro.net
include "UnsquishGlyphMacro.net"
//
// MODULE main
//

It looks like dx knows where the macros are since it is able to run the .net 
file but VPE does not know where the macros are do they use different env 
settings??? any help would be highly appreciated

Thomas Geenen

Reply via email to