[ros-users] [Discourse.ros.org] [OpenEmbedded] Python troubl…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Lars Larsen via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] [OpenEmbedded] Python trouble



Hi


I need a little assistance in hunting down an error in my _meta-ros_ usage
roswtf keep reporting "mportError: No module named importlib"

This is clearly a missing python dependency somewhere, but where ??

I made my own packagegroup to pull in the ros components i want on target

BR Lars Larsen
quoted files below:

----------

**My bblayers.conf**

>     # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
>     # changes incompatibly
>     POKY_BBLAYERS_CONF_VERSION = "2"


>     BBPATH = "${TOPDIR}"
>     BBFILES ?= ""


>     BBLAYERS ?= " \
>       ${POKYROOT}/meta \
>       ${POKYROOT}/meta-poky \
>       ${POKYROOT}/meta-yocto-bsp \
>       ${POKYROOT}/meta-linaro/meta-linaro \
>       ${POKYROOT}/meta-ros \
>       ${POKYROOT}/meta-fpe \
>       ${POKYROOT}/meta-fpe/meta-overloads \ 
>       ${POKYROOT}/meta-openembedded/meta-networking \
>       ${POKYROOT}/meta-openembedded/meta-oe \
>       ${POKYROOT}/meta-openembedded/meta-python \    
>       "

>
>
>     BBLAYERS_NON_REMOVABLE ?= " \
>       ${POKYROOT}/meta \
>       ${POKYROOT}/meta-poky \
>       "



----------

**Git status**

    meta              
    meta-poky         
    meta-yocto-bsp    = "morty:5aa481dfedfd089f0d6e8a3bae1b84134d5dff4c"
    meta-linaro       = "morty:69a8bac680362906c9d261424c62749f7e555ca2"
    meta-ros          = "master:8a3adc1a6542f2c8a40b36021a78dc1057e3ed08"
    meta-fpe          
    meta-overloads    = "develop:3672ef2e2beb9b23d177d0a98afc40306c6f9397"
    meta-networking   
    meta-oe           
    meta-python       = "morty:1efa5d623bc64659b57389e50be2568b1355d5f7"





----------



**packagegroup-fpe-ros.bb**

    DESCRIPTION = "fpe_ros package group, ros elements used by bfw"
    LICENSE = "MIT"


    inherit packagegroup


    PACKAGES = "${PN}"


    # Add ROS components to pull in
    # this is basically a copy of packagegroup-ros-comm.bb 
    # deleted: rosbag rosbag-storage 
    # catkin changed to catkin-runtime



    RDEPENDS_${PN} = "\
        rosconsole \
        rosparam \
        catkin-runtime \
        genmsg \
        rosgraph \
        genpy \
        rosbuild \
        rospack \
        rosmake \
        rosboost-cfg \
        rosbash \
        roslib \
        roscreate \
        mk \
        rosclean \
        rosunit \
        roslang \
        roscpp \
        rosout \
        roscpp-serialization \
        roscpp-traits \
        topic-tools \
        rostest \
        rostopic \
        message-generation \
        cpp-common \
        genlisp \
        message-filters \
        rosservice \
        rospy \
        rosgraph-msgs \
        rosnode \
        std-srvs \
        xmlrpcpp \
        roslaunch \
        rosmaster \
        roswtf \   
        rosmsg \
        std-msgs \
        message-runtime \
        rostime \
        gencpp \
        genlisp \
        "





    #      python-rospkg \







---
[Visit Topic](https://discourse.ros.org/t/python-trouble/1439/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>