[Qgis-user] qgis python error

Don Harter harterc2 at att.net
Thu Mar 21 09:49:42 PDT 2024


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240321/19c1dcc2/attachment.htm>


More information about the QGIS-User mailing list