BuntingLabs / buntinglabs-qgis-plugin

QGIS plugin to digitize lines and polygons from raster maps using AI
https://buntinglabs.com
GNU General Public License v2.0
23 stars 2 forks source link

Error after installation #3

Closed jducnuigeen closed 4 months ago

jducnuigeen commented 5 months ago

On Ubuntu 22.04, and QGIS 3.28.15, I get an error when pressing the icon to start using the tool:

2024-02-07T15:21:36 WARNING Traceback (most recent call last): File "/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins/buntinglabs-qgis-plugin/plugin.py", line 503, in toolbarClick self.openTOSDialog() File "/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins/buntinglabs-qgis-plugin/plugin.py", line 147, in openTOSDialog layout.addWidget(OnboardingHeaderWidget([ File "/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins/buntinglabs-qgis-plugin/onboarding_widget.py", line 22, in init step_widget = StepWidget(step, i == active_step) File "/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins/buntinglabs-qgis-plugin/onboarding_widget.py", line 44, in init font.setPointSize(font.pointSize() * 1.25) # Upgrade font size by 1.4x TypeError: setPointSize(self, int): argument 1 has unexpected type 'float'

I was never asked to insert my secret setup code from my email registration, so maybe this is related?

brendanashworth commented 5 months ago

Thanks @jducnuigeen , this is definitely not your fault, I think I'm using the wrong function to set the font size (and it happened to error on yours). I should be using setPointSizeF

Let me fix this and make a new release — will ping you once that's done!

johnwbryant commented 4 months ago

I'm getting the same error as Jan, also on Ubuntu 22.04 (but on QGIS 3.34.3).

Thanks!

brendanashworth commented 4 months ago

Thanks @johnwbryant and @jducnuigeen , I just uploaded 1.8 to the QGIS plugin repository which should fix this issue, hoping it gets approved in ~12 hours!

johnwbryant commented 4 months ago

Thank you!

brendanashworth commented 4 months ago

1.8 is now available on the QGIS plugin repository, let me know if this still pops up!