[Qgis-user] Minor Erroe
Pratik Mehta
pratik_s_mehta at yahoo.co.in
Mon Apr 5 09:47:45 PDT 2010
Hello,
I have created plugins with python. And while importing files i was getting one error in "from qgis.core import *" and same way for from qgis.gui import *.. The error was No Module named qgis.core and qgis.gui
So i put those two lines in comment. And i was getting icon on toolbar and few plugins were working too.. like for loading vector and raster layers.
But now for geoprocessing tools, i am again facing same problem. Now error comes like..
NameError: Global name 'Qgis' not defined
I guess this error is due to include files which i put in comments..how to solve precious error? I am using QGIS 1.0.2 "Kore" on windows.
And another thing is to load vector layer we need 3 arguments so how many arguments needed for Raster? I was facing the Error that Isufficient number of arguments
Thank you.
Cheers
Pratik Mehta
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100405/b4895ace/attachment.html>
More information about the Qgis-user
mailing list