mu-editor / crash-reports

0 stars 1 forks source link

Mu Editor won't start after downloading. Error: No Qt platform plugin could be initialized. #79

Open Capekk opened 3 years ago

Capekk commented 3 years ago

What were you trying to do?

Hi, this was my first attempt of coding in circuitpython, but it didn't go as planned... I wanted to code in circuitpython in Mu, but I can't open the app.

What steps did you take to trigger the issue?

Downloaded the install file. Installed Mu. Tried to open it.

What did you expect to happen?

I expected it to open

What actually happened?

Mu didn't open.

The error message said: This application failed to start because no Qt platform plugin could be initialized.

image

I already tried reinstalling, but no solution there.

Operating System Version

Windows 10 Home

Mu Version

1.1.0-beta-5

Other Info

As I said, I don't understand what happend or how to fix it.

Editor Log

2021-09-10 16:29:35,601 - root:271(run) INFO:


Starting Mu 1.1.0.beta.5 2021-09-10 16:29:35,601 - root:272(run) INFO: uname_result(system='Windows', node='Number-Cruncher', release='10', version='10.0.19041', machine='AMD64', processor='Intel64 Family 6 Model 158 Stepping 10, GenuineIntel') 2021-09-10 16:29:35,601 - root:273(run) INFO: Platform: Windows-10-10.0.19041-SP0 2021-09-10 16:29:35,601 - root:274(run) INFO: Python path: ['C:\Users\Viktor J\AppData\Local\Programs\Mu Editor', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\python38.zip', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\DLLs', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\lib', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\lib\site-packages', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\setuptools-49.6.0-py3.8.egg', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\pip-20.2.2-py3.8.egg', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32\lib', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\Pythonwin', 'C:\Users\Viktor J\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\IPython\extensions'] 2021-09-10 16:29:35,601 - root:275(run) INFO: Language code: en_US 2021-09-10 16:29:35,602 - mu.settings:220(load) WARNING: No settings file found at C:\Users\VIKTOR~1\AppData\Local\python\mu\settings.json; skipping 2021-09-10 16:29:35,602 - mu.settings:220(load) WARNING: No settings file found at C:\Users\VIKTOR~1\AppData\Local\python\mu\session.json; skipping 2021-09-10 16:40:52,079 - root:271(run) INFO:

Plshaa commented 3 years ago

I have the same problem and i don't know what to do too.

Capekk commented 3 years ago

I have the same problem and i don't know what to do too.

I downloaded the program on another device (my old notebook) and copied it to my PC. Now I can access the folder I copied it to and start the program from there(or create a shortcut to my desktop). I don't know how I can start "copy-paste" Mu, but most likely the files you and I downloaded get corrupt in some way along downloading.

Plshaa commented 3 years ago

Helped, thank you. : )

carlosperate commented 2 years ago

@Capekk @Plshaa I believe this issue has been resolved in the Mu v1.1.1 release. Would you be able to test the latest installer from https://codewith.mu/en/download and see if that works in your environment? Thanks!

Capekk commented 2 years ago

@Capekk @Plshaa I believe this issue has been resolved in the Mu v1.1.1 release. Would you be able to test the latest installer from https://codewith.mu/en/download and see if that works in your environment? Thanks!

Hi there @carlosperate , I haven't been paying much attention to this thread lately, but just now I tried it again and the same error appeared in the Mu v1.1.1 release.

carlosperate commented 2 years ago

Hi @Capekk, thank you for trying again the latest version!

Maybe I misremembered and the fix for this was added after the v1.1.1 release, I'm not too sure, sorry. Would you be able to try the latest test installer? It'd help if you could uninstall the previous version of Mu before installing this one, as it will be listed as also being v1.1.1.

To download it go to this link while logged into GitHub (otherwise the download link doesn't appear), and download the mu-editor-Windows-... file from the bottom of the page: https://github.com/mu-editor/mu/actions/runs/2697356255

image
Capekk commented 2 years ago

Just tried it, @carlosperate. Didn't work on the first try but I'll try and clear all the data once again from AppData and so on...(Something from the old version could mess this one - don't worry I did uninstall the old one.) I'll keep trying!

Capekk commented 2 years ago

Tried a few more times, still the same. Thanks for the help and I hope there will be a time where I actually start Mu. Have a good day!

Marcinosoft commented 1 year ago

Try to execute following command from command prompt:

xcopy "%LOCALAPPDATA%\Programs\Mu Editor\Python\Lib\site-packages\PyQt5\Qt\plugins\platforms\" "%LOCALAPPDATA%\Programs\Mu Editor\Python\platforms\"

Then let me know if this helped or not.

tamhrn commented 1 year ago

It halped me! Thank you so much

tntxbook commented 9 months ago

same problem happen in 2024 xd

dancespeed commented 1 month ago

https://rutube.ru/video/cd3c69e3b3f5b09757f675ab158c3107/

Try it. It helped me.

tntxbook commented 1 month ago

Thanks, I will try it recently.

---- Replied Message ---- | From | @.> | | Date | 09/14/2024 16:22 | | To | mu-editor/crash-reports @.> | | Cc | tntxbook @.>, Comment @.> | | Subject | Re: [mu-editor/crash-reports] Mu Editor won't start after downloading. Error: No Qt platform plugin could be initialized. (#79) |

https://rutube.ru/video/cd3c69e3b3f5b09757f675ab158c3107/

Try it. It helped me.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

MrSmileXX0 commented 9 hours ago

https://rutube.ru/video/cd3c69e3b3f5b09757f675ab158c3107/

Try it. It helped me.

Thank you! Worked for me.