Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 17:58:39



Reply to topic  [ 6 posts ] 
Can't edit scripts 
Author Message

Joined: 2011-12-12 04:09:46
Posts: 107
Reply with quote
I can't save an edited script on OSGrid with version 1.26.10. 1.26.4 works fine. It comes back with The server is experiencing unexpected difficulties. It creates a new script ok, but can not save the script after editing it. Attached is the log.


Attachments:
CoolVLViewer.zip [14.88 KiB]
Downloaded 167 times
2014-01-25 15:29:51
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
It may happen that the server fails to receive the script upload (the log indeed shows a server-side error, because of a HTTP transaction failure reported by the server), but it's not under the control of the viewer... I cannot either reproduce the bug here (scripts save just fine for me, either in rezzed objects or in inventory): I suggest you try saving them in another simulator (the sim server could be the issue). You also can retry a failed saved script: simply add a space anywhere and save it again.


2014-01-25 16:34:39
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Update: it seems that OpenSim (not SL) is indeed having issues with scripts saving when the latter are contained inside a rezzed object (working fine when the script is in the inventory). I'm investigating, but since there is no difference in this part of the code between v1.26.4.98 and v1.26.10.8, the problem might be with the newer curl library used in recent viewer versions and an issue with how HTTP transactions are coded in OpenSim...


2014-01-25 19:25:55
Profile WWW

Joined: 2011-12-12 04:09:46
Posts: 107
Reply with quote
Thanks for confirming Henri.


2014-01-25 22:07:56
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I found the bug (introduced in yesterday's releases). It's the result of a BOOL (a BOOL is actually a 32bits integer) that was turned into a bool (a single byte) and that got translated into an LLSD (SL-specific XML-like file) as a Boolean instead of an Integer in the message sent to the server: SL's servers understand both, while OpenSim expects an Integer for that specific message and is clueless when receiving an LLSD message containing a Boolean instead...

The fix will be in next releases. See the attached diff.txt file, if you can't wait and wish to patch and recompile v1.26.10.8 yourself...


Attachments:
diff.txt [2.08 KiB]
Downloaded 170 times
2014-01-26 11:14:05
Profile WWW

Joined: 2011-12-12 04:09:46
Posts: 107
Reply with quote
Thanks Henri. I'll wait for the release.


2014-01-26 12:45:01
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 32 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:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.