Hi Jürgen,

I got the same error messages too. But this only seems to happen with spheres. With cylinders or boxes it doesn't seem to happen.

The relevant part is this here:

File "/usr/lib/freecad/Mod/Draft/DraftSnap.py", line 386, in snapToExtensions

if isinstance(e.Curve,Part.Line):

TypeError: undefined curve type

The exception "undefined curve type" is raised inside TopoShapeEdgePy::getCurve(). The curve is neither a line, nor a circle, nor an ellipse, nor a hyperbola, nor parabola, nor Bezier or BSpline curve. And there is one further enum type in OpenCascade called "OtherCurve" whatever that should be. So, since the curve seems to fail into this category we throw the exception "unknown curve type" because we cannot handle this.

Cheers,
Werner




On 28.03.2013 19:57, Jürgen Kilb wrote:
Hi Werner, Hi Yorik,
I have enabled the "taskview" mode as Yorik suggested. But the problem 
still exist... I am unable to move the sphere.

I've enabled some more output in the "report view window"... see below

I've installed the 0.12'er version of FreeCad could this be the problem?
btw. I've tested the same in 0.12 and got the same results...

thanks,
Jürgen

====
Init: Running FreeCADGuiInit.py start script...
Init:   Searching modules...
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Sketcher... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Image... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\PartDesign... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Ship... done
matplotlib not found, Plot module will be disabled
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Plot... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\MeshPart... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\OpenSCAD... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Fem... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Start... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Points... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Draft... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Test... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Import... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Complete... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Web... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Raytracing... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Mesh... done
Workplane x=Vector (1, 0, 0) y=Vector (0, 1, 0) z=Vector (0, 0, 1)
Loading Part module... done
pycollada not found, collada support will be disabled.
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Arch... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Robot... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Part... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Idf(InitGui.py not 
found)... ignore
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Inspection... done
Init:      Initializing C:\Programme\FreeCAD0.13\Mod\Drawing... done
Init: Loading FreeCAD GUI
Init: Running FreeCADGuiInit.py start script... done
Init: Activating default workbench StartWorkbench
Loading GUI of Web module... done
Loading GUI of Start module... done
Loading Start module... done
Init: Showing main window
Main window restored
Show main window
Toolbars restored
Init: Entering event loop
Init: Processing command line files
Active view is Unnamed : 1[*] (at 09A04D28)
Active document is Unnamed (at 03A64D88)
Loading GUI of Part module... done
Sel : Clear selection
Loading Draft module...done
Draft workbench activated
Select an object to move
Sel : Add Selection "Unnamed.Sphere.(null)(0.000000,0.000000,0.000000)"
Pick start point:
Sel : Clear selection
Sel : Add Selection "Unnamed.Sphere.Face1(-1.255922,-4.178499,2.430564)"
<type 'exceptions.TypeError'>
Traceback (most recent call last):
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 1702, 
in action
     self.point,ctrlPoint,info = getPoint(self,arg)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 144, in 
getPoint
     point = 
FreeCADGui.Snapper.snap(args["Position"],lastpoint=last,active=amod,constrain=cmod)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 191, in snap
     point,eline = self.snapToExtensions(point,lastpoint,constrain,eline)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 386, in 
snapToExtensions
     if isinstance(e.Curve,Part.Line):
TypeError: undefined curve type
<type 'exceptions.TypeError'>
Traceback (most recent call last):
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 1702, 
in action
     self.point,ctrlPoint,info = getPoint(self,arg)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 144, in 
getPoint
     point = 
FreeCADGui.Snapper.snap(args["Position"],lastpoint=last,active=amod,constrain=cmod)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 191, in snap
     point,eline = self.snapToExtensions(point,lastpoint,constrain,eline)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 386, in 
snapToExtensions
     if isinstance(e.Curve,Part.Line):
TypeError: undefined curve type
<type 'exceptions.TypeError'>
Traceback (most recent call last):
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 1702, 
in action
     self.point,ctrlPoint,info = getPoint(self,arg)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 144, in 
getPoint
     point = 
FreeCADGui.Snapper.snap(args["Position"],lastpoint=last,active=amod,constrain=cmod)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 191, in snap
     point,eline = self.snapToExtensions(point,lastpoint,constrain,eline)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 386, in 
snapToExtensions
     if isinstance(e.Curve,Part.Line):
TypeError: undefined curve type
TypeError: undefined curve type
<type 'exceptions.TypeError'>
Traceback (most recent call last):
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 1702, 
in action
     self.point,ctrlPoint,info = getPoint(self,arg)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 144, in 
getPoint
     point = 
FreeCADGui.Snapper.snap(args["Position"],lastpoint=last,active=amod,constrain=cmod)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 191, in snap
     point,eline = self.snapToExtensions(point,lastpoint,constrain,eline)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 386, in 
snapToExtensions
     if isinstance(e.Curve,Part.Line):
TypeError: undefined curve type
<type 'exceptions.TypeError'>
Traceback (most recent call last):
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 1702, 
in action
     self.point,ctrlPoint,info = getPoint(self,arg)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 144, in 
getPoint
     point = 
FreeCADGui.Snapper.snap(args["Position"],lastpoint=last,active=amod,constrain=cmod)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 191, in snap
     point,eline = self.snapToExtensions(point,lastpoint,constrain,eline)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 386, in 
snapToExtensions
     if isinstance(e.Curve,Part.Line):
TypeError: undefined curve type
<type 'exceptions.TypeError'>
Traceback (most recent call last):
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 1702, 
in action
     self.point,ctrlPoint,info = getPoint(self,arg)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftTools.py", line 144, in 
getPoint
     point = 
FreeCADGui.Snapper.snap(args["Position"],lastpoint=last,active=amod,constrain=cmod)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 191, in snap
     point,eline = self.snapToExtensions(point,lastpoint,constrain,eline)
   File "C:\Programme\FreeCAD0.13\Mod\Draft\DraftSnap.py", line 386, in 
snapToExtensions
     if isinstance(e.Curve,Part.Line):
TypeError: undefined curve type
====

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Free-cad-general mailing list
Free-cad-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/free-cad-general