3liz / qgis-plugin-manager

CLI tools for installing QGIS Plugins
GNU General Public License v3.0
14 stars 2 forks source link

Message: it has a token [VERSION] but no QGIS version #57

Closed H4M1O closed 1 year ago

H4M1O commented 1 year ago

Hi, I am running the qgis_plugin_manager version 1.6.0 but I have a weird warning about the VERSION as you can see below:

root@286b5365cfe0:/opt/qgis-server/plugins# qgis-plugin-manager list
QGIS version : 3.22.16
List all plugins in the current working directory : /opt/qgis-server/plugins

-----------------------------------------------------------------------------------------------------------------------------------------------------
|  Folder ⬇        |  Name            |  Version  |  Flags            |  QGIS min  |  QGIS max  |  Author  |  Folder rights  |  Action ⚠                     |
-----------------------------------------------------------------------------------------------------------------------------------------------------
|atlasprint        |atlasprint        |master     |Server             |3.10        |            |3Liz      |www-data : 0o777 |Not a semantic version|
|wfsOutputExtension|wfsOutputExtension|v1.5.0     |Server,Experimental|3.0         |            |3Liz      |www-data : 0o777 |                      |
-----------------------------------------------------------------------------------------------------------------------------------------------------

root@286b5365cfe0:/opt/qgis-server/plugins# qgis-plugin-manager remote
Skipping line 'https://plugins.qgis.org/plugins/plugins.xml?qgis=[VERSION]' because it has a token [VERSION] but no QGIS version could be detected.
List of remotes :

No remote configured

root@286b5365cfe0:/opt/qgis-server/plugins# qgis-plugin-manager -v
1.6.0

I am using Ubuntu 20.04 LTS, and I installed QGIS using the commands:

apt-key adv --keyserver keyserver.ubuntu.com --recv-key 2D7E3441A707FDB3E7059441D155B8E6A419C5BE
apt-add-repository "https://qgis.org/ubuntu-ltr main"
apt-get install qgis-server qgis-providers python3-qgis python3-qgis-common qgis-providers-common qgis-provider-grass -y

It works if I am searching for a plugin using the option search or install.

root@286b5365cfe0:/opt/qgis-server/plugins# qgis-plugin-manager search dataviz
Skipping line 'https://plugins.qgis.org/plugins/plugins.xml?qgis=[VERSION]' because it has a token [VERSION] but no QGIS version could be detected.
Data Plotly
QSoccer
root@286b5365cfe0:/opt/qgis-server/plugins# qgis-plugin-manager install QSoccer
QGIS version : 3.22.16
Installation QSoccer latest
        Ok qsoccer.1.1.1.zip
Installed with user 'root'
Please check file permissions and owner according to the user running QGIS Server.
Tip : Do not forget to restart QGIS Server to reload plugins 😎

Do you think this is an error I should be worried about or something I can ignore? Thanks

Gustry commented 1 year ago

Do you think this is an error I should be worried about or something I can ignore?

Something I should fix :D

Done

I will release the version in few minutes

Gustry commented 1 year ago

Version 1.6.1 which has been released should correct the bug.

Thanks for the bug report