mu-editor / crash-reports

0 stars 1 forks source link

Crash Report: Fails on first time run with: ModuleNotFoundError: No module named 'board' #639

Closed ericzundel closed 3 months ago

ericzundel commented 3 months ago

I've tried uninstalling and re-installing Mu and the problem persisted.

Logfile Attached

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

075451\lib\site-packages\ipykernel\connect.py", line 11, in <module>
    from IPython.core.profiledir import ProfileDir
  File "C:\Users\student\AppData\Local\python\mu\mu_venv-38-20240325-075451\lib\site-packages\IPython\__init__.py", line 51, in <module>
    from .core.application import Application
  File "C:\Users\student\AppData\Local\python\mu\mu_venv-38-20240325-075451\lib\site-packages\IPython\core\application.py", line 26, in <module>
    from IPython.core import release, crashhandler
  File "C:\Users\student\AppData\Local\python\mu\mu_venv-38-20240325-075451\lib\site-packages\IPython\core\crashhandler.py", line 27, in <module>
    from IPython.core import ultratb
  File "C:\Users\student\AppData\Local\python\mu\mu_venv-38-20240325-075451\lib\site-packages\IPython\core\ultratb.py", line 107, in <module>
    from IPython.core import debugger
  File "C:\Users\student\AppData\Local\python\mu\mu_venv-38-20240325-075451\lib\site-packages\IPython\core\debugger.py", line 121, in <module>
    from pdb import Pdb as OldPdb
  File "C:\Users\student\AppData\Local\Programs\MUEDIT~1\Python\lib\pdb.py", line 77, in <module>
    import code
  File "C:\Users\student\AppData\Local\Programs\Mu Editor\code.py", line 2, in <module>
    import board #imports board library needed to run the code
[mu-crash-module-board.txt](https://github.com/mu-editor/crash-reports/files/14743271/mu-crash-module-board.txt)
ericzundel commented 3 months ago

delete-code-py

I deleted this stray code.py file and all seems well. I'm not sure how it landed here, but I had another workstation with the same problem and fixed it the same way.