planetfederal / qgis-suite-plugin

GNU General Public License v2.0
25 stars 17 forks source link

Two exceptions when trying to drag a PostGIS layer #50

Closed vdeparday closed 10 years ago

vdeparday commented 10 years ago

Although issue #37 has been closed I am still getting two errors. Configuration (from KyngChaos MacOS X build) : QGIS version 2.0.1-Dufour QGIS code revision f738351 Compiled against Qt 4.8.5 Running against Qt 4.8.5 Compiled against GDAL/OGR 1.10.1 Running against GDAL/OGR 1.10.0 Compiled against GEOS 3.4.2-CAPI-1.8.2 Running against GEOS 3.4.1-CAPI-1.8.0 r3892 PostgreSQL Client Version 9.2.4 SpatiaLite Version 4.1.1 QWT Version 6.0.2 PROJ.4 Version 480 QScintilla2 Version 2.7.2

The first is the same one as in #37. The second one is a new one:

An error has occured while executing Python code:

Traceback (most recent call last): File "/Users/viv/.qgis2/python/plugins/opengeo/gui/explorertree.py", line 153, in mimeData uri = uri_utils.tableMimeUri(table) File "/Users/viv/.qgis2/python/plugins/opengeo/qgis/uri.py", line 48, in tableMimeUri if isinstance(table, Table): NameError: global name 'Table' is not defined

Python version: 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]

volaya commented 10 years ago

fixed the second error. Cannot reproduce the first one, which might be a OSX problem. I leave the issue open until we find out what's going on