Thanks a lot. You are right!!! I was packaging the contents of my plugin folder instead of packaging the whole main folder. It's ok now. all is uploaded.
Thank you! 2014-07-30 18:43 GMT+02:00 Siki Zoltan <s...@agt.bme.hu>: > Dear Junior, > > in the zip file you have to use the same directory structure as in the > .qgis2/python/plugins directory. If the name of your plugin is "xxx" then > in the zip there sould be a xxx directory which contains the __init__.py > and metadata.txt and the main python file xxx.py, you can use other > subdirectories too. > xxx.zip: > xxx - __init__.py > metadata.txt > xxx.py > ... > help > ... > > Try to download a plugin from plugins.qgis.org and check the structure of > the zip file. > I hope this helps you. > > Regards, > Zoltan > > > > On Wed, 30 Jul 2014, Junior Delaz wrote: > > Hi all >> I'm tring to upload and share my first plugin at [1] but encountered an >> error I don't really understand. It says: >> *There were errors reading plugin package (please check also your plugin's >> >> metadata). Cannot find __init__.py or metadata.txt in the compressed >> package: this does not seems a valid plugin (I searched for >> help/__init__.py and help/metadata.txt)* >> >> >> I have __init__.py and metadata.txt files but they are in the main folder >> (I use Plugin Builder plugin) and none of the plugin folders I looked at >> has such files in help folder. >> So, why is it looking for these files in the help folder? >> What did I make wrong? Is it a bug? and if not, what should contain these >> files? >> >> Some help? Thanks a lot. >> >> [1] http://plugins.qgis.org/plugins/add/ >> >>
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer