Hello Iván, I had the same problem this morning.
After trying around, it works if there is now other layer loaded (an empty qgis project) and the CRS of the qgis-project is set to the CRS of the x/y-data of the table. (The CRS of the loaded data will be set to the CRS of the project.) Greetings and good luck Asmus Harder Von: [email protected] [mailto:[email protected]] Im Auftrag von Ivan Santiago Gesendet: Donnerstag, 11. September 2014 23:15 An: [email protected] Betreff: [Qgis-user] XY Tools error 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<file:///\\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/> Ihr LEHMANN+PARTNER Team als Teil der VECTRA-Gruppe.<http://groupvectra.com/die-gruppe?L=7> Unsere Erfassungstechnologie in der ARD-Sendung „[W] wie Wissen“: Hightech gegen Straßenschäden: http://www.daserste.de/information/wissen-kultur/w-wie-wissen/sendung/schlaglochdetektor-100.html Besuchen Sie uns - wir stellen aus Intergeo am 7. - 9. Oktober 2014 in Berlin<http://www.intergeo.de> [http://www.lehmann-partner.de/logo-vectra-germany.png]<http://www.lehmann-partner.de> LEHMANN + PARTNER GmbH, Schwerborner Straße 1, D-99086 Erfurt Telefon: +49 (0) 361 51804 300 Fax: +49 (0) 361 51804 399 E-Mail: [email protected]<mailto:[email protected]> Internet: http://www.die-strassengutachter.de Geschäftsführer: Dr. Dirk Ebersbach, Jens Morawietz Amtsgericht: Jena HRB 100220 USt-IdNr.: DE 160 115 425
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
