Repository navigation
Plugin Crash Traceback Logger
Records Python tracebacks when MoleditPy crashes in native code, including when its GUI has no visible terminal. It does not prevent crashes or recover unsaved work.
| Repository | moleditpy_crash_traceback_logger |
| Author | HiroYokoyama |
| Supported OS | Windows, macOS, Linux, WSL |
| Supported Python | >=3.9, <3.15 |
| Supported MoleditPy | >=5.0.0, <6.0.0 |
| First-party plugin license | LGPL-3.0-or-later |
| Menu location | None; starts automatically during plugin initialization |
| Extra dependencies | None; uses Python's standard-library faulthandler
|
Install Crash Traceback Logger through Plugin Installer, or install the ZIP from the release page, then restart MoleditPy. Keep only one copy; remove the older diagnostic file crash_traceback_log.py if present.
The log is appended to ~/.moleditpy/faulthandler.log. Each enabled session records its timestamp, process ID, plugin version and Python version. On Windows, ~ normally means C:\Users\<username>.
After a crash, inspect the final session's traceback. Output depends on the fault and platform. The plugin cannot record crashes before initialization, ordinary caught exceptions or GUI freezes. Existing fault handlers such as PYTHONFAULTHANDLER=1 are preserved; in that case this plugin does not start its own file logging.
Disable the plugin or remove its file, then restart MoleditPy. Disabling it does not undo an active handler in the current session. Logging covers the current process, not separate worker processes.
There is no automatic log rotation. Close all MoleditPy processes before archiving or deleting the file; do not move or replace it while logging is active. Logs stay local and are never uploaded automatically. Review local paths and user names before sharing them.
See Official Plugins and the project README for more information.
This page documents Crash Traceback Logger v1.0.0, and was last updated on 2026-11-14. See REGISTRY/plugins.json for the current version.