osgrid.org
https://forums.osgrid.org/

Radegast Viewer - Saving Scripts??
https://forums.osgrid.org/viewtopic.php?f=40&t=4832
Page 1 of 1

Author:  Scooby Scorfield [ Thu Jun 20, 2013 5:44 am ]
Post subject:  Radegast Viewer - Saving Scripts??

Hi All,
Has anyone else had issues editing / saving scripts in Opensim using Radegast?

It works fine in SL, but whatever region I try in Opensim, I get "Compilation failure" errors showing in the viewer after it tries saving for 2-3 minutes. It then fails to re-open the script, until I clean my cache. Running as admin on my PC etc. hasn't helped, and like I say, it works fine in SL.

Thanks,
Scoobs X

Author:  Scooby Scorfield [ Thu Jun 20, 2013 5:58 am ]
Post subject:  Re: Radegast Viewer - Saving Scripts??

A bit more information..... I'm not sure if this is a Mono issue, but I managed to capture the following debug info on my server as I attempted to save a script.....

11:54:03 - [CAPS]: System.ArgumentException: Object type System.Boolean cannot b e converted to target type: System.Int32
Parameter name: val
at System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization. CultureInfo culture) [0x00000]
at System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object valu e) [0x00000]
at OpenSim.Framework.Capabilities.LLSDHelpers.DeserialiseOSDMap (System.Collec tions.Hashtable llsd, System.Object obj) [0x00000]
at OpenSim.Region.ClientStack.Linden.BunchOfCaps.ScriptTaskInventory (System.S tring request, System.String path, System.String param, IOSHttpRequest httpReque st, IOSHttpResponse httpResponse) [0x00000]
11:54:03 - [BASE HTTP SERVER]: HandleRequest() threw at System.Text.Encoding.G etBytes (System.String s) [0x00000]
at OpenSim.Framework.Servers.HttpServer.RestStreamHandler.Handle (System.Strin g path, System.IO.Stream request, IOSHttpRequest httpRequest, IOSHttpResponse ht tpResponse) [0x00000]
at OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest (OpenSim. Framework.Servers.HttpServer.OSHttpRequest request, OpenSim.Framework.Servers.Ht tpServer.OSHttpResponse response) [0x00000] System.ArgumentNullException: Argum ent cannot be null.
Parameter name: s
at System.Text.Encoding.GetBytes (System.String s) [0x00000]
at OpenSim.Framework.Servers.HttpServer.RestStreamHandler.Handle (System.Strin g path, System.IO.Stream request, IOSHttpRequest httpRequest, IOSHttpResponse ht tpResponse) [0x00000]
at OpenSim.Framework.Servers.HttpServer.BaseHttpServer.HandleRequest (OpenSim. Framework.Servers.HttpServer.OSHttpRequest request, OpenSim.Framework.Servers.Ht tpServer.OSHttpResponse response) [0x00000]

Author:  dan banner [ Sat Jun 22, 2013 12:20 am ]
Post subject:  Re: Radegast Viewer - Saving Scripts??

Not alot to go on here, however I can try...

It is not uncommon for scripts from SL to fail on opensim. Usually it is a matter of syntax, as there are a few minor differences in the script engines.

You mention radegast, does it compile fine with any other viewers?

Author:  Scooby Scorfield [ Tue Jun 25, 2013 3:16 am ]
Post subject:  Re: Radegast Viewer - Saving Scripts??

Hi Dan,
Sorry for the delayed response... Yes the script appears to be fine in other viewers. It just doesn't save in Radegast and I can't even open it a second time to read the contents. Its a very strange doings!

Scoobs X

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/