Open
Conversation
- Created startup_logger.py with OS, permissions, config, serial enumeration - Integrated logging into main.py and serial subsystem modules - Added build_logging_exe.py PyInstaller script - Added generate_sample_log.py for standalone log generation - Included sample log output for deliverable
- Fix import order in build_logging_exe.py - Remove unused imports - Fix constant naming conventions (_LOGGER, STARTUP_LOG_FILE) - Add missing docstring to main() in generate_sample_log.py
Mathieu25900
reviewed
Feb 9, 2026
Collaborator
There was a problem hiding this comment.
Everything looks good! But a suggestion would be to add a global logger to improve readability
Mathieu25900
reviewed
Feb 9, 2026
Collaborator
There was a problem hiding this comment.
The build script is well structure and documents the data files, hidden imports, and build argument
Mathieu25900
reviewed
Feb 9, 2026
Collaborator
There was a problem hiding this comment.
The script looks clean and is documented well.
Mathieu25900
reviewed
Feb 9, 2026
Collaborator
There was a problem hiding this comment.
main.py looks organized and is structured well
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #376
What was changed?
Added comprehensive startup diagnostics logging system and built a proof-of-concept executable (Mouser_PoC_Logging.exe) with enhanced logging capabilities. The system logs OS information, file-system permissions, configuration paths, and serial subsystem initialization without opening any ports.
Why was it changed?
This helps identify configuration mismatches, missing files, and permission issues before they cause runtime failures.
How was it changed?
Created Core logging module with 5 diagnostic sections: OS info, permissions, config discovery,, serial enumeration.
Created PyInstaller build script that bundles settings, sounds, and images with proper hidden imports for serial/customtkinter
Created Standalone script to generate log output without launching the GUI
Created Sample deliverable showing the log format