You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2013-02-18 10:29:56

vaidulis
Member
From: Lithuania
Registered: 2012-09-24
Posts: 12

How to remove "registered to" information from error message?

Hello, everybody,

Is there any way to remove "INFO: registered to" line from error message in tour?

INFO: Panotour Pro Version 1.8.0
INFO: krpano PT 1.7 (build 2012-02-20)
INFO: Flashplayer WIN 11.5.502.149 PlugIn
INFO: registered to: user@domain.com
WARNING: unknown action: closepanoobjects

Thank you in advance for any help.

BR
vaidulis

Offline

 

#2 2013-02-18 10:33:16

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9728
Website

Re: How to remove "registered to" information from error message?

vaidulis wrote:

Hello, everybody,

Is there any way to remove "INFO: registered to" line from error message in tour?

INFO: Panotour Pro Version 1.8.0
INFO: krpano PT 1.7 (build 2012-02-20)
INFO: Flashplayer WIN 11.5.502.149 PlugIn
INFO: registered to: user@domain.com
WARNING: unknown action: closepanoobjects

Thank you in advance for any help.

BR
vaidulis

Try the showerrors attribute for the krpano tag - see screenshot from krpano documentation

Of course if you fix the problem you get no error message. wink


Uploaded Images

Last edited by mediavets (2013-02-18 10:39:21)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#3 2013-02-18 15:46:27

vaidulis
Member
From: Lithuania
Registered: 2012-09-24
Posts: 12

Re: How to remove "registered to" information from error message?

Yes You're right, but sometimes error messages are quite good thing smile
So maybe there is another way to remove only this line and not the whole message..?

Offline

 

#4 2013-02-18 15:48:40

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9728
Website

Re: How to remove "registered to" information from error message?

vaidulis wrote:

Yes You're right, but sometimes error messages are quite good thing smile
So maybe there is another way to remove only this line and not the whole message..?

I'm not aware of any way to do that.

Why does it worry you so much to have that line displayed in an error message?


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#5 2013-02-18 22:51:26

ATXcloud
Member
From: AUSTIN, TX USA
Registered: 2011-06-06
Posts: 67

Re: How to remove "registered to" information from error message?

mediavets has provided the answer... but for the code illiterate, such as myself, this is exactly how & where to add it.

1) open you main "build.xml" in a text editor.
you will see the first four lines as such:

<?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">

2) add: showerrors="false" to the fourth line

<krpano version="1.0.8.14" logkey="false" onstart="startaction" showerrors="false">

3) save 

It's a little trick that I think many will find as easy... but for others have a first time looking, may not know.  For myself, the error message is not something the public audience should see.  It makes the tour look bugy, even if it has loaded improperly, often times still has functionality.  The end user will often never know except for that message.  I too wish I could edit that message...say something like "poor internet connection, loading error" or whatever.

Offline

 

#6 2013-02-19 08:39:44

bdd
Administrator
Registered: 2011-01-18
Posts: 622
Website

Re: How to remove "registered to" information from error message?

PTP 2.0 may contain an "advanced" option that allows to hide errors.
But as Andrew said, if you hide errors you do not fix them.
So I think that if this option is added to PTP, an annoying confirmation window asking "Are you sure to be sure ?" will be added too :-)

Gérald

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson