Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue6348] solaris/aix: Py_Initialize: can't initialize sys standard streams

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jun 26, 2009, 4:49 PM

Post #1 of 4 (588 views)
Permalink
[issue6348] solaris/aix: Py_Initialize: can't initialize sys standard streams

New submission from Sridhar Ratnakumar <sridharr [at] activestate>:

I wonder which commit introduced this regression which used to work
before (I think till rc1).

This error occurs on solaris10-x86, solaris8-sparc, solaris8-sparc64
and aix5-powerpc.

(...)
ranlib libpython3.1.a
cc -o python \
Modules/python.o \
libpython3.1.a -lresolv -lsocket -lnsl -lintl -lrt -
ldl -lm
Fatal Python error: Py_Initialize: can't initialize sys standard streams
IOError: [Errno 29] Illegal seek
*** Error code 134
The following command caused the error:
case $MAKEFLAGS in \
*s*) CC='cc' LDSHARED='cc -G' OPT='-DNDEBUG -O' ./python -E ./setup.py
-q build;; \
*) CC='cc' LDSHARED='cc -G' OPT='-DNDEBUG -O' ./python -E ./setup.py
build;; \
esac
make: Fatal error: Command failed for target `sharedmods'


Entire build log (solaris10-x86) is attached.

----------
components: Build
files: apy31-ginsu.log
messages: 89749
nosy: srid
severity: normal
status: open
title: solaris/aix: Py_Initialize: can't initialize sys standard streams
type: crash
versions: Python 3.1
Added file: http://bugs.python.org/file14368/apy31-ginsu.log

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6348>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 26, 2009, 4:55 PM

Post #2 of 4 (566 views)
Permalink
[issue6348] solaris/aix: Py_Initialize: can't initialize sys standard streams [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

Is it the same as #6236?

----------
nosy: +pitrou

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6348>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jun 29, 2009, 3:16 PM

Post #3 of 4 (546 views)
Permalink
[issue6348] solaris/aix: Py_Initialize: can't initialize sys standard streams [In reply to]

Sridhar Ratnakumar <sridharr [at] activestate> added the comment:

Yes, I get the same "Illegal seek" traceback for nestor's ``os.popen
('cat', 'w')`` even though it happens on all of: solaris10-x86,
solaris8-sparc, solaris8-sparc64 and aix5-powerpc.

Hmm, so this is a duplicate bug?

----------
nosy: +nestor

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6348>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 9, 2009, 1:49 PM

Post #4 of 4 (519 views)
Permalink
[issue6348] solaris/aix: Py_Initialize: can't initialize sys standard streams [In reply to]

nestor <nestornissen [at] gmail> added the comment:

Maybe make test will help troubleshoot this (BTW how do I enable verbose
mode?):

test test_ascii_formatd failed -- errors occurred; run in verbose mode
for details
test_cmath
test test_cmath failed -- Traceback (most recent call last):
File
"/datawhse/test/data/export/ptst/Python-3.1/Lib/test/test_cmath.py",
line 362, in test_specific_values
self.fail(error_message)
AssertionError: atan0000: atan(complex(0.0, 0.0))
Expected: complex(0.0, 0.0)
Received: complex(0.0, -0.0)
Received value insufficiently close to expected value.
test_cmd_line
test test_cmd_line failed -- errors occurred; run in verbose mode for
details
test_cmd_line_script
test test_cmd_line_script failed -- errors occurred; run in verbose mode
for details
test_code
test_distutils
Exception AttributeError: "'_Stream' object has no attribute 'cmp'" in
<bound method _Stream.__del__ of <tarfile._Stream object at 0x218c2d70>>
ignored
Exception AttributeError: "'_Stream' object has no attribute 'cmp'" in
<bound method _Stream.__del__ of <tarfile._Stream object at 0x21763bf0>>
ignored
unable to execute cc_r: No such file or directory
unable to execute cc_r: No such file or directory
unable to execute cc_r: No such file or directory
Exception AttributeError: "'_Stream' object has no attribute 'cmp'" in
<bound method _Stream.__del__ of <tarfile._Stream object at 0x21a3fc30>>
ignored
Exception AttributeError: "'_Stream' object has no attribute 'cmp'" in
<bound method _Stream.__del__ of <tarfile._Stream object at 0x21a3fdd0>>
ignored
test test_distutils failed -- errors occurred; run in verbose mode for
details
test_fileio
test test_fileio failed -- Traceback (most recent call last):
File
"/datawhse/test/data/export/ptst/Python-3.1/Lib/test/test_fileio.py",
line 262, in testAbles
self.assertEquals(f.seekable(), False)
AssertionError: True != False
test_httpservers
Fatal Python error: Py_Initialize: can't initialize sys standard streams
AttributeError: '_io.FileIO' object has no attribute 'raw'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
AttributeError: '_io.FileIO' object has no attribute 'raw'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
AttributeError: '_io.FileIO' object has no attribute 'raw'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
AttributeError: '_io.FileIO' object has no attribute 'raw'
test test_httpservers failed -- errors occurred; run in verbose mode for
details
test_io
test test_io failed -- errors occurred; run in verbose mode for details
test_mmap
test test_mmap failed -- Traceback (most recent call last):
File
"/datawhse/test/data/export/ptst/Python-3.1/Lib/test/test_mmap.py", line
219, in test_access_parameter
m.flush()
mmap.error: [Errno 22] Invalid argument
test_multiprocessing
test test_multiprocessing failed -- errors occurred; run in verbose mode
for details

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6348>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.