We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It appears that there is a new requirement when updating a plugin that it must contain a license file with the name LICENSE with no file extension. It is not clear from the error message that a license filed called, for example license.txt, will not suffice. This is not documented in https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins/plugins.html. This problem has also been reported recently on Stackexchange (https://gis.stackexchange.com/questions/484049/cannot-find-license-in-the-plugin-package-error-when-updating-qgis-plugin/).
Page URL: https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins/plugins.html
The text was updated successfully, but these errors were encountered:
Submitted a fix with #9303
Since this comment relates to uploading/updating a plugin in the QGIS plugins directory, I have added the clarification to 16.4 Releasing your plugin, under 16.4.3.4 Plugin structure
Sorry, something went wrong.
Indeed it is about uploading to our plugins repo, but IMHO it could be nice to advise people earlier, at the beginning, to add a license file, along with other elements mentioned at https://docs.qgis.org/3.34/en/docs/pyqgis_developer_cookbook/plugins/plugins.html#set-up-plugin-file-structure
Successfully merging a pull request may close this issue.
It appears that there is a new requirement when updating a plugin that it must contain a license file with the name LICENSE with no file extension. It is not clear from the error message that a license filed called, for example license.txt, will not suffice. This is not documented in https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins/plugins.html. This problem has also been reported recently on Stackexchange (https://gis.stackexchange.com/questions/484049/cannot-find-license-in-the-plugin-package-error-when-updating-qgis-plugin/).
Page URL: https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins/plugins.html
The text was updated successfully, but these errors were encountered: