[Qgis-user] XY Tools error

Ivan Santiago isantiago at ogp.pr.gov
Thu Sep 11 14:15:19 PDT 2014


Hello all:

I'm trying to use the XY tools but it bails me out when trying to load the table after choosing x - y columns.
Any help will be appreciated.

Here is the error message:
An error has occurred while executing Python code:
Traceback (most recent call last):
  File "C:/Users/isantiago/.qgis2/python/plugins\xytools\xytools.py", line 159, in excelOpen
    self.loadSheetAsLayer(provider)
  File "C:/Users/isantiago/.qgis2/python/plugins\xytools\xytools.py", line 206, in loadSheetAsLayer
    x=row[self.layerInfo[self.layer].xIdx]
KeyError: None

Python version:
2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]


QGIS version:
2.4.0-Chugiak Chugiak, 8fdd08a

Python path: ['C:/PROGRA~2/QGISCH~1/apps/qgis/./python/plugins\\processing', 'C:/PROGRA~2/QGISCH~1/apps/qgis/./python', u'C:/Users/isantiago/.qgis2/python', u'C:/Users/isantiago/.qgis2/python/plugins', 'C:/PROGRA~2/QGISCH~1/apps/qgis/./python/plugins', 'C:\\Program Files (x86)\\ArcGIS\\bin', 'C:\\PROGRA~2\\QGISCH~1\\bin\\python27.zip', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~2\\QGISCH~1\\bin', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\GDAL-1.11.0-py2.7-win32.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win32.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\python_dateutil-2.2-py2.7.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\pytz-2014.2-py2.7.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win32.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\six-1.6.1-py2.7.egg', 'C:\\PROGRA~2\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\PROGRA~2\\QGISCH~1\\apps\\qgis\\python\\plugins\\fTools\\tools']



---------------------------
Iván Santiago
GIS Specialist
Information Technologies
Office of Management and Budget
787.725.9420 x 2378
Calle Cruz 254
PO Box 9023228
San Juan, PR 00902-3228
http://gis.pr.gov<http://gis.pr.gov/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140911/9f35a46c/attachment.html>


More information about the Qgis-user mailing list