Comments (8)
whoops, I know what went wrong here. I ought to test more thoroughly. I'll issue a fix soon.
from ox.
Thanks for quick fix.
from ox.
Yes, that is intentional. When it's ready, that won't be a problem. :)
from ox.
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.
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.
@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.
just heads up, ox 0.2.7 still does not work.
from ox.
Damn. I really ought to change the configuration system, it's awful.
from ox.
Related Issues (20)
- Index out of bounds error HOT 5
- AUR formula out of date
- Page Up/ Page Down don't move to the start/end of the document as stated in the README HOT 2
- Why the unnecessary wrapping of Option around some return types?
- Why the unnecessary wrapping of Option around some return types? HOT 1
- It can't recognize AltGr+Key (Windows 10, x64) HOT 1
- Please update the brew formulae HOT 1
- GLIBC_2.32 missing HOT 3
- Built-in help inaccessible with non-US keyboard
- Backspace and Delete not working HOT 2
- Outputing editors state for discord rpc HOT 2
- YAML syntax highlighting support HOT 1
- Some questions regarding this project? HOT 6
- To Tab, or not to Tab?
- Keep cursor's position
- Windows support? HOT 3
- Path completions/suggestions when opening files HOT 1
- Default theme HOT 2
- [Windows] The system cannot find the path specified. HOT 3
- Homebrew incorrect version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ox.