You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues seems to be related BendArea objects.
And the root cause seems to be in primiteve_cast (layout.py)..
In this case of "BoardBendDef" type... no object is return
Here is the error message :
File "C:\AnsysMinerva\MetadataExtraction\tools\custom\ecad\edb_extractor.py", line 80, in extractAEDB
edbStats = edb.get_statistics(True)
File "C:\AnsysMinerva\MetadataExtraction\tools\VCollab\python-interface\py310\lib\site-packages\pyedb\dotnet\edb.py", line 3495, in get_statistics
return self.modeler.get_layout_statistics(evaluate_area=compute_area, net_list=None)
File "C:\AnsysMinerva\MetadataExtraction\tools\VCollab\python-interface\py310\lib\site-packages\pyedb\dotnet\edb_core\modeler.py", line 1319, in get_layout_statistics
stat_model.num_traces = len(self._pedb.modeler.paths)
File "C:\AnsysMinerva\MetadataExtraction\tools\VCollab\python-interface\py310\lib\site-packages\pyedb\dotnet\edb_core\modeler.py", line 229, in paths
return [i for i in self.primitives if i.primitive_type == "path"]
File "C:\AnsysMinerva\MetadataExtraction\tools\VCollab\python-interface\py310\lib\site-packages\pyedb\dotnet\edb_core\modeler.py", line 229, in <listcomp>
return [i for i in self.primitives if i.primitive_type == "path"]
AttributeError: 'NoneType' object has no attribute 'primitive_type'
Before submitting the issue
Description of the bug
*** getStatistics error :**
Issues seems to be related BendArea objects.
And the root cause seems to be in primiteve_cast (layout.py)..
In this case of "BoardBendDef" type... no object is return
Here is the error message :
Steps To Reproduce
Call getStatistics error on a flexpcb board.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
annotated-types==0.7.0
ansys-pythonnet==3.1.0rc3
attrs==24.2.0
babel==2.16.0
beautifulsoup4==4.12.2
blosc2==2.4.0
Brotli==1.1.0
bs4==0.0.1
certifi==2024.8.30
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.3.2
clipboard==0.0.4
clr-loader==0.2.6
contourpy==1.1.0
cssselect2==0.7.0
cycler==0.11.0
Deprecated==1.2.14
docx==0.2.4
docxcompose==1.4.0
FMPy==0.3.21
fonttools==4.41.1
h5py==3.10.0
idna==3.10
inflate64==1.0.0
Jinja2==3.1.2
keyboard==0.13.5
kiwisolver==1.4.4
lark==1.2.2
llvmlite==0.40.0
ltspice==1.0.6
ltspice2svg==2021.6
lxml==4.9.2
MarkupSafe==2.1.3
matplotlib==3.9.2
msgpack==1.0.7
multivolumefile==0.2.3
ndindex==1.7
numba==0.57.0
numexpr==2.8.8
numpy==1.24.3
packaging==23.1
pandas==2.2.3
pdf2image==1.17.0
pdfkit==1.0.0
Pillow==10.0.0
Pint==0.22
platformdirs==4.3.6
plumbum==1.8.3
pooch==1.8.2
psutil==5.9.5
py-cpuinfo==9.0.0
py7zr==0.22.0
pybcj==1.0.2
pycparser==2.22
pycryptodomex==3.20.0
pydantic==2.7.4
pydantic_core==2.18.4
pyecma376-2==1.0.0
pyedb==0.30.0
pyfemm==0.1.3
PyLTSpice==4.0.6
pyparsing==3.0.9
pyperclip==1.9.0
pyppmd==1.1.0
python-dateutil==2.8.2
python-docx==1.1.2
pytz==2024.2
pyvista==0.44.1
pywin32==306
pyzstd==0.16.1
reportlab==3.6.11
requests==2.32.3
rpyc==5.3.1
Rtree==1.3.0
scikit-rf==1.3.0
scipy==1.11.2
scooby==0.10.0
six==1.16.0
soupsieve==2.4.1
spicelib==1.3.0
svglib==1.5.1
svgwrite==1.4.3
tables==3.9.2
texttable==1.7.0
tinycss2==1.3.0
tinyobjloader==2.0.0rc7
toml==0.10.2
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.2.3
vtk==9.2.6
webencodings==0.5.1
wrapt==1.16.0
The text was updated successfully, but these errors were encountered: