[Qgis-developer] [Qgis-user] Impossible to upload and share a plugin on QGIS plugin repository
delazj at gmail.com
Wed Jul 30 11:31:52 PDT 2014
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.
2014-07-30 18:43 GMT+02:00 Siki Zoltan <siki at 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 - __init__.py
> Try to download a plugin from plugins.qgis.org and check the structure of
> the zip file.
> I hope this helps you.
> On Wed, 30 Jul 2014, Junior Delaz wrote:
> Hi all
>> I'm tring to upload and share my first plugin at  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
>> Some help? Thanks a lot.
>>  http://plugins.qgis.org/plugins/add/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer