You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating an executable using pyinstaller and auto-py-to-exe, the executable crashes immediately before even initializing the logger. No logs are available. This was tried using Python 3.7 and 3.8 with no difference in results. This leads me to believe the issue is either with the imports, or in the Logger.py script.
Pyinstaller Warning Logs
This file lists modules PyInstaller was not able to find. This does not
necessarily mean this module is required for running you program. Python and
Python 3rd-party packages include a lot of conditional or optional modules. For
example the module 'ntpath' only exists on Windows, whereas the module
'posixpath' only exists on Posix systems.
Types if import:
* top-level: imported at the top-level - look at these first
* conditional: imported within an if-statement
* delayed: imported from within a function
* optional: imported within a try-except-statement
IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
yourself tracking down the missing module. Thanks!
missing module named org - imported by copy (optional)
missing module named _posixsubprocess - imported by subprocess (conditional)
missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), http.server (delayed, optional), webbrowser (delayed), netrc (delayed, conditional), getpass (delayed)
missing module named posix - imported by os (conditional, optional)
missing module named resource - imported by posix (top-level)
missing module named win32evtlog - imported by logging.handlers (delayed, optional)
missing module named win32evtlogutil - imported by logging.handlers (delayed, optional)
missing module named grp - imported by shutil (optional), tarfile (optional)
missing module named termios - imported by tty (top-level), getpass (optional)
missing module named vms_lib - imported by platform (delayed, conditional, optional)
missing module named 'java.lang' - imported by platform (delayed, optional), xml.sax._exceptions (conditional)
missing module named java - imported by platform (delayed)
missing module named _scproxy - imported by urllib.request (conditional)
missing module named _winreg - imported by platform (delayed, optional)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional)
missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional)
missing module named 'org.python' - imported by pickle (optional), xml.sax (delayed, conditional)
missing module named AppKit - imported by pynput.mouse._darwin (top-level), pyperclip (delayed, conditional, optional)
missing module named Foundation - imported by pyperclip (delayed, conditional, optional)
missing module named PyQt4 - imported by pyperclip (delayed, conditional, optional)
missing module named PyQt5 - imported by pyperclip (delayed, conditional, optional)
missing module named qtpy - imported by pyperclip (delayed, conditional, optional)
missing module named gtk - imported by pyperclip (delayed, conditional, optional)
missing module named 'Xlib.threaded' - imported by pynput._util.xorg (top-level)
missing module named 'Xlib.display' - imported by pynput._util.xorg (top-level), pynput.mouse._xorg (top-level)
missing module named 'Xlib.keysymdef' - imported by pynput.keyboard._xorg (top-level)
missing module named 'Xlib.protocol' - imported by pynput.keyboard._xorg (top-level), pynput.mouse._xorg (top-level)
missing module named 'Xlib.XK' - imported by pynput.keyboard._xorg (top-level), pynput._util.xorg (top-level)
missing module named 'Xlib.X' - imported by pynput.keyboard._xorg (top-level), pynput.mouse._xorg (top-level)
missing module named 'Xlib.ext' - imported by pynput.keyboard._xorg (top-level), pynput.mouse._xorg (top-level)
missing module named Xlib - imported by pynput.keyboard._xorg (top-level)
missing module named StringIO - imported by six (conditional)
missing module named CoreFoundation - imported by pynput._util.darwin (top-level)
missing module named objc - imported by pynput._util.darwin (top-level)
missing module named Quartz - imported by pynput.keyboard._darwin (top-level), pynput._util.darwin (top-level), pynput.mouse._darwin (top-level)
runtime module named six.moves - imported by pynput._util (top-level)
missing module named chardet - imported by TextController (top-level)
The text was updated successfully, but these errors were encountered:
Downgraded to Python 3.7 locally, and ensured the program still runs as normal. I will probably be changing the documentation soon to reflect this. Despite the change, the program is still freezing.
I have not been able to narrow down the issue yet, so I'm still researching this. I am going to try:
Specifying parts of a module instead of importing the whole thing
Deleting unused files and code
Comparing to older versions where the executable generated successfully
Modifying my pyinstaller command in case I'm doing something wrong there
Describe the bug
This is related to #54
When generating an executable using pyinstaller and auto-py-to-exe, the executable crashes immediately before even initializing the logger. No logs are available. This was tried using Python 3.7 and 3.8 with no difference in results. This leads me to believe the issue is either with the imports, or in the Logger.py script.
Pyinstaller Warning Logs
The text was updated successfully, but these errors were encountered: