##// END OF EJS Templates
croak cleanly on non-ascii home dir names
vivainio -
Show More
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Release data for the IPython project.
2 """Release data for the IPython project.
3
3
4 $Id: Release.py 2281 2007-04-27 11:08:18Z vivainio $"""
4 $Id: Release.py 2297 2007-04-30 11:08:46Z vivainio $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
7 # Copyright (C) 2001-2006 Fernando Perez <fperez@colorado.edu>
@@ -25,7 +25,7 b" name = 'ipython'"
25 revision = '2280'
25 revision = '2280'
26
26
27 #version = '0.8.1.svn.r' + revision.rstrip('M')
27 #version = '0.8.1.svn.r' + revision.rstrip('M')
28 version = '0.8.1.rc2'
28 version = '0.8.1.rc3'
29
29
30 description = "An enhanced interactive Python shell."
30 description = "An enhanced interactive Python shell."
31
31
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.'
6
6
7 This file contains all the classes and helper functions specific to IPython.
7 This file contains all the classes and helper functions specific to IPython.
8
8
9 $Id: iplib.py 2266 2007-04-22 18:55:48Z jstenar $
9 $Id: iplib.py 2297 2007-04-30 11:08:46Z vivainio $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -659,8 +659,15 b' class InteractiveShell(object,Magic):'
659 self.rc already has reasonable default values at this point.
659 self.rc already has reasonable default values at this point.
660 """
660 """
661 rc = self.rc
661 rc = self.rc
662
662 try:
663 self.db = pickleshare.PickleShareDB(rc.ipythondir + "/db")
663 self.db = pickleshare.PickleShareDB(rc.ipythondir + "/db")
664 except exceptions.UnicodeDecodeError:
665 print "Your ipythondir can't be decoded to unicode!"
666 print "Please set HOME environment variable to something that"
667 print r"only has ASCII characters, e.g. c:\home"
668 print "Now it is",rc.ipythondir
669 sys.exit()
670
664
671
665 def post_config_initialization(self):
672 def post_config_initialization(self):
666 """Post configuration init method
673 """Post configuration init method
@@ -1,3 +1,8 b''
1 2007-04-30 Ville Vainio <vivainio@gmail.com>
2
3 * iplib.py: (pre_config_initialization) Catch UnicodeDecodeError if the
4 user has illegal (non-ascii) home directory name
5
1 2007-04-27 Ville Vainio <vivainio@gmail.com>
6 2007-04-27 Ville Vainio <vivainio@gmail.com>
2
7
3 * platutils_win32.py: implement set_term_title for windows
8 * platutils_win32.py: implement set_term_title for windows
@@ -6,7 +11,6 b''
6
11
7 * ipy_profile_sh.py: more informative prompt (2 dir levels)
12 * ipy_profile_sh.py: more informative prompt (2 dir levels)
8
13
9
10 2007-04-26 Walter Doerwald <walter@livinglogic.de>
14 2007-04-26 Walter Doerwald <walter@livinglogic.de>
11
15
12 * IPython/Extensions/igrid.py: (igrid) Fix bug that surfaced
16 * IPython/Extensions/igrid.py: (igrid) Fix bug that surfaced
General Comments 0
You need to be logged in to leave comments. Login now