[Qgis-user] Vector table join error

John C. Tull jctull at gmail.com
Tue Jan 5 10:23:49 PST 2010


Hi Carson,

I tried to do a dbf file join a moment ago and ran into an error. Perhaps this is from an unallowed character, but I'm not sure. Here is the error dialog output. Maybe you have a suggestion or workaround.

Thanks,
John

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/Applications/Qgis.app/Contents/Resources/python/plugins/fTools/tools/doJoinAttributes.py", line 137, in inFile
    self.updateTableFields()
  File "/Applications/Qgis.app/Contents/Resources/python/plugins/fTools/tools/doJoinAttributes.py", line 145, in updateTableFields
    table = list(self.dbfreader(f))
  File "/Applications/Qgis.app/Contents/Resources/python/plugins/fTools/tools/doJoinAttributes.py", line 349, in dbfreader
    y, m, d = int(value[:4]), int(value[4:6]), int(value[6:8])
ValueError: invalid literal for int() with base 10: ''

Python version:
2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)]

Python path:['/Applications/Qgis-1.3.0.app/Contents/MacOS/../Resources/python', '/Users/jctull/.qgis//python/plugins', '/Applications/Qgis-1.3.0.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/3/Python', '/Library/Frameworks/Mapnik.framework/Versions/Current/Python/System/2.6/dist-packages', '/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages', '/Library/Python/2.6/site-packages/pyparsing-1.5.2-py2.6.egg', '/Library/Python/2.6/site-packages/scipy-0.7.1-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/rpy2-2.0.8-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg', '/Library/Python/2.6/site-packages/macholib-1.2.1-py2.6.egg', '/Library/Python/2.6/site-packages/modulegraph-0.7.3-py2.6.egg', '/Library/Python/2.6/site-packages/OWSLib-0.3.1-py2.6.egg', '/Library/Python/2.6/site-packages/lxml-2.2.4-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/nose-0.11.1-py2.6.egg', '/Library/Python/2.6/site-packages/pyamg-1.0.0-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/numpy-1.3.0-py2.6-macosx-10.6-universal.egg', '/Library/Frameworks/cairo.framework/Versions/1/Python', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload', '/Library/Python/2.6/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode', '/Applications/Qgis-1.3.0.app/Contents/Resources/python/plugins/fTools/tools', '/Users/jctull/.qgis/python/plugins/GdalTools/tools']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100105/f2a9afc8/attachment.html>


More information about the Qgis-user mailing list