Archived discussion

Jupyter notebook STEPControl_Reader.TransferRoot(s) issue

pythonOCCThu, 06/15/2023 - 14:583 replies

Browse this forum
QuestionAuthor

Hi there,

I am trying to load a Step file on a Jupyter notebook/Jupyter-lab file. However, when I execute STEPControl_Reader.TransferRoot() the kernel dies. If I run the same code via a python script everything works fine. Is this a known issue?

step_reader = STEPControl_Reader()
step_reader.ReadFile('./file.STEP')
nbs = step_reader.TransferRoot()

Many thanks and best regards

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

Have you any warning/error messages?

Best regards, Commenter-1.

02Author

Hi Dmitrii,

The only information I can get from the logs (jupyter-lab --debug) when I execute the nbs = step_reader.TransferRoot() is the following:

Starting buffering for fcc3....

I attach a sample step file to try to reproduce the issue. It looks like this occurs for both jupyter notebook and jupyter-lab.

03Author

Hi there,

Did you manage to reproduce the issue? Any idea of what may cause this crash?

Many thanks and best regards.