mu-editor / crash-reports

0 stars 1 forks source link

Crash Report - Mu #520

Open BBurleigh opened 1 year ago

BBurleigh commented 1 year ago

REMEMBER TO ATTACH YOUR LOG FILE

Version: 1.2.0 Locale: en_US Platform: Windows 10 10.0.19045 AMD64

Traceback (most recent call last):
  File "C:\Users\Brayden\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 160, in run
    raise ex
  File "C:\Users\Brayden\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\Brayden\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 637, in ensure_and_create
    self.create()
  File "C:\Users\Brayden\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 827, in create
    self.create_venv()
  File "C:\Users\Brayden\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\Brayden\AppData\Local\Programs\MUEDIT~1\Python\pythonw.exe at C:\Users\Brayden\AppData\Local\python\mu\mu_venv-38-20230724-150008
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\Brayden\\AppData\\Local\\python\\mu\\mu_venv-38-20230724-150008\\Scripts'
carlosperate commented 1 year ago

Hi @BBurleigh, thanks for the report !

Would you be able to attach the Mu log to this GitHub Issue as well? It'll be really useful to us for debugging. File should be located in: C:\Users\Brayden\AppData\Local\python\mu\Logs\mu.log

Based on the error I think maybe there were 2 instances of Mu running in parallel and racing each other at creating these directories, which would be this issue: https://github.com/mu-editor/mu/issues/1755

If you try to run Mu again, and ensure it is only running once, do you still get this problem?