Skip to content

Unable to compile LanguageServer. Error: snooped.csv: No such file or directory #117

@x-ji

Description

@x-ji

I'm not sure if this is an error related to changes in 0.7. When I try to run compile_package("LanguageServer"), I eventually encountered this error:

ERROR: ArgumentError: Package SnoopCompile not found in current path:
- Run `Pkg.add("SnoopCompile")` to install the SnoopCompile package.

Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:817
 [2] top-level scope at /home/jx/.julia/packages/PackageCompiler/5u3Km/src/snooping.jl:15
 [3] eval at ./boot.jl:319 [inlined]
 [4] eval(::Module, ::Expr) at ./deprecated.jl:55
 [5] top-level scope at ./none:2
done.
ERROR: SystemError: opening file /home/jx/.julia/packages/PackageCompiler/5u3Km/packages/rYKOb/snooped.csv: No such file or directory

I then ran Pkg.add("SnoopCompile"), but on the retry the following error ensued:

ERROR: LoadError: UndefVarError: @snoop1 not defined
Stacktrace:
 [1] eval at ./boot.jl:319 [inlined]
 [2] eval(::Module, ::Expr) at ./deprecated.jl:55
 [3] top-level scope at ./none:2
in expression starting at /home/jx/.julia/packages/PackageCompiler/5u3Km/src/snooping.jl:20
done.
ERROR: SystemError: opening file /home/jx/.julia/packages/PackageCompiler/5u3Km/packages/rYKOb/snooped.csv: No such file or directory
Stacktrace:
 [1] #systemerror#39(::Nothing, ::Function, ::String, ::Bool) at ./error.jl:106
 [2] systemerror at ./error.jl:106 [inlined]
 [3] #open#297(::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Function, ::String) at ./iostream.jl:283
 [4] open at ./iostream.jl:275 [inlined]
 [5] #eachline#288 at ./io.jl:891 [inlined]
 [6] eachline at ./io.jl:887 [inlined]
 [7] read(::String) at /home/jx/.julia/packages/SnoopCompile/JDKqS/src/SnoopCompile.jl:67
 [8] snoop(::String, ::String, ::String) at /home/jx/.julia/packages/PackageCompiler/5u3Km/src/snooping.jl:30
 [9] (::getfield(PackageCompiler, Symbol("##25#27")))(::Tuple{String,String}) at /home/jx/.julia/packages/PackageCompiler/5u3Km/src/snooping.jl:105
 [10] map at ./tuple.jl:162 [inlined]
 [11] snoop_userimg at /home/jx/.julia/packages/PackageCompiler/5u3Km/src/snooping.jl:94 [inlined]
 [12] #compile_package#37(::Bool, ::Bool, ::Bool, ::Function, ::Tuple{String,String}) at /home/jx/.julia/packages/PackageCompiler/5u3Km/src/PackageCompiler.jl:132
 [13] #compile_package#34 at /home/jx/.julia/packages/PackageCompiler/5u3Km/src/PackageCompiler.jl:130 [inlined]
 [14] compile_package(::String) at /home/jx/.julia/packages/PackageCompiler/5u3Km/src/PackageCompiler.jl:113
 [15] top-level scope at none:0

I'm on Arch Linux and installed Julia 0.7 from the official binary files manually (since the Arch repo already contains version 1.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions