Giter Club home page Giter Club logo

Comments (8)

curlpipe avatar curlpipe commented on May 31, 2024 3

whoops, I know what went wrong here. I ought to test more thoroughly. I'll issue a fix soon.

from ox.

tim77 avatar tim77 commented on May 31, 2024 1

Thanks for quick fix.

from ox.

curlpipe avatar curlpipe commented on May 31, 2024 1

Yes, that is intentional. When it's ready, that won't be a problem. :)

from ox.

DeadMozay avatar DeadMozay commented on May 31, 2024

Same problem openSUSE, full backtrace

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: Message("missing field `status_left`"), position: Position { line: 0, col: 0 } }', src/config.rs:60:39
stack backtrace:
   0:     0x55f174ca08b6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4c4ddd0ddbec2967
   1:     0x55f174c27a0c - core::fmt::write::hf3eaaed4ead9a783
   2:     0x55f174c9fe66 - std::io::Write::write_fmt::h8bc2722773da3692
   3:     0x55f174c9f92a - std::panicking::default_hook::{{closure}}::hb4aa7713506bbc92
   4:     0x55f174c9f1a7 - std::panicking::rust_panic_with_hook::h3bae7bb0170c53e4
   5:     0x55f174c9ee3a - rust_begin_unwind
   6:     0x55f174c25350 - core::panicking::panic_fmt::h61b0069a9292063e
   7:     0x55f174c28a32 - core::option::expect_none_failed::h3fe325d90c0e4e54
   8:     0x55f174bacb75 - ox::editor::Editor::new::ha87ad7fb7a20327c
   9:     0x55f174bc7701 - ox::main::hf604d4af70078c34
  10:     0x55f174ca9693 - std::sys_common::backtrace::__rust_begin_short_backtrace::h233e86bd7295977c
  11:     0x55f174bd1b1a - main
  12:     0x7f930f47b152 - __libc_start_main
  13:     0x55f174b8719e - _start
  14:                0x0 - <unknown>

from ox.

curlpipe avatar curlpipe commented on May 31, 2024

I've issued a patch for this just now, you should be able to download the deb or rpm or binary or clone master and build it from there. The issue was that there were some changes to the configuration file and I didn't update the hardcoded configuration file, causing a panic when reading it. You can check out the wiki pages to see the new configuration format or you can use the defaults if you wish.

from ox.

vladimyr avatar vladimyr commented on May 31, 2024

@curlpipe I've noticed that you patched master but the 0.2.7 branch (b7f5d91) still fails. ⚠️

Running following command:

echo -n "commit: "; git rev-parse --short HEAD; target/release/ox --version; target/release/ox

results in:

commit: b7f5d91
Ox 0.2.7
panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: InvalidEscape("Unknown escape character"), position: Position { line: 171, col: 39 } }', src/config.rs:71:14

from ox.

chenrui333 avatar chenrui333 commented on May 31, 2024

just heads up, ox 0.2.7 still does not work.

from ox.

curlpipe avatar curlpipe commented on May 31, 2024

Damn. I really ought to change the configuration system, it's awful.

from ox.

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.