[Live-demo] Re: [OSGeo] #771: AtlasStyler does not open from ISO, but seems to work from VM

OSGeo trac_osgeo at osgeo.org
Wed Aug 24 06:34:24 EDT 2011


#771: AtlasStyler does not open from ISO, but seems to work from VM
----------------------+-----------------------------------------------------
 Reporter:  camerons  |       Owner:  live-demo@…              
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:                           
Component:  LiveDVD   |    Keywords:  5.0, atlasstyler         
----------------------+-----------------------------------------------------

Comment(by hamish):

 Replying to [comment:5 alfonx]:
 > Reproducable on RC2 ISO: My coworker tells me, that
 >
 > /usr/share/atlasstyler/start_AtlasStyler.sh
 >
 > doesn't have the executable flag set?! This file is extracted from/
 created by the
 > atlasstyler.deb package WITH executable flag set?! How could it be, that
 the flag
 > is getting lost between VM and ISO?

 very odd, I see the same thing in 5.0rc2.  VM: +x, ISO: -x.

 and it is still broken in the 5.0rc3 ISO.

 shall we stash a copy of the script in /usr/local/bin/ (and edit the paths
 within it), and try to point to there.. ?

 ie add this to the end of install_atlasstyler.sh:
 {{{
 cat << EOF >> /usr/bin/atlasstyler

 if [ $? -ne 0 ] ; then
    . /usr/share/atlasstyler/start_Atlasstyler.sh
 fi
 EOF

 #?or? if [ ! -x /usr/share/atlasstyler/start_Atlasstyler.sh ] ; then
 }}}



 Hamish

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


More information about the Live-demo mailing list