Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using Compose then using Fontconfig corrupts /juliapkg/logs/repl_history.jl #443

Open
jkhamphousone opened this issue Jul 6, 2024 · 0 comments

Comments

@jkhamphousone
Copy link

MWE:

> using Compose
> using Fontconfig
> exit()
$
$ julia -qi
$ julia>
ERROR: Invalid history file (/home/lamsade/jkhamphousone/juliapkg/logs/repl_history.jl) format:
If you have a history file left over from an older version of Julia,
try renaming or deleting it.
Invalid character: '\0' at line 801
Stacktrace:
  [1] error(::String, ::String, ::String, ::Int64)
    @ Base ./error.jl:44
  [2] hist_from_file(hp::REPL.REPLHistoryProvider, path::String)
    @ REPL ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:618
  [3] setup_interface(repl::REPL.LineEditREPL, hascolor::Bool, extra_repl_keymap::Any)
    @ REPL ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:1065
  [4] setup_interface
    @ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/REPL/src/REPL.jl:971 [inlined]
  [5] (::Pkg.var"#3#4")(repl::REPL.LineEditREPL)
    @ Pkg ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Pkg.jl:728
  [6] __atreplinit(repl::REPL.LineEditREPL)
    @ Base ./client.jl:383
  [7] #invokelatest#2
    @ ./essentials.jl:892 [inlined]
  [8] invokelatest
    @ ./essentials.jl:889 [inlined]
  [9] _atreplinit
    @ ./client.jl:390 [inlined]
 [10] (::Base.var"#1013#1015"{Bool, Bool, Bool})(REPL::Module)
    @ Base ./client.jl:431
 [11] #invokelatest#2
    @ ./essentials.jl:892 [inlined]
 [12] invokelatest
    @ ./essentials.jl:889 [inlined]
 [13] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
    @ Base ./client.jl:416
 [14] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:333
 [15] _start()
    @ Base ./client.jl:552

[ Info: Disabling history file for this session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant