Trying to Open Folder Causes Error
Open
Nobody has claimed this yet.
A-unicode
C-bug
- Dominant language
- Rust
- Stars
- 38.9k
- Forks
- 1.3k
- Avg merge
- 19m
- Merged PRs (30d)
- 1
Description
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error("path contains invalid UTF-8 characters", line: 0, column: 0)', lapce-proxy/src/dispatch.rs:710:57
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
The path to my folder is very normal, ASCII characters only.
"/home/myusername/Repos/myproject"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at lapce-proxy/src/dispatch.rs:710 and reproduce the folder-opening failure using the reported path. Run with RUST_BACKTRACE=full for more context; done means opening an ASCII-only folder no longer panics on an invalid UTF-8 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100