zesterer / teloren Goto Github PK
View Code? Open in Web Editor NEWA command-line frontend for Veloren
Home Page: https://www.veloren.net
License: GNU General Public License v3.0
A command-line frontend for Veloren
Home Page: https://www.veloren.net
License: GNU General Public License v3.0
Starting teloren with normal arguments always ends in the same panic:
Server info: ServerInfo { name: "Official Veloren Server", description: "Welcome to the Veloren Pre-Alpha. Enjoy your journey!", git_hash: "2d2d6b5c", git_date: "2022-08-11", auth_provider: Some("https://auth.veloren.net") }
Players: {}
thread 'rayon-c-0' panicked at 'Asset directory not found. In attempting to find it, we searched:
/home/$USER/.cargo/bin
/home/$USER/git/teloren
/home/$USER/.local/share/veloren/
/usr/local/share/veloren/
/usr/share/veloren/
)', ~/.cargo/git/checkouts/veloren-8eeb8813aff3de76/a1b5f53/common/assets/src/lib.rs:292:9
Is there a package I need to download, or a repository to clone in order to fix this?
Thanks :)
When launching with $ RUST_BACKTRACE=full cargo r -- --username="<redacted>" --password="<redacted>" --character="<redacted>"
produces the following output:
thread 'main' panicked at 'Failed to create client instance: StreamErr(Deserialize(Custom("invalid value: integer `1075838976`, expected variant index 0 <= i < 6")))', src/main.rs:116:10
stack backtrace:
0: 0x55f1bf93935a - std::backtrace_rs::backtrace::libunwind::trace::h458cf307173bbb7e
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x55f1bf93935a - std::backtrace_rs::backtrace::trace_unsynchronized::h3a86a735716b3162
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x55f1bf93935a - std::sys_common::backtrace::_print_fmt::h3c545795cfeff27f
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/sys_common/backtrace.rs:65:5
3: 0x55f1bf93935a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfc7d1e1184be2a4d
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/sys_common/backtrace.rs:44:22
4: 0x55f1bf95dc6e - core::fmt::write::hc6ef11db54e29a99
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/core/src/fmt/mod.rs:1208:17
5: 0x55f1bf9334e5 - std::io::Write::write_fmt::h5a19bdd460e661f7
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/io/mod.rs:1682:15
6: 0x55f1bf939125 - std::sys_common::backtrace::_print::he565e8fb2a73c8ba
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/sys_common/backtrace.rs:47:5
7: 0x55f1bf939125 - std::sys_common::backtrace::print::h3cdc14025f4ba73c
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/sys_common/backtrace.rs:34:9
8: 0x55f1bf93aa2f - std::panicking::default_hook::{{closure}}::hc8d15b4a44e5c68f
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:267:22
9: 0x55f1bf93a76b - std::panicking::default_hook::hd5c34ad5ebbaa14f
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:286:9
10: 0x55f1bf93b13c - std::panicking::rust_panic_with_hook::h6b2d6d1ef385b7c1
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:688:13
11: 0x55f1bf93aed9 - std::panicking::begin_panic_handler::{{closure}}::h906b0280d4771185
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:579:13
12: 0x55f1bf93980c - std::sys_common::backtrace::__rust_end_short_backtrace::h75395d1a7d6a5847
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/sys_common/backtrace.rs:137:18
13: 0x55f1bf93abe2 - rust_begin_unwind
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:575:5
14: 0x55f1bf08fd73 - core::panicking::panic_fmt::h6c49d3b35c325f7f
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/core/src/panicking.rs:65:14
15: 0x55f1bf090033 - core::result::unwrap_failed::h75bd3efdc0b54835
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/core/src/result.rs:1791:5
16: 0x55f1bf1cbc9c - core::result::Result<T,E>::expect::he4d8d8fb08e7967b
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/core/src/result.rs:1070:23
17: 0x55f1bf1cbc9c - teloren::main::hfe17139bca294b91
at /home/elias/src/rust/teloren/src/main.rs:95:22
18: 0x55f1bf18d513 - core::ops::function::FnOnce::call_once::h730281da163ec3ba
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/core/src/ops/function.rs:507:5
19: 0x55f1bf18d513 - std::sys_common::backtrace::__rust_begin_short_backtrace::he9665da624c64b10
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/sys_common/backtrace.rs:121:18
20: 0x55f1bf153f79 - std::rt::lang_start::{{closure}}::h05fee62c303784bd
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/rt.rs:166:18
21: 0x55f1bf92c78c - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hffbbdfa18f3caa37
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/core/src/ops/function.rs:606:13
22: 0x55f1bf92c78c - std::panicking::try::do_call::h5f1eccb278bfdef0
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:483:40
23: 0x55f1bf92c78c - std::panicking::try::h44ee1d2b114f2a71
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:447:19
24: 0x55f1bf92c78c - std::panic::catch_unwind::hfa3abc533c03efe9
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panic.rs:137:14
25: 0x55f1bf92c78c - std::rt::lang_start_internal::{{closure}}::hc50d6fdf27cb22a6
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/rt.rs:148:48
26: 0x55f1bf92c78c - std::panicking::try::do_call::hf115fc25cae9b4f1
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:483:40
27: 0x55f1bf92c78c - std::panicking::try::h2d3a9f6f9e803721
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panicking.rs:447:19
28: 0x55f1bf92c78c - std::panic::catch_unwind::he37c9aaef9e33a66
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/panic.rs:137:14
29: 0x55f1bf92c78c - std::rt::lang_start_internal::ha60ad03ba43b987f
at /rustc/1eb62b1235fd77200e6bd967d70e83c0f2497233/library/std/src/rt.rs:148:20
30: 0x55f1bf1cd5bc - main
31: 0x7f6f94787790 - <unknown>
32: 0x7f6f9478784a - __libc_start_main
33: 0x55f1bf0901c5 - _start
34: 0x0 - <unknown>
Aight. soo, basically Ive got no ideea what Im doing. I somehow managed to build it and run it, but when i get to selecting a character this happens..
thread 'main' panicked at 'Failed to create client instance: StreamErr(Deserialize(Custom("invalid value: integer `5`, expected variant index 0 <= i < 5")))', src/main.rs:117:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I dont have much experience with rust, so this might all just be my fault. (most probably)
Hi, can you help, please?
Is teloren supposed to work on macOS?
Trying to debug it, but it is failing with the error:
thread 'main' panicked at 'Failed to create client instance:
StreamErr(Deserialize(Custom("invalid value: integer `1050253722`, expected variant index 0 <= i < 3")))',
src/main.rs:117:10
building with nightly-2021-01-01-x86_64-unknown-linux-gnu
succeeds, so it may be that you simply need to add a rust-toolchain file until the required features are in stable.
this is the error with stable:
$ cargo build --release
[...]
error[E0658]: platform intrinsics are experimental and possibly buggy
--> /home/khimaros/.cargo/registry/src/github.com-1ecc6299db9ec823/vek-0.12.1/src/simd_llvm.rs:13:8
|
13 | extern "platform-intrinsic" {
| ^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/khimaros/.cargo/registry/src/github.com-1ecc6299db9ec823/slotmap-0.4.0/src/lib.rs:4:35
|
4 | #![cfg_attr(feature = "unstable", feature(untagged_unions, try_reserve))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0554`.
error: could not compile `slotmap`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.