BIND 10 #2742: Fatal Python error: Py_Initialize: can't initialize sys standard streams

BIND 10 Development do-not-reply at isc.org
Tue Feb 19 21:06:04 UTC 2013


#2742: Fatal Python error: Py_Initialize: can't initialize sys standard streams
-------------------------------------+-------------------------------------
            Reporter:  jreed         |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:
           Component:  loadzone      |  Sprint-20130305
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  3             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 The difference between that FreeBSD box and my local Fedora box is that
 Fedora has the `LANG` variable defined:
 {{{
 [muks at totoro ~]$ echo $LANG
 en_US.UTF-8
 [muks at totoro ~]$ echo $LC_CTYPE

 [muks at totoro ~]$
 }}}

 On the FreeBSD, neither `LANG` nor `LC_CTYPE` are defined:
 {{{
 $ echo $LANG

 $ echo $LC_CTYPE

 $
 }}}

 Defining one of the two fixes the problem for me. I guess Python3 expects
 the locale to be correctly set.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2742#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list