GMT cannot plot on CentOS 7
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- centos, julia
- Domain
- data-visualization, operating-systems
Research direction
Reproduce the coast example with Julia v1.12.4 and GMT.jl v1.35.0 on CentOS 7. Start at src/common_options.jl:4204 and the calls in src/gmt_main.jl and src/pscoast.jl, then inspect how Ghostscript is executed and why GMT error 79 occurs. Done means the example plots successfully on the reported environment.
Written by the indexing model from the issue text.
Description
Please try this code with Julia v1.12.4 and GMT.jl v1.35.0:
coast(region=:global, proj=:Winkel, frame=:g, land=:burlywood4, show=true)
psconvert [ERROR]: Cannot execute Ghostscript ('/home/test/.julia/artifacts/2039c07ff05f00d681aa777c71d90947251e16fa/bin/gs').
ERROR: Something went wrong when calling the module. GMT error number = 79
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:44
[2] gmt(::String)
@ GMT ~/.julia/packages/GMT/hBo3v/src/gmt_main.jl:166
[3] showfig(d::Dict{Symbol, Any}, fname_ps::String, fname_ext::String, opt_T::String, K::Bool, fname::String)
@ GMT ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4204
[4] finish_PS_module_barr_last(d::Dict{…}, cmd::Vector{…}, fname::String, fname_ext::String, opt_extra::String, output::String, opt_T::String, K::Bool, P::Nothing)
@ GMT ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4586
[5] finish_PS_module(d::Dict{Symbol, Any}, cmd::Vector{String}, opt_extra::String, K::Bool, O::Bool, finish::Bool, args::Nothing)
@ GMT ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4524
[6] prep_and_call_finish_PS_module
@ ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4428 [inlined]
[7] prep_and_call_finish_PS_module
@ ~/.julia/packages/GMT/hBo3v/src/common_options.jl:4427 [inlined]
[8] coast(cmd0::String; clip::String, first::Bool, kwargs::@Kwargs{region::Symbol, proj::Symbol, frame::Symbol, land::Symbol, show::Bool})
@ GMT ~/.julia/packages/GMT/hBo3v/src/pscoast.jl:85
[9] coast
@ ~/.julia/packages/GMT/hBo3v/src/pscoast.jl:78 [inlined]
[10] top-level scope
@ REPL[2]:1
- Dominant language
- Julia
- Stars
- 222
- Forks
- 35
- Avg merge
- 8h 1m
- Merged PRs (30d)
- 9
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from GenericMappingTools/GMT.jl
-
Register v"1.44.1"Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
GenericMappingTools/GMT.jl#2071 · 1 comment ·
-
Register v"1.44.0"Open
Difficulty 1/5 Under an hour Newbie friendliness 5/100
GenericMappingTools/GMT.jl#2066 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
GenericMappingTools/GMT.jl#2030 · 14 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
GenericMappingTools/GMT.jl#2023 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
GenericMappingTools/GMT.jl#1875 · 1 comment ·
All issues in GenericMappingTools/GMT.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
brown-ccv/Chamber.jl#272 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
JuliaAstro/SolarPosition.jl#143 ·
-
distributions
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaBayes/Wren.jl#404 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
JuliaAI/MLJTransforms.jl#113 ·
Maintainers usually reply within 1 day