Hi all,<div><br></div><div>I know this issue has already been posted but I cant figure out a solution.</div><div>I am trying to load rasters in postgis, through the plugin, and i get this error:</div><div><br></div><div>--------</div>
<div><span style=" color:#ff0000;">Errore durante l'esecuzione di codice Python:</span><br><br>Traceback (most recent call last):<br> File "C:/Documents and Settings/root/.qgis/python/plugins\wktraster\wktRaster.py", line 69, in callLoader<br>
from DlgRasterLoader import DlgRasterLoader<br> File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line 283, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "C:/Documents and Settings/root/.qgis/python/plugins\wktraster\DlgRasterLoader.py", line 24, in <br>
import conn, os, sys, platform<br> File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line 283, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "C:/Documents and Settings/root/.qgis/python/plugins\wktraster\conn.py", line 52<br>
except DbError as e:<br> ^<br>SyntaxError: invalid syntax<br><br>Versione Python:<br>2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]<br><br><br>Versione di QGIS:<br>1.7.0-Wroclaw Wroclaw, 63ecdd7<br>
<br>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']<br clear="all">
---------</div><div><br></div><div>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.</div><div><br></div><div>Please ask for more info, could anyone help me out?</div>
<div>Thanks in advance,</div><div><br></div><div><br></div><div>Marco</div><div><div><br></div></div><div><br></div><div><br></div><div><br>-- <br>Dott. Marco Puppin MSc Geology<br>via Silos, 2<br>30027 - San Dona` di Piave<br>
Venezia (Italia)<br>T: +39 0421 336586<br>C: +39 346 5799566<br>
</div>