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

[BUG] opening files with special characters make Sioyek crash #1036

Open
Kim-Vallee opened this issue Apr 4, 2024 · 2 comments
Open

[BUG] opening files with special characters make Sioyek crash #1036

Kim-Vallee opened this issue Apr 4, 2024 · 2 comments

Comments

@Kim-Vallee
Copy link

It's just a small bug that makes Sioyek crash if a file with special characters is open and one tries to open another one.

The terminal shows the following error :

terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: Cannot convert character sequence: Invalid or incomplete multibyte or wide character
Aborted (core dumped)

How to reproduce:

  1. Prepare two PDFs A.pdf and B.pdf
  2. Rename A.pdf with the name í.pdf
  3. Open í.pdf
  4. Through a new call of Sioyek (not opening through the already existing window) try to open B.pdf
  5. Sioyek should have simply closed

I'm happy to provide more information if needed. Thanks for the project, it's awesome !

@ahrm
Copy link
Owner

ahrm commented Apr 4, 2024

Can't reproduce this issue on windows. What platform are you using and which sioyek version (e.g. did you download it from a package manager?)

@Kim-Vallee
Copy link
Author

I have it on Linux, AppImage version (last one I got it from the website).

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

2 participants