Wind River Support Network

HomeDefectsLIN6-9958
Fixed

LIN6-9958 : wrlinux 6 - python related errors in the exported sdk

Created: Jun 2, 2015    Updated: Dec 3, 2018
Resolved Date: Nov 30, 2015
Found In Version: 6.0.0.13
Fix Version: 6.0.0.27
Severity: Low
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

when sourcing the env.sh from an exported sdk, and running a bogus linux command (for example "asd") a core dump is usually generated.

Steps to Reproduce

/home/xxxx/installs/wrlinux6/wrlinux-6/wrlinux/configure --enable-build=production --enable-rootfs=glibc-std --enable-board=xilinx-zynq --enable-ccache=no --with-sstate-dir=../build_xilinx-zynq.sstate --enable-parallel-pkgbuilds=9 --enable-jobs=9 --enable-prserver=no --enable-buildstats --with-rcpl-version=0013 && make export-sdk

on a Ubuntu 14.04 32 bit host:


xxxx@build:/opt/windriver/wrlinux/6.0-xilinx-zynq$ source ./env.sh
xxxx@build:/opt/windriver/wrlinux/6.0-xilinx-zynq$ asd
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted (core dumped)
xxxx@build:/opt/windriver/wrlinux/6.0-xilinx-zynq$ pwd
/opt/windriver/wrlinux/6.0-xilinx-zynq
xxxx@build:/opt/windriver/wrlinux/6.0-xilinx-zynq$ asdasd
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted (core dumped)

Other Downloads


Live chat
Online