Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008150opensim[REGION] Specific OpenSim Modulepublic2017-04-15 10:492017-04-16 00:11
Reporterdjphil 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSWindowsOS VersionSeven
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008150: [LLCLIENTVIEW] Caught exception while processing OpenMetaverse Packe ts AvatarPropertiesRequestPacket
DescriptionWith the built-in user profile, when i got to my inwolrd profil, i get this red alert:

19:31:41 - [LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packe
ts.AvatarPropertiesRequestPacket for dj phil System.ArgumentOutOfRangeException
: L'index était hors limites. Il ne doit pas être négatif et doit être inférieur
 à la taille de la collection.
Nom du paramètre : index
   à System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argum
ent, ExceptionResource resource)
   à OpenSimProfile.Modules.OpenProfile.OpenProfileModule.get_UserManagementModu
le()
   à OpenSimProfile.Modules.OpenProfile.OpenProfileModule.GetUserProfileServerUR
I(UUID userID, String& serverURI)
   à OpenSimProfile.Modules.OpenProfile.OpenProfileModule.RequestAvatarPropertie
s(IClientAPI remoteClient, UUID avatarID)
   à OpenSim.Framework.RequestAvatarProperties.Invoke(IClientAPI remoteClient, U
UID avatarID)
   à OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandleAvatarPropertiesReq
uest(IClientAPI sender, Packet Pack) dans d:\opensim\standalone\OpenSim\Region\C
lientStack\Linden\UDP\LLClientView.cs:ligne 6630
   à OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessSpecificPacketAsyn
c(Object state) dans d:\opensim\standalone\OpenSim\Region\ClientStack\Linden\UDP
\LLClientView.cs:ligne 826
Steps To ReproduceInstall Opensim in Standalone mode without Hypergrid from scratch.

Setup for StandaloneCommon.ini
[UserProfilesService]
    Enabled = true
    LocalServiceModule = "OpenSim.Services.UserProfilesService.dll:UserProfilesService"
    UserAccountService = OpenSim.Services.UserAccountService.dll:UserAccountService
    AuthenticationServiceModule = "OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService"

Setup for openSim.ini
[UserProfiles]
    ProfileServiceURL = ${Const|BaseURL}:${Const|PublicPort}
    AllowUserProfileWebURLs = true

Start the Simulator

For Built-in user Profile, six new tables are created automaticly
- classifieds
- userdata
- usernotes
- userpicks
- userprofile
- usersettings

Now go to inworld with Singularity (no tested with Firestorm).
Right clic on your avatar to go to profil and look the console alert.
Additional InformationTested with opensim-0.9.0-1246-gb52f7b9.zip 2017-04-15 09:56
http://opensimulator.org/viewgit/?a=commit&p=opensim&h=b52f7b920342b7ea3e0294eae054e7520801e339 [^]
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineubODE
Script Engine
Environment.NET / Windows32
Mono VersionNone
ViewerSingularity
Attached Files

- Relationships

-  Notes
(0031759)
UbitUmarov (administrator)
2017-04-15 15:56

OpenSimProfile is a external module, we can't work directly on it.

Personaly im still using older version on my test set to work at osg with my own code changes to extend it for NPCs I did in parallel to core profiles.

that error seems to mean the module does not have proper scenes information that it should had received and stored in public void AddRegion(Scene scene)
(0031760)
kcozens (administrator)
2017-04-15 16:14

This mantis report is about the core profile module.
(0031761)
UbitUmarov (administrator)
2017-04-15 16:18

oops
(0031762)
UbitUmarov (administrator)
2017-04-15 16:31

oops canceled. the error is on the external module.

on its source:
        public void RegionLoaded(Scene scene)
        {
            // Hook up events
            scene.EventManager.OnNewClient += OnNewClient;
        }

change to:
        public void RegionLoaded(Scene scene)
        {
            if (!m_Enabled)
                return;

            // Hook up events
            scene.EventManager.OnNewClient += OnNewClient;
        }
(0031763)
UbitUmarov (administrator)
2017-04-15 16:37

or if you only want to use core profiles, just remove OpenSimProfile.Modules.dll from the bin folder (keep it for osgrid regions)
(0031764)
djphil (reporter)
2017-04-16 00:08

Well, we seem to have made one stone, two shots.

1) The problem Built-In User Profile is solved, simply delete the OpenSimProfile (external module) of the folder well if we want to use the built-in module. This is not specified on the OpenSim Wiki, I did not guess ... I will add this information on the wiki.

2) A small error was found in the plugin too and a small patch was proposed by Ubit. I hope that this small patch will be applied by kcozens in the External Profile Module that it proposes.

Thanks to you, now i can continue the tests with Built-in User Profile and then it will be the turn of External Profile Module.

I hope there will not be too many bugs to eat!
(0031765)
djphil (reporter)
2017-04-16 00:11

For the built-in module, can you tell me what the "userdata" table is for ?

This table does not exist if you are using the Profile Module (External) but is present if you are using the Built-In User Profile (Core) module.

- Issue History
Date Modified Username Field Change
2017-04-15 10:49 djphil New Issue
2017-04-15 10:51 djphil Steps to Reproduce Updated View Revisions
2017-04-15 15:56 UbitUmarov Note Added: 0031759
2017-04-15 16:14 kcozens Note Added: 0031760
2017-04-15 16:18 UbitUmarov Note Added: 0031761
2017-04-15 16:31 UbitUmarov Note Added: 0031762
2017-04-15 16:37 UbitUmarov Note Added: 0031763
2017-04-16 00:08 djphil Note Added: 0031764
2017-04-16 00:11 djphil Note Added: 0031765


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker