You are not logged in.

1

Friday, March 29th 2013, 11:14am

Cube loading error while switching quickly between two panos

Hi,

Once KRPano started to load pano cubes and user clicks on another thumbnail to load another pano.
KRPano quickly showing the debug window with error 'Download of so and so cubes failes". As I understood this is happen because KRPano has already sends the request to load cubes and it is interrupted by clicking on another thumb. (See the attached Image)

I have tried "onloaderror=showlog(false)" but it is not working for me.

Is there any other way to hide the debug window if cube load request is interrupted once cubes started to load?

--
Thanks
pratiks
pratiks has attached the following image:
  • error.jpg

2

Friday, March 29th 2013, 10:19pm

Hi,

Are these thumbs external and are you starting new viewer instances when clicking them?

Normally there should be no errors of course, when the viewer itself stops its own downloads - but when the viewer itself will be removed - then the browser cancels the downloads requests - the viewer then only gets error events and thoughts that the loading has failed, more informations are not available here.

But a way to suppress the error messages, would be setting showerrors=false .

Best regards,
Klaus

3

Monday, April 1st 2013, 7:23am

Quoted

Are these thumbs external and are you starting new viewer instances when clicking them?

Yes, cubes are external and new viewer instance is loaded once user clicks on thumbnail.

So, is there any way to know KRPano that loading failed because of new instance is loaded or interrupted by user?

Thanks

4

Tuesday, April 2nd 2013, 1:35pm

Hi,
So, is there any way to know KRPano that loading failed because of new instance is loaded or interrupted by user?
See above - 'more informations are not available here' - that means no, there is no way - the viewer doesn't and can't know why the loading of the files failed.

But using showerrors=false is still possible.

Or an other possibility - remove the viewer correctly from the html page instead:
http://krpano.com/docu/html/#removing

Or even better - just load a new xml instead of embedding the viewer again.

Best regards,
Klaus