mu-editor / crash-reports

0 stars 1 forks source link

Crash Report #80

Open dkjrivero opened 2 years ago

dkjrivero commented 2 years ago

REMEMBER TO ATTACH YOUR LOG FILE

mu.log

Version: 1.1.0.beta.5 Locale: en_US Platform: Darwin 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64

entCreateError: Unable to create a virtual environment using /Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/python3.8 at /Users/dominiquer/Library/Application Support/mu/mu_venv-38-20210924-181437
RuntimeError: failed to build image pip because:
Traceback (most recent call last):
  File "/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/virtualenv/seed/embed/via_app_data/via_app_data.py", line 57, in _install
    installer.install(creator.interpreter.version_info)
  File "/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/virtualenv/seed/embed/via_app_data/pip_install/base.py", line 46, in install
    for name, module in self._console_scripts.items():
  File "/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/virtualenv/seed/embed/via_app_data/pip_install/base.py", line 131, in _console_scripts
    entry_points = self._dist_info / "entry_points.txt"
  File "/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/virtualenv/seed/embed/via_app_data/pip_install/base.py", line 118, in _dist_info
    raise RuntimeError(msg)  # pragma: no cover
RuntimeError: no .dist-info at /Users/dominiquer/Library/Application Support/virtualenv/wheel/3.8/image/1/CopyPipInstall/pip-21.2.4-py3-none-any, has pip
carlosperate commented 2 years ago

Thanks for the report @dkjrivero!

Could you run the following commands in a terminal and paste the result here to help us debug this issue?

"/Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/python3.8" -c "import sys; print(sys.path)"
"/Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/python3.8" -m pip list --verbose
dkjrivero commented 2 years ago

['', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python38.zip', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/lib-dynload', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/setuptools-49.6.0-py3.8.egg', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/pip-20.2.2-py3.8.egg']

Package Version Location Installer




adafruit-board-toolkit 1.1.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

appdirs 1.4.4 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

appnope 0.1.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

backcall 0.2.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

black 21.6b0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

click 8.0.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

debugpy 1.3.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

decorator 5.0.9 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

distlib 0.3.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

filelock 3.0.12 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

flake8 3.9.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

ipykernel 6.0.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

ipython 7.25.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

ipython-genutils 0.2.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

jedi 0.18.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

jupyter-client 6.1.12 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

jupyter-core 4.7.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

matplotlib-inline 0.1.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

mccabe 0.6.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

mu-editor 1.1.0b5 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages

mypy-extensions 0.4.3 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

nudatus 0.0.5 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

parso 0.8.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

pathspec 0.8.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

pexpect 4.8.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

pickleshare 0.7.5 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

pip 20.2.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/pip-20.2.2-py3.8.egg

prompt-toolkit 3.0.19 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

ptyprocess 0.7.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

pycodestyle 2.7.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

pyflakes 2.3.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

Pygments 2.9.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

PyQt5 5.13.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

PyQt5-sip 12.9.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

PyQtChart 5.13.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

pyserial 3.5 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

python-dateutil 2.8.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

pyzmq 22.1.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

QScintilla 2.11.3 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

qtconsole 4.7.7 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

QtPy 1.9.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

regex 2021.7.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

semver 2.13.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

setuptools 49.6.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages/setuptools-49.6.0-py3.8.egg

six 1.16.0 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

toml 0.10.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

tornado 6.1 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

traitlets 5.0.5 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

virtualenv 20.4.7 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

wcwidth 0.2.5 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages pip

wheel 0.36.2 /Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages

On Mon, Sep 27, 2021 at 7:38 AM Carlos Pereira Atencio < @.***> wrote:

Thanks for the report @dkjrivero https://github.com/dkjrivero!

Could you run the following commands in a terminal and paste the result here to help us debug this issue?

"/Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/python3.8" -c "import sys; print(sys.path)"

"/Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/python3.8" -m pip list --verbose

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mu-editor/crash-reports/issues/80, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOS7OMQZFM26U5YDEZPEC3DUEB6WBANCNFSM5EXANKLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Thanks,

Dominique

carlosperate commented 2 years ago

Thanks @dkjrivero, the entries in the Python PATH are alright, and the output of pip verbose also looks good.

This looks similar to this problem: https://github.com/pypa/virtualenv/issues/1971 However, you are on macOS, so it's not related to the path being too long.

Could you try this command first, and send us the output?

ls -la "/Users/dominiquer/Library/Application Support/virtualenv/wheel/3.8/image/1/CopyPipInstall/pip-21.2.4-py3-none-any"

The output of the ls command above should show a pip-21.2.4.dist-info directory, if it's not there it would be the cause of the error.

Either way, after that try this to reset those cache files:

"/Applications/Mu Editor.app/Contents/MacOS/../Resources/Python/bin/python3.8" -m virtualenv --reset-app-data

And then try running Mu again to see if that fixed it.

carlosperate commented 2 years ago

Hi @dkjrivero, Just wondering if you are able to try the steps from my previous message? It would really help us diagnose the issue and help other users with the same problem.

carlosperate commented 2 years ago

@dkjrivero We think we might have found a solution to this problem. Would you be able to try the installer at the bottom of this page, in the "Artifacts" section to see if it resolves the problem you are encountering? https://github.com/mu-editor/mu/actions/runs/1574840282

To ensure things go smoothly it'd be highly recommended to first uninstall the version of Mu in your PC before installing this version.

If you could try this installer it would be very very useful to us to confirm the issue has been fixed.

carlosperate commented 2 years ago

@dkjrivero I believe this fix to this has been released with Mu v1.1.1. Would you be able to test the latest installer from https://codewith.mu/en/download and see if it works in your environment? Thanks