-
Notifications
You must be signed in to change notification settings - Fork 433
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 #1612
Comments
|
Thank you very much for the report and the log @efremovru! Two interesting bit, first an unexpected error from the
|
Thanks you for your reply. Please see my answers below
From: Carlos Pereira Atencio ***@***.***>
Sent: Wednesday, June 02, 2021 10:08 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thank you very much for the report and the log @efremovru <https://github.com/efremovru> !
Two interesting bit, first an unexpected error from the virtualenv module and then an issue quarantining the failed venv
ModuleNotFoundError in virtualenv
This is the main error disrupting the venv creation:
2021-05-31 23:09:32,299 - mu.virtual_environment:633(create_venv) INFO: Creating virtualenv: C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210531-230909
2021-05-31 23:09:32,299 - mu.virtual_environment:634(create_venv) INFO: Virtualenv name: mu_venv-38-20210531-230909
2021-05-31 23:09:35,100 - mu.virtual_environment:379(run_subprocess) DEBUG: Process returned 1; output: ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
This is the first time I'm seeing this specific issue. A quick google search suggest issues with the virtualenv module installed from package managers like aptitude in Debian/Ubuntu, but this should be the version packaged by Mu.
@efremovru <https://github.com/efremovru> could you confirm you've install Mu from the beta.4 installer?
Yes, positive.
FileNotFoundError quarantining
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 462, in quarantine_failed_venv
os.rename(self.path, error_dirpath)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210531-230935' -> 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210531-230935.FAILED'
This second issue is minor as is just an issue renaming the failed venv. We've seen this one before and been collecting them here: #1556 <#1556>
It's possible antivirus might be affecting this Mu operation. @efremovru <https://github.com/efremovru> do you have an antivirus running that you could temporarily deactivate when launching Mu?
Done (I think 😊)
The results are attached
I'd expect the first problem with the virtualenv module to still be present, but it would be really useful to us if you could try running Mu without the antivirus and send us the logs, to see the second problem is still present that way.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPCKHKYOA676FKV4BPTTQY3MLANCNFSM453ZXM3Q> . <https://github.com/notifications/beacon/AGAGDPHJZ3TWRE6LVO76VCDTQY3MLA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLMKNYI.gif>
|
Thanks @efremovru! If you attached the log to an email, then unfortunately those don't get posted to GitHub, you'll have to go to the GitHub website and add it as a response (you can drag&drop the file into the text editor): #1612 |
2021-06-02 13:00:37,180 - root:265(run) INFO: Starting Mu 1.1.0.beta.4 During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Starting Mu 1.1.0.beta.4 During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Thank you for trying again and sending the log @efremovru! Just to confirm, you did have an antivirus running the first time you run Mu, and then the second time (when the new log was sent) you disabled the antivirus before opening Mu and getting the same error again? |
Yes, that is correct. In my email, I attached a screenshot of MS antivirus being disabled.
The annoying part is that I was able to install the software back in Feb 21 and there were no problems. I uninstalled it because I was not using Adafruit ESP, now I got one so I decided to give it a try again.
Is it possible that back in Feb you had older version of the software?
From: Carlos Pereira Atencio ***@***.***>
Sent: Friday, June 04, 2021 6:18 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thank you for trying again and sending the log @efremovru <https://github.com/efremovru> !
Just to confirm, you did have an antivirus running the first time you run Mu, and then the second time (when the new log was sent) you disabled the antivirus before opening Mu and getting the same error again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPGEYKV6UU5YXMXKNW3TRCR6JANCNFSM453ZXM3Q> . <https://github.com/notifications/beacon/AGAGDPBL6C2O64AMTLSHVI3TRCR6JA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLX4UKY.gif>
|
Thanks for the quick response @efremovru, the email attachments don't get posted in GitHub, so we didn't get any screenshots from that email either. The last log that you copy/pasted (thanks again!), shows that the second problem still happens even with the antivirus disabled:
In February the way Mu worked was different, so some of the new components are having issues in your environment. The first problem ( Sorry for all the trouble, and thank you so much for helping us with the testing! |
I will, but trust me I tried this install/uninstall 10 times before I entered the issue
From: Carlos Pereira Atencio ***@***.***>
Sent: Friday, June 04, 2021 9:22 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thanks for the quick response @efremovru <https://github.com/efremovru> , the email attachments don't get posted in GitHub, so we didn't get any screenshots from that email either.
The last log that you copy/pasted (thanks again!), shows that the second problem still happens even with the antivirus disabled:
os.rename(self.path, error_dirpath)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210602-130820' -> 'C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210602-130820.FAILED'
In February the way Mu worked was different, so some of the new components are having issues in your environment.
The first problem (ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data') could happen if maybe the installation didn't complete successfully. Could you try uninstall the Mu Editor, install it again, and see if that works?
If it doesn't, then a fresh copy of the log would be helpful as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPDCZ7LNLUQS754A5HLTRDHO3ANCNFSM453ZXM3Q> . <https://github.com/notifications/beacon/AGAGDPF2QC2UNRRBXMHDDXDTRDHO3A5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLY72PY.gif>
|
Did you also try downloading the installer again? |
Nope, but will do it now
From: Carlos Pereira Atencio ***@***.***>
Sent: Friday, June 04, 2021 9:26 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Did you also try downloading the installer again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPDMVWPQT7LYSEFBLWTTRDH65ANCNFSM453ZXM3Q> . <https://github.com/notifications/beacon/AGAGDPGO3QT5B7FGHVAPX5DTRDH65A5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLZARZQ.gif>
|
If after all that it still doesn't work, could you check if these file exists in the Mu installation?
and
|
It did not work.
1. Fresh download of the executable
2. Disable Anti-Virus
3. Disable VPN
4. Run the executable
5. Try to open mu
6. Error message
Yes, both files exist
And here is the log
2021-06-04 09:24:49,673 - root:265(run) INFO:
…-----------------
Starting Mu 1.1.0.beta.4
2021-06-04 09:24:49,677 - root:266(run) INFO: uname_result(system='Windows', node='DESKTOP-5JK3UUO', release='10', version='10.0.19041', machine='AMD64', processor='Intel64 Family 6 Model 61 Stepping 4, GenuineIntel')
2021-06-04 09:24:49,677 - root:267(run) INFO: Python path: ['C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python38\\site-packages', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\setuptools-49.6.0-py3.8.egg', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\pip-20.2.2-py3.8.egg', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\IPython\\extensions']
2021-06-04 09:24:49,677 - root:268(run) INFO: Language code: en_US
2021-06-04 09:24:50,247 - mu.virtual_environment:480(ensure_and_create) INFO: Added log handler.
2021-06-04 09:24:51,120 - mu.virtual_environment:491(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2021-06-04 09:24:51,120 - mu.virtual_environment:633(create_venv) INFO: Creating virtualenv: C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210602-130820
2021-06-04 09:24:51,135 - mu.virtual_environment:634(create_venv) INFO: Virtualenv name: mu_venv-38-20210602-130820
2021-06-04 09:24:53,194 - mu.virtual_environment:379(run_subprocess) DEBUG: Process returned 1; output: ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
2021-06-04 09:24:53,195 - mu.virtual_environment:464(quarantine_failed_venv) ERROR: Unable to quarantine C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210602-130820 as C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210602-130820.FAILED
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 494, in ensure_and_create
self.create()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 623, in create
self.create_venv()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 654, in create_venv
raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210602-130820
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 462, in quarantine_failed_venv
os.rename(self.path, error_dirpath)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210602-130820' -> 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210602-130820.FAILED'
2021-06-04 09:24:53,211 - mu.virtual_environment:410(relocate) DEBUG: Virtual environment set up mu_venv-38-20210604-092453 at C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453
2021-06-04 09:24:53,211 - mu.virtual_environment:509(ensure_and_create) DEBUG: Emitter: <bound PYQT_SIGNAL display_text of StartupWorker object at 0x0000022990C47D30>; Splash Handler; <SplashLogHandler (INFO)>
2021-06-04 09:24:53,212 - mu.virtual_environment:491(ensure_and_create) DEBUG: Checking virtual environment; attempt #2.
2021-06-04 09:24:53,212 - mu.virtual_environment:633(create_venv) INFO: Creating virtualenv: C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453
2021-06-04 09:24:53,212 - mu.virtual_environment:634(create_venv) INFO: Virtualenv name: mu_venv-38-20210604-092453
2021-06-04 09:24:53,711 - mu.virtual_environment:379(run_subprocess) DEBUG: Process returned 1; output: ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
2021-06-04 09:24:53,712 - mu.virtual_environment:464(quarantine_failed_venv) ERROR: Unable to quarantine C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453 as C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453.FAILED
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 494, in ensure_and_create
self.create()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 623, in create
self.create_venv()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 654, in create_venv
raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 462, in quarantine_failed_venv
os.rename(self.path, error_dirpath)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210604-092453' -> 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210604-092453.FAILED'
2021-06-04 09:24:53,712 - mu.virtual_environment:509(ensure_and_create) DEBUG: Emitter: <bound PYQT_SIGNAL display_text of StartupWorker object at 0x0000022990C47D30>; Splash Handler; <SplashLogHandler (INFO)>
2021-06-04 09:25:00,736 - root:173(excepthook) ERROR: Unrecoverable error
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 161, in run
raise ex
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 148, in run
venv.ensure_and_create(self.display_text)
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 494, in ensure_and_create
self.create()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 623, in create
self.create_venv()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 654, in create_venv
raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453
2021-06-04 09:25:01,033 - mu.settings:169(save) DEBUG: Saving to C:\Users\rumen\AppData\Local\python\mu\session.json
2021-06-04 09:25:01,035 - mu.settings:169(save) DEBUG: Saving to C:\Users\rumen\AppData\Local\python\mu\venv.json
2021-06-04 09:31:30,519 - root:265(run) INFO:
-----------------
Starting Mu 1.1.0.beta.4
2021-06-04 09:31:30,519 - root:266(run) INFO: uname_result(system='Windows', node='DESKTOP-5JK3UUO', release='10', version='10.0.19041', machine='AMD64', processor='Intel64 Family 6 Model 61 Stepping 4, GenuineIntel')
2021-06-04 09:31:30,520 - root:267(run) INFO: Python path: ['C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python38\\site-packages', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\setuptools-49.6.0-py3.8.egg', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\pip-20.2.2-py3.8.egg', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\IPython\\extensions']
2021-06-04 09:31:30,520 - root:268(run) INFO: Language code: en_US
2021-06-04 09:31:30,596 - mu.virtual_environment:480(ensure_and_create) INFO: Added log handler.
2021-06-04 09:31:31,061 - mu.virtual_environment:491(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2021-06-04 09:31:31,062 - mu.virtual_environment:633(create_venv) INFO: Creating virtualenv: C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453
2021-06-04 09:31:31,080 - mu.virtual_environment:634(create_venv) INFO: Virtualenv name: mu_venv-38-20210604-092453
2021-06-04 09:31:31,748 - mu.virtual_environment:379(run_subprocess) DEBUG: Process returned 1; output: ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
2021-06-04 09:31:31,749 - mu.virtual_environment:464(quarantine_failed_venv) ERROR: Unable to quarantine C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453 as C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453.FAILED
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 494, in ensure_and_create
self.create()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 623, in create
self.create_venv()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 654, in create_venv
raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-092453
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 462, in quarantine_failed_venv
os.rename(self.path, error_dirpath)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210604-092453' -> 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210604-092453.FAILED'
2021-06-04 09:31:31,755 - mu.virtual_environment:410(relocate) DEBUG: Virtual environment set up mu_venv-38-20210604-093131 at C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-093131
2021-06-04 09:31:31,756 - mu.virtual_environment:509(ensure_and_create) DEBUG: Emitter: <bound PYQT_SIGNAL display_text of StartupWorker object at 0x00000173D3C08790>; Splash Handler; <SplashLogHandler (INFO)>
2021-06-04 09:31:31,756 - mu.virtual_environment:491(ensure_and_create) DEBUG: Checking virtual environment; attempt #2.
2021-06-04 09:31:31,756 - mu.virtual_environment:633(create_venv) INFO: Creating virtualenv: C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-093131
2021-06-04 09:31:31,756 - mu.virtual_environment:634(create_venv) INFO: Virtualenv name: mu_venv-38-20210604-093131
2021-06-04 09:31:32,217 - mu.virtual_environment:379(run_subprocess) DEBUG: Process returned 1; output: ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
2021-06-04 09:31:32,218 - mu.virtual_environment:464(quarantine_failed_venv) ERROR: Unable to quarantine C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-093131 as C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-093131.FAILED
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 494, in ensure_and_create
self.create()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 623, in create
self.create_venv()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 654, in create_venv
raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-093131
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 462, in quarantine_failed_venv
os.rename(self.path, error_dirpath)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210604-093131' -> 'C:\\Users\\rumen\\AppData\\Local\\python\\mu\\mu_venv-38-20210604-093131.FAILED'
2021-06-04 09:31:32,218 - mu.virtual_environment:509(ensure_and_create) DEBUG: Emitter: <bound PYQT_SIGNAL display_text of StartupWorker object at 0x00000173D3C08790>; Splash Handler; <SplashLogHandler (INFO)>
2021-06-04 09:31:39,228 - root:173(excepthook) ERROR: Unrecoverable error
Traceback (most recent call last):
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 161, in run
raise ex
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 148, in run
venv.ensure_and_create(self.display_text)
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 494, in ensure_and_create
self.create()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 623, in create
self.create_venv()
File "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 654, in create_venv
raise VirtualEnvironmentCreateError(
mu.virtual_environment.VirtualEnvironmentCreateError: Unable to create a virtual environment using C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\pythonw.exe at C:\Users\rumen\AppData\Local\python\mu\mu_venv-38-20210604-093131
2021-06-04 09:31:39,488 - mu.settings:169(save) DEBUG: Saving to C:\Users\rumen\AppData\Local\python\mu\session.json
2021-06-04 09:31:39,489 - mu.settings:169(save) DEBUG: Saving to C:\Users\rumen\AppData\Local\python\mu\venv.json
From: Carlos Pereira Atencio ***@***.***>
Sent: Friday, June 04, 2021 9:32 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
If after all that it still doesn't work, could you check if these file exists in the Mu installation?
C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\Lib\site-packages\virtualenv\seed\embed\via_app_data\via_app_data.py
and
C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\Lib\site-packages\virtualenv\seed\embed\via_app_data\__init__.py
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPE4VGW2YD5PDLCXRS3TRDITJANCNFSM453ZXM3Q> . <https://github.com/notifications/beacon/AGAGDPGF56INIYGLEFYDUCTTRDITJA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLZBO5Y.gif>
|
Thank you @efremovru. If the files are present but the Mu logs still say that it cannot find the Do you use Python in your computer, and if so do you know how it is normally invoked (in Windows depending on how Python is installed it might be executed in a terminal with Can you try to run these commands in a command prompt and copy/paste the results here?
|
I had python installed but then when I started having problems with mu, I uninstalled it just to see if that will make any difference. It did not. I haven’t re-install it pending the resolution of the mu issue. Should I re-install?
From: Carlos Pereira Atencio ***@***.***>
Sent: Friday, June 04, 2021 9:47 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thank you @efremovru <https://github.com/efremovru> .
If the files are present but the Mu logs still say that it cannot find the virtualenv.seed.embed.via_app_data module, then I think it's possible maybe there is a Python virtualenv package executable in the PATH taking preference.
Do you use Python in your computer, and if so do you know how it is normally invoked (in Windows depending on how Python is installed it might be executed in a terminal withpython or py. Do you have several Python versions installed?
Can you try to run these commands in a command prompt and copy/paste the results here?
python -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
python3 -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
py -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPCEVY4PE2ENDWJNYT3TRDKOJANCNFSM453ZXM3Q> . <https://github.com/notifications/beacon/AGAGDPFTW4ZMC4JT4DJPEZ3TRDKOJA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLZD2VY.gif>
|
No need to reinstall, but if you could try those 4 commands independently that will be useful. (Btw, if you are seeing my last responses in your email it might be a bit more readable from the GitHub website: #1612) |
Oh, if you could try this command as well it will be useful too:
|
Done. Pasted the results below. Do they make sense?
python -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
python3 -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
py -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
'py' is not recognized as an internal or external command,
operable program or batch file.
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import sys; print(sys.path)"
['', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python38\\site-packages', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\setuptools-49.6.0-py3.8.egg', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\pip-20.2.2-py3.8.egg', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin']
From: Carlos Pereira Atencio ***@***.***>
Sent: Friday, June 04, 2021 9:47 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thank you @efremovru <https://github.com/efremovru> .
If the files are present but the Mu logs still say that it cannot find the virtualenv.seed.embed.via_app_data module, then I think it's possible maybe there is a Python virtualenv package executable in the PATH taking preference.
Do you use Python in your computer, and if so do you know how it is normally invoked (in Windows depending on how Python is installed it might be executed in a terminal withpython or py. Do you have several Python versions installed?
Can you try to run these commands in a command prompt and copy/paste the results here?
python -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
python3 -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
py -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
—
You are receiving this because you were mentioned.
Reply to this email directly, <#1612 (comment)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/AGAGDPCEVY4PE2ENDWJNYT3TRDKOJANCNFSM453ZXM3Q> unsubscribe. <https://github.com/notifications/beacon/AGAGDPFTW4ZMC4JT4DJPEZ3TRDKOJA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLZD2VY.gif>
|
Thanks @efremovru! I think you missed this one, which was casually the most important one 😅
|
Apologies. Here is the result
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
From: Carlos Pereira Atencio ***@***.***>
Sent: Friday, June 04, 2021 10:06 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thanks @efremovru <https://github.com/efremovru> !
I think you missed this one, which was casually the most important one 😅
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPEUJHNCXTBEIXHPZZLTRDMV3ANCNFSM453ZXM3Q> . <https://github.com/notifications/beacon/AGAGDPBWM4S35UVU73UCUVLTRDMV3A5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLZIESY.gif>
|
Thanks! Could you try these commands:
|
Here it is. Apologies for the delay.
C:\Users\rumen>"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -m pip list
Package Version
…---------------------- --------
adafruit-board-toolkit 1.0.1
appdirs 1.4.3
backcall 0.2.0
black 20.8b1
click 7.1.2
colorama 0.4.4
decorator 5.0.7
distlib 0.3.0
filelock 3.0.12
flake8 3.9.1
ipykernel 5.5.3
ipython 7.22.0
ipython-genutils 0.2.0
jedi 0.18.0
jupyter-client 6.1.12
jupyter-core 4.7.1
mccabe 0.6.1
mu-editor 1.1.0b4
mypy-extensions 0.4.3
nudatus 0.0.5
parso 0.8.2
pathspec 0.8.1
pickleshare 0.7.5
pip 20.2.2
prompt-toolkit 3.0.18
pycodestyle 2.7.0
pyflakes 2.3.1
Pygments 2.8.1
PyQt5 5.13.2
PyQt5-sip 12.8.1
PyQtChart 5.13.1
pyserial 3.5
python-dateutil 2.8.1
pywin32 300
pyzmq 22.0.3
QScintilla 2.11.3
qtconsole 4.7.7
QtPy 1.9.0
regex 2021.4.4
semver 2.13.0
setuptools 49.6.0
six 1.15.0
toml 0.10.2
tornado 6.1
traitlets 5.0.5
typed-ast 1.4.3
typing-extensions 3.7.4.3
virtualenv 20.0.18
wcwidth 0.2.5
wheel 0.36.2
C:\Users\rumen>"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv; print(virtualenv.__version__, virtualenv.__file__, dir(virtualenv), sep='\n')"
20.0.18
C:\Users\rumen\AppData\Roaming\Python\Python38\site-packages\virtualenv\__init__.py
['__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'absolute_import', 'cli_run', 'config', 'create', 'discovery', 'info', 'pyenv_cfg', 'report', 'run', 'session', 'unicode_literals', 'util', 'version']
C:\Users\rumen>"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv; print(dir(virtualenv.seed))"
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: module 'virtualenv' has no attribute 'seed'
C:\Users\rumen>"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv; print(dir(virtualenv.seed.embed))"
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: module 'virtualenv' has no attribute 'seed'
From: Carlos Pereira Atencio ***@***.***>
Sent: Friday, June 04, 2021 10:20 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thanks!
Okay, that error is good, means we can replicate by invoking the Python interpretert embedded inside Mu.
Could you try these commands:
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -m pip list
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv; print(virtualenv.__version__, virtualenv.__file__, dir(virtualenv), sep='\n')"
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv; print(dir(virtualenv.seed))"
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv; print(dir(virtualenv.seed.embed))"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPDZ4UFZ3U64Y3NDQ3TTRDOKXANCNFSM453ZXM3Q> . <https://github.com/notifications/beacon/AGAGDPFMEQSLTZMB5WP2GN3TRDOKXA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLZKTRY.gif>
|
Hi Carlos, any update? |
guys, any chance i can find an older version of mu somewhere? |
Apologies for the delay, we've just released a new beta version of Mu, would you mind installing this version and trying again? |
thanks Calros. i just tried it and the problem is still there Traceback (most recent call last): and here is the full log: 2021-07-05 17:44:52,820 - mu.interface.main:751(show_confirmation) DEBUG: There is un-saved work, exiting the application will cause you to lose it. 2021-07-05 18:14:42,344 - root:271(run) INFO: Starting Mu 1.1.0.beta.5 During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): i went back through the versions and the one which actually works for me is mu-editor_1.0.3_win64 |
Thanks for trying again. Looking at your system configuration something that jumped to me was one of the entries to the Python path:
I did not expect to see Could you run the following commands in a command prompt and copy/paste the results here?
|
C:\Users\rumen>dir C:\Users\rumen\AppData\Roaming\Python\Python38\site-packages
Volume in drive C has no label.
Volume Serial Number is 5E4F-77FA
Directory of C:\Users\rumen\AppData\Roaming\Python\Python38\site-packages
04/18/2020 09:28 PM <DIR> .
04/18/2020 09:28 PM <DIR> ..
04/18/2020 09:27 PM <DIR> appdirs-1.4.3.dist-info
04/18/2020 09:27 PM 24,701 appdirs.py
04/18/2020 09:27 PM <DIR> distlib
04/18/2020 09:27 PM <DIR> distlib-0.3.0-py3.8.egg-info
04/18/2020 09:27 PM <DIR> filelock-3.0.12.dist-info
04/18/2020 09:27 PM 13,229 filelock.py
04/18/2020 09:28 PM <DIR> virtualenv
04/18/2020 09:28 PM <DIR> virtualenv-20.0.18.dist-info
04/18/2020 09:27 PM <DIR> __pycache__
2 File(s) 37,930 bytes
9 Dir(s) 49,707,954,176 bytes free
C:\Users\rumen>py -c "import sys; print(sys.path)" "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import sys; print(sys.path)"
['', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Python\\Python39\\python39.zip', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Python\\Python39\\DLLs', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Python\\Python39\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Python\\Python39', 'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python39\\site-packages', 'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python39\\site-packages\\win32', 'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python39\\site-packages\\win32\\lib', 'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python39\\site-packages\\Pythonwin', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages']
From: Carlos Pereira Atencio ***@***.***>
Sent: Wednesday, August 04, 2021 8:20 PM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thanks for trying again. Looking at your system configuration something that jumped to me was one of the entries to the Python path:
2021-07-05 18:14:42,345 - root:274(run) INFO: Python path: [
'C:\Users\rumen\AppData\Local\Programs\Mu Editor',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python38.zip',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\DLLs',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python',
'C:\Users\rumen\AppData\Roaming\Python\Python38\site-packages',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\setuptools-49.6.0-py3.8.egg',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\pip-20.2.2-py3.8.egg',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32\lib',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\Pythonwin',
'C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\IPython\extensions'
]
I did not expect to see C:\Users\rumen\AppData\Roaming\Python\Python38\site-packages.
Could you run the following commands in a command prompt and copy/paste the results here?
dir C:\Users\rumen\AppData\Roaming\Python\Python38\site-packages
py -c "import sys; print(sys.path)"
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import sys; print(sys.path)"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPF2XXF3E5TAYGMKZHTT3HKJFANCNFSM453ZXM3Q> .
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&utm_campaign=notification-email> . <https://github.com/notifications/beacon/AGAGDPGJ2NU7VJC7H4SF3JLT3HKJFA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGU5RU6Y.gif>
|
Thanks @efremovru! I think two commands got mixed up:
The output from this looks like it's only for the
|
Carlos, apologies, because of the quote marks I thought that the last line was part of the command above. Here is the correct version
Microsoft Windows [Version 10.0.19043.1110]
(c) Microsoft Corporation. All rights reserved.
C:\Users\rumen>"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import sys; print(sys.path)"
['', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python38\\site-packages', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\setuptools-49.6.0-py3.8.egg', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\pip-20.2.2-py3.8.egg', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin']
C:\Users\rumen>
From: Carlos Pereira Atencio ***@***.***>
Sent: Thursday, August 05, 2021 4:47 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thanks @efremovru <https://github.com/efremovru> !
I think two commands got mixed up:
C:\Users\rumen>py -c "import sys; print(sys.path)" "C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import sys; print(sys.path)" ['', 'C:\Users\rumen\AppData\Local\Programs\Python\Python39\python39.zip', 'C:\Users\rumen\AppData\Local\Programs\Python\Python39\DLLs', 'C:\Users\rumen\AppData\Local\Programs\Python\Python39\lib', 'C:\Users\rumen\AppData\Local\Programs\Python\Python39', 'C:\Users\rumen\AppData\Roaming\Python\Python39\site-packages', 'C:\Users\rumen\AppData\Roaming\Python\Python39\site-packages\win32', 'C:\Users\rumen\AppData\Roaming\Python\Python39\site-packages\win32\lib', 'C:\Users\rumen\AppData\Roaming\Python\Python39\site-packages\Pythonwin', 'C:\Users\rumen\AppData\Local\Programs\Python\Python39\lib\site-packages']
This lists only C:\Users\rumen>py -c "import sys; print(sys.path)" could you try this command separately as well?
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import sys; print(sys.path)"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPEEXIG7FWGJCHUD6PTT3JFZ5ANCNFSM453ZXM3Q> .
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&utm_campaign=notification-email> . <https://github.com/notifications/beacon/AGAGDPEH2GSACTNGEHVE7XTT3JFZ5A5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGU7GM3I.gif>
|
Thanks @efremovru, all the information you've been able to provide has been incredibly useful!! I'll summarise the findings here, so that is easier for me to look again into this issue.
The unexpected Python site packages entry in the PATH:
Confirmation that running the Mu python doesn't have that expected module inside
Checking the Mu editor packages:
This shows the Mu pip list with This command confirms Mu is picking up the other Python
And looking at the |
Carlos, thank you for looking into this. Please let me know if there is anything I can do to help with the troubleshooting.
From: Carlos Pereira Atencio ***@***.***>
Sent: Wednesday, August 25, 2021 1:03 PM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Thanks @efremovru <https://github.com/efremovru> , all the information you've been able to provide has been incredibly useful!!
And thank you for all your patience trying all the commands I could think of to diagnose this.
I'll summarise the findings here, so that is easier for me to look again into this issue.
* The logs indicate that virtualenv.seed.embed.via_app_data module cannot be found.
* Looking at the virtualenv issue tracker the authors believe this issue might be because the virtualenv package was corrupted during installation.
* My theory was that there is a different version of virtualenv in the PATH that takes priority and is at a lower version.
* Checking the sys.path from the Mu-packaged-python we can see this on the path C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python38\\site-packages, which looks like the site-packages from a local Python installation
* From running some commands on the user environment we can see python, python3, nor py are valid commands.
* So looks like Python is no longer installed or not in the the PATH.
* Checking the virtualenv version available to the Mu-packaged-python and it is indeed v20.0.18 instead of the packaged v20.4.3
* And looking at the virtualen.__file__ path: C:\Users\rumen\AppData\Roaming\Python\Python38\site-packages\virtualenv\__init__.py
_____
The unexpected Python site packages entry in the PATH:
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import sys; print(sys.path)"
[
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python',
'C:\\Users\\rumen\\AppData\\Roaming\\Python\\Python38\\site-packages',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\setuptools-49.6.0-py3.8.egg',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\pip-20.2.2-py3.8.egg',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib',
'C:\\Users\\rumen\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin'
]
Confirmation that running the Mu python doesn't have that expected module inside virtualenv:
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv.seed.embed.via_app_data; print(virtualenv.seed.embed.via_app_data.__file__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
Checking the Mu editor packages:
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -m pip list
Package Version
---------------------- --------
adafruit-board-toolkit 1.0.1
appdirs 1.4.3
backcall 0.2.0
black 20.8b1
click 7.1.2
colorama 0.4.4
decorator 5.0.7
distlib 0.3.0
filelock 3.0.12
flake8 3.9.1
ipykernel 5.5.3
ipython 7.22.0
ipython-genutils 0.2.0
jedi 0.18.0
jupyter-client 6.1.12
jupyter-core 4.7.1
mccabe 0.6.1
mu-editor 1.1.0b4
mypy-extensions 0.4.3
nudatus 0.0.5
parso 0.8.2
pathspec 0.8.1
pickleshare 0.7.5
pip 20.2.2
prompt-toolkit 3.0.18
pycodestyle 2.7.0
pyflakes 2.3.1
Pygments 2.8.1
PyQt5 5.13.2
PyQt5-sip 12.8.1
PyQtChart 5.13.1
pyserial 3.5
python-dateutil 2.8.1
pywin32 300
pyzmq 22.0.3
QScintilla 2.11.3
qtconsole 4.7.7
QtPy 1.9.0
regex 2021.4.4
semver 2.13.0
setuptools 49.6.0
six 1.15.0
toml 0.10.2
tornado 6.1
traitlets 5.0.5
typed-ast 1.4.3
typing-extensions 3.7.4.3
virtualenv 20.0.18
wcwidth 0.2.5
wheel 0.36.2
This shows the Mu pip list with virtualenv at 20.0.18
"C:\Users\rumen\AppData\Local\Programs\Mu Editor\Python\python.exe" -c "import virtualenv; print(virtualenv.__version__, virtualenv.__file__, dir(virtualenv), sep='\n')"
20.0.18
C:\Users\rumen\AppData\Roaming\Python\Python38\site-packages\virtualenv\__init__.py
['__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'absolute_import', 'cli_run', 'config', 'create', 'discovery', 'info', 'pyenv_cfg', 'report', 'run', 'session', 'unicode_literals', 'util', 'version']
And looking at the virtualenv repo we can confirm the old version doesn't have the expected seed.embed.via_app_data module:
* v20.0.18 -> https://github.com/pypa/virtualenv/tree/20.0.18/src/virtualenv/seed/embed
* v20.4.3 -> https://github.com/pypa/virtualenv/tree/20.4.3/src/virtualenv/seed/embed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPD4O6RLJPVUK6UAV63T6UO4PANCNFSM453ZXM3Q> .
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&utm_campaign=notification-email> . <https://github.com/notifications/beacon/AGAGDPEFVFNLQ6XZ52EXJQLT6UO4PA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGX6BPDA.gif>
|
Thanks @efremovru, now we know why Mu was producing that error, although I'm not too sure yet how to update Mu to be able to avoid it. In the meantime, could you also try these commands? They'll give us a tiny bit more info:
Did you used to have Python installed in your computer? If so, did you uninstall it? Do you remember maybe adding this value to your PATH manually |
Yes, I did. I may have uninstalled it at some point but i have it now I remember adding PATH manually ( i think i needed it for pip) |
@efremovru 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? 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. |
Not sure how to do it. I thought that there will be a link behind the name but they seem to be static labels
From: Carlos Pereira Atencio ***@***.***>
Sent: Wednesday, December 15, 2021 7:32 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
@efremovru <https://github.com/efremovru> 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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPCTSFXJFRULQ2K4GK3URCDD3ANCNFSM453ZXM3Q> .
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> . <https://github.com/notifications/beacon/AGAGDPGXRETVMDHXZWLTO5LURCDD3A5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHNFKLOQ.gif>
|
Right, make sure you are logged into GitHub when going to https://github.com/mu-editor/mu/actions/runs/1574840282 , otherwise it won't add the link to the downloads. |
Houston, we have lift off!!!!!!!!!!!!!!!!!
Thank you Carlos! All good now. The universe is at piece😊
From: Carlos Pereira Atencio ***@***.***>
Sent: Wednesday, December 15, 2021 10:13 AM
To: mu-editor/mu ***@***.***>
Cc: efremovru ***@***.***>; Mention ***@***.***>
Subject: Re: [mu-editor/mu] Crash Report (#1612)
Right, make sure you are logged into GitHub when going to https://github.com/mu-editor/mu/actions/runs/1574840282 , otherwise it won't add the link to the downloads.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1612 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAGDPD7HG4NKGCVT6TVL5DURCWAPANCNFSM453ZXM3Q> .
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> . <https://github.com/notifications/beacon/AGAGDPEOWTF43KUGD4YQND3URCWAPA5CNFSM453ZXM32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHNGMORQ.gif>
|
Awesome, thanks for trying the installer! Thanks again for bearing with us this long and helping with all the debugging! |
REMEMBER TO ATTACH YOUR LOG FILE
Version: 1.1.0.beta.4
Locale: en_US
Platform: Windows 10 10.0.19041 AMD64
The text was updated successfully, but these errors were encountered: