gdb receive error : ""py_initialize unable to get the locale encoding"
search cancel

gdb receive error : ""py_initialize unable to get the locale encoding"

book

Article ID: 296809

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

When using gdb to check a core dump file, it may report error:

"py_initialize unable to get the locale encoding"

 


Environment

Product Version: 6.20

Resolution

Run the following first, then run gdb again.
unset PYTHONHOME
unset PYTHONPATH