![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Hi all,
Occasionally, most likely due to poor bandwidth, my audience will get an error messages. The specific error is not important to me at the moment, rather, I am interested in locating the source code where I can either disable the message, or edit it... perhaps invoke an action to reload and relay a message to the audience.
Image below is an example of an error that I would like to never appear.
Thank you in advance!
- Andrew
Last edited by ATXcloud (2012-11-30 19:30:17)
Offline
So I've found this thread on the krpano forums... http://krpano.com/forum/wbb/index.php?p … r#post7257
except I'm having trouble still, locating the showerrors="false" ... please forgive my inepitude. Is there somehow ptp is hiding it?
Last edited by ATXcloud (2012-12-01 20:21:30)
Offline
ATXcloud wrote:
So I've found this thread on the krpano forums... http://krpano.com/forum/wbb/index.php?p … r#post7257
except I'm having trouble still, locating the showerrors="false" ... please forgive my inepitude. Is there somehow ptp is hiding it?
well -
after drinking some Punch or similar it could be difficult to find the <krpano.....> block ![]()
line 4 of the main XML file build.xml:
<?xml version="1.0" encoding="UTF-8"?> <!-- for xml compliance --> <!-- Generated By Kolor Panotour 1.8.0 --> <krpano version="1.0.8.14" logkey="false" onstart="startaction">
the warnings shown in your screenshot normally never Pop up without an additional error. the warnings shown in your example are ptp specific. so hopefully this is gone with ptp 2.x
PS: additional I would use in the krpano block the debugmode="false" and in your template files I would additional add the showerrors="false" to any <plugin....> statement
Liebe Gruesse,
Georg
Last edited by gkaefer (2012-12-01 23:16:41)
Offline
and you can do following too if working on/for an own template:
create a plugin named settings to place settings valid than for all other plgins. if you Change the to debug="true" than ist valid for all plugin:
<settings name="themevars"
debug="false"
showerrors="false"
(...)
/>the normal plugins define with empty vaiables and when loading is finished and/or is clicked than the global variable is set inside the local plugin:
<plugin name="soundON"
showerrors=""
debug=""
(...)
onclick=" (...)
set(debug,get(settings[themevars].debug));
"
onloaded="(...)
set(debug,get(settings[themevars].debug));
"
/>you also can create user defined Messages. in following example I created an acction which is autorotating the pano 180" if debug variable is enabled in settings plugin above now the errorwindow gets opened with showlog() and than user defined text is displayed with the trace command:
<action name="sphere-360to180">
if(step == 6, adjusthlookat(360) ); tween(view.hlookat,180,get(settings[themevars].slideshow-loop-pause-transition) ); wait(BLEND); inc(step); );
if(step == 7, set(step,0); );
if( settings[themevars].debug==true,
showlog();
trace('--- action: ',%0,' ---');
trace('sphere-360to180 is used.');
);
</action>example (not with autorotating but with enabled debug & "pano-slideshow" Modus): http://gigapixel.at/test/build.html
Liebe Gruesse,
Georg
Last edited by gkaefer (2012-12-01 23:45:05)
Offline
Hello Andrew,
In your first screenshot you got a "Unable to activate spot" error.
This error is sent by the PanotourMaps plugin or by the floorplan plugin when you use them without any spot on them.
Just add a spot, and this error will not appear anymore.
The "loading errors" on your second screenshot are more annoying.
You can get them even in a good configuration, so Georg's solution may help you.
Gérald
Offline
Thank you both Georg & Gérald! I'll try plugging in the code... all that was said makes sense. I'm aways so grateful for the support Kolor community provides! Cheers!
Offline
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
