473,781 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python crashes consistently

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.bu ild returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_ macports_source s_rsync.macport s.org_release_p orts_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_AD DRESS (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.dy lib 0x002b1788 PyEval_EvalFram eEx + 17604
(ceval.c:3573)
3 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
4 libpython2.5.dy lib 0x002b19ac PyEval_EvalFram eEx + 18152
(ceval.c:3669)
5 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
6 libpython2.5.dy lib 0x0023969c function_call + 332
(funcobject.c:5 24)
7 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
8 libpython2.5.dy lib 0x0021960c instancemethod_ call + 764
(classobject.c: 2520)
9 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
10 libpython2.5.dy lib 0x0026e81c slot_tp_init + 72 (typeobject.c:
4944)
11 libpython2.5.dy lib 0x00273f88 type_call + 664 (typeobject.c:4 36)
12 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
13 libpython2.5.dy lib 0x002b2fc8 PyEval_EvalFram eEx + 23812
(ceval.c:3786)
14 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
15 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
16 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:676)
17 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:960)
18 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
19 libpython2.5.dy lib 0x002cd7d4 load_next + 300 (import.c:2221)
20 libpython2.5.dy lib 0x002cde8c import_module_l evel + 624
(import.c:2002)
21 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072)
22 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c: 49)
23 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
24 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
25 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:2067)
26 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
27 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
28 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:676)
29 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:960)
30 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
31 libpython2.5.dy lib 0x002cd828 load_next + 384 (import.c:2225)
32 libpython2.5.dy lib 0x002cde8c import_module_l evel + 624
(import.c:2002)
33 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072)
34 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c: 49)
35 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
36 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
37 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:2067)
38 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
39 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
40 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:676)
41 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:960)
42 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
43 libpython2.5.dy lib 0x002cd7d4 load_next + 300 (import.c:2221)
44 libpython2.5.dy lib 0x002cde8c import_module_l evel + 624
(import.c:2002)
45 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072)
46 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c: 49)
47 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
48 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
49 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:2067)
50 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
51 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
52 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:676)
53 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:960)
54 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
55 libpython2.5.dy lib 0x002cdb68 ensure_fromlist + 552 (import.c:
2312)
56 libpython2.5.dy lib 0x002ce03c import_module_l evel + 1056
(import.c:2038)
57 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072)
58 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c: 49)
59 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
60 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
61 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:2067)
62 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
63 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
64 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:676)
65 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:960)
66 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
67 libpython2.5.dy lib 0x002cd7d4 load_next + 300 (import.c:2221)
68 libpython2.5.dy lib 0x002cde8c import_module_l evel + 624
(import.c:2002)
69 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072)
70 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c: 49)
71 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
72 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
73 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:2067)
74 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
75 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
76 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:676)
77 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:960)
78 libpython2.5.dy lib 0x002ccf20 load_package + 336 (import.c:1015)
79 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
80 libpython2.5.dy lib 0x002cd7d4 load_next + 300 (import.c:2221)
81 libpython2.5.dy lib 0x002cdec0 import_module_l evel + 676
(import.c:2009)
82 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072)
83 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c: 49)
84 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
85 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
86 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:2067)
87 libpython2.5.dy lib 0x002b1924 PyEval_EvalFram eEx + 18016
(ceval.c:3660)
88 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:2836)
89 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
90 libpython2.5.dy lib 0x002d8444 PyRun_FileExFla gs + 288
(pythonrun.c:12 74)
91 libpython2.5.dy lib 0x002d87fc PyRun_SimpleFil eExFlags + 840
(pythonrun.c:87 9)
92 libpython2.5.dy lib 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: 0x0000000000571 334 srr1:
0x000000000000d 030 vrsave: 0x0000000000000 000
cr: 0x44244228 xer: 0x0000000000000 004 lr:
0x0000000000571 31c ctr: 0x0000000000000 001
r0: 0x0000000080000 000 r1: 0x00000000bfff8 0a0 r2:
0x00000000a0001 fac r3: 0x0000000002008 000
r4: 0x0000000002008 000 r5: 0x0000000000000 000 r6:
0x00000000bfff7 fbc r7: 0x00000000000fd ff8
r8: 0x0000000001800 400 r9: 0x0000000000000 00a r10:
0x0000000000000 00a r11: 0x0000000000000 03f
r12: 0x0000000090006 61c r13: 0x00000000fffff fff r14:
0x000000000000c cac r15: 0x00000000000c6 930
r16: 0x00000000000c9 090 r17: 0x0000000000000 000 r18:
0x000000000031b f48 r19: 0x0000000000627 b04
r20: 0x0000000000571 0c4 r21: 0x0000000001858 010 r22:
0x000000000000d 248 r23: 0x0000000001803 814
r24: 0x0000000002008 000 r25: 0x0000000040000 000 r26:
0x0000000020000 001 r27: 0x0000000000000 000
r28: 0x000000000004c 0c0 r29: 0x000000000004c 0c0 r30:
0x0000000044244 228 r31: 0x0000000000571 0c4

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.dy lib /opt/local/lib/
libpython2.5.dy lib
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.dyl ib /usr/lib/libSystem.B.dyl ib
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
Jun 27 '08 #1
6 1305
which python ? from macports or macpython ?
Jun 27 '08 #2
Pete Crite wrote:
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
Jun 27 '08 #3
On 16/04/2008, at 9:38 PM, ma***********@g mail.com wrote:
>
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.
On 16/04/2008, at 5:50 PM, Pete Crite wrote:
>
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.bu ild returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var _macports_sourc es_rsync.macpor ts.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_AD DRESS (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.dy lib 0x002b1788 PyEval_EvalFram eEx + 17604
(ceval.c:357 3)
3 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
4 libpython2.5.dy lib 0x002b19ac PyEval_EvalFram eEx + 18152
(ceval.c:366 9)
5 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
6 libpython2.5.dy lib 0x0023969c function_call + 332
(funcobject.c: 524)
7 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
8 libpython2.5.dy lib 0x0021960c instancemethod_ call + 764
(classobject.c :2520)
9 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
10 libpython2.5.dy lib 0x0026e81c slot_tp_init + 72 (typeobject.c:
4944)
11 libpython2.5.dy lib 0x00273f88 type_call + 664 (typeobject.c:4 36)
12 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
13 libpython2.5.dy lib 0x002b2fc8 PyEval_EvalFram eEx + 23812
(ceval.c:378 6)
14 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
15 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
16 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:67 6)
17 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:96 0)
18 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
19 libpython2.5.dy lib 0x002cd7d4 load_next + 300 (import.c:2221)
20 libpython2.5.dy lib 0x002cde8c import_module_l evel + 624
(import.c:2002 )
21 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072 )
22 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c :49)
23 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
24 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
25 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:206 7)
26 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
27 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
28 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:67 6)
29 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:96 0)
30 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
31 libpython2.5.dy lib 0x002cd828 load_next + 384 (import.c:2225)
32 libpython2.5.dy lib 0x002cde8c import_module_l evel + 624
(import.c:2002 )
33 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072 )
34 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c :49)
35 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
36 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
37 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:206 7)
38 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
39 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
40 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:67 6)
41 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:96 0)
42 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
43 libpython2.5.dy lib 0x002cd7d4 load_next + 300 (import.c:2221)
44 libpython2.5.dy lib 0x002cde8c import_module_l evel + 624
(import.c:2002 )
45 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072 )
46 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c :49)
47 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
48 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
49 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:206 7)
50 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
51 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
52 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:67 6)
53 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:96 0)
54 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
55 libpython2.5.dy lib 0x002cdb68 ensure_fromlist + 552 (import.c:
2312)
56 libpython2.5.dy lib 0x002ce03c import_module_l evel + 1056
(import.c:2038 )
57 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072 )
58 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c :49)
59 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
60 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
61 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:206 7)
62 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
63 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
64 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:67 6)
65 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:96 0)
66 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
67 libpython2.5.dy lib 0x002cd7d4 load_next + 300 (import.c:2221)
68 libpython2.5.dy lib 0x002cde8c import_module_l evel + 624
(import.c:2002 )
69 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072 )
70 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c :49)
71 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
72 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
73 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:206 7)
74 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
75 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
76 libpython2.5.dy lib 0x002cbea0 PyImport_ExecCo deModuleEx + 292
(import.c:67 6)
77 libpython2.5.dy lib 0x002cc3a0 load_source_mod ule + 1032
(import.c:96 0)
78 libpython2.5.dy lib 0x002ccf20 load_package + 336 (import.c:1015)
79 libpython2.5.dy lib 0x002cd564 import_submodul e + 392 (import.c:
2401)
80 libpython2.5.dy lib 0x002cd7d4 load_next + 300 (import.c:2221)
81 libpython2.5.dy lib 0x002cdec0 import_module_l evel + 676
(import.c:2009 )
82 libpython2.5.dy lib 0x002cefc0 PyImport_Import ModuleLevel + 228
(import.c:2072 )
83 libpython2.5.dy lib 0x002a68a0 builtin___impor t__ + 132
(bltinmodule.c :49)
84 libpython2.5.dy lib 0x0020f778 PyObject_Call + 52 (abstract.c:
1862)
85 libpython2.5.dy lib 0x002abf38 PyEval_CallObje ctWithKeywords +
276 (ceval.c:3443)
86 libpython2.5.dy lib 0x002b09cc PyEval_EvalFram eEx + 14088
(ceval.c:206 7)
87 libpython2.5.dy lib 0x002b1924 PyEval_EvalFram eEx + 18016
(ceval.c:366 0)
88 libpython2.5.dy lib 0x002b39a8 PyEval_EvalCode Ex + 2148
(ceval.c:283 6)
89 libpython2.5.dy lib 0x002b3a9c PyEval_EvalCode + 48 (ceval.c:500)
90 libpython2.5.dy lib 0x002d8444 PyRun_FileExFla gs + 288
(pythonrun.c:1 274)
91 libpython2.5.dy lib 0x002d87fc PyRun_SimpleFil eExFlags + 840
(pythonrun.c:8 79)
92 libpython2.5.dy lib 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: 0x0000000000571 334 srr1:
0x000000000000 d030 vrsave: 0x0000000000000 000
cr: 0x44244228 xer: 0x0000000000000 004 lr:
0x000000000057 131c ctr: 0x0000000000000 001
r0: 0x0000000080000 000 r1: 0x00000000bfff8 0a0 r2:
0x00000000a000 1fac r3: 0x0000000002008 000
r4: 0x0000000002008 000 r5: 0x0000000000000 000 r6:
0x00000000bfff 7fbc r7: 0x00000000000fd ff8
r8: 0x0000000001800 400 r9: 0x0000000000000 00a r10:
0x000000000000 000a r11: 0x0000000000000 03f
r12: 0x0000000090006 61c r13: 0x00000000fffff fff r14:
0x000000000000 ccac r15: 0x00000000000c6 930
r16: 0x00000000000c9 090 r17: 0x0000000000000 000 r18:
0x000000000031 bf48 r19: 0x0000000000627 b04
r20: 0x0000000000571 0c4 r21: 0x0000000001858 010 r22:
0x000000000000 d248 r23: 0x0000000001803 814
r24: 0x0000000002008 000 r25: 0x0000000040000 000 r26:
0x000000002000 0001 r27: 0x0000000000000 000
r28: 0x000000000004c 0c0 r29: 0x000000000004c 0c0 r30:
0x000000004424 4228 r31: 0x0000000000571 0c4

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.dy lib /opt/local/lib/
libpython2.5.d ylib
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.dyl ib /usr/lib/libSystem.B.dyl ib
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
Jun 27 '08 #4
I agree, use the official python
http://www.python.org/ftp/python/2.5...5.2-macosx.dmg

I'm also using OS X 10.4.11 and I have no problem
for installing numpy
http://www.scipy.org/Installing_SciPy/Mac_OS_X

or you can download Pre-built binaries from
http://pythonmac.org/packages/py25-fat/index.html
or
http://trichech.us/?page_id=5
Jun 27 '08 #5
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.
On 16/04/2008, at 9:56 PM, Diez B. Roggisch wrote:
>
Pete Crite wrote:
>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
--
http://mail.python.org/mailman/listinfo/python-list

Jun 27 '08 #6
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.framewor k/...

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
Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

699
34238
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro capabilities, unfortunately. I'd like to know if it may be possible to add a powerful macro system to Python, while keeping its amazing syntax, and if it could be possible to add Pythonistic syntax to Lisp or Scheme, while keeping all of the...
3
2235
by: Paul Sheer | last post by:
I have managed to build Python 2.3.3 with the aCC HP-UX C++ compiler by making a number of one-line changes. (For reasons beyond my control, I am forced to use this compiler and it has no C mode at all.) Typically to get the Python source code to compile under aCC one has to make a number of trivial changes of the form, struct whatzit *p; - p = malloc (sizeof (struct whatzit));
0
1924
by: travis ray | last post by:
Hi, I have an extension in which a file object is created in python and passed down to a c extension which attempts to read from it or write to it. Writing to the file pointer seems to work okay, but reading from it results in EBADF. It also causes python to crash on exit. I've attached the minimal (I think) c code, python code, build script, build log, and run log. Any and all help is greatly appreciated.
7
364
by: Steve D. | last post by:
I recently installed VS.NET 2003 After opening a project and leaving it open, after a certain period of time it crashes. It only does this when a project is open. The project that I've tried this with is *very* small and simple. One of the boxes that are displayed as part of the crashes references "devenv.exe" (the Visual Studio IDE executable). I've tried uninstall/reinstall. I have the latest .NET Framework SDK.
5
1635
by: KK | last post by:
the code below is taken from M$ technet as an example on using vb script to do a replace all in word: Const wdReplaceAll = 2 Set objWord = CreateObject("Word.Application") objWord.Visible = True Set objDoc = objWord.Documents.Open("K:\Development\Fabricbase\prod\Test.doc")
14
2741
by: Java and Swing | last post by:
static PyObject *wrap_doStuff(PyObject *self, PyObject *args) { // this will store the result in a Python object PyObject *finalResult; // get arguments from Python char *result = 0; char *in= 0; char *aString = 0; char *bString = 0; MY_NUM *a;
105
5355
by: Christoph Zwerschke | last post by:
Sometimes I find myself stumbling over Python issues which have to do with what I perceive as a lack of orthogonality. For instance, I just wanted to use the index() method on a tuple which does not work. It only works on lists and strings, for no obvious reason. Why not on all sequence types? Or, another example, the index() method has start and end parameters for lists and strings. The count() method also has start and end parameters...
0
2502
by: =?Utf-8?B?QmFjaA==?= | last post by:
Hi, I have a ASP.NET 2.0 web service, which runs beautifully when hosted in the development server of VS2005 (out side of IIS) but crashes when hosted inside IIS 5.1 or IIS 6.0 when it takes several minutes to process a request. On some server, it will consistently crash after 3 minutes, others can take up to 30' or longer. However, It can happily process shorter requests to the same web method. When aspnet_wp crashes, it logs an...
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10076
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.