You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The microbit-dal library hasn't changed. It is still available in the registry. On my machine It is listed as installed in "PIO Home" along with "ble" and "ble-nrf51822"
I get the same behaviour from PIO on macOS (10.15.2)
The text was updated successfully, but these errors were encountered:
I have exactly the same problem with a project with the ble" and "ble-nrf51822" libraries.
I would really need a solution, it stopped compiling with release 4.2.0 onward.
Before it was OK
Hey,
I wonder if this will help you. I got it working for a Red Bear Nano v1, which uses the nRF51822
https://github.com/knud/RB_Nano_v1
steven
On February 25, 2020 at 07:47:51, franzle ([email protected]) wrote:
I have exactly the same problem with a project with the ble" and "ble-nrf51822" libraries.
I would really need a solution, it stopped compiling with release 4.2.0 onward.
Before it was OK
francesco
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system:
OS Name: Microsoft Windows 10 Home
OS Version: 10.0.18362 N/A Build 18362
PlatformIO Version (
platformio --version
):PlatformIO, version 4.2.0
Description of problem
Build fails with "TypeError: string indices must be integers:" during dependency scan
Steps to Reproduce
Actual Results
Processing bbcmicrobit (platform: nordicnrf51; board: bbcmicrobit; framework: mbed)
Verbose mode can be enabled via
-v, --verbose
optionCONFIGURATION: https://docs.platformio.org/page/boards/nordicnrf51/bbcmicrobit.html
PLATFORM: Nordic nRF51 5.0.2 > BBC micro:bit
HARDWARE: NRF51822 16MHz, 16KB RAM, 256KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (jlink)
PACKAGES:
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 7 compatible libraries
Scanning dependencies...
TypeError: string indices must be integers:
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\main.py", line 156:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\hansj.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\hansj.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\hansj.platformio\platforms\nordicnrf51\builder\main.py", line 115:
target_elf = env.BuildProgram()
File "C:\Users\hansj.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 219:
return self.method(*nargs, **kwargs)
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 62:
env.ProcessProjectDeps()
File "C:\Users\hansj.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 219:
return self.method(*nargs, **kwargs)
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 131:
project_lib_builder = env.ConfigureProjectLibBuilder()
File "C:\Users\hansj.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 219:
return self.method(*nargs, **kwargs)
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1041:
project.search_deps_recursive()
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 404:
self.process_dependencies()
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 890:
self.depend_recursive(lb)
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 399:
lb.search_deps_recursive(search_files)
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 404:
self.process_dependencies()
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 283:
self.depend_recursive(lb)
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 399:
lb.search_deps_recursive(search_files)
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 404:
self.process_dependencies()
File "C:\Users\hansj.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 279:
if item["name"] != lb.name:
=========================== [FAILED] Took 2.53 seconds ===========================
The terminal process terminated with exit code: 1
Expected Results
Successful compilation
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
The microbit-dal library hasn't changed. It is still available in the registry. On my machine It is listed as installed in "PIO Home" along with "ble" and "ble-nrf51822"
I get the same behaviour from PIO on macOS (10.15.2)
The text was updated successfully, but these errors were encountered: