[PR #1323] Исправил ошибочное сообщение «customtkinter не установлен» при открытии настроек #116

Open
opened 2026-09-10 21:19:42 +03:00 by mirror-bot · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Flowseal/tg-ws-proxy/pull/1323
Author: @malyarq
Created: 9/10/2026
Status: 🔄 Open

Base: main ← Head: report-ctk-initialization-errors


📝 Commits (1)

  • 06ed044 report GUI initialization failures instead of missing customtkinter

📊 Changes

8 files changed (+135 additions, -11 deletions)

View changed files

📝 docs/EN/README.windows.md (+6 -0)
📝 docs/RU/README.windows.md (+6 -0)
📝 linux.py (+1 -1)
➕ tests/test_tray_common.py (+90 -0)
📝 ui/i18n/en.json (+1 -0)
📝 ui/i18n/ru.json (+1 -0)
📝 utils/tray_common.py (+26 -9)
📝 windows.py (+4 -1)

📄 Description

В версии 1.10.2 при открытии настроек появлялось «customtkinter не установлен», хотя библиотека была на месте и сам прокси работал. Окно не открывалось из-за ошибки Tcl/Tk: Can't find a usable init.tcl. Сообщение про customtkinter скрывало эту ошибку.

Поправил обработку: теперь приложение сообщает, что не удалось открыть окно, и показывает путь к логу с подробностями. Саму причину, по которой Tcl/Tk не находил файл, пока не выяснил.

В #934 было такое же сообщение при открытии настроек, а очистка Temp помогала. Совпадает ли причина, неизвестно; теперь при повторении можно будет посмотреть настоящую ошибку в логе.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Flowseal/tg-ws-proxy/pull/1323 **Author:** [@malyarq](https://github.com/malyarq) **Created:** 9/10/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `report-ctk-initialization-errors` --- ### 📝 Commits (1) - [`06ed044`](https://github.com/Flowseal/tg-ws-proxy/commit/06ed044558900558e3c44fdd9f4ea4bdb4a99176) report GUI initialization failures instead of missing customtkinter ### 📊 Changes **8 files changed** (+135 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `docs/EN/README.windows.md` (+6 -0) 📝 `docs/RU/README.windows.md` (+6 -0) 📝 `linux.py` (+1 -1) ➕ `tests/test_tray_common.py` (+90 -0) 📝 `ui/i18n/en.json` (+1 -0) 📝 `ui/i18n/ru.json` (+1 -0) 📝 `utils/tray_common.py` (+26 -9) 📝 `windows.py` (+4 -1) </details> ### 📄 Description В версии 1.10.2 при открытии настроек появлялось «customtkinter не установлен», хотя библиотека была на месте и сам прокси работал. Окно не открывалось из-за ошибки Tcl/Tk: `Can't find a usable init.tcl`. Сообщение про customtkinter скрывало эту ошибку. Поправил обработку: теперь приложение сообщает, что не удалось открыть окно, и показывает путь к логу с подробностями. Саму причину, по которой Tcl/Tk не находил файл, пока не выяснил. В [#934](https://github.com/Flowseal/tg-ws-proxy/issues/934) было такое же сообщение при открытии настроек, а очистка Temp помогала. Совпадает ли причина, неизвестно; теперь при повторении можно будет посмотреть настоящую ошибку в логе. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror-bot added the pull-request label 2026-09-10 21:19:42 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Utilities/tg-ws-proxy#116