Hmm, I just installerd ipython-0.6.13 on OS X 10.3.9. For me it
created ipython with
#!/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Content
s/MacOS/Python
caused ipython to crash, with IPython_crash_report.txt below.
···
***************************************************************************
IPython post-mortem report
IPython version: 0.6.13
Platform info : os.name -> posix, sys.platform -> darwin
***************************************************************************
Current user configuration structure:
{'Version': 0,
'alias': [''],
'args': [],
'autocall': 1,
'autoindent': 1,
'automagic': 1,
'banner': 1,
'c': '',
'cache_size': 1000,
'classic': 0,
'color_info': 1,
'colors': 'Linux',
'confirm_exit': 1,
'debug': 0,
'deep_reload': 0,
'editor': 'vi',
'execfile': [],
'execute': [''],
'gthread': 0,
'help': 0,
'ignore': 0,
'import_all': [],
'import_mod': [],
'import_some': [[]],
'include': [],
'ipythondir': '/Users/newville/.ipython',
'log': 0,
'logfile': '',
'logplay': '',
'magic_docstrings': 0,
'messages': 1,
'multi_line_specials': 1,
'nosep': 0,
'opts': Struct({'pylab': 1}),
'pdb': 0,
'pprint': 1,
'profile': '',
'prompt_in1': 'In [\\#]:',
'prompt_in2': ' .\\D.:',
'prompt_out': 'Out[\\#]:',
'prompts_pad_left': 1,
'pylab': 1,
'quick': 0,
'rcfile': 'ipythonrc',
'readline': 1,
'readline_merge_completions': 1,
'readline_omit__names': 0,
'readline_parse_and_bind': ['tab: complete',
'"\\C-l": possible-completions',
'set show-all-if-ambiguous on',
'"\\C-o": tab-insert',
'"\\M-i": " "',
'"\\M-o": "\\d\\d\\d\\d"',
'"\\M-I": "\\d\\d\\d\\d"',
'"\\C-r": reverse-search-history',
'"\\C-s": forward-search-history',
'"\\C-p": history-search-backward',
'"\\C-n": history-search-forward'],
'readline_remove_delims': '\'"-/~',
'screen_length': -2,
'separate_in': '\n',
'separate_out': '',
'separate_out2': '',
'system_verbose': 0,
'tk': 0,
'upgrade': 0,
'wthread': 0,
'xmode': 'Context'}
***************************************************************************
Crash traceback:
---------------------------------------------------------------------------
exceptions.TypeErrorPython 2.3: /System/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/MacOS/Python
Thu May 5 23:13:31 2005
A problem occured executing Python code. Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/Users/newville/bin/ipython
-2 import IPython
-1
0 IPython.Shell.start().mainloop()
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/IPython/Shell.py in mainloop(self=<IPShellMatplotlibWX(Thread-1, started)>)
712 def OnTimer(self, event):
713 update_tk(self.tk)
714 self.IP.runcode()
715
716 class App(self.wx.wxApp):
717 wx = self.wx
718 TIMEOUT = self.TIMEOUT
719 def OnInit(self):
720 'Create the main window and insert the custom frame'
721 self.agent = TimerAgent(None, self.TIMEOUT)
722 self.agent.Show(self.wx.false)
723 self.agent.StartWork()
724 return self.wx.true
725
726 self.app = App(redirect=False)
--> 727 self.wx_mainloop(self.app)
self.wx_mainloop = None
self.app = <IPython.Shell.App; proxy of C++ wxPyApp instance at _05a3a8e0_p_wxPyApp>
728 self.join()
729
730 # A set of matplotlib public IPython shell classes, for single-threaded
731 # (Tk* and FLTK* backends) and multithreaded (GTK* and WX* backends) use.
732 class IPShellMatplotlib(IPShell):
733 """Subclass IPShell with MatplotlibShell as the internal shell.
734
735 Single-threaded class, meant for the Tk* and FLTK* backends.
736
737 Having this on a separate class simplifies the external driver code."""
738
739 def __init__(self,argv=None,user_ns=None,debug=1):
740 IPShell.__init__(self,argv,user_ns,debug,shell_class=MatplotlibShell)
741
742 class IPShellMatplotlibGTK(IPShellGTK):
TypeError: 'NoneType' object is not callable
***************************************************************************
History of session input:
*** Last line of input (may not be in above history):