Report
2 weeks, 1 day ago.

Mbed Studio not working

Dear support,

I already submitted this request to studio@mbed.com (on May 22) but I haven't got any answer. So I am trying to submit the question through this forum.

I installed Mbed Studio, version 0.5.1. The installation was successful but I immediately encountered two problems: - I created a new program from the “mbed-os-sample-blinky” sample. Build for this program fails with error “permission denied”. Error at [2019-05-22T15:25:10.565] in the log file. - I tried to import a program from my online Mbed-OS account. It fails as well “saying that the python27.dll” cannot be found. Python 2.7 is installed on my machine. Error at [2019-05-22T15:12:47.104] in the log file.

I would more than happy to attach the log file, but the link for inserting images or files does not work. So I have copied the related lines of the log file below.

Please provide me with some help in how to solve these two issues.

Best regards,

Serge

[2019-05-22T15:25:02.343] [DEBUG] root/mbs-workspace - checking the Mbed OS version of file:/c%3A/Users/serge.ayer/Mbed%20Programs/mbed-os-example-blinky [] [2019-05-22T15:25:02.383] [DEBUG] root/mbs-workspace - Determined Mbed OS version as 5 .12 .0 [] [2019-05-22T15:25:02.384] [INFO] root/mbs-build - Building program at file:/c%3A/Users/serge.ayer/Mbed%20Programs/mbed-os-example-blinky with program name of mbed-os-example-blinky [] [2019-05-22T15:25:02.386] [INFO] root/mbs-core - Updating CoreMbedApplicationState with updateType: BUILD_SESSION, update: true [] [2019-05-22T15:25:02.401] [INFO] root/mbs-build - Number of processors: 4 [] [2019-05-22T15:25:02.403] [INFO] root/mbs-build - BUILD OPTIONS: c:\Users\serge.ayer\AppData\Local\Mbed Studio\mbed-studio-tools\python\python.exe -u,c:\Users\serge.ayer\Mbed Programs\mbed-os-example-blinky/mbed-os/tools/make.py,profile,c:\Users\serge.ayer\AppData\Local\Mbed Studio\programs\mbed-os-example-blinky_-92988775\profile.json,tool,ARMC6,mcu,NRF51_DK,source,.,build,BUILD/NRF51_DK/ARMC6,-N,mbed-os-example-blinky [] [2019-05-22T15:25:02.403] [DEBUG] root/process - Starting raw process: c:\Users\serge.ayer\AppData\Local\Mbed Studio\mbed-studio-tools\python\python.exe, with args: -u c:\Users\serge.ayer\Mbed Programs\mbed-os-example-blinky/mbed-os/tools/make.py profile c:\Users\serge.ayer\AppData\Local\Mbed Studio\programs\mbed-os-example-blinky_-92988775\profile.json tool ARMC6 mcu NRF51_DK source . build BUILD/NRF51_DK/ARMC6 -N mbed-os-example-blinky, with options: {"cwd":"c:
Users
serge.ayer
Mbed Programs
mbed-os-example-blinky","env":{"PATH":"c:
Users
serge.ayer
AppData
Local
Mbed Studio
mbed-studio-tools
python
python.exe;c:
Users
serge.ayer
AppData
Local
Mbed Studio
mbed-studio-tools
ac6
bin","NUMBER_OF_PROCESSORS":"4","ARMLMD_LICENSE_FILE":"c:
Users
serge.ayer
AppData
Local
Mbed Studio
mbed-studio-tools
ac6-license.dat","ARMCOMPILER6_FROMELFOPT":"ide=mbed","TMP":"C:
Users
SERGE1.AYE
AppData
Local
Temp"}} [] [2019-05-22T15:25:02.404] [INFO] root/mbs-core - Determining program buttons status: {"BUILD":{"type":"BUILD","typeString":"BUILD","isDisabled":true,"tooltip":"Build in progress"},"DEBUG":{"type":"DEBUG","typeString":"DEBUG","isDisabled":true,"tooltip":"Build in progress"},"RUN":{"type":"RUN","typeString":"RUN","isDisabled":true,"tooltip":"Build in progress"}} [] [2019-05-22T15:25:02.404] [INFO] root/mbs-build - Started Building mbed-os-example-blinky at file:/c%3A/Users/serge.ayer/Mbed%20Programs/mbed-os-example-blinky, targeting NRF51_DK [] [2019-05-22T15:25:10.563] [DEBUG] root/process - Process 13156 has exited with code 1. [ 'c:
Users
serge.ayer
AppData
Local
Mbed Studio
mbed-studio-tools
python
python.exe', [ '-u', 'c:
Users
serge.ayer
Mbed Programs
mbed-os-example-blinky/mbed-os/tools/make.py', '
profile', 'c:
Users
serge.ayer
AppData
Local
Mbed Studio
programs
mbed-os-example-blinky_-92988775
profile.json', 'tool', 'ARMC6', 'mcu', 'NRF51_DK', 'source', '.', 'build', 'BUILD/NRF51_DK/ARMC6', '-N', 'mbed-os-example-blinky' ] ] [2019-05-22T15:25:10.564] [DEBUG] root/process - Unregistering process. [ID: 6] [] [2019-05-22T15:25:10.565] [DEBUG] root/process - The process was successfully unregistered. [ID: 6] [] [2019-05-22T15:25:10.565] [ERROR] MbedStudio - Request build failed with error: Process failed with exit code 1 [ 'Error: Process failed with exit code 1\n at C:
Users
serge.ayer
AppData
Local
Programs
Mbed Studio
resources
app
node_modules
@mbed
mbs-core
lib
backend-common
process-runner.js:84:32\n at C:
Users
serge.ayer
AppData
Local
Programs
Mbed Studio
resources
app
node_modules
@theia
core
lib
common
event.js:161:33\n at CallbackList.invoke (C:
Users
serge.ayer
AppData
Local
Programs
Mbed Studio
resources
app
node_modules
@theia
core
lib
common
event.js:176:39)\n at Emitter.fire (C:
Users
serge.ayer
AppData
Local
Programs
Mbed Studio
resources
app
node_modules
@theia
core
lib
common
event.js:264:29)\n at RawProcess.Process.emitOnExit (C:
Users
serge.ayer
AppData
Local
Programs
Mbed Studio
resources
app
node_modules
@theia
process
lib
node
process.js:77:26)\n at ChildProcess.<anonymous> (C:
Users
serge.ayer
AppData
Local
Programs
Mbed Studio
resources
app
node_modules
@theia
process
lib
node
raw-process.js:92:23)\n at ChildProcess.emit (events.js:182:13)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)' ] [2019-05-22T15:25:10.608] [INFO] root/mbs-build - Project build failed: Request build failed with message: Process failed with exit code 1 [] [2019-05-22T15:25:10.608] [INFO] root/mbs-core - Updating CoreMbedApplicationState with updateType: BUILD_SESSION, update: false [] [2019-05-22T15:25:10.609] [INFO] root/mbs-core - Determining program buttons status: {"BUILD":{"type":"BUILD","typeString":"BUILD","isDisabled":false,"tooltip":"Build program"},"DEBUG":{"type":"DEBUG","typeString":"DEBUG","isDisabled":true,"tooltip":"Connect a platform to debug"},"RUN":{"type":"RUN","typeString":"RUN","isDisabled":true,"tooltip":"Connect a platform to run"}} []

[2019-05-22T15:12:45.975] [ERROR] MbedStudio - Warning: Each child in an array or iterator should have a unique "key" prop.

Check the top-level render call using <ul>. See https://fb.me/react-warning-keys for more information. in li [] [2019-05-22T15:12:46.933] [ERROR] MbedStudio - Request makeTextRequest failed with error: Received status code 403 [ 'Error: Received status code 403\n at ElectronHttpRpcFrontend.<anonymous> (file:/C:/Users/serge.ayer/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/76.bundle.js:187:35)\n at step (file:/C:/Users/serge.ayer/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/76.bundle.js:67:23)\n at Object.next (file:/C:/Users/serge.ayer/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/76.bundle.js:48:53)\n at fulfilled (file:/C:/Users/serge.ayer/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/76.bundle.js:39:58)' ] [2019-05-22T15:12:47.104] [ERROR] MbedStudio - Request cloneProject failed with error: Unable to execute Mercurial command at c:\Users\serge.ayer\AppData\Local\Mbed Studio\mbed-studio-tools\python\Scripts\hg.exe: abort: failed to load Python DLL python27.dll [ 'abort: failed to load Python DLL python27.dll\r\n' ] [2019-05-22T15:12:47.108] [ERROR] MbedStudio - Uncaught Exception: [ '[object Object]' ] [2019-05-22T15:12:47.109] [ERROR] MbedStudio - abort: failed to load Python DLL python27.dll [] [2019-05-22T15:12:47.128] [ERROR] root/mbs-program - Could not create WeatherStation_TP1 at file:/c%3A/Users/serge.ayer/Mbed%20Programs: Request cloneProject failed with message: Unable to execute Mercurial command at c:\Users\serge.ayer\AppData\Local\Mbed Studio\mbed-studio-tools\python\Scripts\hg.exe: abort: failed to load Python DLL python27.dll [] [2019-05-22T15:13:18.974] [ERROR] MbedStudio - Request makeTextRequest failed with error: Received status code 403 [ 'Error: Received status code 403\n at ElectronHttpRpcFrontend.<anonymous> (file:/C:/Users/serge.ayer/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/76.bundle.js:187:35)\n at step (file:/C:/Users/serge.ayer/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/76.bundle.js:67:23)\n at Object.next (file:/C:/Users/serge.ayer/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/76.bundle.js:48:53)\n at fulfilled (file:/C:/Users/serge.ayer/AppData/Local/Programs/Mbed%20Studio/resources/app/lib/76.bundle.js:39:58)' ] [2019-05-22T15:13:19.033] [ERROR] MbedStudio - Request cloneProject failed with error: Unable to execute Mercurial command at c:\Users\serge.ayer\AppData\Local\Mbed Studio\mbed-studio-tools\python\Scripts\hg.exe: abort: failed to load Python DLL python27.dll [ 'abort: failed to load Python DLL python27.dll\r\n' ] [2019-05-22T15:13:19.036] [ERROR] MbedStudio - Uncaught Exception: [ '[object Object]' ] [2019-05-22T15:13:19.036] [ERROR] MbedStudio - abort: failed to load Python DLL python27.dll []

Comment on this question

1 Answer

2 weeks, 1 day ago.

Hi Serge,

Thank you for reporting this issue and for providing logs. Mbed Studio team was notified about this problem and is currently investigating it. We will come back to you with solution/further questions as soon as possible.

Regards Arek Zaluski

Both issues should be now resolved in latest release of Mbed Studio - version 0.5.2. It can be downloaded from: https://os.mbed.com/studio/. Do not hesitate to post here or using Mbed Studio feedback feature in case of any issues.

posted by Arek Zaluski 18 Jun 2019

To post an answer, please log in.