[Live-demo] Re: [OSGeo] #754: GeoMajas doesn't work on first click

OSGeo trac_osgeo at osgeo.org
Wed Aug 24 16:15:57 PDT 2011


#754: GeoMajas doesn't work on first click
----------------------+-----------------------------------------------------
 Reporter:  camerons  |       Owner:  live-demo@…              
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:                           
Component:  LiveDVD   |    Keywords:  5.0, geomajas            
----------------------+-----------------------------------------------------

Comment(by camerons):

 Located the issue down to the startup script, which is downloaded as part
 of geomajas:

  user at user:~$ /usr/local/bin/start_geomajas.sh
  awk: {print int(0.5+100*\$1/\$2)}
  awk:                    ^ backslash not last character on line
  awk: {print int(0.5+100*\$1/\$2)}
  awk:                    ^ backslash not last character on line
  failed to create drawable
  user at user:~$

 Offending code is coming from the introduced delay clause:

 DELAY=40

 (
 for TIME in \`seq \$DELAY\` ; do
   sleep 1
   echo "\$TIME \$DELAY" | awk '{print int(0.5+100*\$1/\$2)}'
 done
 ) | zenity --progress --auto-close --text "Loading Geomajas"

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


More information about the Osgeolive mailing list