Skip to content

Package not precompiling: Interval not Defined in TDAmapper.ImageCovers #8

@tomdstone

Description

@tomdstone

Hello, I'm trying to do some data analysis using TDAMapper but it is not precompiling, with the error ERROR: LoadError: UndefVarError: 'Interval' not defined in 'TDAmapper.ImageCovers'.

Here is an installation in a fresh environment (the third line errors, but you need to precompile again to see the full stacktrace)

(@v1.12) pkg> activate --temp
(jl_Td9KOc) pkg> add https://github.com/JuliaTDA/MetricSpaces.jl
(jl_Td9KOc) pkg> add https://github.com/JuliaTDA/TDAmapper.jl
(jl_Td9KOc) pkg> precompile
  ✗ TDAmapper
Precompiling packages finished.
  0 dependencies successfully precompiled in 2 seconds. 120 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

TDAmapper 

Failed to precompile TDAmapper [90314d98-8742-41ec-badb-bb392eb26b11] to "/Users/tomstone/.julia/compiled/v1.12/TDAmapper/jl_YkAIHE".
ERROR: LoadError: UndefVarError: `Interval` not defined in `TDAmapper.ImageCovers`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
  [1] top-level scope
    @ util.jl:630
  [2] include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./Base.jl:307
  [3] top-level scope
    @ ~/.julia/packages/TDAmapper/h78Gp/src/ImageCovers/ImageCovers.jl:60
  [4] include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./Base.jl:307
  [5] top-level scope
    @ ~/.julia/packages/TDAmapper/h78Gp/src/TDAmapper.jl:36
  [6] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
  [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, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2997
  [8] top-level scope
    @ stdin:5
  [9] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
 [10] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2843
 [11] include_string
    @ ./loading.jl:2853 [inlined]
 [12] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:315
 [13] _start()
    @ Base ./client.jl:550
in expression starting at /Users/tomstone/.julia/packages/TDAmapper/h78Gp/src/ImageCovers/r1.jl:1
in expression starting at /Users/tomstone/.julia/packages/TDAmapper/h78Gp/src/ImageCovers/ImageCovers.jl:1
in expression starting at /Users/tomstone/.julia/packages/TDAmapper/h78Gp/src/TDAmapper.jl:1
in expression starting at stdin:

(jl_Td9KOc) pkg> 

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