REPL crashes when importing pyvista objects
还没有人认领这个 Issue。
评估
调研方向
首先,在 Julia 1.10.2 和 Windows 11 上使用 PyCall,通过带有 pyvista.Sphere() 的 mymodule.py 示例重现包导入。将该故障与链接的 PyVista 和 PyMAPDL issue 进行比较,然后建立回归检查,以确认导入该模块不再导致 REPL 崩溃。
由索引模型根据 Issue 内容生成。
描述
Hi there,
Let say you have a python package (mypackage)
from mypackage.mymodule import another
This package has a module (mymodule.py) which contains:
import pyvista as pv
att = pv.Sphere()
another="var"
then, when you want to import it, it crashes the terminal
using PyCall
mymod = pyimport("mymodule.py")
The problem seems to happen with Pyvista and Julia, where the object generated (att=pv.Sphere()) crashes the REPL.
I tested this with Julia Version 1.10.2 (2024-03-01), and Windows 11.
Related issues:
https://github.com/ansys/pymapdl/issues/2872
https://github.com/pyvista/pyvista/issues/5765
- 主要语言
- Julia
- 星标
- 1.5k
- 派生
- 186
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaPy/PyCall.jl 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Meta-Issue: Mutli-threading leads to segfaults可能已有人在做 @topolarity 于 211 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 20/100
-
Crashes with Julia 1.12 and Revise.jl可能已有人在做 @topolarity 于 211 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 45/100
查看 JuliaPy/PyCall.jl 的全部 Issue
相似的 Issue
-
Chains resumed from `initial_state` take `num_warmup + 1` warm-up steps可能已有人在做 @thevolatilebit 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
TuringLang/AbstractMCMC.jl#220 ·
-
found-by-agent
难度 2/5 1-3 小时 新手友好度 68/100
exanauts/SparseDirectSolver.jl#92 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
NumericalEarth/Breeze.jl#1051 ·
维护者通常 1 天内回复
-
lu_instance/qr_instance run a full factorization for FixedSizeArrays可能已有人在做 @devmotion 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
JuliaArrays/ArrayInterface.jl#510 ·