gaziel / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
0 stars 0 forks source link

Crashes when running a python scripts #311

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add anyobject (Cone) 
2. Add any operation  (ZigZag)
2. Create python script 
3. Run script 

What is the expected output? Not sure still learning.
What do you see instead? Windows application has stopped.

What version of the product are you using? 
Version 18 Downloaded a few days ago.

On what operating system?
Windows 7 professional   64 bit

Please provide any additional information below.

I have tried verious different combinations and anything I try to run using 
python appears to crash the application. I see the dos window and the script 
looks like it is working, but always crashes the application. I think it is 
when the script completes. 

Also if you just open heekscnc and just click go it will crash.

NOTE: Your work on this project is awsome and I am so looking forward to using 
it. At this point I cannot do any machine operations, but I am learning to use 
the CAD part and can't wait to use the CNC part as well.

Original issue reported on code.google.com by michaud...@yahoo.com on 31 May 2011 at 2:07

GoogleCodeExporter commented 9 years ago
Additional Info: I uncomented the pause in the post.bat here is the output, nut 
sure if this helps, but figured I would add it

c:\apps\HeeksCNC\HeeksCNC>.\python.exe "c:\apps\tmp\post.py"
'import site' failed; use -v for traceback
bdc::setSTL()
KDTree::setXYDimensions()
KDTree::setBucketSize = 1
bdc::setSTL() done.
dropCutterSTL5 262 cl-points and 338 triangles.
...

Original comment by michaud...@yahoo.com on 31 May 2011 at 2:28

GoogleCodeExporter commented 9 years ago
So the impoert site issue was not the problem. The site.pyc was missing in the 
python.zip file. I added it to the zip from the python26 directory (still there 
from the uninstall if the heekscnc 17.2 version. The import error is now gone, 
but the application still crashes. The windows error indicates heekscad has 
stopped.

Original comment by michaud...@yahoo.com on 31 May 2011 at 2:52

GoogleCodeExporter commented 9 years ago
After more testing it looks like the action of calling the external program 
causes it to crash. I REM out the python.exe %1 in the post.bat file and the 
crash still happens. Also if I rename post.bat it will crash.

Original comment by michaud...@yahoo.com on 31 May 2011 at 3:12

GoogleCodeExporter commented 9 years ago
I installed versions 16 and 17 and I get the same issue. Could this be 
something else on my machine conflicting with heeks?

Original comment by michaud...@yahoo.com on 31 May 2011 at 3:55

GoogleCodeExporter commented 9 years ago
Is this issue still valid ?

Original comment by neomil...@gmail.com on 10 Mar 2015 at 3:31

GoogleCodeExporter commented 9 years ago
I have moved to bobcad so not sure. I have not used heeks for a while now. 
Thank you for checking though. 

Original comment by michaud...@yahoo.com on 10 Mar 2015 at 9:53