Wind River Support Network

HomeDefectsLIN7-6381
Fixed

LIN7-6381 : IDP XT 3.1.0.15 -- Python runpy.py is not included in sdk

Created: Jun 8, 2016    Updated: Sep 8, 2018
Resolved Date: Jun 12, 2016
Previous ID: IDP3-1618
Found In Version: 7.0.0.15
Fix Version: 7.0.0.17
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: System Usecases

Description

The runpy.py module is not populated into the sdk. While executing python within the toolchain, it cannot find the runpy module. Error as below:

"Could not import runpy module" This is a standard Python module that should ship with every installation. Looking at the windriver toolchain. The python search path it is using is:

/opt/windriver/wrlinux/7.0-intel-baytrail-64/sysroots/x86_64-wrlinuxsdk-linux/usr/li b/python2.7 The runpy module is not available there. I did find it elsewhere at: sysroots/corei7-64-wrs-linux/usr/lib64/python2.7/runpy.py

Unfortunately this is not included automatically by python within the windriver toolchain environment

Steps to Reproduce

Duplication Steps:

1.) Configure the build config as follows:
<install dir>/wrlinux-7/wrlinux/configure --enable-reconfig --enable-addons=wr-idp --enable-board=intel-baytrail-64 --enable-bootimage=ext3,hdd --enable-internet-download=yes --enable-kernel=idp --enable-patchresolve=noop --enable-rootfs=idp --enable-test=no --with-layer=wr-hac-agent,wr-kernel/kernel-dev,wr-ma,wr-mcafee,wr-prosyst-mbs-smarthome-sdk-ia,wr-wks-oneagent-oma-dm-ia,wr-wks-oneagent-tr069 --with-package=autoconf,automake,conntrack-tools,curl,fuse,gdb,git,iasl,igmpproxy,iperf,ipset,less,libcli,libtool,make,mipv6-daemon-umip,netcat,ntfs-3g,ntfsprogs,perl,ruby,screen,sshfs-fuse,subversion,swig,tcpdump,tftp-hpa,tftp-hpa-server,vim --with-template=feature/backports,feature/bluetooth,feature/haccmds,feature/ipsec_vpn,feature/non-grsec,feature/online_updates,feature/openjdk-bin,feature/pptp_vpn,feature/recovery,feature/self-hosted,feature/target-toolchain,feature/vlan --with-rcpl-version=0015

2.) make fs
3.) make export-sdk

4.) Install Toolchain:
sudo ./Project/export/wrlinux-7.0.0.15-glibc-x86_64-intel_baytrail_64-wrlinux-image-idp-sdk.sh
press enter, enter and enter.

5.) Search for runpy.py:
cd /opt/windriver/wrlinux/7.0-intel-baytrail-64/sysroots
sudo find -name "runpy.py"

Other Downloads


Live chat
Online