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

Error when searching in Documentation tab of Juno #12

Open
GregPlowman opened this issue Aug 31, 2019 · 0 comments
Open

Error when searching in Documentation tab of Juno #12

GregPlowman opened this issue Aug 31, 2019 · 0 comments

Comments

@GregPlowman
Copy link

In Documentation tab of Juno, I typed @printf and received this error in REPL tab:

Julia-1.2.0> ┌ Warning: `compare(dist::PreMetric, s1::AbstractString, s2::AbstractString)` is deprecated, use `compare(s1, s2, dist)` instead.│   caller = score(::String, ::DocSeeker.DocObj, ::Bool) at DocSeeker.jl:46└ @ DocSeeker C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:46┌ Warning: `compare(dist::PreMetric, s1::AbstractString, s2::AbstractString)` is deprecated, use `compare(s1, s2, dist)` instead.       │   caller = score(::String, ::DocSeeker.DocObj, ::Bool) at DocSeeker.jl:47│   exception =│    UndefRefError: access to undefined reference│     [2] ht_keyindex2!(::Dict{Any,Int64}, ::Tuple{Ptr{Nothing},Symbol}) at .\dict.jl:326│     [3] get!(::getfield(Base, Symbol("##241#242")){Int64}, ::Dict{Any,Int64}, ::Tuple{Ptr{Nothing},Symbol}) at .\dict.jl:447│     [4] get! at .\dict.jl:420 [inlined]│     [5] #handle_message#2(::Int64, ::Base.Iterators.Pairs{Symbol,Base.StackTraces.StackFrame,Tuple{Symbol},NamedTuple{(:caller,),Tuple{Base.StackTraces.StackFrame}}}, ::typeof(Base.CoreLogging.handle_message), ::Logging.ConsoleLogger, ::Base.CoreLogging.LogLevel, ::String, ::Module, ::Symbol, ::Tuple{Ptr{Nothing},Symbol}, ::String, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Logging\src\ConsoleLogger.jl:101│     [6] (::getfield(Base.CoreLogging, Symbol("#kw##handle_message")))(::NamedTuple{(:caller, :maxlog),Tuple{Base.StackTraces.StackFrame,Int64}}, ::typeof(Base.CoreLogging.handle_message), ::Logging.ConsoleLogger, ::Base.CoreLogging.LogLevel, ::String, ::Module, ::Symbol, ::Tuple{Ptr{Nothing},Symbol}, ::String, ::Int64) at .\none:0│     [7] macro expansion at .\logging.jl:320 [inlined]│     [8] depwarn(::String, ::Symbol) at .\deprecated.jl:80│     [9] compare(::StringDistances.Winkler{StringDistances.Jaro,Float64,Float64}, ::String, ::String) at .\deprecated.jl:66
│     [10] score(::String, ::DocSeeker.DocObj, ::Bool) at C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:46
│     [11] macro expansion at C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\introspective.jl:20 [inlined]
│     [12] (::getfield(DocSeeker, Symbol("##20#threadsfor_fun#7")){String,Bool,Array{DocSeeker.DocObj,1},Array{Float64,1},Base.OneTo{Int64}})(::Bool) at .\threadingconstructs.jl:64
│     [13] (::getfield(DocSeeker, Symbol("##20#threadsfor_fun#7")){String,Bool,Array{DocSeeker.DocObj,1},Array{Float64,1},Base.OneTo{Int64}})() at .\threadingconstructs.jl:31└ @ DocSeeker C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:46┌ Error: Exception while generating log record in module DocSeeker at C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:46 │   exception =
│    UndefRefError: access to undefined reference
│    Stacktrace:
│     [1] getindex at .\array.jl:728 [inlined]
│     [2] ht_keyindex2!(::Dict{Any,Int64}, ::Tuple{Ptr{Nothing},Symbol}) at .\dict.jl:326
│     [3] get!(::getfield(Base, Symbol("##241#242")){Int64}, ::Dict{Any,Int64}, ::Tuple{Ptr{Nothing},Symbol}) at .\dict.jl:447
│     [4] get! at .\dict.jl:420 [inlined]
│     [5] #handle_message#2(::Int64, ::Base.Iterators.Pairs{Symbol,Base.StackTraces.StackFrame,Tuple{Symbol},NamedTuple{(:caller,),Tuple{Base.StackTraces.StackFrame}}}, ::typeof(Base.CoreLogging.handle_message), ::Logging.ConsoleLogger, ::Base.CoreLogging.LogLevel, ::String, ::Module, ::Symbol, ::Tuple{Ptr{Nothing},Symbol}, ::String, ::Int64) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Logging\src\ConsoleLogger.jl:101│     [6] (::getfield(Base.CoreLogging, Symbol("#kw##handle_message")))(::NamedTuple{(:caller, :maxlog),Tuple{Base.StackTraces.StackFrame,Int64}}, ::typeof(Base.CoreLogging.handle_message), ::Logging.ConsoleLogger, ::Base.CoreLogging.LogLevel, ::String, ::Module, ::Symbol, ::Tuple{Ptr{Nothing},Symbol}, ::String, ::Int64) at .\none:0│     [7] macro expansion at .\logging.jl:320 [inlined]│     [8] depwarn(::String, ::Symbol) at .\deprecated.jl:80│     [9] compare(::StringDistances.Winkler{StringDistances.Jaro,Float64,Float64}, ::String, ::String) at .\deprecated.jl:66
│     [10] score(::String, ::DocSeeker.DocObj, ::Bool) at C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:46
│     [11] macro expansion at C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\introspective.jl:20 [inlined]
│     [12] (::getfield(DocSeeker, Symbol("##20#threadsfor_fun#7")){String,Bool,Array{DocSeeker.DocObj,1},Array{Float64,1},Base.OneTo{Int64}})(::Bool) at .\threadingconstructs.jl:64
│     [13] (::getfield(DocSeeker, Symbol("##20#threadsfor_fun#7")){String,Bool,Array{DocSeeker.DocObj,1},Array{Float64,1},Base.OneTo{Int64}})() at .\threadingconstructs.jl:31└ @ DocSeeker C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:46┌ Warning: `compare(dist::PreMetric, s1::AbstractString, s2::AbstractString)` is deprecated, use `compare(s1, s2, dist)` instead.       │   caller = score(::String, ::DocSeeker.DocObj, ::Bool) at DocSeeker.jl:52
└ @ DocSeeker C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:52

I cannot reproduce the exact error, but restarting Juno and typing println into the Documention tab reproduces this:

Julia-1.2.0> ┌ Warning: `compare(dist::PreMetric, s1::AbstractString, s2::AbstractString)` is deprecated, use `compare(s1, s2, dist)` instead.
│   caller = score(::String, ::DocSeeker.DocObj, ::Bool) at DocSeeker.jl:52
└ @ DocSeeker C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:52
┌ Warning: `compare(dist::PreMetric, s1::AbstractString, s2::AbstractString)` is deprecated, use `compare(s1, s2, dist)` instead.
│   caller = score(::String, ::DocSeeker.DocObj, ::Bool) at DocSeeker.jl:46
└ @ DocSeeker C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:46
┌ Warning: `compare(dist::PreMetric, s1::AbstractString, s2::AbstractString)` is deprecated, use `compare(s1, s2, dist)` instead.
│   caller = score(::String, ::DocSeeker.DocObj, ::Bool) at DocSeeker.jl:47
└ @ DocSeeker C:\Users\Greg\.julia\packages\DocSeeker\PZWMc\src\DocSeeker.jl:47

Debug info:

# Atom:
Version: 1.40.1
Dev Mode: false
Official Release: true
{
  "http_parser": "2.8.0",
  "node": "10.2.0",
  "v8": "6.6.346.32",
  "uv": "1.20.3",
  "zlib": "1.2.11",
  "ares": "1.14.0",
  "modules": "64",
  "nghttp2": "1.29.0",
  "napi": "3",
  "openssl": "1.1.0h",
  "electron": "3.1.10",
  "chrome": "66.0.3359.181"
}
# julia-client:
Version: 0.9.4
Config:
{
  "firstBoot": false,
  "juliaPath": "C:\\Program Files\\Julia-1.2.0\\bin\\julia.exe",
  "uiOptions": {
    "enableMenu": true,
    "enableToolBar": true,
    "layouts": {
      "openDefaultPanesOnStartUp": false
    }
  }
}


# ink:
Version: 0.10.12
Config:
undefined


# uber-juno:not installed


# language-julia:
Version: 0.19.1
Config:
undefined


# language-weave:not installed


# indent-detective:not installed


Julia Version 1.2.0
Commit c6da87ff4b (2019-08-20 00:03 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G  
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, bdver3)
Environment:
  JULIA_EDITOR = "C:\Program Files\Sublime Text 3\sublime_text.exe"
  JULIA_NUM_THREADS = 4
  JULIA_SHELL = cmd
  JULIA_SSH_CMD = "C:\Program Files (x86)\Bitvise SSH Client\sexec.exe"

    Status `C:\Users\Greg\.julia\environments\v1.2\Project.toml`
  [dce04be8] ArgCheck v1.0.1
  [c52e3926] Atom v0.9.1
  [fbb218c0] BSON v0.2.3
  [6e4b80f9] BenchmarkTools v0.4.2
  [336ed68f] CSV v0.5.11
  [5ae59095] Colors v0.9.6
  [861a8166] Combinatorics v0.7.0
  [adafc99b] CpuId v0.2.2
  [a93c6f00] DataFrames v0.19.3
  [864edb3b] DataStructures v0.17.0
  [31a5f54b] Debugger v0.5.0
  [55939f99] DecFP v0.4.8
  [aaf54ef3] DistributedArrays v0.6.3
  [31c24e10] Distributions v0.21.1
  [497a8b3b] DoubleFloats v0.9.7
  [5f923234] Fatou v1.1.0
  [5789e2e9] FileIO v1.0.7
  [59287772] Formatting v0.3.5
  [da1fdf0e] FreqTables v0.3.1
  [c91e804a] Gadfly v1.0.1
  [6218d12a] ImageMagick v0.7.5
  [86fae568] ImageView v0.9.0
  [916415d5] Images v0.18.0
  [6deec6e2] IndexedTables v0.12.2
  [033835bb] JLD2 v0.1.2
  [a93385a2] JuliaDB v0.12.0
  [aa1ae85d] JuliaInterpreter v0.6.1
  [e5e0dc1b] Juno v0.7.2
  [5078a376] LazyArrays v0.10.0
  [1914dd2f] MacroTools v0.5.1
  [2774e3e8] NLsolve v4.1.0
  [6fe1bfb0] OffsetArrays v0.11.1
  [429524aa] Optim v0.19.2
  [69de0a69] Parsers v0.3.6
  [08abe8d2] PrettyTables v0.5.1
  [27ebfcd6] Primes v0.4.0
  [c46f51b8] ProfileView v0.4.1
  [be4d8f0f] Quadmath v0.5.0
  [97cc5700] RNGTest v1.4.0
  [74087812] Random123 v1.2.0
  [e6cf234a] RandomNumbers v1.3.0
  [ee283ea6] Rebugger v0.3.2
  [a39b5e78] ReusePatterns v0.1.2
  [295af30f] Revise v2.1.8
  [90137ffa] StaticArrays v0.11.0
  [2913bbd2] StatsBase v0.32.0
  [70df011a] TableReader v0.4.0
  [40c74d1a] TableView v0.4.0
  [bd369af6] Tables v0.2.11
  [5e47fb64] TestImages v0.5.1
  [37b6cedf] Traceur v0.3.0
  [28d57a85] Transducers v0.4.0
  [b8865327] UnicodePlots v1.1.0
  [fdbf4ff8] XLSX v0.5.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant