[Qgis-user] ERROR When trying to add postgis raster
Andreas Forø Tollefsen
andreasft at gmail.com
Thu Aug 18 02:02:52 PDT 2011
Hi all.
I try to use the add postgis raster plugin, but experiences error when
trying to start the plugin.
After I updated my Postgis Raster plugin in QGIS 1.7, I no longer can import
PostGis Raster layers. It did work previously on 1.6, but after updating to
1.7 and updating the plugin, it no longer works.
I try to run the Database -> Postgis raster -> Add a postgis raster layer,
but the below error occurs. Tried to uninstall and reinstall qgis without
success.
Any ideas on why this does not work? Something must have changed in the
latest plugin version that makes it crash on my computer.
Python error:
An error has occured while executing Python code:
Traceback (most recent call last):
File "C:/Users/andreas/.qgis/python/plugins\wktraster\wktRasterPlugin.py",
line 83, in callAddLayer
from DlgAddRasterLayer import DlgAddRasterLayer
File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python\qgis\utils.py", line 283, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/andreas/.qgis/python/plugins\wktraster\DlgAddRasterLayer.py",
line 28, in
import conn
File "C:/PROGRA~2/QUANTU~1/apps/qgis/./python\qgis\utils.py", line 283, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/andreas/.qgis/python/plugins\wktraster\conn.py", line 78
except DbError as e:
^
SyntaxError: invalid syntax
Python version:
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
QGIS version:
1.7.0-Wroclaw Wroclaw, 63ecdd7
Python path: ['C:/PROGRA~2/QUANTU~1/apps/qgis/./python',
'C:/Users/andreas/.qgis/python', 'C:/Users/andreas/.qgis/python/plugins',
'C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins', 'C:\\Program Files
(x86)\\ArcGIS\\bin', 'C:\\Program Files (x86)\\PostgreSQL\\8.4\\bin',
'C:\\Windows\\system32\\python25.zip',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\DLLs',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\bin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110818/34f5f613/attachment.html>
More information about the Qgis-user
mailing list