Python crashes consistently

P

Pete Crite

Hello,

I've been trying to install Gnumeric via MacPorts recently, but I
can't get past the installation of py25-numpy.

It appears that python crashes consistently during installation. I'm
not sure if this is related to python itself, but I just thought I'd
ask here, just in case anyone else was aware of this problem. I did
have a few problems during the installation, so perhaps it might be
related to them? Is there anyway to check that my installation of
python is valid?

I'm using OS X 10.4.11 on a Mac Mini PPC. I have attached the error
messages from the terminal and the mac pop-up window from the crash.

Any help would be very much appreciated!

Cheers,
Pete.


The terminal says:
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_pytho
n_py25-numpy/work/numpy-1.0.4" && /opt/local/bin/python2.5 setup.py
config_fc --fcompiler g95 --f77exec /opt/local/bin/g95 --f90exec /
opt/local/bin/g95 build " returned error 139
Command output: Running from numpy source directory.

Error: The following dependencies failed to build: py25-gtk py25-
cairo py25-numpy
Error: Status 1 encountered during processing.


The crash window that pops up says:
Date/Time: 2008-03-30 11:30:33.545 +1100
OS Version: 10.4.11 (Build 8S165)
Report Version: 4

Command: python2.5
Path: /opt/local/bin/python2.5
Parent: sh [247]

Version: ??? (???)

PID: 248
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x82008000

Thread 0 Crashed:
0 _random.so 0x00571334 random_seed + 644
(_randommodule.c:297)
1 _random.so 0x0057131c random_seed + 620
(_randommodule.c:292)
2 libpython2.5.dylib 0x002b1788 PyEval_EvalFrameEx + 17604
(ceval.c:3573)
3 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
4 libpython2.5.dylib 0x002b19ac PyEval_EvalFrameEx + 18152
(ceval.c:3669)
5 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
6 libpython2.5.dylib 0x0023969c function_call + 332
(funcobject.c:524)
7 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
8 libpython2.5.dylib 0x0021960c instancemethod_call + 764
(classobject.c:2520)
9 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
10 libpython2.5.dylib 0x0026e81c slot_tp_init + 72 (typeobject.c:
4944)
11 libpython2.5.dylib 0x00273f88 type_call + 664 (typeobject.c:436)
12 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
13 libpython2.5.dylib 0x002b2fc8 PyEval_EvalFrameEx + 23812
(ceval.c:3786)
14 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
15 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
16 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
17 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
18 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
19 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
20 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
21 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
22 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
23 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
24 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
25 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
26 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
27 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
28 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
29 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
30 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
31 libpython2.5.dylib 0x002cd828 load_next + 384 (import.c:2225)
32 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
33 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
34 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
35 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
36 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
37 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
38 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
39 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
40 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
41 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
42 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
43 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
44 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
45 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
46 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
47 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
48 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
49 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
50 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
51 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
52 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
53 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
54 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
55 libpython2.5.dylib 0x002cdb68 ensure_fromlist + 552 (import.c:
2312)
56 libpython2.5.dylib 0x002ce03c import_module_level + 1056
(import.c:2038)
57 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
58 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
59 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
60 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
61 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
62 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
63 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
64 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
65 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
66 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
67 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
68 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
69 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
70 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
71 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
72 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
73 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
74 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
75 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
76 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
77 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
78 libpython2.5.dylib 0x002ccf20 load_package + 336 (import.c:1015)
79 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
80 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
81 libpython2.5.dylib 0x002cdec0 import_module_level + 676
(import.c:2009)
82 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
83 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
84 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
85 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
86 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
87 libpython2.5.dylib 0x002b1924 PyEval_EvalFrameEx + 18016
(ceval.c:3660)
88 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
89 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
90 libpython2.5.dylib 0x002d8444 PyRun_FileExFlags + 288
(pythonrun.c:1274)
91 libpython2.5.dylib 0x002d87fc PyRun_SimpleFileExFlags + 840
(pythonrun.c:879)
92 libpython2.5.dylib 0x002e9b74 Py_Main + 3184 (main.c:523)
93 python2.5 0x000019d8 _start + 760
94 python2.5 0x000016dc start + 48

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000571334 srr1:
0x000000000000d030 vrsave: 0x0000000000000000
cr: 0x44244228 xer: 0x0000000000000004 lr:
0x000000000057131c ctr: 0x0000000000000001
r0: 0x0000000080000000 r1: 0x00000000bfff80a0 r2:
0x00000000a0001fac r3: 0x0000000002008000
r4: 0x0000000002008000 r5: 0x0000000000000000 r6:
0x00000000bfff7fbc r7: 0x00000000000fdff8
r8: 0x0000000001800400 r9: 0x000000000000000a r10:
0x000000000000000a r11: 0x000000000000003f
r12: 0x000000009000661c r13: 0x00000000ffffffff r14:
0x000000000000ccac r15: 0x00000000000c6930
r16: 0x00000000000c9090 r17: 0x0000000000000000 r18:
0x000000000031bf48 r19: 0x0000000000627b04
r20: 0x00000000005710c4 r21: 0x0000000001858010 r22:
0x000000000000d248 r23: 0x0000000001803814
r24: 0x0000000002008000 r25: 0x0000000040000000 r26:
0x0000000020000001 r27: 0x0000000000000000
r28: 0x000000000004c0c0 r29: 0x000000000004c0c0 r30:
0x0000000044244228 r31: 0x00000000005710c4

Binary Images Description:
0x1000 - 0x1fff python2.5 /opt/local/bin/python2.5
0xe2000 - 0xe5fff strop.so /opt/local/lib/python2.5/lib-
dynload/strop.so
0xf2000 - 0xf3fff math.so /opt/local/lib/python2.5/lib-
dynload/math.so
0x205000 - 0x31afff libpython2.5.dylib /opt/local/lib/
libpython2.5.dylib
0x565000 - 0x567fff binascii.so /opt/local/lib/python2.5/lib-
dynload/binascii.so
0x570000 - 0x571fff _random.so /opt/local/lib/python2.5/lib-
dynload/_random.so
0x8fe00000 - 0x8fe52fff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/
libmathCommon.A.dylib
0x945e0000 - 0x94600fff libmx.A.dylib /usr/lib/libmx.A.dylib

Model: PowerMac10,1, BootROM 4.8.9f1, 1 processors, PowerPC G4
(1.2), 1.25 GHz, 1 GB
Graphics: ATI Radeon 9200, ATY,RV280, AGP, 32 MB
Memory Module: DIMM0/J11, 1 GB, DDR SDRAM, PC3200U-30330
Modem: Jump, V.92, Version 1.0
Network Service: Built-in Ethernet, Ethernet, en0
Parallel ATA Device: ST940110A, 37.26 GB
Parallel ATA Device: MATSHITACD-RW CW-8124
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12
Mb/sec, 500 mA
USB Device: PS/2+USB Mouse, Up to 1.5 Mb/sec, 100 mA
USB Device: C-Media USB Headphone Set, Up to 12 Mb/sec, 100 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec,
250 mA
 
D

Diez B. Roggisch

Pete said:
Hello,

I've been trying to install Gnumeric via MacPorts recently, but I
can't get past the installation of py25-numpy.

You are using the wrong python version. Don't use MacPorts for this, because
it will install a local, non-framework version of python - which will do
you no good if you e.g. want to use any OSX-specific stuff.


Use the official 2.5 framework version. And then install Numpy yourself
(which is a bit annoying I admit, as you need to install e.g. a fortran
compiler, but it is pretty well documented)

Diez
 
P

Pete Crite

which python ? from macports or macpython ?
--
http://mail.python.org/mailman/listinfo/python-list



MacPorts. It automatically downloaded 2.5.2.

My original message is reproduced below.


Hello,

I've been trying to install Gnumeric via MacPorts recently, but I
can't get past the installation of py25-numpy.

It appears that python crashes consistently during installation. I'm
not sure if this is related to python itself, but I just thought I'd
ask here, just in case anyone else was aware of this problem. I did
have a few problems during the installation, so perhaps it might be
related to them? Is there anyway to check that my installation of
python is valid?

I'm using OS X 10.4.11 on a Mac Mini PPC. I have attached the error
messages from the terminal and the mac pop-up window from the crash.

Any help would be very much appreciated!

Cheers,
Pete.


The terminal says:
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_pyth
o
n_py25-numpy/work/numpy-1.0.4" && /opt/local/bin/python2.5 setup.py
config_fc --fcompiler g95 --f77exec /opt/local/bin/g95 --f90exec /
opt/local/bin/g95 build " returned error 139
Command output: Running from numpy source directory.

Error: The following dependencies failed to build: py25-gtk py25-
cairo py25-numpy
Error: Status 1 encountered during processing.


The crash window that pops up says:
Date/Time: 2008-03-30 11:30:33.545 +1100
OS Version: 10.4.11 (Build 8S165)
Report Version: 4

Command: python2.5
Path: /opt/local/bin/python2.5
Parent: sh [247]

Version: ??? (???)

PID: 248
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x82008000

Thread 0 Crashed:
0 _random.so 0x00571334 random_seed + 644
(_randommodule.c:297)
1 _random.so 0x0057131c random_seed + 620
(_randommodule.c:292)
2 libpython2.5.dylib 0x002b1788 PyEval_EvalFrameEx + 17604
(ceval.c:3573)
3 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
4 libpython2.5.dylib 0x002b19ac PyEval_EvalFrameEx + 18152
(ceval.c:3669)
5 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
6 libpython2.5.dylib 0x0023969c function_call + 332
(funcobject.c:524)
7 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
8 libpython2.5.dylib 0x0021960c instancemethod_call + 764
(classobject.c:2520)
9 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
10 libpython2.5.dylib 0x0026e81c slot_tp_init + 72 (typeobject.c:
4944)
11 libpython2.5.dylib 0x00273f88 type_call + 664 (typeobject.c:436)
12 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
13 libpython2.5.dylib 0x002b2fc8 PyEval_EvalFrameEx + 23812
(ceval.c:3786)
14 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
15 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
16 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
17 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
18 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
19 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
20 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
21 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
22 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
23 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
24 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
25 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
26 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
27 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
28 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
29 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
30 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
31 libpython2.5.dylib 0x002cd828 load_next + 384 (import.c:2225)
32 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
33 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
34 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
35 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
36 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
37 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
38 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
39 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
40 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
41 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
42 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
43 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
44 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
45 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
46 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
47 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
48 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
49 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
50 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
51 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
52 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
53 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
54 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
55 libpython2.5.dylib 0x002cdb68 ensure_fromlist + 552 (import.c:
2312)
56 libpython2.5.dylib 0x002ce03c import_module_level + 1056
(import.c:2038)
57 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
58 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
59 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
60 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
61 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
62 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
63 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
64 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
65 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
66 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
67 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
68 libpython2.5.dylib 0x002cde8c import_module_level + 624
(import.c:2002)
69 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
70 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
71 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
72 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
73 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
74 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
75 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
76 libpython2.5.dylib 0x002cbea0 PyImport_ExecCodeModuleEx + 292
(import.c:676)
77 libpython2.5.dylib 0x002cc3a0 load_source_module + 1032
(import.c:960)
78 libpython2.5.dylib 0x002ccf20 load_package + 336 (import.c:1015)
79 libpython2.5.dylib 0x002cd564 import_submodule + 392 (import.c:
2401)
80 libpython2.5.dylib 0x002cd7d4 load_next + 300 (import.c:2221)
81 libpython2.5.dylib 0x002cdec0 import_module_level + 676
(import.c:2009)
82 libpython2.5.dylib 0x002cefc0 PyImport_ImportModuleLevel + 228
(import.c:2072)
83 libpython2.5.dylib 0x002a68a0 builtin___import__ + 132
(bltinmodule.c:49)
84 libpython2.5.dylib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
85 libpython2.5.dylib 0x002abf38 PyEval_CallObjectWithKeywords +
276 (ceval.c:3443)
86 libpython2.5.dylib 0x002b09cc PyEval_EvalFrameEx + 14088
(ceval.c:2067)
87 libpython2.5.dylib 0x002b1924 PyEval_EvalFrameEx + 18016
(ceval.c:3660)
88 libpython2.5.dylib 0x002b39a8 PyEval_EvalCodeEx + 2148
(ceval.c:2836)
89 libpython2.5.dylib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
90 libpython2.5.dylib 0x002d8444 PyRun_FileExFlags + 288
(pythonrun.c:1274)
91 libpython2.5.dylib 0x002d87fc PyRun_SimpleFileExFlags + 840
(pythonrun.c:879)
92 libpython2.5.dylib 0x002e9b74 Py_Main + 3184 (main.c:523)
93 python2.5 0x000019d8 _start + 760
94 python2.5 0x000016dc start + 48

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000571334 srr1:
0x000000000000d030 vrsave: 0x0000000000000000
cr: 0x44244228 xer: 0x0000000000000004 lr:
0x000000000057131c ctr: 0x0000000000000001
r0: 0x0000000080000000 r1: 0x00000000bfff80a0 r2:
0x00000000a0001fac r3: 0x0000000002008000
r4: 0x0000000002008000 r5: 0x0000000000000000 r6:
0x00000000bfff7fbc r7: 0x00000000000fdff8
r8: 0x0000000001800400 r9: 0x000000000000000a r10:
0x000000000000000a r11: 0x000000000000003f
r12: 0x000000009000661c r13: 0x00000000ffffffff r14:
0x000000000000ccac r15: 0x00000000000c6930
r16: 0x00000000000c9090 r17: 0x0000000000000000 r18:
0x000000000031bf48 r19: 0x0000000000627b04
r20: 0x00000000005710c4 r21: 0x0000000001858010 r22:
0x000000000000d248 r23: 0x0000000001803814
r24: 0x0000000002008000 r25: 0x0000000040000000 r26:
0x0000000020000001 r27: 0x0000000000000000
r28: 0x000000000004c0c0 r29: 0x000000000004c0c0 r30:
0x0000000044244228 r31: 0x00000000005710c4

Binary Images Description:
0x1000 - 0x1fff python2.5 /opt/local/bin/python2.5
0xe2000 - 0xe5fff strop.so /opt/local/lib/python2.5/lib-
dynload/strop.so
0xf2000 - 0xf3fff math.so /opt/local/lib/python2.5/lib-
dynload/math.so
0x205000 - 0x31afff libpython2.5.dylib /opt/local/lib/
libpython2.5.dylib
0x565000 - 0x567fff binascii.so /opt/local/lib/python2.5/lib-
dynload/binascii.so
0x570000 - 0x571fff _random.so /opt/local/lib/python2.5/lib-
dynload/_random.so
0x8fe00000 - 0x8fe52fff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/
libmathCommon.A.dylib
0x945e0000 - 0x94600fff libmx.A.dylib /usr/lib/libmx.A.dylib

Model: PowerMac10,1, BootROM 4.8.9f1, 1 processors, PowerPC G4
(1.2), 1.25 GHz, 1 GB
Graphics: ATI Radeon 9200, ATY,RV280, AGP, 32 MB
Memory Module: DIMM0/J11, 1 GB, DDR SDRAM, PC3200U-30330
Modem: Jump, V.92, Version 1.0
Network Service: Built-in Ethernet, Ethernet, en0
Parallel ATA Device: ST940110A, 37.26 GB
Parallel ATA Device: MATSHITACD-RW CW-8124
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12
Mb/sec, 500 mA
USB Device: PS/2+USB Mouse, Up to 1.5 Mb/sec, 100 mA
USB Device: C-Media USB Headphone Set, Up to 12 Mb/sec, 100 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec,
250 mA
 
P

Pete Crite

Thanks for the quick reply,

Just to clarify (sorry, I'm a bit of a command line newbie):

Do you mean to install Python from the .dmg - i.e. into /usr/local/
bin? And then to install Numpy directly as well (manually, from
source), then continue with the MacPorts installation of Gnumeric
(i.e. into /opt/local/)?

Thanks,
Pete.
 
D

Diez B. Roggisch

Just to clarify (sorry, I'm a bit of a command line newbie):
Do you mean to install Python from the .dmg - i.e. into /usr/local/
bin?

Yes and No. Use the DMG - but it will install Python under

/Library/Frameworks/Python.framework/...

And then to install Numpy directly as well (manually, from
source), then continue with the MacPorts installation of Gnumeric
(i.e. into /opt/local/)?

No MacPorts. The problem is that these will rely on their python available -
which seems not to work properly.

I had no problems installing e.g. matplotlib which requires Numpy. do
everything "by hand".

I agree that MacPorts would be nice - but obviously you hit a road-block
there.

Diez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,829
Messages
2,569,737
Members
45,521
Latest member
maryb

Latest Threads

Top