micro-ROS / micro_ros_platformio

micro-ROS library for Platform.IO
Apache License 2.0
222 stars 80 forks source link

Downloading micro-ROS dev dependencies KeyError: '': #112

Closed samuk closed 1 year ago

samuk commented 1 year ago

Issue template

Steps to reproduce the issue

Use this

[env]
platform = pico
framework = arduino
upload_port = /dev/ttyACM0
upload_protocol = teensy-cli
board_microros_transport = serial # or wifi
board_microros_distro = ${sysenv.ROS_DISTRO}
lib_deps = https://github.com/micro-ROS/micro_ros_platformio
    jrowberg/I2Cdevlib-Core
    jrowberg/I2Cdevlib-ADXL345
;    jrowberg/I2Cdevlib-AK8963
    jrowberg/I2Cdevlib-AK8975
    jrowberg/I2Cdevlib-HMC5843
    jrowberg/I2Cdevlib-HMC5883L
    jrowberg/I2Cdevlib-ITG3200
 ;   jrowberg/I2Cdevlib-MPU6050
;    jrowberg/I2Cdevlib-MPU9150
;    jrowberg/I2Cdevlib-MPU9250
    https://github.com/wollewald/INA219_WE
    https://github.com/arcao/Syslog
build_flags = -I ../config

Using the VScode editor run platformio

Expected behavior

Microros dependencies are downloaded and the software compiled

Actual behavior

Collecting pytz Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB) Installing collected packages: pytz Successfully installed pytz-2023.3 Installing markupsafe==2.0.1 with pip at PlatformIO environment /home/sam/.platformio/penv/bin/python -m pip install markupsafe==2.0.1 Collecting markupsafe==2.0.1 Using cached MarkupSafe-2.0.1-cp311-cp311-linux_x86_64.whl Installing collected packages: markupsafe Successfully installed markupsafe-2.0.1 Configuring rpipico with transport serial Downloading micro-ROS dev dependencies KeyError: '': File "/home/sam/.platformio/penv/lib/python3.11/site-packages/platformio/builder/main.py", line 173: env.SConscript("$BUILD_SCRIPT")

Additional information

samuk commented 1 year ago

I resolved this