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

Crash Report #543

Open
ericb0 opened this issue Sep 23, 2023 · 1 comment
Open

Crash Report #543

ericb0 opened this issue Sep 23, 2023 · 1 comment

Comments

@ericb0
Copy link

ericb0 commented Sep 23, 2023

2023-09-23 13:55:09,870 - root:283(run) INFO: 

-----------------

Starting Mu 1.2.0
2023-09-23 13:55:09,885 - root:284(run) INFO: uname_result(system='Windows', node='ERIC-DELL-LAPTOP', release='10', version='10.0.19045', machine='AMD64', processor='Intel64 Family 6 Model 78 Stepping 3, GenuineIntel')
2023-09-23 13:55:09,885 - root:284(run) INFO: uname_result(system='Windows', node='ERIC-DELL-LAPTOP', release='10', version='10.0.19045', machine='AMD64', processor='Intel64 Family 6 Model 78 Stepping 3, GenuineIntel')
2023-09-23 13:55:10,004 - root:285(run) INFO: Platform: Windows-10-10.0.19045-SP0
2023-09-23 13:55:10,004 - root:286(run) INFO: Python path: ['C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin']
2023-09-23 13:55:10,004 - root:285(run) INFO: Platform: Windows-10-10.0.19045-SP0
2023-09-23 13:55:10,006 - root:287(run) INFO: Language code: en_US
rs\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin']
2023-09-23 13:55:10,006 - root:287(run) INFO: Language code: en_US
2023-09-23 13:55:10,006 - mu.settings:220(load) WARNING: No settings file found at C:\Users\ebaue\AppData\Local\python\mu\settings.json; skipping
2023-09-23 13:55:10,006 - mu.settings:220(load) WARNING: No settings file found at C:\Users\ebaue\AppData\Local\python\mu\settings.json; skipping
2023-09-23 13:55:13,676 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2023-09-23 13:55:30,844 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2023-09-23 13:55:30,845 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2023-09-23 13:55:30,846 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151
2023-09-23 13:55:30,846 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151
2023-09-23 13:55:30,937 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\scripts\python.exe
2023-09-23 13:55:30,937 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\scripts\python.exe
2023-09-23 13:55:30,940 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151\\scripts\\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2023-09-23 13:55:30,940 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151\\scripts\\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2023-09-23 13:55:31,800 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2023-09-23 13:55:31,800 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2023-09-23 13:55:31,804 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2023-09-23 13:55:31,804 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2023-09-23 13:55:31,820 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\scripts\pip.exe
2023-09-23 13:55:31,824 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2023-09-23 13:55:31,824 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151\\scripts\\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2023-09-23 13:55:31,824 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151\\scripts\\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2023-09-23 13:55:32,120 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2023-09-23 13:55:32,120 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2023-09-23 13:55:32,121 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2023-09-23 13:55:32,121 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2023-09-23 13:55:32,121 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151\\scripts\\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2023-09-23 13:55:32,121 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151\\scripts\\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2023-09-23 13:55:36,506 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2023-09-23 13:55:36,507 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2023-09-23 13:55:36,507 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151\\scripts\\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2023-09-23 13:55:36,509 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2023-09-23 13:55:36,509 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2023-09-23 13:55:36,509 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151\\scripts\\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2023-09-23 13:55:39,479 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 1; output: STDERR: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\connect.py", line 11, in <module>
    from IPython.core.profiledir import ProfileDir
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\__init__.py", line 51, in <module>
    from .core.application import Application
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\application.py", line 26, in <module>
    from IPython.core import release, crashhandler
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\crashhandler.py", line 27, in <module>
    from IPython.core import ultratb
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\ultratb.py", line 107, in <module>
    from IPython.core import debugger
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\debugger.py", line 121, in <module>
    from pdb import Pdb as OldPdb
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\pdb.py", line 77, in <module>
    import code
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\code.py", line 1, in <module>
    import board
ModuleNotFoundError: No module named 'board'
2023-09-23 13:55:39,481 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 1; output: STDERR: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\connect.py", line 11, in <module>
    from IPython.core.profiledir import ProfileDir
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\__init__.py", line 51, in <module>
    from .core.application import Application
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\application.py", line 26, in <module>
    from IPython.core import release, crashhandler
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\crashhandler.py", line 27, in <module>
    from IPython.core import ultratb
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\ultratb.py", line 107, in <module>
    from IPython.core import debugger
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\debugger.py", line 121, in <module>
    from pdb import Pdb as OldPdb
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\pdb.py", line 77, in <module>
    import code
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\code.py", line 1, in <module>
    import board
ModuleNotFoundError: No module named 'board'
2023-09-23 13:55:39,481 - mu.virtual_environment:677(ensure_and_create) ERROR: Failed to import: ipykernel
STDERR: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\connect.py", line 11, in <module>
    from IPython.core.profiledir import ProfileDir
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\__init__.py", line 51, in <module>
    from .core.application import Application
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\application.py", line 26, in <module>
    from IPython.core import release, crashhandler
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\crashhandler.py", line 27, in <module>
    from IPython.core import ultratb
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\ultratb.py", line 107, in <module>
    from IPython.core import debugger
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\debugger.py", line 121, in <module>
    from pdb import Pdb as OldPdb
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\pdb.py", line 77, in <module>
    import code
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\code.py", line 1, in <module>
    import board
ModuleNotFoundError: No module named 'board'
2023-09-23 13:55:39,479 - mu.virtual_environment:677(ensure_and_create) ERROR: Failed to import: ipykernel
STDERR: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\connect.py", line 11, in <module>
    from IPython.core.profiledir import ProfileDir
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\__init__.py", line 51, in <module>
    from .core.application import Application
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\application.py", line 26, in <module>
    from IPython.core import release, crashhandler
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\crashhandler.py", line 27, in <module>
    from IPython.core import ultratb
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\ultratb.py", line 107, in <module>
    from IPython.core import debugger
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\debugger.py", line 121, in <module>
    from pdb import Pdb as OldPdb
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\pdb.py", line 77, in <module>
    import code
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\code.py", line 1, in <module>
    import board
ModuleNotFoundError: No module named 'board'
2023-09-23 13:55:39,611 - mu.virtual_environment:570(quarantine_venv) ERROR: Unable to quarantine C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151 as C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151.FAILED
Traceback (most recent call last):
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 661, in ensure_and_create
    self.ensure()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 701, in ensure
    self.ensure_key_modules()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 806, in ensure_key_modules
    raise VirtualEnvironmentEnsureError(
mu.virtual_environment.VirtualEnvironmentEnsureError: Failed to import: ipykernel
STDERR: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\connect.py", line 11, in <module>
    from IPython.core.profiledir import ProfileDir
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\__init__.py", line 51, in <module>
    from .core.application import Application
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\application.py", line 26, in <module>
    from IPython.core import release, crashhandler
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\crashhandler.py", line 27, in <module>
    from IPython.core import ultratb
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\ultratb.py", line 107, in <module>
    from IPython.core import debugger
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\debugger.py", line 121, in <module>
    from pdb import Pdb as OldPdb
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\pdb.py", line 77, in <module>
    import code
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\code.py", line 1, in <module>
    import board
ModuleNotFoundError: No module named 'board'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 568, in quarantine_venv
    os.rename(self.path, error_dirpath)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151' -> 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151.FAILED'
2023-09-23 13:55:39,581 - mu.virtual_environment:570(quarantine_venv) ERROR: Unable to quarantine C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151 as C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151.FAILED
Traceback (most recent call last):
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 661, in ensure_and_create
    self.ensure()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 701, in ensure
    self.ensure_key_modules()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 806, in ensure_key_modules
    raise VirtualEnvironmentEnsureError(
mu.virtual_environment.VirtualEnvironmentEnsureError: Failed to import: ipykernel
STDERR: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
    from .connect import *
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\ipykernel\connect.py", line 11, in <module>
    from IPython.core.profiledir import ProfileDir
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\__init__.py", line 51, in <module>
    from .core.application import Application
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\application.py", line 26, in <module>
    from IPython.core import release, crashhandler
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\crashhandler.py", line 27, in <module>
    from IPython.core import ultratb
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\ultratb.py", line 107, in <module>
    from IPython.core import debugger
  File "C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230902-143151\lib\site-packages\IPython\core\debugger.py", line 121, in <module>
    from pdb import Pdb as OldPdb
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\pdb.py", line 77, in <module>
    import code
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\code.py", line 1, in <module>
    import board
ModuleNotFoundError: No module named 'board'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 568, in quarantine_venv
    os.rename(self.path, error_dirpath)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151' -> 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230902-143151.FAILED'
2023-09-23 13:55:39,654 - mu.virtual_environment:494(relocate) DEBUG: Relocating to C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
2023-09-23 13:55:39,654 - mu.virtual_environment:494(relocate) DEBUG: Relocating to C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
2023-09-23 13:55:39,654 - mu.virtual_environment:510(relocate) DEBUG: Virtual environment set up mu_venv-38-20230923-135539 at C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
2023-09-23 13:55:39,654 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #2.
2023-09-23 13:55:39,654 - mu.virtual_environment:510(relocate) DEBUG: Virtual environment set up mu_venv-38-20230923-135539 at C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
2023-09-23 13:55:39,654 - mu.virtual_environment:837(create_venv) INFO: Creating virtualenv: C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
2023-09-23 13:55:39,654 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #2.
2023-09-23 13:55:39,657 - mu.virtual_environment:838(create_venv) INFO: Virtualenv name: mu_venv-38-20230923-135539
2023-09-23 13:55:39,657 - mu.virtual_environment:837(create_venv) INFO: Creating virtualenv: C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
2023-09-23 13:55:39,657 - mu.virtual_environment:838(create_venv) INFO: Virtualenv name: mu_venv-38-20230923-135539
2023-09-23 13:55:39,657 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\pythonw.exe', '-I', '-m', 'virtualenv', '-p', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\pythonw.exe', '-q', 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539') with kwargs {'env': {'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\ebaue\\AppData\\Roaming', 'ASL.LOG': 'Destination=file', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'ERIC-DELL-LAPTO', 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', 'DRIVERDATA': 'C:\\Windows\\System32\\Drivers\\DriverData', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\ebaue', 'LOCALAPPDATA': 'C:\\Users\\ebaue\\AppData\\Local', 'LOGONSERVER': '\\\\ERIC-DELL-LAPTO', 'NUMBER_OF_PROCESSORS': '4', 'ONEDRIVE': 'C:\\Users\\ebaue\\OneDrive', 'ONEDRIVECONSUMER': 'C:\\Users\\ebaue\\OneDrive', 'OS': 'Windows_NT', 'PATH': 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\PyQt5\\Qt\\bin;C:\\Program Files (x86)\\Rockwell Software\\RSCommon;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\Git\\cmd;C:\\Users\\ebaue\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ebaue\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ebaue\\AppData\\Local\\Programs\\Microsoft VS Code\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 78 Stepping 3, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '4e03', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules', 'PUBLIC': 'C:\\Users\\Public', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINDOWS', 'TEMP': 'C:\\Users\\ebaue\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\ebaue\\AppData\\Local\\Temp', 'USERDOMAIN': 'ERIC-DELL-LAPTO', 'USERDOMAIN_ROAMINGPROFILE': 'ERIC-DELL-LAPTO', 'USERNAME': 'ebaue', 'USERPROFILE': 'C:\\Users\\ebaue', 'WINDIR': 'C:\\WINDOWS', 'QT_API': 'pyqt5', 'QT_AUTO_SCREEN_SCALE_FACTOR': '1', 'QT_MAC_WANTS_LAYER': '1'}}
2023-09-23 13:55:39,658 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\pythonw.exe', '-I', '-m', 'virtualenv', '-p', 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\pythonw.exe', '-q', 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539') with kwargs {'env': {'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\ebaue\\AppData\\Roaming', 'ASL.LOG': 'Destination=file', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'ERIC-DELL-LAPTO', 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', 'DRIVERDATA': 'C:\\Windows\\System32\\Drivers\\DriverData', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\ebaue', 'LOCALAPPDATA': 'C:\\Users\\ebaue\\AppData\\Local', 'LOGONSERVER': '\\\\ERIC-DELL-LAPTO', 'NUMBER_OF_PROCESSORS': '4', 'ONEDRIVE': 'C:\\Users\\ebaue\\OneDrive', 'ONEDRIVECONSUMER': 'C:\\Users\\ebaue\\OneDrive', 'OS': 'Windows_NT', 'PATH': 'C:\\Users\\ebaue\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\PyQt5\\Qt\\bin;C:\\Program Files (x86)\\Rockwell Software\\RSCommon;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\Git\\cmd;C:\\Users\\ebaue\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\ebaue\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\ebaue\\AppData\\Local\\Programs\\Microsoft VS Code\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 78 Stepping 3, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '4e03', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules', 'PUBLIC': 'C:\\Users\\Public', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINDOWS', 'TEMP': 'C:\\Users\\ebaue\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\ebaue\\AppData\\Local\\Temp', 'USERDOMAIN': 'ERIC-DELL-LAPTO', 'USERDOMAIN_ROAMINGPROFILE': 'ERIC-DELL-LAPTO', 'USERNAME': 'ebaue', 'USERPROFILE': 'C:\\Users\\ebaue', 'WINDIR': 'C:\\WINDOWS', 'QT_API': 'pyqt5', 'QT_AUTO_SCREEN_SCALE_FACTOR': '1', 'QT_MAC_WANTS_LAYER': '1'}}
2023-09-23 13:55:49,544 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 1; output: FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539\\Lib\\site-packages'
2023-09-23 13:55:49,544 - mu.virtual_environment:677(ensure_and_create) ERROR: Unable to create a virtual environment using C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539\\Lib\\site-packages'
2023-09-23 13:55:49,600 - mu.virtual_environment:574(quarantine_venv) INFO: Quarantined C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539 as C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539.FAILED
2023-09-23 13:55:49,644 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 1; output: FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539\\Scripts\\pythonw.exe'
2023-09-23 13:55:49,650 - mu.virtual_environment:677(ensure_and_create) ERROR: Unable to create a virtual environment using C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539\\Scripts\\pythonw.exe'
2023-09-23 13:55:49,651 - mu.virtual_environment:570(quarantine_venv) ERROR: Unable to quarantine C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539 as C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539.FAILED
Traceback (most recent call last):
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 637, in ensure_and_create
    self.create()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 827, in create
    self.create_venv()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 863, in create_venv
    raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539\\Scripts\\pythonw.exe'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 568, in quarantine_venv
    os.rename(self.path, error_dirpath)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539' -> 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539.FAILED'
2023-09-23 13:55:56,676 - root:172(excepthook) ERROR: Unrecoverable error
Traceback (most recent call last):
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 160, in run
    raise ex
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 147, in run
    venv.ensure_and_create(self.display_text)
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 637, in ensure_and_create
    self.create()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 827, in create
    self.create_venv()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 863, in create_venv
    raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539\\Scripts\\pythonw.exe'
2023-09-23 13:55:56,676 - root:172(excepthook) ERROR: Unrecoverable error
Traceback (most recent call last):
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 160, in run
    raise ex
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 147, in run
    venv.ensure_and_create(self.display_text)
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 637, in ensure_and_create
    self.create()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 827, in create
    self.create_venv()
  File "C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 863, in create_venv
    raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\ebaue\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\ebaue\AppData\Local\python\mu\mu_venv-38-20230923-135539
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\ebaue\\AppData\\Local\\python\\mu\\mu_venv-38-20230923-135539\\Lib\\site-packages'
2023-09-23 13:55:57,211 - mu.settings:169(save) DEBUG: Saving to C:\Users\ebaue\AppData\Local\python\mu\session.json
2023-09-23 13:55:57,213 - mu.settings:169(save) DEBUG: Saving to C:\Users\ebaue\AppData\Local\python\mu\venv.json
2023-09-23 13:55:57,213 - mu.settings:169(save) DEBUG: Saving to C:\Users\ebaue\AppData\Local\python\mu\session.json
2023-09-23 13:55:57,214 - mu.settings:169(save) DEBUG: Saving to C:\Users\ebaue\AppData\Local\python\mu\venv.json
@carlosperate
Copy link
Member

Thanks for the report @blueblackterria.

Part of the issue looks like it might be this: mu-editor/mu#2453

But I don't know if that has also caused the ultimate issue failing to create the user venv.

Have you been able to launch Mu since this report was created?
If not, could you check if you still have this file and delete it if it's there? C:\Users\ebaue\AppData\Local\Programs\Mu Editor\code.py

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

No branches or pull requests

2 participants