Closed AllanDaemon closed 2 months ago
Full backtrace:
thread 'main' panicked at src/providers.rs:45:41:
called `Result::unwrap()` on an `Err` value: Parse(ParseError { line: 175, col: 1, msg: "expecting \"[Some('\\'')]\" but found EOF." })
stack backtrace:
0: 0x5a38d2079c15 - std::backtrace_rs::backtrace::libunwind::trace::h23054e327d0d4b55
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
1: 0x5a38d2079c15 - std::backtrace_rs::backtrace::trace_unsynchronized::h0cc587407d7f7f64
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x5a38d2079c15 - std::sys_common::backtrace::_print_fmt::h4feeb59774730d6b
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:68:5
3: 0x5a38d2079c15 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd736fd5964392270
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:44:22
4: 0x5a38d2097e4b - core::fmt::rt::Argument::fmt::h105051d8ea1ade1e
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/fmt/rt.rs:165:63
5: 0x5a38d2097e4b - core::fmt::write::hc6043626647b98ea
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/fmt/mod.rs:1168:21
6: 0x5a38d20778bf - std::io::Write::write_fmt::h0d24b3e0473045db
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/io/mod.rs:1835:15
7: 0x5a38d20799ee - std::sys_common::backtrace::_print::h62df6fc36dcebfc8
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:47:5
8: 0x5a38d20799ee - std::sys_common::backtrace::print::h45eb8174d25a1e76
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:34:9
9: 0x5a38d207ad89 - std::panicking::default_hook::{{closure}}::haf3f0170eb4f3b53
10: 0x5a38d207ab2a - std::panicking::default_hook::hb5d3b27aa9f6dcda
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:298:9
11: 0x5a38d207b223 - std::panicking::rust_panic_with_hook::h6b49d59f86ee588c
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:795:13
12: 0x5a38d207b104 - std::panicking::begin_panic_handler::{{closure}}::hd4c2f7ed79b82b70
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:664:13
13: 0x5a38d207a0d9 - std::sys_common::backtrace::__rust_end_short_backtrace::h2946d6d32d7ea1ad
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:171:18
14: 0x5a38d207ae37 - rust_begin_unwind
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:652:5
15: 0x5a38d1f181f3 - core::panicking::panic_fmt::ha02418e5cd774672
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/panicking.rs:72:14
16: 0x5a38d1f186e6 - core::result::unwrap_failed::h55f86ada3ace5ed2
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/result.rs:1679:5
17: 0x5a38d1f1c657 - core::result::Result<T,E>::unwrap::hf3c7dafb80467330
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/result.rs:1102:23
18: 0x5a38d1f1c657 - uchoose::providers::get_app_desktop_ini::h9b976312d0e94d77
at /data/code/uchoose/uchoose-rs/src/providers.rs:45:15
19: 0x5a38d1f1cb3e - uchoose::providers::get_browser_desktop_list::h4ff40150e591bba2
at /data/code/uchoose/uchoose-rs/src/providers.rs:62:9
20: 0x5a38d1f1cbc6 - uchoose::providers::main_dev::h1a1aec87c9607265
at /data/code/uchoose/uchoose-rs/src/providers.rs:69:5
21: 0x5a38d1f25e87 - uchoose::main::hd763ea5db1c9e8f3
at /data/code/uchoose/uchoose-rs/src/main.rs:57:5
22: 0x5a38d1f2a3cb - core::ops::function::FnOnce::call_once::h71c6f6fe816cdc9f
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/ops/function.rs:250:5
23: 0x5a38d1f2355e - std::sys_common::backtrace::__rust_begin_short_backtrace::h448cac471570a7fc
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/sys_common/backtrace.rs:155:18
24: 0x5a38d1f1bfc1 - std::rt::lang_start::{{closure}}::hefa4fe1f1c5cc290
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/rt.rs:159:18
25: 0x5a38d20739ed - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hf57beef1b8c334ce
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/core/src/ops/function.rs:284:13
26: 0x5a38d20739ed - std::panicking::try::do_call::h65791b6ab5d9b39f
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:559:40
27: 0x5a38d20739ed - std::panicking::try::h5a3dd25e8a379a23
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:523:19
28: 0x5a38d20739ed - std::panic::catch_unwind::he2ce8403bab77de2
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panic.rs:149:14
29: 0x5a38d20739ed - std::rt::lang_start_internal::{{closure}}::h0b55d0da19178545
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/rt.rs:141:48
30: 0x5a38d20739ed - std::panicking::try::do_call::h33cbeb674c7644e0
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:559:40
31: 0x5a38d20739ed - std::panicking::try::h530c58b4c9daadba
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panicking.rs:523:19
32: 0x5a38d20739ed - std::panic::catch_unwind::h92e02677901e11e4
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/panic.rs:149:14
33: 0x5a38d20739ed - std::rt::lang_start_internal::hcee5ed89fc25829a
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/rt.rs:141:20
34: 0x5a38d1f1bf9a - std::rt::lang_start::h89029f16c6892707
at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/std/src/rt.rs:158:17
35: 0x5a38d1f278be - main
36: 0x7cbcfa62a1ca - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
37: 0x7cbcfa62a28b - __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
38: 0x5a38d1f18b65 - _start
39: 0x0 - <unknown>
Comment[af]='n Leeser en data onttrekker vir TNEF lêers
I guess the '
in this line was the cause. '
is the start mark of a quoted string.
You may try to set enable_quote
to false.
As I don't use the package with this file, I just uninstalled it, and it solved for now for me.
But if I have this issue again, I'll try the recommended.
I opened the issue in the hope of helping the package. Feel free to close it if want it.
When trying to parse XDG Ini files in Ubuntu, a certain file that seems to comply with INI fails to parse with a mysterious error.
For parsing, I'm using the code:
From the 457
.desktop
files provided by Debian packages installed in my system, all of them parses successfully, but the following one fails to parse with the following error:The file is
/usr/share/applications/org.kde.ktnef.desktop
from the package https://packages.ubuntu.com/noble/ktnef:The file contains 174 lines, with the last one being an empty line. The parsing error occurs on line 175. I don't know if that helps.