The following forum message was posted by webhart at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4548534:

Fabio, thank you for the suggestions. 

I did the following steps: 
1. Open a shell
2. set path=c:\windows;c:\windows\system32;C:\SIMULIA\Abaqus\6.10-1\exec\lbr\;C:
\SIMULIA\Abaqus\6.10-1\External
(The abaqus-python interpreter requires dlls that are in the abaqus folders)
3. set PYTHONPATH=C:\Users\hart\.eclipse\org.eclipse.platform_3.6.1_1709980481\p
lugins\org.python.pydev_2.1.0.2011052613\PySrc\pydev_sitecustomize;\\nas1\W01\ha
rt\eclipse\workspace\PostProcessor\src;C:\Users\hart\.eclipse\org.eclipse.platfo
rm_3.6.1_1709980481plugins\org.python.pydev_2.1.0.2011052613\PySrc;C:\SIMULIA\Ab
aqus\6.10-1\Python\Lib
4. Execute the script via the command line:
C:\SIMULIA\Abaqus\6.10-1\Python\Obj\python.exe -u -v
\\nas1\W01\hart\eclipse\workspace\PostProcessor\src\simple.py
--> works
5. Launch eclipse (-arch x86_64) from the same shell: "C:\Program
Files\eclipse\eclipse.exe"
6. Open a pydev console and choose the abaqus interpreter and run the script
via execfile("\\\\nas1\W01\hart\eclipse\workspace\PostProcessor\src\simple.py")
--> works
7. Run the same script via "Launch Configurations..."  --> crahses as shown
in post 1

Best regards,
webhart



------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to