[issue30960] Python script is failing to run

Megha HR report at bugs.python.org
Tue Jul 18 11:26:05 EDT 2017


Megha HR added the comment:

Thanks louielu for your response.

Yes I did check related to env & its python path, this looks ok.


#!/usr/sunos/bin/sh -x

# This script is a wrapper for the official OSS python

PYTHON=/opt/python/python/python3.2
PYTHON_ENV=/etc/opt/ericsson/3ppenv/python.env

if [ -r $PYTHON_ENV ]; then
  . $PYTHON_ENV && export PYTHONHOME && export PYTHONPATH
  $PYTHON $*
else
  echo "reading $PYTHON_ENV failed"
  exit 1
fi

Do you still suggest to export it again ?

May I know 
in which scenarios
1)We can see the mentioned error message
2) core dump will happen for python?

Appreciate your comment.


Also we can see lots and lots of core files of python;



-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.14513
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.14551
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.14651
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.14739
-rw-------   1 nmsadm   nms      7410460 Jul 14 07:05 python3.2.15279
-rw-------   1 nmsadm   nms      7410460 Jul 14 07:05 python3.2.15291
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.15290
-rw-------   1 nmsadm   nms      7430940 Jul 14 07:05 python3.2.15288
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.15368
-rw-------   1 nmsadm   nms      7410460 Jul 14 07:05 python3.2.15374
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.15575
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.15641
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:05 python3.2.15792
-rw-------   1 nmsadm   nms      7410460 Jul 14 07:06 python3.2.16645
-rw-------   1 nmsadm   nms      7430940 Jul 14 07:06 python3.2.16652
-rw-------   1 nmsadm   nms      7410460 Jul 14 07:06 python3.2.16728
-rw-------   1 nmsadm   nms      7410460 Jul 14 07:06 python3.2.16895
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:06 python3.2.17082
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:06 python3.2.17273
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:06 python3.2.17305
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:06 python3.2.17365
-rw-------   1 nmsadm   nms      7426844 Jul 14 07:06 python3.2.17462
#date
Tue Jul 18 16:24:44 IST 2017

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30960>
_______________________________________


More information about the Python-bugs-list mailing list