Support #10324
Error uploading plugin to repository
Status: | Closed | Start date: | 2014-05-22 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Alessandro Pasotti | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Pull Request or Patch supplied: | No | Tag: |
Description
I'm trying to upload my first plugin to: http://plugins.qgis.org/plugins/add/
I keep getting the following error:
There were errors reading plugin package (please check also your plugin's metadata). Package name must start with an ASCII letter and can contain ASCII letters, digits and the signs '-' and '_'.
My package name is "DEMTools" and I've checked the plugin's metadata file, but everything looks to be in order. This error message doesn't give me a lot to go on and I've never uploaded a plugin before. I doubt it is a bug with the uploader, but rather some error I've made. Are there some common issues I should look for or is there some detailed guide to creating a plugin package for upload?
I've attached the plugin package zip file that is causing the error. Any help is greatly appreciated.
History
#1 Updated by Alessandro Pasotti over 10 years ago
- Assignee set to Alessandro Pasotti
- Status changed from Open to Closed
Please see here:
http://docs.qgis.org/2.2/en/docs/pyqgis_developer_cookbook/releasing.html#plugin-structure
Your zipfile contains a top folder named "Qgis repo" instead of the plugin name (DEMTool).
I agree that the error message is misleading, I will change it in
The name of the top level directory inside the zip package must start with an ASCII letter and can only contain ASCII letters, digits and the signs '-' and '_'.