uPyCraft - Issues on Windows 10

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
GryKyo
Posts: 8
Joined: Sat Dec 15, 2018 12:43 am

uPyCraft - Issues on Windows 10

Post by GryKyo » Thu Jan 10, 2019 12:06 am

Seeking any good/bad experiences from people who have tried to run uPyCraft on Windows 10 64 bit and failed, had error messages etc?

I have been using uPyCraft on a windows 8 laptop and it is great, robust and very easy to edit code on the fly, I like it. I have so far failed to get it to start on my Windows 10 laptop. I have put a few days into this so far and have raised an issue on the uPyCraft GitHub in the hope somebody has solved this!
Initially I had a Windows error message "The application was unable to start correctly (0xc000007b). Click OK to close the application." which seemed to point towards wrong or missing dependencies or .dll files in Windows.

Suggestions are like:
1. Replace these files. mfc100.dll, mfc100u.dll, msvcr100.dll, msvcp100.dll and msvcr100_clr0400.dll

They can be found at w w w.microsoft.com/en-us/download/details.aspx?id=5555

Please save these files to any location on your PC;

2. Please reboot your computer in Safe Mode
[How to restart in SAFE MODE]
- Restart the computer;
- Press the "F8" key (several times before Microsoft Windows begins to load; you need to press "F8" until you will be displayed a text menu;
- Select "SAFE MODE";
Note: for Windows 8, you can hold the Shift key while going to Power Off and clicking on Restart option
3. Access C:\Windows\System32;
4. Locate the 5 files you have downloaded and extracted;
5. Next, copy all those files to C:\Windows\System32 replacing the current ones;
6. Reboot in normal mode
This is a brand new PC which I don't wish to upset by changing dll's etc.

Any experiences to share?

TIA, G

stijn
Posts: 316
Joined: Thu Apr 24, 2014 9:13 am

Re: uPyCraft - Issues on Windows 10

Post by stijn » Thu Jan 10, 2019 10:03 am

Replace these files.
Yeah, don't do that unless you want more problems in the future.
What you should do is first figure out the actual problem: download dependencywalker from http://dependencywalker.com/ and figure out which are the missing dependencies, then install them (in case of missing Visual Studio runtime, download and install the appropriate vcredist.exe).

Anyway I cannot reproduce this. I downloaded upycraft_v1.1.exe, installed SourceCodePro font as asked, and it just runs without errors.

Peter
Posts: 1
Joined: Tue Dec 04, 2018 7:33 pm

Re: uPyCraft - Issues on Windows 10

Post by Peter » Wed Jan 16, 2019 5:57 pm

I use it on Win10 and 8.1 and it seems to work as advertised in both cases. It's a little weird on how it handles stored files in the workspace but apart from that, it seems to be a competent little IDE. You might try turning off your security shields .. maybe that is the problem. Also make sure you have valid firmware. I found that you need to download your own firmware for the ESP board and use that in preference to the one that uPyCraft finds.
P

GryKyo
Posts: 8
Joined: Sat Dec 15, 2018 12:43 am

Re: uPyCraft - Issues on Windows 10

Post by GryKyo » Wed Jan 16, 2019 9:53 pm

I have not been able to fix this and I am not alone. I have come across somebody else having similar problems which are all related to run time environment, dependencies and processor architecture. Being a new PC I don't want to do anything crazy. The uPyCraft application won't even start on the Win10 pc. I use it on my Windows 8 pc and it is very easy, intuitive and so convenient to build and debug code.

I don't have the time to deep dive into this nor the inclination to hack at a new windows installation to make this application work. Looks like development will stay on the old machine!

Thanks for the help!

G

FeK9
Posts: 1
Joined: Sun Jan 20, 2019 8:19 am

Re: uPyCraft - Issues on Windows 10

Post by FeK9 » Sun Jan 20, 2019 4:35 pm

Hi

I used this Tutorial to get uPyCraft installed on a Win10 Dell laptop, did you also install Python 3.7.X ?

Regards
John

https://randomnerdtutorials.com/install ... tructions/

olzeke51
Posts: 1
Joined: Sun Apr 07, 2019 1:56 am

Re: uPyCraft - Issues on Windows 10

Post by olzeke51 » Sun Apr 07, 2019 2:06 am

uPyCraft v1.0 reported a missing msvcr100.dll. (windows 10 - 64bit)
I downloaded several of the Microsoft files but this is the one that solved the issue:
Microsoft Visual C++ 2010 Redistributable Package (x86)
https://www.microsoft.com/en-us/downloa ... px?id=5555
HTH some others

Post Reply