Skip to content

ttkcreator don’t work #598

Open
Open
@Alden68

Description

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions