Opened 11 years ago

Closed 11 years ago

#1063 closed defect (fixed)

rasdaman dataset verification

Reported by: rasdaman Owned by: rasdaman
Priority: normal Milestone: OSGeoLive6.5
Component: OSGeoLive Keywords: 6.5, rasdaman
Cc: d.misev@…, a.beccati@…, a.rezaeim@…, live-demo@…

Description

The rasdaman dataset for running the demo referenced into the quickstart is not loaded properly.

Debugging process is already started using the latest build as testbed Alan

Attachments (10)

2d_xt_y0.2.png (66.7 KB ) - added by hamish 11 years ago.
4d rasdaman earthlook demo array EOL problem?
2d_xy_z0.png (68.7 KB ) - added by hamish 11 years ago.
4d rasdaman earthlook demo array 1 cell to wide?
2013-02-02-224532_1366x768_scrot.png (229.7 KB ) - added by rasdaman 11 years ago.
1D demo 1
2013-02-02-224540_1366x768_scrot.png (225.9 KB ) - added by rasdaman 11 years ago.
1D demo 2
2013-02-02-224557_1366x768_scrot.png (263.9 KB ) - added by rasdaman 11 years ago.
3D Demo
2013-02-02-224615_1366x768_scrot.png (179.9 KB ) - added by rasdaman 11 years ago.
4D demo 1
2013-02-02-232835_1366x768_scrot.png (258.0 KB ) - added by rasdaman 11 years ago.
4D demo 2
2013-02-02-232842_1366x768_scrot.png (198.6 KB ) - added by rasdaman 11 years ago.
4D demo 3
2013-02-02-230424_1366x768_scrot.png (226.3 KB ) - added by rasdaman 11 years ago.
5D demo 1
2013-02-02-230430_1366x768_scrot.png (233.3 KB ) - added by rasdaman 11 years ago.
5D demo 2

Download all attachments as: .zip

Change history (40)

comment:1 by rasdaman, 11 years ago

Owner: changed from live-demo@… to rasdaman
Status: newassigned

comment:2 by kalxas, 11 years ago

while rasdaman was working in beta1, in [9640] is broken again.

comment:3 by hamish, 11 years ago

Cc: live-demo@… added
Keywords: 6.5 rasdaman added

in the osgeo-live-debug-build9647.iso nightly build the 2D rasdaman demo works for me, but the 3D and 4D ones have sliders that work but the rest of the canvas is just grey.

is something more supposed to happen there? Is it opengl an need to not be in a VM or something?

Hamish

ps- if you take ownership of a bug you have to manually move the mailing list email address to the CC box, or else it gets lost.

comment:4 by kalxas, 11 years ago

Hi, I confirm that for build9647 the demo is running again. The NDVI demo is not working, I assume there are still problems. Lets check build 9658 in a few hours.

Hamish, I recall not being able to add mailing list as CC, due to permission issues. For me there is not such an option. Perhaps you are admin and you can do it.

Angelos

comment:5 by misev, 11 years ago

There was a bug with missing directories for those demos, that should be fixed now so we can close the ticket after verifying the next build.

comment:6 by kalxas, 11 years ago

Hi,

I saw this on the last commit:

chmod 777 /var/www/rasdaman-demo/demos/demo_items/img/climate4d/
chmod 777 /var/www/rasdaman-demo/demos/demo_items/img/climate3d/
chmod 777 rasdaman-demo/demos/demo_items/img/ccip_processing_files/

No directory outside home should be 777. Can you please provide minimum permission requirements for this? Who needs to have write access? "user"?

comment:7 by misev, 11 years ago

Maybe better would be chown www-data: ..., should be tested.

in reply to:  6 comment:8 by hamish, 11 years ago

try r9662, group set to www-data and chmod'd g+w

Hamish

comment:9 by kalxas, 11 years ago

I applied the fix manually on build [9658] and seems that climate 4D demo is not working Lets wait for next nightly

comment:10 by hamish, 11 years ago

Hi,

applied by hand as well after another small fix (see r9673), permissions in the 3,4d dirs and ccid look ok now. group-writable ownership should be enough, www-data doesn't have to own it too as far as the filesystem is concerned.

still nothing besides sliders from the 3D demo; the 4D demo now has an image but it seems there is some length of line off-by-one error as the image has a diagonal skew to it in the top example, and a series of images in a horizontal row in the lower 4D demo.

thanks, Hamish

comment:11 by kalxas, 11 years ago

Priority: majornormal

