[Qgis-developer] Load raster in Postgis

Marco Puppin puppingeo at gmail.com
Wed Jun 29 05:53:40 EDT 2011


Hi all,

I know this issue has already been posted but I cant figure out a solution.
I am trying to load rasters in postgis, through the plugin, and i get this
error:

--------
Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
  File "C:/Documents and
Settings/root/.qgis/python/plugins\wktraster\wktRaster.py", line 69, in
callLoader
    from DlgRasterLoader import DlgRasterLoader
  File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line 283, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Documents and
Settings/root/.qgis/python/plugins\wktraster\DlgRasterLoader.py", line 24,
in
    import conn, os, sys, platform
  File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line 283, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Documents and
Settings/root/.qgis/python/plugins\wktraster\conn.py", line 52
    except DbError as e:
                    ^
SyntaxError: invalid syntax

Versione Python:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]


Versione di QGIS:
1.7.0-Wroclaw Wroclaw, 63ecdd7

Percorso Python: ['C:\\Documents and
Settings\\root\\.qgis\\python\\plugins\\elevation',
'C:/PROGRA~1/QUANTU~1/apps/qgis/./python', 'C:/Documents and
Settings/root/.qgis/python', 'C:/Documents and
Settings/root/.qgis/python/plugins',
'C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins',
'C:\\PROGRA~1\\QUANTU~1\\bin\\python25.zip',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\DLLs',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\\bin',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools',
'P:/Common/ufficio tecnico/ECOGIS']
---------

i am in win XP using GDAL 1.8.0. and the Postgis db is stored in a dedicated
server, not in my local machine.

Please ask for more info, could anyone help me out?
Thanks in advance,


Marco




-- 
Dott. Marco Puppin MSc Geology
via Silos, 2
30027 - San Dona` di Piave
Venezia (Italia)
T: +39 0421 336586
C: +39 346 5799566
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110629/b3b9a8ea/attachment.html


More information about the Qgis-developer mailing list