[Ipython-tickets] [IPython] #163: ipython crashes on startup if cwd does not exist

IPython ipython-tickets@scipy....
Sun May 27 20:14:55 CDT 2007


#163: ipython crashes on startup if cwd does not exist
------------------------+---------------------------------------------------
 Reporter:  kovidgoyal  |       Owner:  fperez
     Type:  defect      |      Status:  new   
 Priority:  normal      |   Milestone:        
Component:  ipython     |     Version:        
 Severity:  normal      |    Keywords:        
------------------------+---------------------------------------------------
 Traceback (most recent call last):
   File "/usr/bin/ipython", line 8, in <module>
     load_entry_point('ipython==0.8.2.svn.r2355', 'console_scripts',
 'ipython')()
   File "/home/kovid/work/ipython/IPython/ipapi.py", line 384, in
 launch_new_instance
     ses = make_session(user_ns)
   File "/home/kovid/work/ipython/IPython/ipapi.py", line 433, in
 make_session
     return IPython.Shell.start(user_ns)
   File "/home/kovid/work/ipython/IPython/Shell.py", line 1111, in start
     return shell(user_ns = user_ns)
   File "/home/kovid/work/ipython/IPython/Shell.py", line 74, in __init__
     debug=debug,shell_class=shell_class)
   File "/home/kovid/work/ipython/IPython/ipmaker.py", line 95, in
 make_IPython
     embedded=embedded,**kw)
   File "/home/kovid/work/ipython/IPython/iplib.py", line 353, in __init__
     self.dir_hist = [os.getcwd()]
 OSError: [Errno 2] No such file or directory

-- 
Ticket URL: <http://projects.scipy.org/ipython/ipython/ticket/163>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list