Open pop opened 5 years ago
@pop Looking at your backtrace, it seems that the asset can't be loaded.
I think you miss the Git LFS plugin:
git install lfs
)cd evoli && cargo run
I could run it on Fedora 30 with Wayland, so it definitely is the issue @Electron-libre is talking about!
Similar problem on Arch Linux / Sway (Wayland) / Rust 1.41
LFS is installed and git lfs install
is executed
git clone https://github.com/amethyst/evoli.git
>>> git clone https://github.com/amethyst/evoli.git
Клонирование в «evoli»…
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 1176 (delta 13), reused 23 (delta 10), pack-reused 1132
Получение объектов: 100% (1176/1176), 20.08 MiB | 3.83 MiB/s, готово.
Определение изменений: 100% (676/676), готово.
Фильтруется содержимое: 100% (14/14), 14.34 MiB | 1.03 MiB/s, готово.
cargo run --release
Running `target/release/evolution-island`
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.11.1
[INFO][amethyst::app] Platform: x86_64-unknown-linux-gnu
[INFO][amethyst::app] Amethyst git commit: 9709f4fdddffcfef4d17f342260b4bb0e976e9b1
[INFO][amethyst::app] Rustc version: 1.41.0 Stable
[INFO][amethyst::app] Rustc git commit: 5e1a799842ba6ed4a57e91f7ab9435947482f7d8
[WARN][rendy_factory::factory] Slow safety checks are enabled! Disable them in production by enabling the 'no-slow-safety-checks' feature!
[INFO][rendy_util::wrap] Slow safety checks are enabled! You can disable them in production by enabling the 'no-slow-safety-checks' feature!
[ERROR][amethyst_assets::storage] "PREFAB": Asset "assets/Topplegrass.gltf" (handle id: Handle { id: 1 }) could not be loaded: Failed to load asset with name "assets/Topplegrass.gltf"
[ERROR][amethyst_assets::progress] Error loading handle 1, PREFAB, with name assets/Topplegrass.gltf: Failed to load asset with name "assets/Topplegrass.gltf"
caused by: Failed to load asset with name "assets/Topplegrass.gltf"
Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }), backtrace: None, error: StringError("Failed to open file \"/home/gtors/.src/evoli/resources/assets/Topplegrass.gltf\"") } }), backtrace: None, error: Source } }), backtrace: None, error: GltfImporterError } }), backtrace: None, error: StringError("Failed to import gltf scene \'\"assets/Topplegrass.gltf\"\'") } }), backtrace: None, error: Format("GLTFScene") } }), backtrace: None, error: Asset("assets/Topplegrass.gltf") } }
caused by: Format "GLTFScene" could not load asset
Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }), backtrace: None, error: StringError("Failed to open file \"/home/gtors/.src/evoli/resources/assets/Topplegrass.gltf\"") } }), backtrace: None, error: Source } }), backtrace: None, error: GltfImporterError } }), backtrace: None, error: StringError("Failed to import gltf scene \'\"assets/Topplegrass.gltf\"\'") } }), backtrace: None, error: Format("GLTFScene") } }
caused by: Failed to import gltf scene '"assets/Topplegrass.gltf"'
Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }), backtrace: None, error: StringError("Failed to open file \"/home/gtors/.src/evoli/resources/assets/Topplegrass.gltf\"") } }), backtrace: None, error: Source } }), backtrace: None, error: GltfImporterError } }), backtrace: None, error: StringError("Failed to import gltf scene \'\"assets/Topplegrass.gltf\"\'") } }
caused by: Gltf import error
Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }), backtrace: None, error: StringError("Failed to open file \"/home/gtors/.src/evoli/resources/assets/Topplegrass.gltf\"") } }), backtrace: None, error: Source } }), backtrace: None, error: GltfImporterError } }
caused by: Failed to load bytes from source
Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }), backtrace: None, error: StringError("Failed to open file \"/home/gtors/.src/evoli/resources/assets/Topplegrass.gltf\"") } }), backtrace: None, error: Source } }
caused by: Failed to open file "/home/gtors/.src/evoli/resources/assets/Topplegrass.gltf"
Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }), backtrace: None, error: StringError("Failed to open file \"/home/gtors/.src/evoli/resources/assets/Topplegrass.gltf\"") } }
caused by: No such file or directory (os error 2)
Error { inner: Inner { source: None, backtrace: None, error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }
[ERROR][amethyst_assets::prefab::system] Failed loading sub asset: [AssetErrorMeta { error: Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }), backtrace: None, error: StringError("Failed to open file \"/home/gtors/.src/evoli/resources/assets/Topplegrass.gltf\"") } }), backtrace: None, error: Source } }), backtrace: None, error: GltfImporterError } }), backtrace: None, error: StringError("Failed to import gltf scene \'\"assets/Topplegrass.gltf\"\'") } }), backtrace: None, error: Format("GLTFScene") } }), backtrace: None, error: Asset("assets/Topplegrass.gltf") } }, handle_id: 1, asset_type_name: "PREFAB", asset_name: "assets/Topplegrass.gltf" }]
[ERROR][amethyst_assets::storage] "PREFAB": Asset "prefabs/creatures/topplegrass.ron" (handle id: Handle { id: 7 }) could not be loaded: Failed to load asset with name "prefabs/creatures/topplegrass.ron"
[ERROR][amethyst_assets::progress] Error loading handle 7, PREFAB, with name prefabs/creatures/topplegrass.ron: Failed to load asset with name "prefabs/creatures/topplegrass.ron"
caused by: Failed to load asset with name "prefabs/creatures/topplegrass.ron"
Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: StringError("Failed loading sub asset") } }), backtrace: None, error: Asset("prefabs/creatures/topplegrass.ron") } }
caused by: Failed loading sub asset
Error { inner: Inner { source: None, backtrace: None, error: StringError("Failed loading sub asset") } }
Only a black window with background music appeared
p.s.:
-rw-r--r-- 1 gtors gtors 223K фев 16 17:15 resources/assets/topplegrass.bin
-rw-r--r-- 1 gtors gtors 5,0K фев 16 17:15 resources/assets/topplegrass.gltf
-rw-r--r-- 1 gtors gtors 487 фев 16 17:15 resources/prefabs/creatures/topplegrass.ron
-rw-r--r-- 1 gtors gtors 8,0K фев 16 17:15 src/systems/experimental/topplegrass.rs
Hm.. After renaming Topplegrass
to topplegrass
(resources/prefabs/creatures/topplegrass.ron
) everything works well
Hm.. After renaming
Topplegrass
totopplegrass
(resources/prefabs/creatures/topplegrass.ron
) everything works well
Woops, sorry, that's my bad. In my defence, Windows is really annoying about filename capitalisation. :)
I'll post a pull request with a fix tonight.
I'm very interested in trying Evoli, but I can't get it to run! Please let me know if there is something I should install/configure, or if I've found a real bug.
Error message
Evoli compiles just fine with
cargo build
. When I try to run it withcargo run
I get this error:Full error message attached at the bottom of this issue.
System info
I am running Wayland and not X.
Misc debugging info
All of my installed packages Full traceback logs