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

frequent "type UnionAll has no field parameters" errors #90

Closed
ssfrr opened this issue Jun 21, 2017 · 7 comments
Closed

frequent "type UnionAll has no field parameters" errors #90

ssfrr opened this issue Jun 21, 2017 · 7 comments
Labels

Comments

@ssfrr
Copy link
Contributor

ssfrr commented Jun 21, 2017

For some reason after running using PlotlyJS in a Juno editor window I get this error on almost every keystroke after:

Backtrace:

type UnionAll has no field parameters
in #11 at base/event.jl:73
in handlemsg at Atom/src/comm.jl:163
in #85 at Atom/src/completions.jl:23
in completions at CodeTools/src/completions.jl:195
in #completions at base/<missing>
in #completions#42 at CodeTools/src/completions.jl:190
in #5 at CodeTools/src/utils.jl:18
in namecompletions_ at CodeTools/src/completions.jl:63
in withmeta at CodeTools/src/completions.jl:58
in collect at base/array.jl:442
in collect_to! at base/array.jl:484
in collect_to! at base/array.jl:474
in withmeta at CodeTools/src/completions.jl:49
in signature at CodeTools/src/summaries.jl:53
in fullsignature at CodeTools/src/summaries.jl:38
in doc at base/docs/Docs.jl:312
in _collect at base/array.jl:455
in collect_to! at base/array.jl:474
in parsedoc at base/docs/Docs.jl:186
in formatdoc at base/docs/Docs.jl:178
in formatdoc at DocStringExtensions/src/abbreviations.jl:25
in format at DocStringExtensions/src/abbreviations.jl:290
in #methodgroups#3 at DocStringExtensions/src/utilities.jl:24
in getmethods! at DocStringExtensions/src/utilities.jl:86
in methods at base/reflection.jl:583
in to_tuple_type at base/reflection.jl:468

EDIT:

Julia Version 0.6.0
Commit 9036443 (2017-06-19 13:05 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Prescott)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)

PlotlyJS 0.6.2
Atom 0.6.0
julia-client 0.6.0

@pfitzseb pfitzseb added the bug label Jun 21, 2017
@pfitzseb
Copy link
Member

This seems to be a base bug:

julia> using PlotlyJS

help?> Plot
search: Plot plot PlotlyJS ElectronPlot TypedSlot prevfloat JupyterPlot PartialQuickSort peakflops pointcloud SimpleVector ExponentialBackOff print_with_color

ERROR: type UnionAll has no field parameters
Stacktrace:
 [1] to_tuple_type(::Any) at ./reflection.jl:468
 [2] methods(::Any, ::Any) at ./reflection.jl:583
 [3] getmethods!(::Array{Method,1}, ::Type{T} where T, ::Type{T} where T) at /home/basti/.julia/v0.6/DocStringExtensions/src/utilities.jl:86
 [4] #methodgroups#3(::Bool, ::Function, ::Type{T} where T, ::Type{T} where T, ::Module) at /home/basti/.julia/v0.6/DocStringExtensions/src/utilities.jl:24
 [5] format(::DocStringExtensions.MethodSignatures, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Base.Docs.DocStr) at /home/basti/.julia/v0.6/DocStringExtensions/src/abbreviations.jl:290
 [6] formatdoc(::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Base.Docs.DocStr, ::DocStringExtensions.MethodSignatures) at /home/basti/.julia/v0.6/DocStringExtensions/src/abbreviations.jl:25
 [7] formatdoc(::Base.Docs.DocStr) at ./docs/Docs.jl:178
 [8] parsedoc(::Base.Docs.DocStr) at ./docs/Docs.jl:186
 [9] collect_to!(::Array{Base.Markdown.MD,1}, ::Base.Generator{Array{Base.Docs.DocStr,1},Base.Docs.#parsedoc}, ::Int64, ::Int64) at ./array.jl:474
 [10] _collect(::Array{Base.Docs.DocStr,1}, ::Base.Generator{Array{Base.Docs.DocStr,1},Base.Docs.#parsedoc}, ::Base.EltypeUnknown, ::Base.HasShape) at ./array.jl:455
 [11] doc(::Base.Docs.Binding, ::Type{T} where T) at ./docs/Docs.jl:312
 [12] doc(::Base.Docs.Binding) at ./docs/Docs.jl:280

@pfitzseb
Copy link
Member

Found it: JuliaLang/julia#20872

@pfitzseb
Copy link
Member

Okay, I've worked around this now with JunoLab/CodeTools.jl@3519c82 -- if you wanna try it then Pkg.checkout("CodeTools") should bring you up to speed.

@ssfrr
Copy link
Contributor Author

ssfrr commented Jun 28, 2017

thanks! seems to be good to go.

@JobJob
Copy link

JobJob commented Sep 5, 2017

Oh, that's what this is - thanks! Tag CodeTools?

@pfitzseb
Copy link
Member

pfitzseb commented Sep 6, 2017

Yep.

@JobJob
Copy link

JobJob commented Sep 6, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants