Open Zhongmin666 opened 3 years ago
What FEMBase.jl version are you using? In FEMBase v0.3.1, by looking (https://github.com/JuliaFEM/FEMBase.jl/blob/v0.3.1/Project.toml) file, there should be Test dependency defined.
name = "FEMBase"
uuid = "fbcbbc08-f1bf-5204-9233-b69f5d396135"
authors = ["Jukka Aho <ahojukka5@gmail.com>"]
version = "0.3.1"
[deps]
FEMBasis = "353fb843-c566-51e6-ba49-78b3e3d5ebb5"
FEMQuad = "be8e8821-3f6f-54c2-987c-d2773c3a52cb"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
[compat]
julia = "1"
FEMBasis = "0.2"
FEMQuad = "0.3"
TimerOutputs = "0.5"
[extras]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[targets]
test = ["Test"]
when I use
test JuliaFEM
there is an error , and I am looking forward for your help. thanks a lot!!!! : The Julia Lang version is v 1.1.1 the error code is below:┌ Warning: Package FEMBase does not have Test in its dependencies: │ - If you have FEMBase checked out for development and have │ added Test 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 FEMBase └ Loading Test into FEMBase from project dependency, future warnings for FEMBase are suppressed. WARNING: using FEMBasis.interpolate in module FEMBase conflicts with an existing identifier. WARNING: could not import Base.start into JuliaFEM WARNING: could not import Base.next into JuliaFEM WARNING: could not import Base.done into JuliaFEM WARNING: could not import Base.endof into JuliaFEM ERROR: LoadError: LoadError: TypeError: in AbstractElement, in M, expected M<:FEMBase.AbstractFieldSet, got Type{FEMBasis.Seg2} Stacktrace: [1] top-level scope at none:0 [2] include at .\boot.jl:326 [inlined] [3] include_relative(::Module, ::String) at .\loading.jl:1038 [4] include at .\sysimg.jl:29 [inlined] [5] include(::String) at C:\Users\Administrator.julia\packages\FEMBeam\oEQQ6\src\FEMBeam.jl:17 [6] top-level scope at none:0 [7] include at .\boot.jl:326 [inlined] [8] include_relative(::Module, ::String) at .\loading.jl:1038 [9] include(::Module, ::String) at .\sysimg.jl:29 [10] top-level scope at none:2 [11] eval at .\boot.jl:328 [inlined] [12] eval(::Expr) at .\client.jl:404 [13] top-level scope at .\none:3 in expression starting at C:\Users\Administrator.julia\packages\FEMBeam\oEQQ6\src\beam3d.jl:15 in expression starting at C:\Users\Administrator.julia\packages\FEMBeam\oEQQ6\src\FEMBeam.jl:27 ERROR: LoadError: Failed to precompile FEMBeam [962f5c4a-ca9e-56d3-a659-14f0d9baaf78] to C:\Users\Administrator.julia\compiled\v1.1\FEMBeam\uHLOY.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197 [3] _require(::Base.PkgId) at .\loading.jl:960 [4] require(::Base.PkgId) at .\loading.jl:858 [5] require(::Module, ::Symbol) at .\loading.jl:853 [6] include at .\boot.jl:326 [inlined] [7] include_relative(::Module, ::String) at .\loading.jl:1038 [8] include(::Module, ::String) at .\sysimg.jl:29 [9] top-level scope at none:2 [10] eval at .\boot.jl:328 [inlined] [11] eval(::Expr) at .\client.jl:404 [12] top-level scope at .\none:3 in expression starting at C:\Users\Administrator.julia\packages\JuliaFEM\DbhTT\src\JuliaFEM.jl:138 ERROR: LoadError: Failed to precompile JuliaFEM [f80590ac-b429-510a-8a99-e7c46989f22d] to C:\Users\Administrator.julia\compiled\v1.1\JuliaFEM\JKouA.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197 [3] _require(::Base.PkgId) at .\loading.jl:960 [4] require(::Base.PkgId) at .\loading.jl:858 [5] require(::Module, ::Symbol) at .\loading.jl:853 [6] include at .\boot.jl:326 [inlined] [7] include_relative(::Module, ::String) at .\loading.jl:1038 [8] include(::Module, ::String) at .\sysimg.jl:29 [9] include(::String) at .\client.jl:403 [10] top-level scope at none:0 in expression starting at C:\Users\Administrator.julia\packages\JuliaFEM\DbhTT\test\runtests.jl:4 ERROR: Package JuliaFEM errored during testing