Post by scooby on Jun 20, 2013 3:16:46 GMT -8
Hi,
I have Radegast 2.12, running against OpenSim however I cannot save scripts. I have tried saving in SecondLife and all is well, however in OpenSim I get "Compilation error" appear in the script edit window. I have tried other regions running different builds of OpenSim with the same results.
In my sim, when I try to save a script in an object, I get the following debug message on the server side:-
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]
Thanks,
Scoobs X
I have Radegast 2.12, running against OpenSim however I cannot save scripts. I have tried saving in SecondLife and all is well, however in OpenSim I get "Compilation error" appear in the script edit window. I have tried other regions running different builds of OpenSim with the same results.
In my sim, when I try to save a script in an object, I get the following debug message on the server side:-
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]
Thanks,
Scoobs X