Testing beta2 shows 3D 4D demos correctly for me. Lets confirm on next nightly.

comment:12 by kalxas, 11 years ago

1D demo is not plotting results.

comment:13 by hamish, 11 years ago

I'm attaching some screenshots from the 4D earthlook demo page.

In 5D I get the lower line graph to draw but nothing in the upper pane. I don't see anything in the 1D demo either. In the 3D one the sliders move but nothing else happens.

The permissions should be ok for the img/ dirs now, but fwiw chmod'ing the whole /var/www/rasdaman-demo dir to 777 doesn't help.

Hamish

by hamish, 11 years ago

Attachment: 2d_xt_y0.2.png added

4d rasdaman earthlook demo array EOL problem?

by hamish, 11 years ago

Attachment: 2d_xy_z0.png added

4d rasdaman earthlook demo array 1 cell to wide?

comment:14 by hamish, 11 years ago

by the way, a &&'d confirmation dialog would be nice in the start_rasdaman and stop_rasdaman scripts.

"zenity" is available on the Live DVD, use it like:

... start commands

if [ $? -eq 0 ] ; then
   zenity --info --text "The Rasdaman daemons have been launched." &
else
   zenity --info --text "The Rasdaman daemons failed to launch."
fi

and you get a nice [Ok] GUI dialog pop up on the screen.

otherwise the flash-by terminal doesn't give you much feedback, and earlier today in 6.5beta2 iso I had it not launch them on the first try for some reason.

(need to look further into /usr/local/rasdaman/log/; shows tile size as 511,511?)

Hamish

comment:15 by hamish, 11 years ago

if not $? is available for testing, maybe use a sleep 2; pgrep -c rasdaman

comment:16 by hamish, 11 years ago

sorry, it needs pgrep -c -f rasdaman

in reply to:  12 ; comment:17 by rasdaman, 11 years ago

Replying to kalxas:

1D demo is not plotting results.

It is working in build 9677, do you still have problem with that?

Alireza

in reply to:  13 comment:18 by rasdaman, 11 years ago

Replying to hamish:

I'm attaching some screenshots from the 4D earthlook demo page.

In 5D I get the lower line graph to draw but nothing in the upper pane. I don't see anything in the 1D demo either. In the 3D one the sliders move but nothing else happens.

The permissions should be ok for the img/ dirs now, but fwiw chmod'ing the whole /var/www/rasdaman-demo dir to 777 doesn't help.

Hamish

They all working in build 9677, do you still have problem?

Alireza

comment:19 by kalxas, 11 years ago

Hi, I will test again on 9677...

comment:20 by kalxas, 11 years ago

Perhaps I am not very familiar with the interface. If it is working for you I am ok to close this issue and freeze the installation script.

Cheers, Angelos

in reply to:  17 ; comment:21 by hamish, 11 years ago

Replying to rasdaman:

It is working in build 9677, do you still have problem with that?

Hi,

out of curiosity, can you explain what is supposed to happen in the 1D demo? I get code snippets on mouse-over, and can select linear,area,scattered from the drop down list, but other than that no feedback, plot, or other output to look at. Is there a "submit" button I'm missing somewhere, or?

thanks, Hamish

by rasdaman, 11 years ago

1D demo 1

by rasdaman, 11 years ago

1D demo 2

by rasdaman, 11 years ago

3D Demo

by rasdaman, 11 years ago

4D demo 1

by rasdaman, 11 years ago

4D demo 2

by rasdaman, 11 years ago

4D demo 3

by rasdaman, 11 years ago

5D demo 1

by rasdaman, 11 years ago

5D demo 2

in reply to:  21 ; comment:22 by rasdaman, 11 years ago

Replying to hamish:

Replying to rasdaman:

It is working in build 9677, do you still have problem with that?

Hi,

out of curiosity, can you explain what is supposed to happen in the 1D demo? I get code snippets on mouse-over, and can select linear,area,scattered from the drop down list, but other than that no feedback, plot, or other output to look at. Is there a "submit" button I'm missing somewhere, or?

thanks, Hamish

I attached several images which show how 1D, 3D, 4D, 5D should look like (did not attached all demos for 1D, etc.). As before, I got the lastest build 9677 and ran the script install_rasdaman, and just issued start_rasdaman.sh script to start rasdaman server.

Alireza

in reply to:  22 comment:23 by hamish, 11 years ago

Replying to rasdaman:

I attached several images which show how 1D, 3D, 4D, 5D should look like (did not attached all demos for 1D, etc.). As before, I got the lastest build 9677 and ran the script install_rasdaman,

you re-ran in the install script? that's done as part of the build process and shouldn't be necessary.

and just issued start_rasdaman.sh script to start rasdaman server.

ah, ok I can get something now -- IF I run the tart_rasdaman.sh script from a Terminal prompt, twice!

Perhaps some trouble with the tuning of the WAIT_FOR_CHILDREN part of the startup script? Could an extra "sleep 3" somewhere help?

It returns to the command prompt after "starting all rasdaman servers..", and rasmgr was running, but no "Started 10 servers on 1 host" (and no rasserver processes either) until I ran it a second time. Note the exit code after the first attempt was 39, another time 51, next time 37,... is that trying to show the PID or the exit code of the rascontrol ($?)?


I still suspect there is an array size off by one error in the first 4D demo, the diagonal skew looks like an error to me.

thanks, Hamish

comment:24 by hamish, 11 years ago

race condition; putting a "sleep 0.5" after the while loop in start_rasdaman.sh seems to help with the missing 10 servers-starting problem. perhaps the rasmgr process existed but wasn't ready to receive connections yet?

Hamish

in reply to:  22 ; comment:25 by kalxas, 11 years ago

Replying to rasdaman:

Replying to hamish:

Replying to rasdaman:

It is working in build 9677, do you still have problem with that?

Hi,

out of curiosity, can you explain what is supposed to happen in the 1D demo? I get code snippets on mouse-over, and can select linear,area,scattered from the drop down list, but other than that no feedback, plot, or other output to look at. Is there a "submit" button I'm missing somewhere, or?

thanks, Hamish

I attached several images which show how 1D, 3D, 4D, 5D should look like (did not attached all demos for 1D, etc.). As before, I got the lastest build 9677 and ran the script install_rasdaman, and just issued start_rasdaman.sh script to start rasdaman server.

Alireza

Hi Alireza,

I am not getting the same results. You have to test not by running the install script again but starting Rasdaman from Geospatial menu -> Databases -> Rasdaman

Can you please test build 9758 and see what is the issue?

Thanks, Angelos

in reply to:  25 ; comment:26 by rasdaman, 11 years ago

Replying to kalxas:

Replying to rasdaman:

Replying to hamish:

Replying to rasdaman:

It is working in build 9677, do you still have problem with that?

Hi,

out of curiosity, can you explain what is supposed to happen in the 1D demo? I get code snippets on mouse-over, and can select linear,area,scattered from the drop down list, but other than that no feedback, plot, or other output to look at. Is there a "submit" button I'm missing somewhere, or?

thanks, Hamish

I attached several images which show how 1D, 3D, 4D, 5D should look like (did not attached all demos for 1D, etc.). As before, I got the lastest build 9677 and ran the script install_rasdaman, and just issued start_rasdaman.sh script to start rasdaman server.

Alireza

Hi Alireza,

I am not getting the same results. You have to test not by running the install script again but starting Rasdaman from Geospatial menu -> Databases -> Rasdaman

Can you please test build 9758 and see what is the issue?

Thanks, Angelos

Hi Angelos, I tested ob build 9758 and it works the only caveat is that start_rasdaman.sh script (or alternatively Geospatial menu -> Databases -> Rasdaman -> Start Rasdaman Server) needs to be run 2 times. Please try again and verify. I get back to you when we solve this issue. Thanks, Cheers, Alireza

comment:27 by hamish, 11 years ago

Hi,

please see comment:24, it's a race condition launching rasmgr; it needs a short sleep after doing that before releasing the daemons.

then it worked for me the first time running the script. (I guess the second time it is faster to launch because it is already in disk cache memory)

Hamish

in reply to:  26 comment:28 by misev, 11 years ago

Yes, Alireza just update the install script to add the sleep command to the start_rasdaman.sh after rasdaman is installed. The sleep should go after rasmgr is started.

in reply to:  27 comment:29 by rasdaman, 11 years ago

Replying to hamish:

Hi,

please see comment:24, it's a race condition launching rasmgr; it needs a short sleep after doing that before releasing the daemons.

then it worked for me the first time running the script. (I guess the second time it is faster to launch because it is already in disk cache memory)

Hamish

Hi Hamish,

I added updated the rasdaman script. Could you please try with the new script?

Best, A.

comment:30 by kalxas, 11 years ago

Resolution: fixed
Status: assignedclosed

Hi,

Confirmed to work in build [9775]

Note: See TracTickets for help on using tickets.