mathoudebine / mathoudebine/turing-smart-screen-python

Stuck on Loading Theme when using task scheduler

Open
#918 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rich Text Format
Stars
2.3k
Forks
412
Avg merge
21h 10m
Merged PRs (30d)
7

Description

When running python main.py, it works fine; however, when using the task scheduler, it does not work. The log only displays the message indicating that the theme is loading, but nothing else happens.

EDIT:

Fixed it by clean installing python and the respective libraries

Logs

02-12-2025 0:23:15 [INFO] Loading theme 5inchTheme2 from res\themes\5inchTheme2\theme.yaml

Image

Environment:

  • Smart screen model: Turing 5"
  • Using version 3.9.6
  • Windows 11
  • Python 3.12
  • Hardware Intel CPU + Nvidia GPU

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with main.py and compare its theme-loading behavior when run directly versus through Windows Task Scheduler. Use the provided log and environment details to investigate why execution stops after loading res\themes\5inchTheme2\theme.yaml. The issue is resolved when the scheduled run proceeds normally, but the report does not define a reproducible code-level fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.