Giter Club home page Giter Club logo

Comments (8)

jmwjc avatar jmwjc commented on August 21, 2024

Hello,

I also meet this problem, how do you fix it in the end?

from fembase.jl.

asdasdqwdqwfsdf avatar asdasdqwdqwfsdf commented on August 21, 2024

@jmwjc , can you also run JuliaFEM.jl & UMAT.jl? Both do not work in julia 1.2.0...

from fembase.jl.

ahojukka5 avatar ahojukka5 commented on August 21, 2024

I get all tests passing for both v0.3.1 and master:

Test Summary: | Pass  Total
FEMBase.jl    |  221    221
   Testing FEMBase tests passed 

Test coverage is also high, 99 %. Is there a minimum working example of how this problem appears?

from fembase.jl.

jmwjc avatar jmwjc commented on August 21, 2024

@AAAWWWAA @ahojukka5 I try to install the JuliaFEM.jl in julia 1.3.0, but meet this problem during precompiling.
I also change the version of [email protected], but the problem is still happen.
I guess that the mismatch of the version for FEMBase.jl and FEMBasis.jl brings this problem.

from fembase.jl.

jmwjc avatar jmwjc commented on August 21, 2024

In the FEMBasis.jl, the AbstractBasis should be declared with "{dim}", as shown by
abstract type AbstractBasis{dim} end
but in elements_lagrange.jl: line 4, FEMBase.jl module, struct Poi1 lose this declaraion as
struct Poi1 <: FEMBasis.AbstractBasis end

from fembase.jl.

asdasdqwdqwfsdf avatar asdasdqwdqwfsdf commented on August 21, 2024

@ahojukka5 , first of all, I cannot install FEMBasis:

 add https://github.com/JuliaFEM/FEMBase.jl.git
  Updating git-repo `https://github.com/JuliaFEM/FEMBase.jl.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package FEMBasis :
 FEMBasis log:
 ├─possible versions are: 0.3.1 or uninstalled
 ├─FEMBasis  is fixed to version 0.3.1
 └─restricted to versions 0.2.0-0.2 by FEMBase  — no versions left
   └─FEMBase log:
     ├─possible versions are: 0.3.1 or uninstalled
     └─FEMBase is fixed to version 0.3.1

from fembase.jl.

asdasdqwdqwfsdf avatar asdasdqwdqwfsdf commented on August 21, 2024

And FEMBase is also not possible to be installed

add https://github.com/JuliaFEM/FEMBase.jl.git
  Updating git-repo `https://github.com/JuliaFEM/FEMBase.jl.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package FEMBasis:
 FEMBasis log:
 ├─possible versions are: 0.3.1 or uninstalled
 ├─FEMBasis is fixed to version 0.3.1
 └─restricted to versions 0.2.0-0.2 by FEMBase — no versions left
   └─FEMBase log:
     ├─possible versions are: 0.3.1 or uninstalled
     └─FEMBase is fixed to version 0.3.1

from fembase.jl.

ahojukka5 avatar ahojukka5 commented on August 21, 2024

Yes. Now I get the same error, with following

julia --project=.
] add JuliaFEM
] test JuliaFEM
ERROR: LoadError: LoadError: invalid subtyping in definition of Poi1
Stacktrace:
 [1] top-level scope at /home/jukka/.julia/packages/FEMBase/1R4fe/src/elements_lagrange.jl:4
 [2] include at ./boot.jl:328 [inlined]
 [3] include_relative(::Module, ::String) at ./loading.jl:1105
 [4] include at ./Base.jl:31 [inlined]
 [5] include(::String) at /home/jukka/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:4
 [6] top-level scope at /home/jukka/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:28
 [7] include at ./boot.jl:328 [inlined]
 [8] include_relative(::Module, ::String) at ./loading.jl:1105
 [9] include(::Module, ::String) at ./Base.jl:31
 [10] top-level scope at none:2
 [11] eval at ./boot.jl:330 [inlined]
 [12] eval(::Expr) at ./client.jl:425
 [13] top-level scope at ./none:3
in expression starting at /home/jukka/.julia/packages/FEMBase/1R4fe/src/elements_lagrange.jl:4
in expression starting at /home/jukka/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:28

This is happening in a new environment just created.

Project.toml.txt
Manifest.toml.txt

from fembase.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.