← Back to issue list

Trouble allocating fonts in a Tcl/Tk (Python 3.5) based snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1709060
Type
issue
State
open
Author
~kushalchauhan98
Labels
python python3 tcl tkinter
Created
Updated
Closed

Current evaluation

Tcl/Tk font allocation error when running a Python 3.5 tkinter snap built with snapcraft 2.33. No maintainer interaction; issue is 9 years old with zero comments.

Suggested action: close stale

Reason: The issue is 3311 days old with zero comments and no maintainer interaction, and references snapcraft 2.33 which is no longer supported. The Tcl/Tk packaging in snapcraft has evolved significantly since then, making the original report no longer applicable to current versions.

Impact: 20 Quick Win: 12.0 Staleness: 95 Complexity: 40 Confidence: 75 Support Request: 55

Issue body

snapcraft version - 2.33 snap - https://github.com/kushalchauhan98/minimal-snip I am trying to snap a single python3 script. The code goes something like this: http://paste.ubuntu.com/25262415/ The python script (.py file) runs just fine when executed normally. But when I prime the snap and try it, I get this error on run: http://paste.ubuntu.com/25262438/ The font I am using in my app is the default one offered by tkinter. I haven't chosen any font explicitly to be used in my program. Initially, I was getting a error which I solved by referring to this question on AskUbuntu (https://askubuntu.com/questions/815511/setting-a-tcl-tk-library-path-inside-a-snap-package). But now, I am getting this error, which seems to be a snapcraft bug.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 20
Quick Win: 12.0
Staleness: 95
Complexity: 40
Confidence: 75
Support Request: 55
close stale Tcl/Tk font allocation error when running a Python 3.5 tkinter snap built with snapcraft 2.33. No maintainer interaction; issue is 9 years old with zero comments.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 92
Support Request: 75
close stale Packaging a Python 3.5 Tkinter app in snapcraft 2.33 fails with a Tcl/Tk font allocation error. The report is over 8 years old, uses deprecated tooling, and has no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 75
close stale User reports a Tcl/Tk font allocation error when running a Python 3.5 snap built with snapcraft 2.33. The report has no maintainer comments, has been inactive for nearly seven years, and references long-deprecated software versions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 90
Support Request: 70
close stale tkinter font allocation error when running a Python 3.5 script in a snap built with snapcraft 2.33. No maintainer response; issue is over 8 years old and references deprecated tool versions.
qwen3.6-35b-moe-q4
Staleness: 100
Complexity: 20
Confidence: 90
Support Request: 65
close stale User reports a Tcl/Tk font allocation error when running a Python 3.5 Tkinter app inside a snap built with snapcraft 2.33. No maintainer response or comments in over 6 years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.