Deprecations.jl icon indicating copy to clipboard operation
Deprecations.jl copied to clipboard

Deprecations errors when processing base julia

Open Keno opened this issue 7 years ago • 2 comments

ArgumentError("stream is closed or WARNING: Iterations did not converge for file io.jl
WARNING: Iterations did not converge for file regex.jl
WARNING: Iterations did not converge for file util.jl
ARNING: Exception thrown when fixing file basic.jl. Exception was:
UnicodeError: invalid character index 1 (0x80 is a continuation byte)
Stacktrace:
 [1] getindex(::String, ::UnitRange{Int64}) at ./strings/string.jl:239
 [2] parse_string_or_cmd(::CSTParser.ParseState, ::Bool) at /opt/pkgs/v0.6/CSTParser/src/components/strings.jl:89
 [3] parse_string_or_cmd(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/components/strings.jl:25
 [4] CSTParser.LITERAL(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/spec.jl:83
 [5] INSTANCE(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/spec.jl:156
 [6] parse_expression(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:68
 [7] macro expansion at /opt/pkgs/v0.6/CSTParser/src/components/functions.jl:119 [inlined]
 [8] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:54 [inlined]
 [9] parse_comma_sep(::CSTParser.ParseState, ::Array{Any,1}, ::Bool, ::Bool, ::Bool) at /opt/pkgs/v0.6/CSTParser/src/components/functions.jl:116
 [10] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:54 [inlined]
 [11] parse_paren(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:257
 [12] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:179 [inlined]
 [13] parse_expression(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:59
 [14] macro expansion at /opt/pkgs/v0.6/CSTParser/src/components/functions.jl:119 [inlined]
 [15] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:54 [inlined]
 [16] parse_comma_sep(::CSTParser.ParseState, ::Array{Any,1}, ::Bool, ::Bool, ::Bool) at /opt/pkgs/v0.6/CSTParser/src/components/functions.jl:116
 [17] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:54 [inlined]
 [18] parse_paren(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:257
 [19] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:179 [inlined]
 [20] parse_expression(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:59
 [21] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:85 [inlined]
 [22] parse_comp_operator(::CSTParser.ParseState, ::Any, ::CSTParser.OPERATOR) at /opt/pkgs/v0.6/CSTParser/src/components/operators.jl:218
 [23] parse_operator(::CSTParser.ParseState, ::Any, ::CSTParser.OPERATOR) at /opt/pkgs/v0.6/CSTParser/src/components/operators.jl:377
 [24] parse_compound(::CSTParser.ParseState, ::Any) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:198
 [25] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:179 [inlined]
 [26] parse_expression(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:89
 [27] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:54 [inlined]
 [28] parse_ranges(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/components/loops.jl:13
 [29] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:166 [inlined]
 [30] parse_for(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/components/loops.jl:3
 [31] parse_kw(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:110
 [32] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:179 [inlined]
 [33] parse_expression(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:57
 [34] parse_doc(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:304
 [35] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:54 [inlined]
 [36] parse_block(::CSTParser.ParseState, ::Array{Any,1}, ::Tuple{Tokenize.Tokens.Kind}, ::Bool) at /opt/pkgs/v0.6/CSTParser/src/components/genericblocks.jl:38
 [37] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:166 [inlined]
 [38] parse_begin(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/components/genericblocks.jl:4
 [39] parse_kw(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:106
 [40] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:179 [inlined]
 [41] parse_expression(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:57
 [42] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:54 [inlined]
 [43] macro expansion at /opt/pkgs/v0.6/CSTParser/src/components/macros.jl:48 [inlined]
 [44] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:166 [inlined]
 [45] parse_macrocall(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/components/macros.jl:47
 [46] macro expansion at /opt/pkgs/v0.6/CSTParser/src/utils.jl:179 [inlined]
 [47] parse_expression(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:74
 [48] parse_doc(::CSTParser.ParseState) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:304
 [49] parse(::CSTParser.ParseState, ::Bool) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:325
 [50] parse(::String, ::Bool) at /opt/pkgs/v0.6/CSTParser/src/CSTParser.jl:277
 [51] overlay_parse at /opt/pkgs/v0.6/Deprecations/src/Deprecations.jl:87 [inlined] (repeats 2 times)
 [52] edit_text(::String, ::Array{Any,1}) at /opt/pkgs/v0.6/Deprecations/src/Deprecations.jl:117
 [53] edit_file(::String, ::Array{Any,1}, ::Deprecations.#edit_text) at /opt/pkgs/v0.6/Deprecations/src/Deprecations.jl:172
 [54] #process_deprecations#6(::Bool, ::Function, ::Base.LibGit2.GitRepo, ::String) at /opt/pkgs/v0.6/FemtoCleaner/src/FemtoCleaner.jl:64
 [55] (::FemtoCleaner.#kw##process_deprecations)(::Array{Any,1}, ::FemtoCleaner.#process_deprecations, ::Base.LibGit2.GitRepo, ::String) at ./<missing>:0
 [56] #apply_deprecations#8(::Int64, ::Function, ::GitHub.GitHubWebAPI, ::Base.LibGit2.GitRepo, ::String, ::Base.LibGit2.Signature, ::GitHub.Repo, ::GitHub.OAuth2) at /opt/pkgs/v0.6/FemtoCleaner/src/FemtoCleaner.jl:95
 [57] with_cloned_repo(::FemtoCleaner.##53#57{GitHub.GitHubWebAPI,Base.LibGit2.Signature}, ::GitHub.GitHubWebAPI, ::GitHub.Repo, ::GitHub.OAuth2) at /opt/pkgs/v0.6/FemtoCleaner/src/FemtoCleaner.jl:23
 [58] event_callback(::GitHub.GitHubWebAPI, ::String, ::MbedTLS.PKContext, ::Int64, ::Int64, ::Base.LibGit2.Signature, ::GitHub.EventListener, ::String, ::GitHub.WebhookEvent) at /opt/pkgs/v0.6/FemtoCleaner/src/FemtoCleaner.jl:221
 [59] #handle_event_request#169(::GitHub.AnonymousAuth, ::String, ::Void, ::Void, ::Void, ::Function, ::HTTP.Messages.Request, ::FemtoCleaner.##60#61{MbedTLS.PKContext,Int64,Int64,String}) at /opt/pkgs/v0.6/GitHub/src/activity/events.jl:112
 [60] (::GitHub.#kw##handle_event_request)(::Array{Any,1}, ::GitHub.#handle_event_request, ::HTTP.Messages.Request, ::Function) at ./<missing>:0
 [61] handle_request(::GitHub.##166#168{GitHub.AnonymousAuth,String,Void,FemtoCleaner.##60#61{MbedTLS.PKContext,Int64,Int64,String}}, ::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{TCPSocket}}) at /opt/pkgs/v0.6/HTTP/src/Servers.jl:498
 [62] handle_stream(::GitHub.##166#168{GitHub.AnonymousAuth,String,Void,FemtoCleaner.##60#61{MbedTLS.PKContext,Int64,Int64,String}}, ::HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{TCPSocket}}) at /opt/pkgs/v0.6/HTTP/src/Servers.jl:474
 [63] (::HTTP.Servers.##54#55{GitHub.##166#168{GitHub.AnonymousAuth,String,Void,FemtoCleaner.##60#61{MbedTLS.PKContext,Int64,Int64,String}},HTTP.ConnectionPool.Transaction{TCPSocket},HTTP.Streams.Stream{HTTP.Messages.Request,HTTP.ConnectionPool.Transaction{TCPSocket}}})() at ./task.jl:335

Keno avatar Jun 04 '18 20:06 Keno

This looks very similar to https://github.com/JuliaEditorSupport/julia-vscode/issues/489, which @ZacLN thinks goes back to something @Keno would fix :)

I believe this is by far the #1 report crash we get from our online crash reporting for the VS Code extension, so a fix would be fantastic.

davidanthoff avatar Jun 04 '18 20:06 davidanthoff

Yep, I figured. I'm planning to fix this very soon. Just building my todo list from the femtocleaner logs at the moment. The first three lines here are separate, unrelated errors.

Keno avatar Jun 04 '18 20:06 Keno