[Live-demo] [OSGeo] #1215: ossim ipython profile not working from chroot

OSGeo trac_osgeo at osgeo.org
Tue Aug 27 01:38:11 PDT 2013


#1215: ossim ipython profile not working from chroot
---------------------+------------------------------------------------------
 Reporter:  hamish   |       Owner:  live-demo@…              
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  OSGeoLive7.0             
Component:  LiveDVD  |    Keywords:  ossim, ipython           
---------------------+------------------------------------------------------

Comment(by hamish):

 {{{
 > [ProfileCreate] Generating default config file:
 > u'/home/user/.ipython/profile_osgeolive/ipython_config.py'
 ...
 > cp: cannot stat `/home/user/.config/ipython': No such file or directory
 }}}

 if ~/.config/ exists it should create a ~/.config/ipython/ dir in there.
 if ~/.config/ does not exist it uses ~/.ipython instead. Line 61 of
 install_ipython.sh should make ~/.config/, so I'm not sure why ~/.ipython
 is being used.

 The error message in comment:5 happens when it tries to copy the result to
 /etc/skel, so the result is that the profile doesn't survive the live user
 creation method. Workaround committed to trunk in r10837 to try copying it
 from both possible dirs.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1215#comment:6>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Live-demo mailing list