Hi Tyler, You need to install pyspatialite.
Find out first the version of your spatialtite and follow the instruction on how to install pyspatilate here. http://www.gaia-gis.it/spatialite-3.0.0-BETA/spatialite-cookbook/html/python.html Noli On 10/25/12, Frazier, Tyler James <[email protected]> wrote: > Hi, I was trying to load a QGIS layer into SQLite using the SQLite plugin > and get the following error -- not sure what to do? Any suggestions? > thanks! Ty > > An error has occured while executing Python code: > > Traceback (most recent call last): > File > "/Users/tyfrazier/.qgis//python/plugins/QspatiaLite/QspatiaLiteApp.py", line > 358, in importTxt > self.app=ImportTxt(self) > File > "/Users/tyfrazier/.qgis//python/plugins/QspatiaLite/importTxt/importTxt.py", > line 30, in __init__ > self.ui.charsetList_CSV.insertItems(0, self.charset) > TypeError: QComboBox.insertItems(int, QStringList): argument 2 has > unexpected type 'list' > > Python version: > 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) > [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] > > > QGIS version: > 1.8.0-Lisboa Lisboa, > > Python path: ['/Applications/QGIS.app/Contents/MacOS/../Resources/python', > '/Users/tyfrazier/.qgis//python', '/Users/tyfrazier/.qgis//python/plugins', > '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', > '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7', > '/Library/Python/2.7/site-packages/numpy-override', > '/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages', > '/Library/Frameworks/cairo.framework/Versions/1/Python/2.7', > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', > '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', > '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', > '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', > '/Library/Python/2.7/site-packages', > '/Library/Python/2.7/site-packages/PIL', > '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools', > '/Users/tyfrazier/Documents/workspace/frazier/simpop_accra/mapping/qgis_project'] > ----- > Tyler Frazier > Department of Transportation Planning and Telematics > Technical University Berlin > http://www.vsp.tu-berlin.de/ > > > > > _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
