On PythonCall load, UndefRefError: access to undefined reference
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
Piste de recherche
Commencez par relancer le job GitHub Actions lié sur Ubuntu avec Julia 1.12.6, Python 3.14.4 et PythonCall v0.9.31. Lisez PyTensorStore.jl/src/PyTensorStore.jl parallèlement aux emplacements de la trace de la pile dans PythonCall's JlWrap/C.jl, C/pointers.jl et JlWrap/JlWrap.jl. Le travail est terminé lorsque le package se charge sans l'UndefRefError signalé dans cet environnement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Affects: PythonCall
Describe the bug
https://github.com/JuliaIO/PyTensorStore.jl/actions/runs/24747323082/job/72507767012?pr=3
ERROR: LoadError: InitError: UndefRefError: access to undefined reference
Stacktrace:
[1] _pyjl_new(t::Ptr{PythonCall.C.PyObject}, ::Ptr{PythonCall.C.PyObject}, ::Ptr{PythonCall.C.PyObject})
@ PythonCall.JlWrap.Cjl ~/.julia/packages/PythonCall/83z4q/src/JlWrap/C.jl:24
[2] PyObject_CallObject
@ ~/.julia/packages/PythonCall/83z4q/src/C/pointers.jl:300 [inlined]
[3] PyJuliaValue_New
@ ~/.julia/packages/PythonCall/83z4q/src/JlWrap/C.jl:392 [inlined]
[4] macro expansion
@ ~/.julia/packages/PythonCall/83z4q/src/Core/Py.jl:118 [inlined]
[5] pyjl(t::PythonCall.Py, v::Module)
@ PythonCall.JlWrap ~/.julia/packages/PythonCall/83z4q/src/JlWrap/base.jl:7
[6] pyjl
@ ~/.julia/packages/PythonCall/83z4q/src/JlWrap/any.jl:400 [inlined]
[7] Py
@ ~/.julia/packages/PythonCall/83z4q/src/JlWrap/base.jl:141 [inlined]
[8] macro expansion
@ ~/.julia/packages/PythonCall/83z4q/src/Core/Py.jl:117 [inlined]
[9] pysetattr
@ ~/.julia/packages/PythonCall/83z4q/src/Core/builtins.jl:78 [inlined]
[10] setproperty!(x::PythonCall.Py, k::Symbol, v::Module)
@ PythonCall.Core ~/.julia/packages/PythonCall/83z4q/src/Core/Py.jl:281
[11] __init__()
@ PythonCall.JlWrap ~/.julia/packages/PythonCall/83z4q/src/JlWrap/JlWrap.jl:70
[12] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1445
[13] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1433
[14] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}; register::Bool)
@ Base ./loading.jl:1321
[15] _include_from_serialized
@ ./loading.jl:1276 [inlined]
[16] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
@ Base ./loading.jl:2117
[17] _require_search_from_serialized
@ ./loading.jl:2011 [inlined]
[18] __require_prelocked(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2629
[19] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2495
[20] macro expansion
@ ./loading.jl:2423 [inlined]
[21] macro expansion
@ ./lock.jl:376 [inlined]
[22] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2388
[23] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2364
[24] top-level scope
@ ~/work/PyTensorStore.jl/PyTensorStore.jl/src/PyTensorStore.jl:3
[25] include(mod::Module, _path::String)
@ Base ./Base.jl:306
[26] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:3028
[27] top-level scope
@ stdin:5
[28] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[29] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base ./loading.jl:2874
[30] include_string
@ ./loading.jl:2884 [inlined]
[31] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:315
[32] _start()
@ Base ./client.jl:550
during initialization of module JlWrap
in expression starting at /home/runner/work/PyTensorStore.jl/PyTensorStore.jl/src/PyTensorStore.jl:1
Your system
Please provide detailed information about your system:
Ubuntu Linux (Github Linux runner)
Julia 1.12.6
Python 3.14.4
PythonCall v0.9.31
Additional context
Add any other context about the problem here.
- Langage dominant
- Julia
- Étoiles
- 1.1k
- Forks
- 89
- Merge moyen
- 2 j 15 h
- PR mergées (30 j)
- 7
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de JuliaPy/PythonCall.jl
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
JuliaPy/PythonCall.jl#828 · 7 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
JuliaPy/PythonCall.jl#809 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Locking julia dependenciesOuverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
JuliaPy/PythonCall.jl#805 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
JuliaPy/PythonCall.jl#796 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
JuliaPy/PythonCall.jl#790 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de JuliaPy/PythonCall.jl
Issues similaires
-
Chains resumed from `initial_state` take `num_warmup + 1` warm-up stepsPeut-être pris @thevolatilebit l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
TuringLang/AbstractMCMC.jl#220 ·
-
found-by-agent
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
exanauts/SparseDirectSolver.jl#92 ·
Les mainteneurs répondent en général sous 1 jour
-
`inv` of a dense matrix fails for arrays whose `parent` is not an array of the same kindPeut-être pris @devmotion l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
JuliaLang/LinearAlgebra.jl#1740 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 90/100
NumericalEarth/Breeze.jl#1051 ·
Les mainteneurs répondent en général sous 1 jour