View Issue Details

IDProjectCategoryView StatusLast Update
0001121FreeCADBugpublic2013-05-14 13:29
Reporterbrnrd Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.13 
Fixed in Version0.14 
Summary0001121: IndentationError in Python Console
DescriptionOn Windows XP
0.13 Rev 1828

Please see attached code snippet and screen print.

I am getting confused with python indentation in the FreeCAD console.

In pyDev, I can run the attached script without errors.

BTW this started with the tutorial at

http://freecad-tutorial.blogspot.co.nz/2011/11/scripting-example-wankel-block.html

which I tried to simplify so it is a little easier to examine.

I copied the first script to the console.
TagsNo tags attached.
FreeCAD Information

Activities

2013-05-08 23:50

 

snippet.zip (Attachment missing)

2013-05-08 23:52

 

error.gif (Attachment missing)

wmayer

2013-05-14 13:29

administrator   ~0003154

git show ea943e0

As a workaround put comments into their own lines

Issue History

Date Modified Username Field Change
2013-05-08 23:50 brnrd New Issue
2013-05-08 23:50 brnrd File Added: snippet.zip
2013-05-08 23:52 brnrd File Added: error.gif
2013-05-14 13:29 wmayer Note Added: 0003154
2013-05-14 13:29 wmayer Status new => closed
2013-05-14 13:29 wmayer Resolution open => fixed
2013-05-14 13:29 wmayer Fixed in Version => 0.14