-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Unable to open a project in Windows via drag&drop, when the project is stored in a GPKG file on a mapped drive or a drive that is not C: #46969
Comments
Similar issue using a physical drive on the same computer (D:). |
Interesting, so there would be something wrong with my file. Let me investigate, I'll come back to you. I wonder if it may be related to the OP's issue. |
@jfmoyen yes, I was too quick before, D&D from d: drive and the selecting the project saved in the GPKG will result in that error. |
I can confirm that it only works from C: drive. |
Is there anything we can do to get this issue solved? ... sponsoring? 🤔🙄😊 |
@cxcandid Sponsoring could be a solution indeed |
In QGIS 3.30.3 (Windows) D&D works from D: drive as well, but not from USB and not from any mapped network drive. |
In QGIS 3.36.0 project opening from GPKG via drag&drop doesn't work from D: drive anymore 🙁. C: drive is ok and UNC path is supported. |
Hi @elpaso, I've seen that you previously fixed with PR #33265 the logic for handling the project in a GeoPackage file. Anyway it seems it is still not working on Windows when the GeoPackage file is in a drive different from the I've tracked down the issue to the point that in such case (e.g. a gpkg file On the contrary, when such GeoPackage file is opened via Project->Open From->GeoPackage, then Maybe you know a simple way to fix it. |
What is the bug or the crash?
We cannot open a QGIS project in Windows via drag&drop, when the project is stored in a GPKG file on a mapped drive. QGIS complains that the URI is invalid. Everything works fine if we open the project via QGIS Browser, or move the GPKG file to a local drive. "Open From... > Geopackage" works as well. There is even no error when we open a project from a GPKG file stored in SharePoint using WebDAV.
Steps to reproduce the issue
Store a QGIS project inside a GPKG file and put that file on a mapped drive (i.e. X:).
Then try to open the project via file drag&drop.
Versions
QGIS 3.22.3 Windows
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: