JuliaGraphs / JuliaGraphs/GraphViz.jl
main branch is broken? libgvc is not defined
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 69
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
→ julia --project=.
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.11.2 (2024-12-01)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using GraphViz
ERROR: InitError: UndefVarError: `libgvc` not defined in `GraphViz`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] Context
@ /private/tmp/GraphViz.jl/src/GraphViz.jl:38 [inlined]
[2] __init__()
@ GraphViz /private/tmp/GraphViz.jl/src/GraphViz.jl:206
[3] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1378
[4] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1366
[5] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
@ Base ./loading.jl:1254
[6] _include_from_serialized (repeats 2 times)
@ ./loading.jl:1210 [inlined]
[7] _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:2057
[8] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:2527
[9] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2388
[10] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[11] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[12] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:2375
[13] macro expansion
@ ./loading.jl:2314 [inlined]
[14] macro expansion
@ ./lock.jl:273 [inlined]
[15] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:2271
[16] #invoke_in_world#3
@ ./essentials.jl:1089 [inlined]
[17] invoke_in_world
@ ./essentials.jl:1086 [inlined]
[18] require(into::Module, mod::Symbol)
@ Base ./loading.jl:2260
during initialization of module GraphViz
julia>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with julia --project=. and using GraphViz. Start in src/GraphViz.jl at lines 38 and 206, where the libgvc error occurs during initialization. Done means the module loads without the reported UndefVarError on the shown Julia version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100