Bug report #8488
"Unable to load the layer <built-in method name of QgsVectorLayer object at 0x0B8EE3D8>" when d&d from browser to DB manager
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | - | ||
Category: | DB Manager | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 17253 |
Description
On Windows, not on Linux (apparently).
Associated revisions
fix #8488: use QgsMimeDataUtils to decode uris when dropping into db_manager
History
#1 Updated by Jürgen Fischer over 11 years ago
#2 Updated by Salvatore Larosa over 11 years ago
I don't know if we can fix this directly from browser code, but it look like if on Windows the shp path is wrong:
C:\\your.shp
will be converted in:
C\\:/your.shp
if it is not possible to fix from browser we can fix it using regexp module to remove the backslash.
#3 Updated by Jürgen Fischer over 11 years ago
- Status changed from Open to Closed
Fixed in changeset b9b8a03905e0a0482e05bec99d4f021b1f54644c.
#4 Updated by Salvatore Larosa over 11 years ago
better solution, but the fix seems incomplete :-)
#5 Updated by Jürgen Fischer over 11 years ago
Salvatore Larosa wrote:
better solution, but the fix seems incomplete :-)
Why? QgsMimeDataUtils does the colon escaping...