[Qgis-user] qgis python error

Etienne Trimaille etienne.trimaille at gmail.com
Thu Mar 21 10:47:33 PDT 2024


Hi,

You have installed the plugin "Value tool", you can remove it.
You should report this issue to the plugin author, there is a bug tracker :
https://github.com/jorgealmerio/valuetool

You are using QGIS 3.22.4, you should try to upgrade as well, it's old.

Le jeu. 21 mars 2024 à 17:49, Don Harter via QGIS-User <
qgis-user at lists.osgeo.org> a écrit :

> I am getting a python error now.  Does anyone know why I am getting this
> now when earlier I wasn't?
>
> An error has occurred while executing Python code:
> ValueError: Unknown format code 'f' for object of type 'str'
>
> Traceback (most recent call last):
>   File "/home/drh/.local/share/QGIS/QGIS3/profiles/default/python/plugins/valuetool/valuewidget.py", line 478, in printValue
>     self.labelStatus.setText(self.tr('Coordinate:') + strFmt.format(position.x(), position.y(),bandvalue))
> ValueError: Unknown format code 'f' for object of type 'str'
>
> Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] QGIS
> version: 3.22.4-Białowieża Białowieża, exported
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240321/0c88ad7d/attachment.htm>


More information about the QGIS-User mailing list