question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ttk.Checkbutton OSError

See original GitHub issue

Run this code and you will find an OSError: cannot open resource

import tkinter as tk
import ttkbootstrap as ttk

root = tk.Tk()

c1 = ttk.Checkbutton(root, text='music')
c1.grid ()

root.mainloop()

N/B : If i add bootstyle=‘success-round-toggle’ it works What might be wrong? Why does it not work without a bootstyle configuration? I’m using manjaro linux incase it might be helpful.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
aatambocommented, Jan 18, 2022

Cool thanks

0reactions
israel-dryercommented, Jan 18, 2022

I was able to test this fix successfully on a Monjaro installation with version 1.5.1 using the new fallback font.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ttk.Checkbutton instate failing - python - Stack Overflow
Using ttk.Checkbutton.instate('selected') to get current state of a checkbutton gives me this error:
Read more >
[Tkinter] ttk.Checkbutton set on/off - Python Forum
Hi! I have a bunch of ttk.Checkbuttons, and i want to select and deselect all. I found a solution, but there must be...
Read more >
SteamUI-OldGlory/old_glory.py at master · Jonius7/SteamUI ...
from tkinter import ttk. from PIL import ImageTk, Image. import sys ... Custom Checkbutton layout. style=ttk.Style() ... except OSError: pass. return False.
Read more >
*Python* Use the tkinter module and the tkinter.ttk | Chegg.com
Answer to *Python* Use the tkinter module and the tkinter.ttk. ... If there is no such file, or if an OSError occurs while...
Read more >
Python Basics Tkinter TTK Checkbutton - YouTube
Learn how to create a ttk Checkbutton widget for python programmingtwitter: @python_basics#pythonprogramming #pythonbasics #pythonforever.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found