You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This came up when testing the linked issue above, but this error happens locally (no workers involved, so ignore the module name)
module RemoteWorkerTest
export test
using Formatting
test(x) = println(format(x, commas=true))
end
using RemoteWorkerTest
Julia-0.6.0-pre.beta> test(1000)
ERROR: MethodError: no method matching sprintf_JSdk(::Int64)
The applicable method may be too new: running in world age 21687, while current world is 21688.
Closest candidates are:
sprintf_JSdk(::Any) at C:\Users\Greg\.julia\v0.6\Formatting\src\cformat.jl:64 (method too new to be called from this world context.)
Stacktrace:
[1] #format#2(::Int64, ::Int64, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::String, ::String, ::Int64, ::Int64, ::String, ::Symbol, ::String, ::Formatting.#format, ::Int64) at C:\Users\Greg\.julia\v0.6\Formatting\src\cformat.jl:257
[2] (::Formatting.#kw##format)(::Array{Any,1}, ::Formatting.#format, ::Int64) at .\<missing>:0
[3] test(::Int64) at .\REPL[1]:4
I get a similar error when module RemoteWorkerTest is defined in a file in LOAD_PATH
Yes, this seems to be a Formatting bug. It uses eval to create new functions at runtime and should either not do that or need to also use eval to call the new functions.
May or may not be related to #19960
This came up when testing the linked issue above, but this error happens locally (no workers involved, so ignore the module name)
I get a similar error when module
RemoteWorkerTest
is defined in a file inLOAD_PATH
The text was updated successfully, but these errors were encountered: