Qovery / Replibyte

Seed your development database with real data ⚡️
https://www.replibyte.com
GNU General Public License v3.0
4.16k stars 128 forks source link

RUST_BACKTRACE=1, thread 'main' panicked at 'missing config file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', #138

Open odealmrv opened 2 years ago

odealmrv commented 2 years ago

1)docker: Error response from daemon: create $(pwd)/examples: "$(pwd)/examples" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'.

2)thread 'main' panicked at 'missing config file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', replibyte/src/main.rs:82:40 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace error: Found argument 'RUST_BACKTRACE=1' which wasn't expected, or isn't valid in this context USAGE: replibyte transformer list For more information try --help

3)error: Found argument 'RUST_BACKTRACE=1' which wasn't expected, or isn't valid in this context USAGE: replibyte [OPTIONS] --config For more information try --help

i am getting these errors Can u help me thanks from now

Tchoupinax commented 2 years ago

Hello @odealmervea,

I had the same issue with using the local datastore and it is solved by upgrading to v0.8.3. I think there was a bug which is solved by the last merged PR.

Hope it will help you, Have a nice day.

evoxmusic commented 2 years ago

1)docker: Error response from daemon: create (pwd)/examples:"(pwd)/examples" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'.

2)thread 'main' panicked at 'missing config file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', replibyte/src/main.rs:82:40 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace error: Found argument 'RUST_BACKTRACE=1' which wasn't expected, or isn't valid in this context USAGE: replibyte transformer list For more information try --help

3)error: Found argument 'RUST_BACKTRACE=1' which wasn't expected, or isn't valid in this context USAGE: replibyte [OPTIONS] --config For more information try --help

i am getting these errors Can u help me thanks from now

Can you check if your issue is solved? Thx

odealmrv commented 2 years ago

1)docker: Error response from daemon: create (pwd)/examples:"(pwd)/examples" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'. 2)thread 'main' panicked at 'missing config file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', replibyte/src/main.rs:82:40 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace error: Found argument 'RUST_BACKTRACE=1' which wasn't expected, or isn't valid in this context USAGE: replibyte transformer list For more information try --help 3)error: Found argument 'RUST_BACKTRACE=1' which wasn't expected, or isn't valid in this context USAGE: replibyte [OPTIONS] --config For more information try --help i am getting these errors Can u help me thanks from now

Can you check if your issue is solved? Thx

Unfortunately, the problem is not solved.

odealmrv commented 2 years ago

1)docker: Error response from daemon: create (pwd)/examples:"(pwd)/examples" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'. 2)thread 'main' panicked at 'missing config file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', replibyte/src/main.rs:82:40 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace error: Found argument 'RUST_BACKTRACE=1' which wasn't expected, or isn't valid in this context USAGE: replibyte transformer list For more information try --help 3)error: Found argument 'RUST_BACKTRACE=1' which wasn't expected, or isn't valid in this context USAGE: replibyte [OPTIONS] --config For more information try --help i am getting these errors Can u help me thanks from now

Can you check if your issue is solved? Thx


'replibyte' is not recognized as an internal or external command, operable program or batch file.'replibyte' is not recognized as an internal or external command, operable program or batch file.

I'm getting this error

fabriceclementz commented 2 years ago

Hi @odealmervea Maybe this can help you ? https://github.com/Qovery/Replibyte/issues/147

michaelgrigoryan25 commented 2 years ago

@odealmervea, do you still have this issue? If so, can you set RUST_BACKTRACE to 1 in the environment variables, or the command-line, and run the application again, so that we can debug this?

coderberry commented 2 years ago

This issue is still happening for me. Here are my results:

➜ RUST_BACKTRACE=full replibyte -c ./conf.yaml dump list
thread 'main' panicked at 'missing config file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', replibyte/src/main.rs:86:40
stack backtrace:
   0:        0x105121932 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4cae82d438451481
   1:        0x105148f7b - core::fmt::write::hb68c3045179d0cad
   2:        0x10511948e - std::io::Write::write_fmt::haf84c797e63d79f0
   3:        0x105124250 - std::panicking::default_hook::{{closure}}::he18137441e51da1f
   4:        0x105123f36 - std::panicking::default_hook::ha3efe84526f027fa
   5:        0x1051249ad - std::panicking::rust_panic_with_hook::h429a7ddefa5f0258
   6:        0x1051246d3 - std::panicking::begin_panic_handler::{{closure}}::h9b033a6b15b84a74
   7:        0x105121dc7 - std::sys_common::backtrace::__rust_end_short_backtrace::hcdd3bec8e0e38aa6
   8:        0x10512439a - _rust_begin_unwind
   9:        0x1051a9023 - core::panicking::panic_fmt::hf7d6e5207e013f69
  10:        0x1051a9115 - core::result::unwrap_failed::h95d9e30ede493473
  11:        0x10452cc53 - replibyte::main::h6b6a85e08c65cbe9
  12:        0x1045ab3f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h394012bd328f29b1
  13:        0x104472acc - std::rt::lang_start::{{closure}}::h1ea595f0f00034a0
  14:        0x105121065 - std::rt::lang_start_internal::hef78d5782ed29805
  15:        0x104532679 - _main