Replies: 1 comment
|
@itguy217 Is it possible to retry with the latest ttkbootstrap version and check if the issue still persists? In case the issue still persists, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Here is the error message I get when trying to use meter with python 3.11:
Traceback (most recent call last):
File "C:\Users\raadmin\Documents\weather.py", line 34, in
tempMeter = tb.Meter(root, bootstyle="info",subtextstyle="danger", subtext="Current Temp")
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 718, in init
self._setup_widget()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 759, in _setup_widget
self._draw_meter()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 856, in _draw_meter
img.resize((self._metersize, self.metersize), Image.CUBIC)
AttributeError: module 'PIL.Image' has no attribute 'CUBIC'. Did you mean: 'BICUBIC'?
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\tkinter_init.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 954, in _on_theme_change
self._draw_meter()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 856, in _draw_meter
img.resize((self._metersize, self._metersize), Image.CUBIC)
^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'CUBIC'
All reactions