[MacPorts] #15648: VPython request

MacPorts noreply at macports.org
Fri Aug 8 07:11:31 PDT 2008


#15648: VPython request
--------------------------------+-------------------------------------------
  Reporter:  ralph at cs.cf.ac.uk  |       Owner:  raimue at macports.org
      Type:  defect             |      Status:  assigned           
  Priority:  Normal             |   Milestone:  Port Requests      
 Component:  ports              |     Version:  1.6.0              
Resolution:                     |    Keywords:  VPython            
--------------------------------+-------------------------------------------
Comment (by ralph at cs.cf.ac.uk):

 OK, the gtkglarea port has now been fixed, and I can install py25-visual
 using your portfile.

 There are now 2 further issues

 '''1''' There is a missing dependency

 It now appears that py25-tkinter is missing as a dependency.

 Try to start idle:

 {{{
 /opt/local/bin/idle2.5
 Traceback (most recent call last):
   File "/opt/local/bin/idle2.5", line 3, in <module>
     from idlelib.PyShell import main
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/idlelib/PyShell.py",
 line 14, in <module>
     import macosxSupport
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/idlelib/macosxSupport.py",
 line 6, in <module>
     import Tkinter
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
 /lib-tk/Tkinter.py", line 38, in <module>
     import _tkinter # If this fails your Python may not be configured for
 Tk
 ImportError: No module named _tkinter
 }}}

 I thus manually installed py25-tkinter.

 '''2''' A crash occurs after fixing this missing dependency

 Start idle:

 /opt/local/bin/idle2.5

 and when it has launched, type in its window

 {{{from visual import *}}}

 and hit return.

 This caused a crash:

 {{{ Fatal Python error: Interpreter not initialized (version mismatch?)}}}


 {{{
 Exception Type:  EXC_CRASH (SIGABRT)
 Exception Codes: 0x0000000000000000, 0x0000000000000000
 Crashed Thread:  0

 Thread 0 Crashed:
 0   libSystem.B.dylib                   0x926ccb9e __kill + 10
 1   libSystem.B.dylib                   0x92743ec2 raise + 26
 2   libSystem.B.dylib                   0x9275347f abort + 73
 3   libpython2.5.dylib                  0x01967c43 Py_FatalError + 51
 4   libpython2.5.dylib                  0x01963eee Py_InitModule4 + 382
 5   libboost_python-mt-1_35.dylib       0x01723e0b
 boost::python::detail::init_module(char const*, void (*)()) + 59
 6   cvisualmodule.so                    0x0115fd55 initcvisual + 37
 7   org.python.python                   0x00251717
 _PyImport_LoadDynamicModule + 167
 8   org.python.python                   0x0024f233 load_module + 227
 9   org.python.python                   0x0024f75d import_submodule + 301
 10  org.python.python                   0x0024f9f6 load_next + 262
 11  org.python.python                   0x0024fe7f import_module_level +
 143
 12  org.python.python                   0x002503ae
 PyImport_ImportModuleLevel + 46
 13  org.python.python                   0x0022900f builtin___import__ +
 159
 14  org.python.python                   0x0019f9f2 PyObject_Call + 50
 15  org.python.python                   0x0022e236
 PyEval_CallObjectWithKeywords + 118
 16  org.python.python                   0x002318b9 PyEval_EvalFrameEx +
 9849
 17  org.python.python                   0x00236c4a PyEval_EvalCodeEx +
 1962
 18  org.python.python                   0x00236d57 PyEval_EvalCode + 87
 19  org.python.python                   0x0024e58c
 PyImport_ExecCodeModuleEx + 188
 20  org.python.python                   0x0024ea13 load_source_module +
 739
 21  org.python.python                   0x0024f75d import_submodule + 301
 22  org.python.python                   0x0024f9bf load_next + 207
 23  org.python.python                   0x0024fe7f import_module_level +
 143
 24  org.python.python                   0x002503ae
 PyImport_ImportModuleLevel + 46
 25  org.python.python                   0x0022900f builtin___import__ +
 159
 26  org.python.python                   0x0019f9f2 PyObject_Call + 50
 27  org.python.python                   0x0022e236
 PyEval_CallObjectWithKeywords + 118
 28  org.python.python                   0x002318b9 PyEval_EvalFrameEx +
 9849
 29  org.python.python                   0x00236c4a PyEval_EvalCodeEx +
 1962
 30  org.python.python                   0x00236d57 PyEval_EvalCode + 87
 31  org.python.python                   0x0024e58c
 PyImport_ExecCodeModuleEx + 188
 32  org.python.python                   0x0024ea13 load_source_module +
 739
 33  org.python.python                   0x0024f594 load_package + 468
 34  org.python.python                   0x0024f75d import_submodule + 301
 35  org.python.python                   0x0024f9bf load_next + 207
 36  org.python.python                   0x0024fe7f import_module_level +
 143
 37  org.python.python                   0x002503ae
 PyImport_ImportModuleLevel + 46
 38  org.python.python                   0x0022900f builtin___import__ +
 159
 39  org.python.python                   0x0019f9f2 PyObject_Call + 50
 40  org.python.python                   0x0022e236
 PyEval_CallObjectWithKeywords + 118
 41  org.python.python                   0x002318b9 PyEval_EvalFrameEx +
 9849
 42  org.python.python                   0x00236c4a PyEval_EvalCodeEx +
 1962
 43  org.python.python                   0x00234c83 PyEval_EvalFrameEx +
 23107
 44  org.python.python                   0x00236c4a PyEval_EvalCodeEx +
 1962
 45  org.python.python                   0x001c428a function_call + 330
 46  org.python.python                   0x0019f9f2 PyObject_Call + 50
 47  org.python.python                   0x002330c1 PyEval_EvalFrameEx +
 16001
 48  org.python.python                   0x00236c4a PyEval_EvalCodeEx +
 1962
 49  org.python.python                   0x00234a63 PyEval_EvalFrameEx +
 22563
 50  org.python.python                   0x00236c4a PyEval_EvalCodeEx +
 1962
 51  org.python.python                   0x00236d57 PyEval_EvalCode + 87
 52  org.python.python                   0x0025b5c4 PyRun_StringFlags + 244
 53  org.python.python                   0x0025b69e PyRun_SimpleStringFlags
 + 78
 54  org.python.python                   0x002691ab Py_Main + 1435
 55  org.python.python                   0x00001f7b 0x1000 + 3963
 56  org.python.python                   0x00001ea9 0x1000 + 3753

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/15648#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list