Skip to content

chore: improve the error handling and the quit routine - #494

Merged
ceccopierangiolieugenio merged 14 commits into
mainfrom
better-error-handling
Oct 28, 2025
Merged

chore: improve the error handling and the quit routine#494
ceccopierangiolieugenio merged 14 commits into
mainfrom
better-error-handling

Conversation

@ceccopierangiolieugenio

Copy link
Copy Markdown
Owner

No description provided.

@ceccopierangiolieugenio
ceccopierangiolieugenio merged commit d644604 into main Oct 28, 2025
11 checks passed
@ceccopierangiolieugenio

Copy link
Copy Markdown
Owner Author

@lucaminifreelance-art
With this change you don't need to hack the error handler to get error messages anymore.

@ceccopierangiolieugenio
ceccopierangiolieugenio deleted the better-error-handling branch October 28, 2025 11:31
from TermTk.TTkWidgets.container import TTkContainer


class _TTkStderrHandler(TextIO):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TextIO somehow causes a TypeError when using multiprocessing to spawn a Process.

TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

Just fyi.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, this is unexpected.
I'll check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants