Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] documentation not upto date with ion #271

Open
psteinb opened this issue Mar 4, 2024 · 0 comments
Open

[BUG] documentation not upto date with ion #271

psteinb opened this issue Mar 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@psteinb
Copy link

psteinb commented Mar 4, 2024

Describe the bug

The Comonicon.jl docs say, that one could/should use ion to create a project repo. The following call doesn't work with ion 0.1.12:

ion new Demo --template=comonicon

the comonicon template simply doesn't exist.

Version of the package:

julia> Pkg.status()
Status `~/.julia/environments/v1.9/Project.toml`
⌃ [3391f64e] CDDLib v0.9.2
  [863f3e99] Comonicon v1.0.6 `https://github.com/comonicon/Comonicon.jl.git#main`
⌃ [a93c6f00] DataFrames v1.5.0
⌃ [31c24e10] Distributions v0.25.96
⌃ [60bf3e95] GLPK v1.1.2
⌃ [4076af6c] JuMP v1.12.0
⌃ [b4f0291d] LazySets v2.7.6
⌃ [b8f27783] MathOptInterface v1.17.1
  [978d7f02] MiniQhull v0.4.0
⌃ [67491407] Polyhedra v0.7.6
⌃ [438e738f] PyCall v1.95.1
⌃ [6038ab10] Rotations v1.5.1
⌃ [276daf66] SpecialFunctions v2.2.0
⌃ [90137ffa] StaticArrays v1.5.26
⌃ [2913bbd2] StatsBase v0.34.0
  [37e2e46d] LinearAlgebra
  [9a3f8284] Random
Info Packages marked with ⌃ have new versions available and may be upgradable.

To Reproduce
Steps to reproduce the behavior:

  1. Install ion from here https://github.com/Roger-luo/Ion/releases/tag/v0.1.21 (I used ion-v0.1.21-x86_64-unknown-linux-musl.tar.gz)
  2. Unpack ion
  3. Run the cmd ion new Demo --template=comonicon
  4. Get the error message:
thread 'main' panicked at 'Template file not found: /home/steinb95/.config/ion/resources/templates/comonicon/template.toml', src/ion/blueprints/template.rs:9:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behavior
No error at all.

@psteinb psteinb added the bug Something isn't working label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant