Skip to content

syntax: extra token "AbstractStateSpaceModel" after end of expression #17

@RenieWell

Description

@RenieWell

When I trying to use StateSpace by using SateSpace, it came out error like this

julia>
using StateSpace
[ Info: Precompiling StateSpace [0ba9688b-42e4-5021-a424-b4045c67a13a]
WARNING: could not import Base.mean into StateSpace
┌ Warning: Package StateSpace does not have StatsBase in its dependencies:
│ - If you have StateSpace checked out for development and have
│ added StatsBase as a dependency but haven't updated your primary
│ environment's manifest file, try Pkg.resolve().
│ - Otherwise you may need to report an issue with StateSpace
└ Loading StatsBase into StateSpace from project dependency, future warnings for StateSpace are suppressed.
ERROR: LoadError: LoadError: syntax: extra token "AbstractStateSpaceModel" after end of expression
Stacktrace:
[1] include at .\boot.jl:317 [inlined]
[2] include_relative(::Module, ::String) at .\loading.jl:1041
[3] include at .\sysimg.jl:29 [inlined]
[4] include(::String) at C:\Users\Well.julia\dev\StateSpace\src\StateSpace.jl:1
[5] top-level scope at none:0
[6] include at .\boot.jl:317 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1041
[8] include(::Module, ::String) at .\sysimg.jl:29
[9] top-level scope at none:2
[10] eval at .\boot.jl:319 [inlined]
[11] eval(::Expr) at .\client.jl:389
[12] top-level scope at .\none:3
in expression starting at C:\Users\Well.julia\dev\StateSpace\src\model_types.jl:1
in expression starting at C:\Users\Well.julia\dev\StateSpace\src\StateSpace.jl:49
ERROR: Failed to precompile StateSpace [0ba9688b-42e4-5021-a424-b4045c67a13a] to C:\Users\Well.julia\compiled\v1.0\StateSpace\S4yKz.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] macro expansion at .\logging.jl:313 [inlined]
[3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1187
[4] _require(::Base.PkgId) at .\logging.jl:311
[5] require(::Base.PkgId) at .\loading.jl:855
[6] macro expansion at .\logging.jl:311 [inlined]
[7] require(::Module, ::Symbol) at .\loading.jl:837"

It seams like some problems in the model_types.jl.
I'm new to Julia, can your help me out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions