Python on Mac OSX

From: Nathaniel Tagg <tagg_at_minos.phy.tufts.edu>
Date: Fri, 13 Jul 2007 15:20:25 -0400


Hi,

I'm trying to use python-related tools on a Mac OSX installation of ROOT. I have tried:
5.14.00f with MacPython 2.4.4
and
5.15/06 with built-in Python 2.3

In both cases, I can get to the point where

$ python
 >>> import ROOT

succeeds, but if I do:

$ python
 >>> import PyCint

I get the error below. Can anyone help me?

---Nathaniel

Thread 1 (process 18221 thread 0xd03):
#0 0x90032884 in wait4 ()
#1 0x90053550 in system ()
#2 0x02971bf4 in TUnixSystem::Exec (this=0x30eb20,
shellcmd=0x185f010 "/usr/bin/gdb -batch -n -x /ROOT/pro/etc/gdb- backtrace-script -p 18221 > /tmp/rootstack.18221 2>&1") at unix/src/ TUnixSystem.cxx:1793
#3 0x02972130 in TUnixSystem::StackTrace (this=0x30eb20) at unix/src/
TUnixSystem.cxx:1881
#4 0x02975fa8 in TUnixSystem::DispatchSignals (this=0x30eb20,
sig=kSigIllegalInstruction) at unix/src/TUnixSystem.cxx:944
#5 0x0297621c in SigHandler (sig=kSigIllegalInstruction) at unix/src/
TUnixSystem.cxx:337
#6 0x02974a00 in sighandler (sig=4) at unix/src/TUnixSystem.cxx:3168
#7 <signal handler called>
#8 0x003f2fe0 in ?? ()
#9 0x0454d4dc in G__incsetup_memfunc (tagnum=815) at cint/src/
v6_newlink.cxx:8472
#10 0x04461618 in Cint::G__MethodInfo::Init (this=0xbfffc1d4,
a=@0x9fe2c20) at cint/src/Method.cxx:47
#11 0x02dee430 in Cint::G__MethodInfo::G__MethodInfo
(this=0xbfffc1d4, a=@0x9fe2c20) at include/BaseCls.h:42
#12 0x0293ac40 in TCint::CreateListOfMethods (this=0x318af0,
cl=0x9fe3050) at meta/src/TCint.cxx:689
#13 0x0294179c in TClass::GetListOfMethods (this=0x9fe3050) at meta/
src/TClass.cxx:2236
#14 0x0200c1dc in PyROOT::TScopeAdapter::FunctionMemberSize
(this=0xbfffc3a0) at pyroot/src/Adapters.cxx:294
#15 0x0207163c in

PyROOT::MakeRootClassFromString<PyROOT::TScopeAdapter, PyROOT::TBaseAdapter, PyROOT::TMemberAdapter> (fullname=@0xbfffc46c, scope=0x0) at pyroot/src/RootWrapper.cxx:460
#16 0x0202eeac in PyROOT::MakeRootClass (args=0x8bd70) at pyroot/src/
RootWrapper.cxx:408
#17 0x98cfac5c in PyEval_GetFuncDesc ()
#18 0x98cf8414 in PyEval_EvalCode ()
#19 0x98cf95e4 in PyEval_EvalCodeEx ()
#20 0x98cf5eb8 in PyEval_EvalCode ()
#21 0x98d0f8f0 in PyImport_ExecCodeModuleEx ()
#22 0x98d0fff8 in PyImport_ExecCodeModuleEx ()
#23 0x98d10f80 in PyImport_ExecCodeModuleEx ()
#24 0x98d120ec in PyImport_ImportModuleEx ()
#25 0x98d11ae0 in PyImport_ImportModuleEx ()
#26 0x98d115fc in PyImport_ImportModule ()
#27 0x98d117d0 in PyImport_ImportModuleEx ()
#28 0x98cee2e4 in _PyUnicodeUCS2_IsAlpha ()
#29 0x98c9b8e0 in PyObject_Call ()
#30 0x98cfa9a0 in PyEval_CallObjectWithKeywords ()
#31 0x98cf8134 in PyEval_EvalCode ()
#32 0x98cf95e4 in PyEval_EvalCodeEx ()
#33 0x98cf5eb8 in PyEval_EvalCode ()
#34 0x98d1a08c in PyRun_FileExFlags ()
#35 0x98d18d9c in PyRun_InteractiveOneFlags ()
#36 0x98d18b84 in PyRun_InteractiveLoopFlags ()
#37 0x98d18a1c in PyRun_AnyFileExFlags ()
#38 0x98d23a00 in Py_Main ()
#39 0x00002590 in start ()
Received on Fri Jul 13 2007 - 21:20:35 CEST

This archive was generated by hypermail 2.2.0 : Sat Jul 14 2007 - 23:50:02 CEST