timbitz / Whippet.jl

Lightweight and Fast; RNA-seq quantification at the event-level
MIT License
105 stars 21 forks source link

DNAmer not defined #148

Open Matthew47work opened 6 months ago

Matthew47work commented 6 months ago

Hi there,

I am trying to use Whippet in Julia and have managed to get all dependencies installed. However, I got the following error during installation and when testing Whippet:

julia> import Pkg; Pkg.precompile() Precompiling project... ✗ Whippet 0 dependencies successfully precompiled in 2 seconds (66 already precompiled)

ERROR: The following 1 direct dependency failed to precompile:

Whippet [0af2a87d-76f3-44e3-af6e-8f91dcdf7847]

Failed to precompile Whippet [0af2a87d-76f3-44e3-af6e-8f91dcdf7847] to C:\Users\Matthew.julia\compiled\v1.6\Whippet\jl_72BC.tmp. ERROR: LoadError: LoadError: UndefVarError: DNAMer not defined Stacktrace: [1] getproperty(x::Module, f::Symbol) @ Base .\Base.jl:26 [2] top-level scope @ C:\Users\Matthew.julia\packages\Whippet\jO73d\src\sgkmer.jl:2 [3] include(mod::Module, _path::String) @ Base .\Base.jl:384 [4] include(x::String) @ Whippet C:\Users\Matthew.julia\packages\Whippet\jO73d\src\Whippet.jl:3 [5] top-level scope @ C:\Users\Matthew.julia\packages\Whippet\jO73d\src\Whippet.jl:33 [6] include @ .\Base.jl:384 [inlined] [7] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing) @ Base .\loading.jl:1235 [8] top-level scope @ none:1 [9] eval @ .\boot.jl:360 [inlined] [10] eval(x::Expr) @ Base.MainInclude .\client.jl:446 [11] top-level scope @ none:1 in expression starting at C:\Users\Matthew.julia\packages\Whippet\jO73d\src\sgkmer.jl:2 in expression starting at C:\Users\Matthew.julia\packages\Whippet\jO73d\src\Whippet.jl:3 Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Types.jl:55 [2] precompile(ctx::Pkg.Types.Context; internal_call::Bool, strict::Bool, warn_loaded::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:1265 [3] precompile @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:921 [inlined] [4] #precompile#196 @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:919 [inlined] [5] precompile() @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:919 [6] top-level scope @ REPL[20]:1

Is this a known problem and how can I fix it? I am assuming my BioSequences package is the issue but I have already updated it.

Thank you for any help and apologies for my ignorance on this!

timbitz commented 6 months ago

Please install/run Whippet with the long-term support release of Julia v1.6.7.

Matthew47work commented 6 months ago

Sorry, I did that and got the same error. Turns out lots of the dependencies had updated, so I reverted them all the the versions listed on this page, that made it work.