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/
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to