Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ttkcreator don’t work #598

Open
Alden68 opened this issue Sep 5, 2024 · 3 comments
Open

ttkcreator don’t work #598

Alden68 opened this issue Sep 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Alden68
Copy link

Alden68 commented Sep 5, 2024

Desktop (please complete the following information):

Ttkboostrap : 1.10.1
Windows 7

Describe the bug

PS C:\Users\alden> py -m ttkcreator
Traceback (most recent call last):
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\lib\site-packages\ttkcreator_main
.py", line 471, in
creator = ThemeCreator()
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\lib\site-packages\ttkcreator_main
.py", line 23, in i
nit

self.demo_widgets = DemoWidgets(self, self.style)
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\lib\site-packages\ttkcreator_main
.py", line 245, in __
init__
self.create_left_frame()
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\lib\site-packages\ttkcreator_main_.py", line 445, in cr
eate_left_frame
m = ttk.Meter(
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\lib\site-packages\ttkbootstrap\widgets.py", line 718, in _
init_
self._setup_widget()
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\lib\site-packages\ttkbootstrap\widgets.py", line 759, in _
setup_widget
self._draw_meter()
File "C:\Users\alden\AppData\Local\Programs\Python\Python38\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'
PS C:\Users\alden>

To Reproduce

Python -m ttkcreator

Expected behavior

ttkcreator must work

Screenshots

No response

Additional context

No response

@Alden68 Alden68 added the bug Something isn't working label Sep 5, 2024
@nebhead
Copy link

nebhead commented Sep 24, 2024

Seeing the same issue here with Python 3.12

Package Version


pillow 10.4.0
pip 24.0
pygame 2.6.0
pypng 0.20220715.0
qrcode 7.4.2
ttkbootstrap 1.10.1
typing_extensions 4.12.2

@fire-eggs
Copy link

See issue #566

@gtgor
Copy link

gtgor commented Nov 3, 2024

#566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants