Skip to content
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

[Bug] No module named 'pywintypes' on startup for GitHub Actions Windows builds #41

Open
androidWG opened this issue Dec 20, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@androidWG
Copy link
Owner

androidWG commented Dec 20, 2023

I got this notification after just starting the app on Windows. Probably hidden import, but never had this issue before. Seems weird it'd start to do that only now.

Traceback (most recent call last):
  File "main.py", line 7, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "app_manager.py", line 16, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "ui\__init__.py", line 21, in <module>
  File "ui\__init__.py", line 25, in SettingsWindow
  File "util\install\__init__.py", line 29, in get_install
  File "importlib\__init__.py", line 126, in import_module
  File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
  File "util\install\windows.py", line 7, in <module>
ModuleNotFoundError: No module named 'pywintypes'
@androidWG androidWG added bug Something isn't working triage Needs more testing labels Dec 20, 2023
@androidWG androidWG self-assigned this Dec 20, 2023
@androidWG androidWG changed the title [Bug] No module named 'pywintypes' on startup [Bug] No module named 'pywintypes' on startup for GitHub Actions Windows builds Dec 20, 2023
@androidWG
Copy link
Owner Author

Only happens on builds built with GitHub Actions. Most likely scenario is the files are missing from the "lib" directory in Python, like from this answer: https://stackoverflow.com/a/60252954/8286014

@androidWG androidWG removed the triage Needs more testing label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant