Bug#956516: ImportError: cannot import name '_coin' from 'pivy'

Rock Storm rockstorm at gmx.com
Sun Apr 12 11:00:31 BST 2020


Package: freecad
Version: 0.18.4+dfsg2-1
Severity: normal

Dear Maintainer,

While investigating another failure I saw the following error in the
console when running FreeCad. So far I believe it does not impact
usability of the package.

    During initialization the error cannot import name '_coin' from
    'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py) occurred in
    /home/rock/.FreeCAD/Mod/A2plus/InitGui.py

I've run the test suite with the following output:

    $ freecad --run-test 0
    [...]
    Ran 211 tests in 118.356s

    FAILED (failures=1, errors=23)
    System exit

Among those 23 errors the most frequent is the import error for '_coin'.
Please see full log attached.

Please let me know if I could provide any more information to debug any
further.

Thanks a lot,

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freecad depends on:
ii  freecad-python3  0.18.4+dfsg2-1

Versions of packages freecad recommends:
ii  calculix-ccx  2.11-1+b3
ii  graphviz      2.42.2-3+b3

Versions of packages freecad suggests:
pn  povray  <none>

-- no debconf information
-------------- next part --------------
FreeCAD 0.18.4, Libs: 0.18.4R
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

TestPathApp (unittest.loader._FailedTest) ... ERROR
testAggregates (TestSpreadsheet.SpreadsheetCases)
Test all aggregate functions ... ok
testAlias (TestSpreadsheet.SpreadsheetCases)
Playing with aliases ... ok
testAmbiguousAlias (TestSpreadsheet.SpreadsheetCases)
Try to set the same alias twice (bug #2402) ... ok
testClearAlias (TestSpreadsheet.SpreadsheetCases)
This was causing a crash ... ok
testCrossDocumentLinks (TestSpreadsheet.SpreadsheetCases)
Expressions across files are not saved (bug #2442) ... ok
testFunctions (TestSpreadsheet.SpreadsheetCases)
Test all built-in simple functions ... ok
testInsertRows (TestSpreadsheet.SpreadsheetCases)
Inserting rows -- check renaming of internal cells ... ok
testInvoluteGear (TestSpreadsheet.SpreadsheetCases)
Support of boolean or integer values ... ok
testIssue3128 (TestSpreadsheet.SpreadsheetCases)
Regression test for issue 3128; mod should work with arbitrary units for both arguments ... ok
testIssue3225 (TestSpreadsheet.SpreadsheetCases)
Inserting rows -- check renaming of internal cells ... ok
testIssue3363 (TestSpreadsheet.SpreadsheetCases)
Regression test for issue 3363; Nested conditionals statement fails with additional conditional statement in false-branch ... ok
testIssue3432 (TestSpreadsheet.SpreadsheetCases)
Regression test for issue 3432; numbers with units are ignored from aggregates ... ok
testNumbers (TestSpreadsheet.SpreadsheetCases)
Test different numbers ... ok
testPlacementName (TestSpreadsheet.SpreadsheetCases)
Object name is equal to property name (bug #2389) ... ok
testPrecedence (TestSpreadsheet.SpreadsheetCases)
Precedence -- test precedence for relational operators and conditional operator. ... ok
testRelationalOperators (TestSpreadsheet.SpreadsheetCases)
Test relational operators ... ok
testRemoveRows (TestSpreadsheet.SpreadsheetCases)
Removing rows -- check renaming of internal cells ... ok
testRenameAlias (TestSpreadsheet.SpreadsheetCases)
Test renaming of alias1 to alias2 in a spreadsheet ... ok
testRenameAlias2 (TestSpreadsheet.SpreadsheetCases)
Test renaming of alias1 to alias2 in a spreadsheet, when referenced from another object ... ok
testRenameAlias3 (TestSpreadsheet.SpreadsheetCases)
Test renaming of document object referenced from another object ... ok
testSetInvalidAlias (TestSpreadsheet.SpreadsheetCases)
Try to use a cell address as alias name ... ok
testSetInvalidAlias2 (TestSpreadsheet.SpreadsheetCases)
Try to use a unit (reserved word) as alias name ... ok
testSketcher (TestSpreadsheet.SpreadsheetCases)
Mixup of Label and Name (bug #2407) ... ok
testUnits (TestSpreadsheet.SpreadsheetCases)
Units -- test unit calculations. ... ok
testBoxCase (TestSketcherApp.SketcherSolverTestCases) ... ok
testIssue3245 (TestSketcherApp.SketcherSolverTestCases) ... ok
testIssue3245_2 (TestSketcherApp.SketcherSolverTestCases) ... ok
testSlotCase (TestSketcherApp.SketcherSolverTestCases) ... ok
testAnnoSymImageCase (TestTechDrawApp.TechDrawTestCases) ... starting TD DrawAnno/Sym/Image test
TDTestAnno path: /usr/share/freecad/Mod/TechDraw/TDTest
TD DrawAnno/Sym/Image test passed
ok
testDimensionCase (TestTechDrawApp.TechDrawTestCases) ... starting TD DrawViewDimension test
TDDim path: /usr/share/freecad/Mod/TechDraw/TDTest
making length dimension
adding dim1 to page
finished length dimension
making radius dimension
TD DrawViewDimension test passed
ok
testHatchCase (TestTechDrawApp.TechDrawTestCases) ... starting TD DrawHatch test
TDHatch path: /usr/share/freecad/Mod/TechDraw/TDTest
making hatch
adding hatch to page
finished hatch
TD DrawHatch test passed
ok
testProjGroupCase (TestTechDrawApp.TechDrawTestCases) ... starting TD DrawProjGroup test
TDGroup path: /usr/share/freecad/Mod/TechDraw/TDTest
making a page
making a projection group
Group created
adding views
added Front
added Left
added Top
added Right
added Rear
added Bottom
removed Left
testing getItemByLabel
Item Label: Top Item Name: ProjItem002
recomputing document
View: Front TechDraw::DrawProjGroupItem
View: Top TechDraw::DrawProjGroupItem
View: Right TechDraw::DrawProjGroupItem
View: Rear TechDraw::DrawProjGroupItem
View: Bottom TechDraw::DrawProjGroupItem
TD DrawProjGroup test passed
ok
testSectionCase (TestTechDrawApp.TechDrawTestCases) ... starting TD DrawViewSection test
TDSection path: /usr/share/freecad/Mod/TechDraw/TDTest
page created
view created
section created
TD DrawViewSection test passed
ok
testViewPartCase (TestTechDrawApp.TechDrawTestCases) ... starting TD DrawViewPart test
TDPart path: /usr/share/freecad/Mod/TechDraw/TDTest
page created
TD DrawViewPart test passed
ok
testGetters (TestPartApp.PartTestBSplineCurve)
only check if the function doesn't crash ... ok
testIssue2671 (TestPartApp.PartTestBSplineCurve) ... ok
testIssue2876 (TestPartApp.PartTestBSplineCurve) ... ok
testProperties (TestPartApp.PartTestBSplineCurve) ... ok
testSetters (TestPartApp.PartTestBSplineCurve) ... ok
testBoxCase (TestPartApp.PartTestCases) ... ok
testIssue2985 (TestPartApp.PartTestCases) ... ok
testBooleanCommonCase (PartDesignTests.TestBoolean.TestBoolean) ... ok
testBooleanCutCase (PartDesignTests.TestBoolean.TestBoolean) ... ok
testBooleanFuseCase (PartDesignTests.TestBoolean.TestBoolean) ... ok
testChamferCubeToOctahedron (PartDesignTests.TestChamfer.TestChamfer) ... ok
testXAxisDatumLine (PartDesignTests.TestDatum.TestDatumLine) ... ok
testXYDatumPlane (PartDesignTests.TestDatum.TestDatumPlane) ... ok
testOriginDatumPoint (PartDesignTests.TestDatum.TestDatumPoint) ... ok
testSimpleDraft (PartDesignTests.TestDraft.TestDraft) ... ok
testFilletCubeToSphere (PartDesignTests.TestFillet.TestFillet) ... ok
testAngledDrillHole (PartDesignTests.TestHole.TestHole) ... ok
testCounterboreHole (PartDesignTests.TestHole.TestHole) ... ok
testCountersinkHole (PartDesignTests.TestHole.TestHole) ... ok
testPlainHole (PartDesignTests.TestHole.TestHole) ... ok
testTaperedHole (PartDesignTests.TestHole.TestHole) ... ok
testHorizontalSketchAxisLinearPattern (PartDesignTests.TestLinearPattern.TestLinearPattern) ... ok
testNormalSketchAxisLinearPattern (PartDesignTests.TestLinearPattern.TestLinearPattern) ... ok
testVerticalSketchAxisLinearPattern (PartDesignTests.TestLinearPattern.TestLinearPattern) ... ok
testXAxisLinearPattern (PartDesignTests.TestLinearPattern.TestLinearPattern) ... ok
testYAxisLinearPattern (PartDesignTests.TestLinearPattern.TestLinearPattern) ... ok
testZAxisLinearPattern (PartDesignTests.TestLinearPattern.TestLinearPattern) ... ok
testSimpleAdditiveLoftCase (PartDesignTests.TestLoft.TestLoft) ... ok
testSimpleSubtractiveLoftCase (PartDesignTests.TestLoft.TestLoft) ... ok
testMirroredOffsetFailureCase (PartDesignTests.TestMirrored.TestMirrored) ... ok
testMirroredPrimitiveCase (PartDesignTests.TestMirrored.TestMirrored)
Tests the same mirroring scenario as in the sketch case, ... ok
testMirroredSketchCase (PartDesignTests.TestMirrored.TestMirrored)
Creates a unit cube cornered at the origin and mirrors it about the Y axis. ... ok
testMultiTransform (PartDesignTests.TestMultiTransform.TestMultiTransform) ... ok
testBoxCase (PartDesignTests.TestPad.TestPad) ... ok
testPadToFaceCase (PartDesignTests.TestPad.TestPad) ... ok
testPadToFirstCase (PartDesignTests.TestPad.TestPad) ... ok
testPadTwoDimensionsCase (PartDesignTests.TestPad.TestPad) ... ok
testPadtoLastCase (PartDesignTests.TestPad.TestPad) ... ok
testSketchOnPlane (PartDesignTests.TestPad.TestPad) ... ok
testSimpleAdditivePipeCase (PartDesignTests.TestPipe.TestPipe) ... ok
testSimpleSubtractivePipeCase (PartDesignTests.TestPipe.TestPipe) ... ok
testPocketDimensionCase (PartDesignTests.TestPocket.TestPocket) ... ok
testPocketThroughAllCase (PartDesignTests.TestPocket.TestPocket) ... ok
testPocketToFaceCase (PartDesignTests.TestPocket.TestPocket) ... ok
testPocketToFirstCase (PartDesignTests.TestPocket.TestPocket) ... ok
testHorizontalSketchAxisPolarPattern (PartDesignTests.TestPolarPattern.TestPolarPattern) ... ok
testNormalSketchAxisPolarPattern (PartDesignTests.TestPolarPattern.TestPolarPattern) ... ok
testVerticalSketchAxisPolarPattern (PartDesignTests.TestPolarPattern.TestPolarPattern) ... ok
testXAxisPolarPattern (PartDesignTests.TestPolarPattern.TestPolarPattern) ... ok
testYAxisPolarPattern (PartDesignTests.TestPolarPattern.TestPolarPattern) ... ok
testZAxisPolarPattern (PartDesignTests.TestPolarPattern.TestPolarPattern) ... ok
testPrimitiveBox (PartDesignTests.TestPrimitive.TestPrimitive) ... ok
testPrimitiveCone (PartDesignTests.TestPrimitive.TestPrimitive) ... ok
testPrimitiveCylinder (PartDesignTests.TestPrimitive.TestPrimitive) ... ok
testPrimitiveEllipsoid (PartDesignTests.TestPrimitive.TestPrimitive) ... ok
testPrimitivePrism (PartDesignTests.TestPrimitive.TestPrimitive) ... ok
testPrimitiveSphere (PartDesignTests.TestPrimitive.TestPrimitive) ... ok
testPrimitiveTorus (PartDesignTests.TestPrimitive.TestPrimitive) ... ok
testPrimitiveWedge (PartDesignTests.TestPrimitive.TestPrimitive) ... ok
testGrooveFace (PartDesignTests.TestRevolve.TestRevolve) ... ok
testRevolveFace (PartDesignTests.TestRevolve.TestRevolve) ... ok
testTwoBodyShapeBinderCase (PartDesignTests.TestShapeBinder.TestShapeBinder) ... ok
testReversedThickness (PartDesignTests.TestThickness.TestThickness) ... ok
testAsynchronPrintFromThread (BaseTests.ConsoleTestCase) ... Call from Python thread (not synchronized): count=1
Call from Python thread (not synchronized): count=2
Call from Python thread (not synchronized): count=3
Call from Python thread (not synchronized): count=4
Call from Python thread (not synchronized): count=5
Call from Python thread (not synchronized): count=6
Call from Python thread (not synchronized): count=7
Call from Python thread (not synchronized): count=8
Call from Python thread (not synchronized): count=9
Call from Python thread (not synchronized): count=10
10
ok
testPrint (BaseTests.ConsoleTestCase) ...    Printing message
ok
testSynchronPrintFromThread (BaseTests.ConsoleTestCase) ... Call from Python thread: count=1
Call from Python thread: count=2
Call from Python thread: count=3
Call from Python thread: count=4
Call from Python thread: count=5
Call from Python thread: count=6
Call from Python thread: count=7
Call from Python thread: count=8
Call from Python thread: count=9
Call from Python thread: count=10
10
ok
testBool (BaseTests.ParameterTestCase) ... ok
testBounding (BaseTests.ParameterTestCase) ... ok
testExportImport (BaseTests.ParameterTestCase) ... ok
testFloat (BaseTests.ParameterTestCase) ... ok
testGroup (BaseTests.ParameterTestCase) ... ok
testInt (BaseTests.ParameterTestCase) ... ok
testMatrix (BaseTests.ParameterTestCase) ... ok
testNesting (BaseTests.ParameterTestCase) ... ok
testRotAndMoveMatrix (BaseTests.ParameterTestCase) ... ok
testRotation (BaseTests.ParameterTestCase) ... ok
testString (BaseTests.ParameterTestCase) ... ok
testConversions (UnitTests.UnitBasicCases) ... ok
testDivide (UnitTests.UnitBasicCases) ... ok
testImperial (UnitTests.UnitBasicCases) ... ok
testSchemes (UnitTests.UnitBasicCases) ... ok
testSelfConsistency (UnitTests.UnitBasicCases) ... ok
testTrigonometric (UnitTests.UnitBasicCases) ... ok
testIssue0003323 (Document.DocumentBacklinks) ... ok
testAbortTransaction (Document.DocumentBasicCases) ... ok
testAddRemove (Document.DocumentBasicCases) ... ok
testAddRemoveUndo (Document.DocumentBasicCases) ... ok
testAddition (Document.DocumentBasicCases) ... ok
testCreateDestroy (Document.DocumentBasicCases) ... ok
testDuplicateLinks (Document.DocumentBasicCases) ... ok
testEnum (Document.DocumentBasicCases) ... ok
testExtensionBug0002785 (Document.DocumentBasicCases) ... ok
testExtensionBugViewProvider (Document.DocumentBasicCases) ... ok
testExtensionGroup (Document.DocumentBasicCases) ... ok
testExtensions (Document.DocumentBasicCases) ... ok
testMem (Document.DocumentBasicCases) ... ok
testNoRecompute (Document.DocumentBasicCases) ... ok
testNoRecomputeParent (Document.DocumentBasicCases) ... ok
testNotification_Issue2902Part2 (Document.DocumentBasicCases) ... ok
testNotification_Issue2996 (Document.DocumentBasicCases) ... ok
testObjects (Document.DocumentBasicCases) ... ok
testPlacementList (Document.DocumentBasicCases) ... ok
testPropertyLink_Issue2902Part1 (Document.DocumentBasicCases) ... ok
testRemoval (Document.DocumentBasicCases) ... ok
testExpression (Document.DocumentExpressionCases) ... ok
testApplyFiles (Document.DocumentFileIncludeCases) ... ok
testGroup (Document.DocumentGroupCases) ... ok
testGroupAndGeoFeatureGroup (Document.DocumentGroupCases) ... ok
testIssue0003150Part2 (Document.DocumentGroupCases) ... ok
testDocument (Document.DocumentObserverCases) ... ok
testGuiObserver (Document.DocumentObserverCases) ... ok
testObject (Document.DocumentObserverCases) ... ok
testRemoveObserver (Document.DocumentObserverCases) ... ok
testSave (Document.DocumentObserverCases) ... ok
testUndoDisabledDocument (Document.DocumentObserverCases) ... ok
testColorList (Document.DocumentPlatformCases) ... ok
testFloatList (Document.DocumentPlatformCases) ... ok
testPoints (Document.DocumentPlatformCases) ... ok
testVectorList (Document.DocumentPlatformCases) ... ok
testDescent (Document.DocumentPropertyCases) ... ok
testRemoveProperty (Document.DocumentPropertyCases) ... ok
testDescent (Document.DocumentRecomputeCases) ... ok
testRecompute (Document.DocumentRecomputeCases) ... <App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
<App::FeatureTest object>
ok
testActiveDocument (Document.DocumentSaveRestoreCases) ... ok
testExtensionSaveRestore (Document.DocumentSaveRestoreCases) ... ok
testPersistenceContentDump (Document.DocumentSaveRestoreCases) ... ok
testRestore (Document.DocumentSaveRestoreCases) ... ok
testSaveAndRestore (Document.DocumentSaveRestoreCases) ... ok
testUndo (Document.UndoRedoCases) ... ok
testUndoClear (Document.UndoRedoCases) ... ok
testUndoInList (Document.UndoRedoCases) ... ok
testUndoIssue0003150Part1 (Document.UndoRedoCases) ... ok
testUndoProperties (Document.UndoRedoCases) ... ok
testSaveAndRestore (UnicodeTests.DocumentSaveRestoreCases) ... ok
testUnicodeLabel (UnicodeTests.UnicodeBasicCases) ... ok
testAll (TestPythonSyntax.PythonSyntaxTestCase) ... ok
testLoadMesh (MeshTestsApp.LoadMeshInThreadsCases) ... Write mesh to /tmp/mesh.stl
Create mesh instance
Create mesh instance
Mesh loaded successfully.
Mesh loaded successfully.
ok
testSphereMesh (MeshTestsApp.LoadMeshInThreadsCases) ... Create sphere (10.0,140)...
Create sphere (10.0,160)...
... destroy sphere
... destroy sphere
ok
testIntersection (MeshTestsApp.MeshGeoTestCases) ... ok
testIntersection2 (MeshTestsApp.MeshGeoTestCases) ... ok
testCollapseFacetsAll (MeshTestsApp.MeshTopoTestCases) ... ok
testCollapseFacetsMultible (MeshTestsApp.MeshTopoTestCases) ... ok
testCollapseFacetsSingle (MeshTestsApp.MeshTopoTestCases) ... ok
testPrimitiveCount (MeshTestsApp.PivyTestCases) ... ERROR
testRayPick (MeshTestsApp.PivyTestCases) ... ERROR
testFitBad (MeshTestsApp.PolynomialFitCases) ... Polynomial: f(x,y)=0.333333*x^2+0.333333*y^2+0.000000*x*y+0.000000*x+0.000000*y-0.444444
ok
testFitExact (MeshTestsApp.PolynomialFitCases) ... Polynomial: f(x,y)=-1.775872*x^2+0.000000*y^2-0.000000*x*y+0.255864*x+0.000000*y+0.523170
ok
testFitGood (MeshTestsApp.PolynomialFitCases) ... Polynomial: f(x,y)=0.500000*x^2+0.500000*y^2+0.000000*x*y+0.000000*x+0.000000*y-0.666667
ok
TestArch (unittest.loader._FailedTest) ... ERROR
testHtmlCase (TestWebGui.WebGuiTestCases) ... ok
testMoveSingleFeature (TestPartDesignGui.PartDesignGuiTestCases) ... Testing moving one feature from one body to another
ok
testRefuseToMoveSingleFeature (TestPartDesignGui.PartDesignGuiTestCases) ... Testing refuse to move the feature with dependencies from one body to another
ok
testMultiTransformCase (TestPartDesignGui.PartDesignTransformed) ... Testing applying MultiTransform to the Box outside the body
ok
testActivate (Workbench.WorkbenchTestCase) ... FAIL
testHandler (Workbench.WorkbenchTestCase) ... ok
testMenu (Menu.MenuCreateCases) ... ERROR
testMenu (Menu.MenuDeleteCases) ... ERROR
testMenu (Menu.MenuDeleteCases) ... ERROR
testMenu (Menu.MenuCreateCases) ... ERROR
testArc (TestDraft.DraftTest) ... ERROR
testBSpline (TestDraft.DraftTest) ... ERROR
testCircle (TestDraft.DraftTest) ... ERROR
testCloneOfPart (TestDraft.DraftTest) ... ok
testCopy (TestDraft.DraftTest) ... ERROR
testDimension (TestDraft.DraftTest) ... ERROR
testEllipse (TestDraft.DraftTest) ... ERROR
testLine (TestDraft.DraftTest) ... ERROR
testMove (TestDraft.DraftTest) ... ERROR
testOffset (TestDraft.DraftTest) ... ERROR
testPivy (TestDraft.DraftTest) ... ERROR
testPoint (TestDraft.DraftTest) ... ERROR
testPolygon (TestDraft.DraftTest) ... ERROR
testRectangle (TestDraft.DraftTest) ... ERROR
testRotate (TestDraft.DraftTest) ... ERROR
testText (TestDraft.DraftTest) ... ok
testWire (TestDraft.DraftTest) ... ERROR

======================================================================
ERROR: TestPathApp (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: TestPathApp
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/usr/share/freecad/Mod/Path/TestPathApp.py", line 33, in <module>
    from PathTests.TestPathDepthParams        import depthTestCases
  File "/usr/share/freecad/Mod/Path/PathTests/TestPathDepthParams.py", line 25, in <module>
    import PathScripts.PathUtils as PU
  File "/usr/share/freecad/Mod/Path/PathScripts/PathUtils.py", line 38, in <module>
    from PathScripts import PathJob
  File "/usr/share/freecad/Mod/Path/PathScripts/PathJob.py", line 25, in <module>
    import ArchPanel
  File "/usr/share/freecad/Mod/Arch/ArchPanel.py", line 24, in <module>
    import FreeCAD,Draft,ArchComponent,DraftVecUtils,ArchCommands,math, Part, ArchNesting
  File "/usr/share/freecad/Mod/Arch/ArchComponent.py", line 83, in <module>
    import FreeCAD,Draft,ArchCommands,math,sys
  File "/usr/share/freecad/Mod/Arch/ArchCommands.py", line 32, in <module>
    from DraftTools import translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)


======================================================================
ERROR: testPrimitiveCount (MeshTestsApp.PivyTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Mesh/MeshTestsApp.py", line 120, in testPrimitiveCount
    from pivy import coin; import FreeCADGui
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testRayPick (MeshTestsApp.PivyTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Mesh/MeshTestsApp.py", line 96, in testRayPick
    from pivy import coin; import FreeCADGui
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: TestArch (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: TestArch
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/usr/share/freecad/Mod/Arch/TestArch.py", line 26, in <module>
    import FreeCAD, os, unittest, FreeCADGui, Arch, Draft, Part, Sketcher
  File "/usr/share/freecad/Mod/Arch/Arch.py", line 43, in <module>
    from ArchWall import *
  File "/usr/share/freecad/Mod/Arch/ArchWall.py", line 24, in <module>
    import FreeCAD,Draft,ArchComponent,DraftVecUtils,ArchCommands,math
  File "/usr/share/freecad/Mod/Arch/ArchComponent.py", line 83, in <module>
    import FreeCAD,Draft,ArchCommands,math,sys
  File "/usr/share/freecad/Mod/Arch/ArchCommands.py", line 32, in <module>
    from DraftTools import translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)


======================================================================
ERROR: testMenu (Menu.MenuCreateCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Test/Menu.py", line 50, in setUp
    w.appendMenu("TestMenu",list)
  File "<string>", line 59, in appendMenu
AttributeError: 'TestWorkbench' object has no attribute '__Workbench__'

======================================================================
ERROR: testMenu (Menu.MenuDeleteCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Test/Menu.py", line 74, in setUp
    w.removeMenu("TestMenu")
  File "<string>", line 61, in removeMenu
AttributeError: 'TestWorkbench' object has no attribute '__Workbench__'

======================================================================
ERROR: testMenu (Menu.MenuDeleteCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Test/Menu.py", line 74, in setUp
    w.removeMenu("TestMenu")
  File "<string>", line 61, in removeMenu
AttributeError: 'TestWorkbench' object has no attribute '__Workbench__'

======================================================================
ERROR: testMenu (Menu.MenuCreateCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Test/Menu.py", line 50, in setUp
    w.appendMenu("TestMenu",list)
  File "<string>", line 59, in appendMenu
AttributeError: 'TestWorkbench' object has no attribute '__Workbench__'

======================================================================
ERROR: testArc (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 70, in testArc
    Draft.makeCircle(2, startangle=0, endangle=90)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 725, in makeCircle
    _ViewProviderDraft(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testBSpline (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 60, in testBSpline
    Draft.makeBSpline([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,0,0),FreeCAD.Vector(2,2,0)])
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 992, in makeBSpline
    _ViewProviderWire(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 4691, in __init__
    _ViewProviderDraft.__init__(self,obj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testCircle (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 75, in testCircle
    Draft.makeCircle(3)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 725, in makeCircle
    _ViewProviderDraft(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testCopy (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 119, in testCopy
    l = Draft.makeLine(FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,0,0))
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 951, in makeLine
    obj = makeWire([p1,p2])
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 901, in makeWire
    _ViewProviderWire(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 4691, in __init__
    _ViewProviderDraft.__init__(self,obj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testDimension (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 106, in testDimension
    Draft.makeDimension(FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,0,0),FreeCAD.Vector(1,-1,0))
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 775, in makeDimension
    _ViewProviderDimension(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3618, in __init__
    _ViewProviderDraft.__init__(self,obj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testEllipse (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 85, in testEllipse
    Draft.makeEllipse(5,3)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 1300, in makeEllipse
    _ViewProviderDraft(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testLine (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 50, in testLine
    Draft.makeLine(FreeCAD.Vector(0,0,0),FreeCAD.Vector(-2,0,0))
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 951, in makeLine
    obj = makeWire([p1,p2])
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 901, in makeWire
    _ViewProviderWire(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 4691, in __init__
    _ViewProviderDraft.__init__(self,obj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testMove (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 113, in testMove
    l = Draft.makeLine(FreeCAD.Vector(0,0,0),FreeCAD.Vector(-2,0,0))
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 951, in makeLine
    obj = makeWire([p1,p2])
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 901, in makeWire
    _ViewProviderWire(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 4691, in __init__
    _ViewProviderDraft.__init__(self,obj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testOffset (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 131, in testOffset
    r = Draft.makeRectangle(4,2)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 750, in makeRectangle
    _ViewProviderRectangle(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 4458, in __init__
    _ViewProviderDraft.__init__(self,vobj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testPivy (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 41, in testPivy
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testPoint (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 90, in testPoint
    Draft.makePoint(5,3,2)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 2467, in makePoint
    _ViewProviderPoint(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 5599, in __init__
    _ViewProviderDraft.__init__(self,obj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testPolygon (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 80, in testPolygon
    Draft.makePolygon(5,5)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 931, in makePolygon
    _ViewProviderDraft(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testRectangle (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 65, in testRectangle
    Draft.makeRectangle(4,2)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 750, in makeRectangle
    _ViewProviderRectangle(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 4458, in __init__
    _ViewProviderDraft.__init__(self,vobj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testRotate (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 125, in testRotate
    l = Draft.makeLine(FreeCAD.Vector(2,0,0),FreeCAD.Vector(4,0,0))
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 951, in makeLine
    obj = makeWire([p1,p2])
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 901, in makeWire
    _ViewProviderWire(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 4691, in __init__
    _ViewProviderDraft.__init__(self,obj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
ERROR: testWire (TestDraft.DraftTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Draft/TestDraft.py", line 55, in testWire
    Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,0,0),FreeCAD.Vector(2,2,0)])
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 901, in makeWire
    _ViewProviderWire(obj.ViewObject)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 4691, in __init__
    _ViewProviderDraft.__init__(self,obj)
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 3366, in __init__
    vobj.Pattern = ["None"]+list(svgpatterns().keys())
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 585, in svgpatterns
    loadSvgPatterns()
  File "/usr/share/freecad/Mod/Draft/Draft.py", line 555, in loadSvgPatterns
    import importSVG
  File "/usr/share/freecad/Mod/Draft/importSVG.py", line 53, in <module>
    from DraftTools import translate
  File "/usr/share/freecad/Mod/Draft/DraftTools.py", line 44, in <module>
    from DraftGui import todo, translate, utf8_decode
  File "/usr/share/freecad/Mod/Draft/DraftGui.py", line 2563, in <module>
    import DraftSnap
  File "/usr/share/freecad/Mod/Draft/DraftSnap.py", line 36, in <module>
    import FreeCAD, FreeCADGui, math, Draft, DraftGui, DraftTrackers, DraftVecUtils, itertools
  File "/usr/share/freecad/Mod/Draft/DraftTrackers.py", line 38, in <module>
    from pivy import coin
  File "/usr/lib/python3/dist-packages/pivy/__init__.py", line 30, in <module>
    from .coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python3/dist-packages/pivy/coin.py", line 21, in <module>
    from . import _coin
ImportError: cannot import name '_coin' from 'pivy' (/usr/lib/python3/dist-packages/pivy/__init__.py)

======================================================================
FAIL: testActivate (Workbench.WorkbenchTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Test/Workbench.py", line 44, in testActivate
    self.assertEqual(FreeCADGui.activeWorkbench().name(), i, "Test on activating workbench {0} failed".format(i))
AssertionError: 'OpenSCADWorkbench' != 'ArchWorkbench'
- OpenSCADWorkbench
+ ArchWorkbench
 : Test on activating workbench ArchWorkbench failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/freecad/Mod/Test/Workbench.py", line 46, in testActivate
    self.fail("Loading of workbench '{0}' failed: {1}".format(i, e))
AssertionError: Loading of workbench 'ArchWorkbench' failed: 'OpenSCADWorkbench' != 'ArchWorkbench'
- OpenSCADWorkbench
+ ArchWorkbench
 : Test on activating workbench ArchWorkbench failed

----------------------------------------------------------------------
Ran 211 tests in 118.356s

FAILED (failures=1, errors=23)
System exit


More information about the debian-science-maintainers mailing list