Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004716opensim[REGION] OpenSim Corepublic2010-05-19 09:212019-02-05 12:25
Assigned Toadministrator 
PlatformOperating SystemOperating System Version
Product Version 
Target VersionFixed in Version 
Summary0004716: Web loading region configuration stops physical prims working
DescriptionLoad 4 regions on an instance of OpenSim 0.6.9 in grid mode, URM configuration.

With the same OpenSim.ini file, loading region configuration from the web, users are unable to set any prim to physical, either inworld or in code - the flag does not stick.

Change to loading region configuration from a regions.ini file and physical prims suddenly work as normal.

Settings in OpenSim.ini:

physical_prim = true
meshing = Meshmerizer
physics = OpenDynamicsEngine
NonPhysicalPrimMax = 256
PhysicalPrimMax = 10
ClampPrimSize = false
Additional InformationINI data:
RegionUUID = 5a65941b-e04b-4bce-9f56-1428edfd9fdb
Location = 2001,2001
InternalAddress =
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName =
MasterAvatarFirstName = Reaction
MasterAvatarLastName = Core
MasterAvatarSandboxPassword =

XML data loaded via the web:
    <Config sim_UUID="5a65941b-e04b-4bce-9f56-1428edfd9fdb" sim_name="Black" sim_location_x="2001" sim_location_y="2001" internal_ip_address="" internal_ip_port="9004" allow_alternate_ports="False" external_host_name="" master_avatar_uuid="00000000-0000-0000-0000-000000000000" estate_covenant_uuid="00000000-0000-0000-0000-000000000000" master_avatar_first="Reaction" master_avatar_last="Core" master_avatar_pass="" />
TagsNo tags attached.
Git Revision or version number0.6.9
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
Environment.NET / Windows64
Mono VersionNone
Attached Filesxml file icon GridTest.xml [^] (2,358 bytes) 2010-05-21 13:28

- Relationships

-  Notes
StrawberryFride (reporter)
2010-05-19 10:10

Additionally, set a prim to be physical when loading region configuration via ini and it remains physical after a reboot. Load up under the web load configuration and the physical prim remains physical. Clone it, the clone is physical. But soon as you click the physical checkbox in the settings for the prim, the prim turns back to a normal non-physical prim and refuses to go back to being physical.
justincc (administrator)
2010-05-19 13:24

Ah, now I remember hearing about this in a very similar context now a couple of months ago. Possibly some setting is getting a bad value for region loading via the web.
nebadon (administrator)
2010-05-19 13:33
edited on: 2010-05-19 13:33

we have this same problem on OSGrid with standard region loading, if you use XML for Regions configuration, you will not get proper physics, if you remember Justin it was Adelle who figured it out few months ago.

StrawberryFride (reporter)
2010-05-21 13:24

No clue why, but in the attached file GridTest.xml, loading via a web server (http://localhost/gridtest.xml [^] as the link) I get normal physical prim behavior on Cyan region, kick around existing physical prims, create new physical prims. On Black region I can interact with existing physical prims but not create new ones - suspicion is that PhysicalPrimMax is set to 0 on affected regions, with neither the value in the XML being picked up nor the value in OpenSim.ini.

A temporary workaround I have tested successfully is to check each region loaded via OpenSim/Framework/RegionInfo.cs around line 160:

 // The web loader uses this
        public RegionInfo(string description, XmlNode xmlNode, bool skipConsoleConfig, IConfigSource configSource)
            configMember =
                new ConfigurationMember(xmlNode, description, loadConfigurationOptions, handleIncomingConfiguration, !skipConsoleConfig);

            if (m_physPrimMax == 0)
                m_physPrimMax = 10;

this hacky solution "fixes" the issue but is obviously not ideal. A more elegant solution is required, or if anyone can figure out what is wrong on my configuration I'd be very happy to know.
melanie (administrator)
2010-06-11 15:16

that is not a solution. it prevents intentionally setting it to 0
makopoppo (manager)
2011-08-27 04:08

Is it still an issue?
BillBlight (developer)
2019-02-05 12:25

Old Issues, closed, can be reopened if they still exist

- Issue History
Date Modified Username Field Change
2010-05-19 09:21 StrawberryFride New Issue
2010-05-19 09:21 StrawberryFride Git Revision => 0.6.9
2010-05-19 09:21 StrawberryFride SVN Revision => 0
2010-05-19 09:21 StrawberryFride Run Mode => Grid (Multiple Regions per Sim)
2010-05-19 09:21 StrawberryFride Physics Engine => ODE
2010-05-19 09:21 StrawberryFride Environment => .NET / Windows64
2010-05-19 09:21 StrawberryFride Mono Version => None
2010-05-19 10:10 StrawberryFride Note Added: 0015477
2010-05-19 13:24 justincc Note Added: 0015479
2010-05-19 13:33 nebadon Note Added: 0015480
2010-05-19 13:33 nebadon Note Edited: 0015480
2010-05-21 13:20 StrawberryFride File Added: GridTest.xml
2010-05-21 13:24 StrawberryFride Note Added: 0015497
2010-05-21 13:28 justincc File Deleted: GridTest.xml
2010-05-21 13:28 StrawberryFride File Added: GridTest.xml
2010-06-11 14:54 justincc Status new => assigned
2010-06-11 14:54 justincc Assigned To => justincc
2010-06-11 15:16 melanie Note Added: 0015622
2011-08-27 04:08 makopoppo Note Added: 0019764
2019-02-05 12:12 BillBlight Assigned To justincc => administrator
2019-02-05 12:25 BillBlight Note Added: 0034209
2019-02-05 12:25 BillBlight Status assigned => closed

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker