|Anonymous | Login | Signup for a new account||2021-01-27 05:26 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006612||opensim||[REGION] Specific OpenSim Module||public||2013-04-28 07:53||2013-10-17 13:36|
|Platform||Operating System||Operating System Version|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0006612: [Remote Admin] Create Region fails.|
|Description||Creating a new region with using the Remote Admin module fails, if the specified Estate does not already exists and the there is no Scene loaded yet. I have added the Warning as Additional Info.|
In all other cases creating a region works fine.
I have located the problem. When a new Estate needs to be created, RemoteAdmin checks if the estateowner exists. As there is no scene loaded, the sim cannot verify the estateowner via GetUserAccount() which requires SceneManager.CurrentOrFirstScene to be available.
Havn't got time to find a soulution, but will fix it once there is time...
|Steps To Reproduce||- Set allow_regionless = true in OpenSim.ini|
- Remove all region.ini files
- start the regionless sim
- Create a new region with the RemotAdmin command "admin_create_region" with a new estatename which is not already in the estate tables
|Additional Information||[RADMIN]: CreateRegion: new request|
16:32:00 - [RADMIN]: Method admin_create_region failed. Exception Object reference not set to an instance of an object at OpenSim.ApplicationPlugins.RemoteController.RemoteAdminPlugin.XmlRpcCreateRegionMethod (Nwc.XmlRpc.XmlRpcRequest request, Nwc.XmlRpc.XmlRpcResponse response, System.Net.IPEndPoint remoteClient) [0x00000] in <filename unknown>:0
at OpenSim.ApplicationPlugins.RemoteController.RemoteAdminPlugin.InvokeXmlRpcMethod (Nwc.XmlRpc.XmlRpcRequest request, System.Net.IPEndPoint remoteClient, System.Action`3 method) [0x00000] in <filename unknown>:0
|Tags||No tags attached.|
|Git Revision or version number||all current|
|Run Mode||Standalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)|
|Environment||Unknown, Mono / Linux32, Mono / Linux64, Mono / Windows, Mono / OSX|
|Confirmed! This is still an issue even in current master!|
Yes, this is architecturally difficult to fix. It shouldn't be necessary to have a scene to perform UserAccount operations but unfortunately that's how it is structured.
It might be possible to separately initialize a UserAccount connector but this is may not be very straightforward.
Michelle Argus (reporter)
For now I have a workaround on my OS by skipping GetUserAccount() if there is no Scene available. In this case I simply asume the agent uuid passt on to RA is correct. That workaround is however not something I would want to see implemented in core as it also may mess up things when not used correctly...
|2013-04-28 07:53||Michelle Argus||New Issue|
|2013-10-17 03:21||hack13||Note Added: 0024496|
|2013-10-17 12:43||justincc||Note Added: 0024506|
|2013-10-17 13:36||Michelle Argus||Note Added: 0024512|
|Copyright © 2000 - 2012 MantisBT Group|