-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Dear developers,
This is my first time using XDiag. While working with the Julia version and running the example code, I encountered the following error. I would like to ask if you have encountered a similar issue before, and if you could kindly provide any suggestions for resolving it.
##################################
julia> using XDiag
julia> say_hello()
_____ __ ______ .-./) ____ .-_'''-. \ _\ / / | _ ''. \ .-.') .' __ . '_( )_ \ .-./ ). / ' | _ | ) _ \/ -' / ' \ |(_ o )| '
\ ' .') .' |( ''' ) | -'"|___| / |. (_,_)/___| (_ (_) _) ' | . (_) . | .---. .- || | .-----. / \ \ |(_ ._) ' | | .' _ |' \ '- .'-'-' \ | (_.\.' / | | | _( )_ | \ -' | / / \ \ | .' | | \ (_ o _) / \ / '--' '----''-----' '---' '.(,).' `'-...-'
XDiag Version: 0.3.2
Git hash : a92014f
Directory : /workspace/srcdir/xdiag
Hostname : amdci7.julia.csail.mit.edu
Compiled by : root
julia> N = 16
16
julia> nup = N ÷ 2
8
julia> block = Spinhalf(N, nup)
Error showing value of type Spinhalf:
ERROR: locale::facet::_S_create_c_locale name not valid
Stacktrace:
[1] to_string(arg1::XDiag.cxx_SpinhalfAllocated)
@ XDiag C:\Users\32057.julia\packages\CxxWrap\I0P2E\src\CxxWrap.jl:676
[2] show(io::IOContext{Base.TTY}, block::Spinhalf)
@ XDiag C:\Users\32057.julia\packages\XDiag\XyTl2\src\blocks\spinhalf.jl:46
[3] show(io::IOContext{Base.TTY}, ::MIME{Symbol("text/plain")}, x::Spinhalf)
@ Base.Multimedia .\multimedia.jl:47
[4] (::REPL.var"#55#56"{REPL.REPLDisplay{REPL.LineEditREPL}, MIME{Symbol("text/plain")}, Base.RefValue{Any}})(io::Any)
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:273
[5] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:569
[6] display(d::REPL.REPLDisplay, mime::MIME{Symbol("text/plain")}, x::Any)
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:259
[7] display
@ C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:278 [inlined]
[8] display(x::Any)
@ Base.Multimedia .\multimedia.jl:340
[9] #invokelatest#2
@ .\essentials.jl:892 [inlined]
[10] invokelatest
@ .\essentials.jl:889 [inlined]
[11] print_response(errio::IO, response::Any, show_value::Bool, have_color::Bool, specialdisplay::Union{…})
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:315
[12] (::REPL.var"#57#58"{REPL.LineEditREPL, Pair{Any, Bool}, Bool, Bool})(io::Any)
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:284
[13] with_repl_linfo(f::Any, repl::REPL.LineEditREPL)
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:569
[14] print_response(repl::REPL.AbstractREPL, response::Any, show_value::Bool, have_color::Bool)
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:282
[15] (::REPL.var"#do_respond#80"{…})(s::REPL.LineEdit.MIState, buf::Any, ok::Bool)
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:911
[16] #invokelatest#2
@ .\essentials.jl:892 [inlined]
[17] invokelatest
@ .\essentials.jl:889 [inlined]
[18] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\LineEdit.jl:2656
[19] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:1312
[20] (::REPL.var"#62#68"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL C:\Users\32057\Downloads\julia\Julia-1.10.5\share\julia\stdlib\v1.10\REPL\src\REPL.jl:386
Some type information was truncated. Use show(err) to see complete types.
##########################
Thanks for any help in advance!