[issue14981] 3.3.0a4 compilation fails von MacOS Lion /10.7.4

2012-06-01 Thread Andreas Jung

New submission from Andreas Jung :

ranlib: file: libpython3.3m.a(dynamic_annotations.o) has no symbols
ranlib: file: libpython3.3m.a(pymath.o) has no symbols
gcc   -framework CoreFoundation -o python.exe Modules/python.o libpython3.3m.a 
-ldl  -framework CoreFoundation 
gcc   -framework CoreFoundation -o Modules/_testembed Modules/_testembed.o 
libpython3.3m.a -ldl  -framework CoreFoundation 
./python.exe -SE -m sysconfig --generate-posix-vars
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
python.exe(41191) malloc: *** mmap(size=7310873954244194304) failed (error 
code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Could not import runpy module
make: *** [Lib/_sysconfigdata.py] Segmentation fault: 11

--
components: Build
messages: 162082
nosy: ajung
priority: normal
severity: normal
status: open
title: 3.3.0a4 compilation fails von MacOS Lion /10.7.4
versions: Python 3.4

___
Python tracker 
<http://bugs.python.org/issue14981>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14981] 3.3.0a4 compilation fails von MacOS Lion /10.7.4

2012-06-01 Thread Andreas Jung

Changes by Andreas Jung :


--
type:  -> compile error

___
Python tracker 
<http://bugs.python.org/issue14981>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7551] SystemError/MemoryError/OverflowErrors on encode() a unicode string

2009-12-20 Thread Andreas Jung

New submission from Andreas Jung :

We encountered a pretty bizarre behavior of Python 2.4.6 while decoding a 600MB 
long unicode string 
'data':

Python 2.4.6 (8GB RAM, 64 bit)

(Pdb) type(data)


(Pdb) len(data)
601794657

(Pdb) data2=data.encode('utf-8')
*** SystemError: Negative size passed to PyString_FromStringAndSize

Assuming that this has something to do with a 512MB limit:

(Pdb) data2=data[:512*1024*1024].encode('utf-8')
*** SystemError: Negative size passed to PyString_FromStringAndSize

Same bug...now with 512MB - 1 byte:

(Pdb) data2=data[:(256*1024*1024)-1].encode('utf-8')
OverflowError

Cross-check on a different Linux box (4GB RAM, 4 GB Swap, 64 bit)

aj...@blackmoon:~> python2.4
Python 2.4.5 (#1, Jun  9 2008, 10:35:12) 
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> data = u'x'*601794657
>>> data2= data.encode('utf-8')
Traceback (most recent call last):
  File "", line 1, in ?
MemoryError

Where is this different behavior coming from?

--
messages: 96695
nosy: ajung
severity: normal
status: open
title: SystemError/MemoryError/OverflowErrors on encode() a unicode string
versions: Python 2.4

___
Python tracker 
<http://bugs.python.org/issue7551>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7551] SystemError/MemoryError/OverflowErrors on encode() a unicode string

2009-12-20 Thread Andreas Jung

Andreas Jung  added the comment:

Both systems are Linux system running a narrow Python build.

The problem does not occur with Python 2.5 or 2.6.

Unfortunately this error occurs with Zope 2 which is tied (at least with 
versions prior to Zope 2.12 to Python 2.4).

--
status: pending -> open

___
Python tracker 
<http://bugs.python.org/issue7551>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18092] Python 2.7.5 installation broken on OpenSuse 12.2

2013-05-28 Thread Andreas Jung

Changes by Andreas Jung :


--
components: +Build

___
Python tracker 
<http://bugs.python.org/issue18092>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18092] Python 2.7.5 installation broken on OpenSuse 12.2

2013-05-28 Thread Andreas Jung

New submission from Andreas Jung:

I tried to install 2.7.5 on my OpenSuse 12.2 (latest patches)

ajung@blackmoon2:~/sandboxes/mib.portal> cat /etc/issue
Welcome to openSUSE 12.2 "Mantis" - Kernel \r (\l).


Compilation went fine (no visible errors).

Starting the interpreter gives me:

ajung@blackmoon2:~/sandboxes/mib.portal> /opt/python-2.7.5/bin/python 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
Python 2.7.5 (default, May 29 2013, 08:19:10) 
[GCC 4.7.1 20120723 [gcc-4_7-branch revision 189773]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Trying to bootstrap a Pyramid project using zc.buildout gives me:

ajung@blackmoon2:~/sandboxes/mib.portal> /opt/python-2.7.5/bin/python 
bootstrap.py 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
Traceback (most recent call last):
  File "bootstrap.py", line 21, in 
import os, shutil, sys, tempfile, urllib, urllib2, subprocess
  File "/opt/python-2.7.5/lib/python2.7/shutil.py", line 12, in 
import collections
  File "/opt/python-2.7.5/lib/python2.7/collections.py", line 8, in 
from _collections import deque, defaultdict
ImportError: No module named _collections

--
messages: 190274
nosy: Andreas.Jung
priority: normal
severity: normal
status: open
title: Python 2.7.5 installation broken on OpenSuse 12.2
type: behavior
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue18092>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue924806] email.Header.Header() produces wrong headers with utf8 enc.

2009-02-08 Thread Andreas Jung

Andreas Jung  added the comment:

No idea - this bug is five years old!

___
Python tracker 
<http://bugs.python.org/issue924806>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com