-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Windows: Cannot use anymore d&d in DB Manager to import a layer from Spatialite in PostGIS #24206
Comments
Author Name: Giovanni Manghi (@gioman) The same error shows when trying to import from GPKG to SL or PostGIS (and again only on Windows). |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
The error is always like "unable to load the layer LAYERNAME" Unless I'm wrong this used to work as expected in the past. The same layer once loaded in the canvas can be imported using the "import layer/file" tool in DB Manager. to This seems to happen only on Windows (both Standalone and osgeo4w) as on other platforms (Linux, macOS) seems ok. The error is always like "unable to load the layer LAYERNAME" Unless I'm wrong this used to work as expected in the past. The same layer once loaded in the canvas can be imported using the "import layer/file" tool in DB Manager. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Luigi Pirelli (@luipir)
|
Author Name: Luigi Pirelli (@luipir) setting up a win 2.18 build to debug... in the meantime verifying on linux env |
Author Name: Giovanni Manghi (@gioman) screencast attached. The same operation works on Linux.
|
Author Name: Luigi Pirelli (@luipir) Giovanni Manghi wrote:
not confirmed on OSGeo4W qgis-rel-dev (2.18.13) dragging a spatialite layer... on what disk the layer is available? a network disk? |
Author Name: Francisco Raga (@All4Gis) Confirmed using qgis-rel-dev (2.18.13-8) on windows 10. video attached. the .sqlite used : https://www.gaia-gis.it/spatialite-2.3.1/test-2.3.zip the source for the exmaple gpkg is: if load it from dbmanager:
|
Author Name: Luigi Pirelli (@luipir) From a log done by Giovanni Manghi the error is the QgsMimeDataUtils::decodeUriList method
|
Author Name: Luigi Pirelli (@luipir) the log is different in my case: due the fact that Desktop points to the host desktop in my VM |
Author Name: Richard Duivenvoorde (@rduivenvoorde) @luigi: not sure if it is related, but in current master the Drag&Drop in the browser (also) segfaults my QGIS. Test:
(not sure if it is related though)
|
Author Name: Luigi Pirelli (@luipir) Richard, I can't say, btw Browser is completely different code respect Db Manager. Try to notify this issue to Alessando Pasotti or Even Rouault Richard Duivenvoorde wrote:
|
Author Name: Luigi Pirelli (@luipir) preparing PR |
Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 16296
Affected QGIS version: 2.18.13
Redmine category:db_manager
Assignee: Luigi Pirelli
This seems to happen only on Windows (both Standalone and osgeo4w) as on other platforms (Linux, macOS) seems ok.
The error is always like
"unable to load the layer LAYERNAME"
Unless I'm wrong this used to work as expected in the past.
The same layer once loaded in the canvas can be imported using the "import layer/file" tool in DB Manager.
The text was updated successfully, but these errors were encountered: