[Qgis-user] JOIN SHAPE-DBF

marcozanieri at geosweb.it marcozanieri at geosweb.it
Sun Jan 10 01:40:33 PST 2010


Hi, i'm traing to make a join between a shape and a dbf
table using ftools (Join attributes); when i insert the dbf
table path appears the follow error by python:

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
  File "C:\Programmi\Quantum GIS
Mimas\python\plugins\fTools\tools\doJoinAttributes.py", line
145, in updateTableFields
    table = list(self.dbfreader(f))
  File "C:\Programmi\Quantum GIS
Mimas\python\plugins\fTools\tools\doJoinAttributes.py", line
327, in dbfreader
    assert terminator == '\r'
AssertionError

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

Sentiero Python:['C:/Programmi/Quantum GIS Mimas/./python',
'C:/Documents and
Settings/marco/.qgis//python/plugins\\symbology_ng',
'C:/Documents and
Settings/marco/.qgis//python/plugins\\symbology_ng',
'C:/Documents and Settings/marco/.qgis//python/plugins',
'C:/Programmi/Quantum GIS Mimas/./python/plugins',
'C:\\Programmi\\ArcGIS\\bin', 'C:\\Programmi\\Quantum GIS
Mimas\\bin\\python25.zip', 'C:\\Python25\\Lib',
'C:\\Python25\\DLLs', 'C:\\Python25\\Lib\\lib-tk',
'C:\\Programmi\\Quantum GIS Mimas', 'C:\\Programmi\\Quantum
GIS Mimas\\bin', 'C:\\Python25',
'C:\\Python25\\lib\\site-packages',
'C:\\Python25\\lib\\site-packages\\win32',
'C:\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\Programmi\\Quantum GIS
Mimas\\python\\plugins\\fTools\\tools', 'C:\\Documents and
Settings\\marco\\.qgis\\python\\plugins\\cataloginpecreate\\logic'
, 'C:\\Documents and
Settings\\marco\\.qgis\\python\\plugins\\cataloginpecreate\\gui'
, 'C:\\Documents and
Settings\\marco\\.qgis\\python\\plugins\\cataloginpequicklookorder\\logic'
, 'C:\\Documents and
Settings\\marco\\.qgis\\python\\plugins\\cataloginpequicklookorder\\gui'
, '~/.qgis/python', 'C:\\Documents and
Settings\\marco\\.qgis\\python\\plugins\\GdalTools\\tools',
'/usr/share/qgis/python/', '/usr/share/qgis/python/', '.',
'.']

When i try to make the same operation between two shapes
it's all ok...
I'm using qgis 1.3 and 1.4 dev on winxp...

Someone has an idea on how to solve the problem?
Thanks all!!
marco zanieri




More information about the Qgis-user mailing list