Skip to content

Fix lnt startup crash on Windows #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

omjavaid
Copy link
Contributor

Running lnt on Windows fails with an Error as it tries to import the resource module which is not available on windows.

This patch fixes the crash by making the resource module an optional dependency.

Running lnt on Windows fails with an Error as it tries to import
the resource module which is not available on windows.

This patch fixes the crash by making the resource module an optional
dependency.
@omjavaid omjavaid requested a review from DavidSpickett June 30, 2025 22:59
Copy link
Contributor

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

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

The only alternative I see is to pull in psutil.

What's the impact of this, that the time is less accurate because it's including time spent in the kernel?

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