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

Linux: file connection disappears due to lowercase #3038

Open
jkiviluo opened this issue Jan 31, 2025 · 2 comments
Open

Linux: file connection disappears due to lowercase #3038

jkiviluo opened this issue Jan 31, 2025 · 2 comments

Comments

@jkiviluo
Copy link
Member

Toolbox likes to change things in project.json to lowercase, but Linux is case-sensitive. So, I lose file connection when they have capital letters (at least in Data store properties, but probably elsewhere too).

@ptsavol
Copy link
Member

ptsavol commented Jan 31, 2025

Looks like we use os.path.normcase to make urls (sqlite:/// etc.) into lower case even if the sqlite file name or path contains capital letters. I see how that could be a problem on Linux but it seems that it's intentional because we even have tests for this. @soininen do you know what's going on here?

@soininen
Copy link
Contributor

I don't remember. normcase() makes sense on Windows and MacOS, of course but I too can see it will cause problems on Linux.

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