A LabelNode is a julia internal type:
https://github.com/JuliaLang/julia/search?utf8=%E2%9C%93&q=labelnode

I suspect this is a bug and you should file an issue if no-one has an
answer for you.

On Mon, 2016-07-11 at 11:47, Matthew Pearce <matt...@refute.me.uk> wrote:
> I've had a long-running job crash out a couple of times now with an error
> message I can't fathom:
>
> ```ERROR: On worker 2:
> On worker 2:
> MethodError: `convert` has no method matching
> convert(::Type{Type{LabelNode}}, ::Int64)
> This may have arisen from a call to the constructor Type{LabelNode}(...),
> since type constructors fall back to convert methods.
> Closest candidates are:
>   call{T}(::Type{T}, ::Any)
>   convert{T}(::Type{T}, ::T)
>  in setindex! at array.jl:313
>  in getindex at array.jl:167
>  in accepter at /home/mcp50/.julia/v0.4/Icarus/src/gibbsfuncs.jl:504```
>
> I'm on version 0.4.5 and the offending code segment is:
>
> ```s = t - minchunkindex + 1 #minchunkindex should be an Integer
> aold = a_current_ssq[s]   #a_current_ssq should be an 1d array of floats -
> line 504```
>
> Now I'm going to go through and type a bunch of functions and variables
> strongly.
>
> However, I'm not sure what a LabelNode is. Never having come across it
> while reading the docs. So I'm not sure what kinds of things are likely to
> lead to this sort of error.
>
> Any clues about how to avoid this gratefully received
>
> Matthew

Reply via email to