[Opensim-users] Exception rethrown at [0]:

Gwyneth Llewelyn gwyneth.llewelyn at gwynethllewelyn.net
Mon Aug 13 14:02:33 UTC 2012


Hiya :)

Well, two things. When starting, OpenSim *usually* tells you what scripts it is loading. If not, can try to open OpenSim.ini and change

	DeleteScriptsOnStartup = true

This should load the script and recompile it. This may make a difference: you *might* have the script compiled for a previous version of OpenSim, or the compiled version might be corrupted, so this should get it working again.

If not, at least the logs *should* give you the script's name.

if not, you might put the logging into a more chatty mode. This is done on OpenSim.exe.config and looking for:

	<level value="DEBUG" />

or whatever your level is set to, and set it to ALL for example (see http://opensimulator.org/wiki/Logging for a list of possible options), and restart OpenSim. Note that some versions of OpenSim have different logging levels for scripts (usually just INFO) and for the remaining things (normally DEBUG); you can try to set both to ALL to see if it helps you locate the faulty script.

With DEBUG level for scripts I get entries like this, every time a script is launched after OpenSim is reset, I get an entry like this:

OpenSim.BetaTech.log.2012-08-03:2012-08-03 15:33:14,214 DEBUG - OpenSim.Region.ScriptEngine.XEngine.XEngine [XEngine] Loaded script HyperGate v0.7.3 (TheHyperGates.com).monitor, item UUID 32add6b2-3897-45bc-8580-395f05da7222, prim UUID 18d185d4-fe4a-44fb-91e2-3f3fbdd76816 @ <148.5385, 231.8452, 32.0867>.Beta Technologies

This identifies the script name: "HyperGate v0.7.3 (TheHyperGates.com)" in my case, and also tells me which prim is loading it.

If you're good at doing MySQL queries, you could theoretically figure out the prim's name, launch OpenSim with scripts turned off, locate that prim, delete the contents, then turn scripts on again, and relaunch — your problem should have been gone :)

Oh, last but not least. You MIGHT have os* functions turned off in scripts. I'm not sure if this will give an error when scripts try to use those functions. Since you're not aware of the script, I wonder where you got it from, or who knows what it's actually doing; not all os* functions are "safe".

You could try to check on OpenSim.ini for:

[XEngine]
...
	AllowOSFunctions = true

but set the threat level to

	OSFunctionThreatLevel = VeryLow

or even

	OSFunctionThreatLevel = None

osSetDynamicTextureURL() has a threat level of VeryLow, so setting "None" should prevent it from being loaded anyway.

Good luck tracking this down!

	- Gwyn


On 13/08/2012, at 11:43, oztrout63 wrote:

> If i get it back ... 
> How would i delete that script ... ?
> 
> 
> On Mon, 2012-08-13 at 11:06 +0100, Gwyneth Llewelyn wrote:
>> Hi Oz,
>> 
>> That seems to be coming from a script — the error is being thrown by the function osSetDynamicTextureURL(), I believe.
>> 
>> If you delete that script, does the error go away?
>> 
>> 	- Gwyn
>> 
>> On 13/08/2012, at 04:51, oztrout63 wrote:
>> 
>> > Hello Everyone ...
>> > 
>> > I would like to thank you all for the great work everyone is doing ...
>> > 
>> > My problem is that i keep get this message in my consol here ...
>> > And it just keeps repeating ...
>> > Im running 7.3.1 opensimulater ...
>> > Any have any ideas ...
>> > 
>> > Thank you ...
>> > Reguards ...
>> > Oztrout
>> > 
>> > Exception rethrown at [0]: 
>> > 
>> >   at (wrapper xdomain-invoke) OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api:osSetDynamicTextureURL (string,string,string,string,int)
>> >   at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.osSetDynamicTextureURL (System.String dynamicID, System.String contentType, System.String url, System.String extraParams, Int32 timer) [0x00000] in <filename unknown>:0 
>> >   at SecondLife.Script.ShowEvent (LSLInteger row) [0x00000] in <filename unknown>:0 
>> >   at SecondLife.Script.default_event_http_response (LSLString id, LSLInteger status, OpenSim.Region.ScriptEngine.Shared.list meta, LSLString body) [0x00000] in <filename unknown>:0 
>> >   at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
>> >   at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
>> >   --- End of inner exception stack trace ---
>> >   at (wrapper xdomain-invoke) OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass:ExecuteEvent (string,string,object[])
>> >   at OpenSim.Region.ScriptEngine.Shared.Instance.ScriptInstance.EventProcessor () [0x00000] in <filename unknown>:0
>> > _______________________________________________
>> > Opensim-users mailing list
>> > 
>> Opensim-users at lists.berlios.de
>> 
>> > 
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>> 
>> 
>> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4917 bytes
Desc: not available
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20120813/85ba1c1e/attachment.bin>


More information about the Opensim-users mailing list