It works now! Thanks, Richard.
-Arif On Sun, Dec 18, 2011 at 12:49 AM, Richard Duivenvoorde <[email protected]>wrote: > The next version will not show you this python error anymore, but a > message that you have to install the python libs xlrd and xlwr... > > On Ubuntu > > just do > > sudo apt-get install xlwt xlrd > > this will install the nessecary python libraries which are needed to do > the excel reading and writing > > (and you are invited to read the help from the xytools context menu :-) ) > > Regards, > > Richard > > > On 2011-12-17 17:55, Arif Arham wrote: > > I work on Ubuntu 11.10, QGIS 1.7.3 > > > > > > ----start------- > > > > > > An error has occured while executing Python code: > > > > Traceback (most recent call last): > > File "/home/areev/.qgis/python/plugins/xytools/xytools.py", line 188, > > in excelSave > > from providers import excel > > File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 283, in > > _import > > mod = _builtin_import(name, globals, locals, fromlist, level) > > File "/home/areev/.qgis/python/plugins/xytools/providers/excel.py", > > line 1, in > > import xlwt > > File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 283, in > > _import > > mod = _builtin_import(name, globals, locals, fromlist, level) > > ImportError: No module named xlwt > > > > Python version: > > 2.7.2+ (default, Oct 4 2011, 20:29:37) > > [GCC 4.6.1] > > > > > > QGIS version: > > 1.7.3-Wroclaw Wroclaw, exported > > > > Python path: ['/usr/share/qgis/python', '/home/areev/.qgis/python', > > '/home/areev/.qgis/python/plugins', '/usr/share/qgis/python/plugins', > > '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', > > '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', > > '/usr/lib/python2.7/lib-dynload', > > '/usr/local/lib/python2.7/dist-packages', > > '/usr/lib/python2.7/dist-packages', > > '/usr/lib/python2.7/dist-packages/PIL', > > '/usr/lib/python2.7/dist-packages/gst-0.10', > > '/usr/lib/python2.7/dist-packages/gtk-2.0', > > '/usr/lib/pymodules/python2.7', > > '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', > > '/usr/lib/python2.7/dist-packages/ubuntuone-client', > > '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', > > '/usr/lib/python2.7/dist-packages/ubuntuone-couch', > > '/usr/lib/python2.7/dist-packages/ubuntuone-installer', > > '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', > > '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', > > '/home/areev/.qgis/python/plugins/openlayersov/logic', > > '/home/areev/.qgis/python/plugins/openlayersov/gui', > > '/usr/share/qgis/python/plugins/fTools/tools'] > > > > > > ------end----------- > > > > > > On Sat, Dec 17, 2011 at 3:14 PM, Richard Duivenvoorde > > <[email protected] <mailto:[email protected]>> wrote: > > > > On 2011-12-17 00:57, Arif Arham wrote: > > > I got a problem when executing "Save attribute table as Excel > file". > > > > > > An error has occured while executing Python code: > > > > > > ..... > > > > > > In fact, several plugins end with this kind of errors. Is it > python's > > > bug or plugin's bug? > > > > can you give more info? In this mail I cannot see the actual message > > also not here: > > > http://osgeo-org.1803224.n2.nabble.com/new-xytools-plugin-now-open-and-save-simple-Excel-files-td7098439.html#a7101831 > > > > You can sent me a screendump or copy the full message from the error > > window. > > Otherwise, let me know which OS and Qgis version you use, and/or > sent me > > the data that is throwing the error. > > > > Regards, > > > > Richard > > > > > >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
