Package Details: python-cadquery-git 2.1.r474.gec54a38-1

Git Clone URL: https://aur.archlinux.org/python-cadquery-git.git (read-only, click to copy)
Package Base: python-cadquery-git
Description: A parametric CAD scripting framework based on PythonOCC built from git
Upstream URL: https://github.com/CadQuery/cadquery
Licenses: Apache
Conflicts: python-cadquery
Provides: python-cadquery
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 1
Popularity: 0.000000
First Submitted: 2019-12-31 13:08 (UTC)
Last Updated: 2022-08-08 09:52 (UTC)

Required by (5)

Sources (1)

Latest Comments

1 2 Next › Last »

LukeLabrie commented on 2022-12-02 14:31 (UTC) (edited on 2022-12-02 14:55 (UTC) by LukeLabrie)

@Jarshvor, I am seeing a similar error, and am thus unable to install. Have you, or anyone else figured this out? Output below

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================= short test summary info =============================================================
FAILED tests/test_assembly.py::test_vtkjs_export - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_assembly.py::test_vrml_export - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_assembly.py::test_toJSON - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_assembly.py::test_save[wrl-args4] - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_assembly.py::test_save_vtkjs - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_cadquery.py::TestCadQuery::testLocationAt - TypeError: SetCurve(): incompatible function arguments. The following argument typ...
FAILED tests/test_cadquery.py::TestCadQuery::test_toVtk - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_examples.py::test_example[87] - AssertionError: assert TypeError('SetCurve(): incompatible function arguments. The following a...
FAILED tests/test_exporters.py::TestExporters::testVTP - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_exporters.py::test_assy_vtk_rotation - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_jupyter.py::TestJupyter::test_repr_javascript - AttributeError: 'OCP.IVtkOCC.IVtkOCC_Shape' object has no attribute 'Attributes'
FAILED tests/test_sketch.py::test_distribute - TypeError: SetCurve(): incompatible function arguments. The following argument types are supported:
================================================== 12 failed, 467 passed, 17 warnings in 55.98s ===================================================
==> ERROR: A failure occurred in check().

Jarshvor commented on 2021-11-21 10:57 (UTC)

When building the latest version(2.1.r267.ga6cbf22-1), I get pytest errors during the check. 12 tests failed. All regarding some "_ZN18BRepOffset" Undefined symbol:

ImportError: /usr/lib/python3.9/site-packages/OCP.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN18BRepOffset_Inter2d14ConnexIntByIntERK11TopoDS_FaceR17BRepOffset_OffsetR19NCollection_DataMapI12TopoDS_ShapeS6_23TopTools_ShapeMapHasherERKS8_RKN11opencascade6handleI14BRepAlgo_AsDesEEddRK18BRepOffset_AnalyseR22NCollection_IndexedMapIS6_S7_ER26NCollection_IndexedDataMapIS6_16NCollection_ListIS6_ES7_E

The following tests failed. And the error is identical for all of them.

ERROR tests/test_assembly.py
ERROR tests/test_cad_objects.py
ERROR tests/test_cadquery.py
ERROR tests/test_cqgi.py
ERROR tests/test_examples.py
ERROR tests/test_exporters.py
ERROR tests/test_hull.py
ERROR tests/test_importers.py
ERROR tests/test_jupyter.py
ERROR tests/test_selectors.py
ERROR tests/test_sketch.py
ERROR tests/test_workplanes.py

I'm not able to debug this further.

dack commented on 2021-11-13 07:41 (UTC)

As of commit e4b6a04 (Nov 11), a new dependency is required: python-multimethod

dack commented on 2021-11-13 07:39 (UTC)

@xythobuz That was fixed upstream a few days ago. Commit 90d11ea

xythobuz commented on 2021-10-21 10:20 (UTC)

The tests do not execute:

ModuleNotFoundError: No module named 'vtkIOGDALPython'

I disabled the check() step, but the resulting binary does not run either, with the same error message.

mantielero commented on 2021-09-08 21:31 (UTC)

I had the following error:

FAILED tests/test_cadquery.py::TestCadQuery::testText - AssertionError: 6 != 5

I fixed this by installing ttf-dejavu so I bet this should be a dependency.

The reason is that the test TestCadQuery.testText is font specific. If the font "Sans" is not in the system, it looks for an alternative which gives different results.

ChrisMorgan commented on 2021-06-04 05:07 (UTC)

python-typing_extensions needs to be moved from checkdepends to depends, you can’t import cadquery without it (cadquery imports cadquery.occ_impl.shapes, which imports typing_extensions).

DCengineer commented on 2021-03-06 17:50 (UTC) (edited on 2021-03-06 17:50 (UTC) by DCengineer)

@greyltc It did install, but I had to install python-nptyping manually first. I'm using pacaur, and for some reason it tried to install python-nptyping with pacman.

==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: python-nptyping
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> python-nptyping
==> ERROR: Could not resolve all dependencies.
error: failed to build python-nptyping package(s)

greyltc commented on 2021-03-06 10:24 (UTC)

@DCengineer fixed now maybe?