Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2022-01-28 18:36:39



Reply to topic  [ 6 posts ] 
Region settings 
Author Message

Joined: 2011-12-12 04:09:46
Posts: 85
Reply with quote
I don't know when this started, I know it used to work, but when I try to change the region settings, PG Mature or Adult, on both my OSGrid and Stand Alone regions, I get the following error in the opensim console and no change is made. I tried with an old version of Singularity to be sure it wasn't opensim, and it worked.

09:26:03 - [LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packets.EstateOwnerMessagePacket for Jeeper Shim System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Number.ParseInt32 (System.ReadOnlySpan`1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Int16.Parse (System.ReadOnlySpan`1[T] s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00002] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Int16.Parse (System.String s, System.IFormatProvider provider) [0x00017] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at System.Convert.ToInt16 (System.String value) [0x0000b] in <a17fa1457c5d44f2885ac746c1764ea5>:0
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandleEstateOwnerMessage (OpenMetaverse.Packets.Packet Pack) [0x004a2] in <bf087efcbe1b420abf0ac47bbf6951d2>:0
at OpenSim.Region.ClientStack.LindenUDP.LLClientView+<>c__DisplayClass822_0.<ProcessPacketMethod>b__0 () [0x00002] in <bf087efcbe1b420abf0ac47bbf6951d2>:0


Attachments:
CoolVLViewer.log.tar.gz [23.05 KiB]
Downloaded 3 times
2021-11-15 17:31:54
Profile

Joined: 2009-03-17 18:42:51
Posts: 4809
Reply with quote
OpenSIM bug, obviously... and not knowing what is the "expected format", I cannot work around it...

There is also an issue with an OpenSIM simulator not replying to the viewer:
Code:
2021-11-15 17:25:28Z WARNING: LLViewerRegion::requestSimulatorFeatureCoro: HTTP error fetching simulator feature for region: White Wolf (8d806862-591a-410d-adb9-b43a83c5a92d). Will retry...
2021-11-15 17:25:28Z WARNING: LLViewerRegion::requestSimulatorFeatureCoro: HTTP error fetching simulator feature for region: White Wolf 20 (8ae953e9-bd1d-4185-a241-e9c5ddb92aa4). Will retry...
2021-11-15 17:25:28Z WARNING: LLViewerRegion::requestSimulatorFeatureCoro: Retries count exceeded attempting to get simulator feature for region White Wolf 20 (8ae953e9-bd1d-4185-a241-e9c5ddb92aa4) from: http://whitewolf.zapto.org:9004/89f0dfbd-807d-4de9-a9fc-93f7793d0dba
Which might explain the failure itself (if it was the sim you were attempting to set the data for)...


2021-11-15 21:03:44
Profile WWW

Joined: 2011-12-12 04:09:46
Posts: 85
Reply with quote
It was that sim I was trying to change the region settings for. I even loaded a 2019 version of opensim and got the same error so it's been there a long time. Good thing it's not something that gets changed very often. If at all for some.


2021-11-15 22:03:17
Profile

Joined: 2009-03-17 18:42:51
Posts: 4809
Reply with quote
In fact, it's indeed a viewer (copy/paste) bug... It does not show in SL, because in the latter, a capability is used, and the bug only affects the old UDP-message based code (which apparently, OpenSIM is still depending onto).
To prettify/simplify the code, I added (a looooong while ago) some macros, and the ASINTEGER() one is using a %f format string instead of a %d for an integer (I obviously copied/pasted ASFLOAT() to make it into ASINTEGER() and forgot to change the format string)...
OpenSIM's code could have accepted and silently converted the float to an integer, but it instead throws a format error.

Fixed for next release. If you compile the viewer yourself, simply change "%f" for %d" in ASINTEGER() line 1261 of linden/indra/newview/llfloaterregioninfo.cpp...


2021-11-15 23:33:19
Profile WWW

Joined: 2011-12-12 04:09:46
Posts: 85
Reply with quote
Thanks Henri. I'll probably never use that option again but someone else might. Good it's fixed


2021-11-16 01:45:12
Profile

Joined: 2009-03-17 18:42:51
Posts: 4809
Reply with quote
Fixed in today's release (v1.28.2.48).


2021-11-20 13:21:07
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.