Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue: thread 'main' panicked at 'called Result::unwrap() on an Err value: Error { pos: 2:6, kind: #7

Open
fkgruber opened this issue Oct 3, 2018 · 2 comments

Comments

@fkgruber
Copy link

fkgruber commented Oct 3, 2018

I'm trying to convert my xlm I used in the old karabiner and I got the following error:

./karaconv -i ~/OneDrive/Documents/emacs/karabiner/private.xml -o ~/.config/karabiner/karabiner.json
thread 'main' panicked at 'called Result::unwrap() on an Err value: Error { pos: 2:6, kind: Syntax("Invalid processing instruction: <?xml") }', libcore/result.rs:945:5
note: Run with RUST_BACKTRACE=1 for a backtrace.

It is pretty simple and small. just want to prevent karabiner to use it when I'm on vnc or emacs.

Here is the file:
https://gist.github.com/fkgruber/9c39fa2e8b46bb7648a2efe74d1ff398

@a2902793
Copy link

Got the same error too, except mine ended with a "libcore/result.rs:1009:5"

@akidee
Copy link

akidee commented Mar 4, 2019

Same error here with the 0.3 binary:

$ karaconv -i ....xml -o ....json thread 'main' panicked at 'called Result::unwrap()on anErrvalue: missing fieldappendix', libcore/result.rs:945:5 note: Run with RUST_BACKTRACE=1 for a backtrace.

File: https://gist.github.com/akidee/ca0d815ac0ec2c1b852acf47c46959d2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants