#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@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@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.
_______________________________________________
Live-demo mailing list
Live-demo@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/live-demo
http://wiki.osgeo.org/wiki/Live_GIS_Disc

Reply via email to