Opened 12 years ago
Closed 12 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)
Change History (40)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Cc: | 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 , 12 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 , 12 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.
follow-up: 8 comment:6 by , 12 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:9 by , 12 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 , 12 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 , 12 years ago
Priority: | major → normal |
---|
Testing beta2 shows 3D 4D demos correctly for me. Lets confirm on next nightly.
follow-up: 18 comment:13 by , 12 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
comment:14 by , 12 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 , 12 years ago
if not $? is available for testing, maybe use a sleep 2; pgrep -c rasdaman
follow-up: 21 comment:17 by , 12 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
comment:18 by , 12 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:20 by , 12 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
follow-up: 22 comment:21 by , 12 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
follow-ups: 23 25 comment:22 by , 12 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
comment:23 by , 12 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 , 12 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
follow-up: 26 comment:25 by , 12 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
follow-up: 28 comment:26 by , 12 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
follow-up: 29 comment:27 by , 12 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
comment:28 by , 12 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.
comment:29 by , 12 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 , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Hi,
Confirmed to work in build [9775]
while rasdaman was working in beta1, in [9640] is broken again.