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

Neutralino.storage don't work when the app is launched in a directory path with special characters on Windows #1207

Open
Eliastik opened this issue Feb 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Eliastik
Copy link

Eliastik commented Feb 24, 2024

Describe the bug
When using Neutralino.storage API on Windows and launching the app in a directory path with special characters, an exception is thrown when reading data.

To Reproduce
Steps to reproduce the behavior:

  1. Create an app writing then reading storage data using the Neutralino API. For example:
await Neutralino.storage.setData("test", "test");
await Neutralino.storage.getData("test");
  1. Compile the app with neu build
  2. Create a directory with a special character (for example: "Téléchargements")
  3. Move the app exe file and resource.neu file into this directory
  4. Run the app

Expected behavior
The API is working as expected, not throwing an exception.

Actual behavior
Got an exception with code "NE_ST_NOSTKEX" and "Unable to find storage key" when reading the data.
Also a directory with wrong name is created ("Téléchargement").

Specifications

  • OS: Windows 10/11 x64
  • Neutralinojs version: v5.0.0
  • Neutralinojs client library version: v5.0.0
  • Neutralinojs CLI version: v2.1.0
@Eliastik Eliastik added the bug Something isn't working label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant