Coder Social home page Coder Social logo

whitecoresim / whitecore-dev Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 34.0 92.29 MB

WhiteCoreSim - Software to create your own virtual world

License: BSD 3-Clause "New" or "Revised" License

C# 95.67% HTML 2.00% Perl 0.02% LSL 1.17% Shell 0.12% CSS 0.64% JavaScript 0.30% Batchfile 0.08%
c-sharp hacktoberfest help-wanted mono osx prebuild virtual-worlds whitecore

whitecore-dev's People

Contributors

chrispy1979 avatar emperorstarfinder avatar enriconirvana avatar fly-man- avatar gitter-badger avatar greythane avatar nhede avatar techplexengineer avatar whitecorewebui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whitecore-dev's Issues

Missing directory and file on first time run as standalone

Summary

I am getting a missing config directory exception, and if I manually create it, I then get a missing ini file exception, on first time run with autoconfiguration for all default options. Details follow.

Environment

I am performing this on a Mac, OX 10.7.5, 1.6 Ghz Intel Core i5, with 4GB 1333 Mhz DDR3, 14GB free space on HD. I am using Mono 3.4 MDK, XBuild version 12.

Triggering actions

I compiled, and ran for standalone, per directions in /Build From Source.txt.
While in WhiteCore-Dev I executed the following:

  1. mkdir ../WhiteCore-Install
  2. cp -r WhiteCoreSim/bin ../WhiteCore-Install/
  3. cd ../WhiteCore-Install/bin

I then started WhiteCore, with the following, said yes to autoconfiguration, and used the default prompts:

  1. mono WhiteCore.exe

Expected Behavior

A start with no errors

Actual Behavior

exception inside UnhandledException handler: Object reference not set to an instance of an object
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "/Users/billbarnhill/code/WhiteCore-Install/Config/Sim/Data/Data.ini".
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
  at System.IO.File.Create (System.String path, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at System.IO.File.Create (System.String path) [0x00000] in <filename unknown>:0
  at WhiteCore.Simulation.Base.BaseApplication.MakeSureExists (System.String file) [0x00000] in <filename unknown>:0
  at WhiteCore.Simulation.Base.BaseApplication.Configure (Boolean requested) [0x00000] in <filename unknown>:0
  at WhiteCore.Simulation.Base.BaseApplication.BaseMain (System.String[] args, System.String defaultIniFile, ISimulationBase simBase) [0x00000] in <filename unknown>:0
  at WhiteCore.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0

To attempt getting around this I executed:

  1. mkdir -p ../Config/Sim/Data/

And then re-ran mono WhiteCore.exe, to get a different exception:
exception inside UnhandledException handler: Object reference not set to an instance of an object

[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not find file "/Users/billbarnhill/code/WhiteCore-Install/bin/WhiteCore.ini.example".
File name: '/Users/billbarnhill/code/WhiteCore-Install/bin/WhiteCore.ini.example'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
  at Nini.Config.IniConfigSource.Load (System.String filePath, IniFileType type) [0x00000] in <filename unknown>:0
  at Nini.Config.IniConfigSource..ctor (System.String filePath, IniFileType type) [0x00000] in <filename unknown>:0
  at WhiteCore.Simulation.Base.BaseApplication.Configure (Boolean requested) [0x00000] in <filename unknown>:0
  at WhiteCore.Simulation.Base.BaseApplication.BaseMain (System.String[] args, System.String defaultIniFile, ISimulationBase simBase) [0x00000] in <filename unknown>:0
  at WhiteCore.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0

Conclusions/Plan

Looks like its related to 0.9.2 migration, based on /Migration to 0.9.2.txt. I've forked the repo and will see if I can fix it over the weekend. If I can I'll issue a pull request. If someone reads this and realizes it's a PICNIC problem (Problem In Chair, Not In Computer), then please let me know (and let me know how I should have done it).

Thanks for continuing Aurora-Sim.

0.9.1 SQLite.ini - estate.db and friends.db unused?

estate.db and friends.db do not seem to be written or present in SQLite mode, yet friends and estate information are maintained and persist anyway.

Should the entries for these two data bases be removed from ServerConfiguration/Data/SQLite.ini.example ?

New SystemUser as fallback for "region owner" disappearing

I'd like to introduce a new System user called "Land Keeper" that will initially hold all the regions. If a region is reclaimed, it will automatically return to the Land Keeper.

For this to happen, 2 changes need to be made in the Region Creation code:

  • Question: Is this region going to have a initial user: Yes/No

If Yes, input the name of the user that will "claim" the region

If No, put the region on name of the "Land Keeper"

UserAccount need to make sure that this user, like Library Owner, can not be deleted, renamed, etc

Love to hear suggestions about this change

0.9.1 ServerConfiguration/Data/Data.ini.example

I am running in grid mode, but it is not entirely clear to me if a FileBasedAssetService is being used.. I think it is as I see message sin the console tagged with it. But I cannot see where it is enabled or set up. the Configuration/Data/Data.ini.example file does show it being set up, bu says that in grid mode this route is not used... but the storage just needs to be set in the WhiteCore.Server configuration in ServerConfiguration/Data/Data.ini.example. I cannot see an enable or disable there, and whether kt is required anyway.

Also note that the comment in ServerConfiguration/Data/Data.ini.example is wrong. The default (on Windows anyway) for asset storage seems to be ./assets (i.e. inside the WhiteCore bin directory wherever that is located.

[FileBasedAssetService]
;; The path to where the assets will be stored on the hard drive
;; for file based assets (if enabled)
;; The default path is the root of the hard drive that this is running on
;; in a folder called assets (e.g. C:/assets/)
;; If you want to set this, set the full path to the folder you want to
;; have assets be stored in.
;AssetFolderPath =

0.9.1 Provide WhiteCoreDocs document on updating from one code release to another

I think it would be useful to add a note on upgrading from one version to another. What needs to be kept in SQLite and MySQL modes?

For SQLite, I currently am assuming that except as well as any .ini files changed or needed the (5 at the moment) *.db files and each *.sim file are all that should be copied into the bin/ directory before first run of the upgraded code?

0.9.1 Unclear how to enable Warp3D maps and inclusion of objects on maps

I was trying to enable Warp3D map rendering, as I see the Warp3D.dll in the distribution. But I cannot see any .ini.example files to show where this needs to be done, or the settings which are active in WhiteCore.

Just bringing over some of the basic OpenSim warp3D settings by adding a [Map] section to WhiteCore.ini before the includes at the end had no effect. I still just saw the basic map render terrain only image for map tiles. E.g.

[Map]
MapImageModule = Warp3DImageModule
GenerateMaptiles = true
TextureOnMapTile = true
DrawPrimOnMapTile = true

0.9.1 Web UI Issues

Avatar registration pages shows {ErrorMessage} and may be missing some style layout...

WhiteVue: Avatar registration
{ErrorMessage}

The * indicates which entries are compulsory I assume. Can all rest be omitted? Including e-mail which I would think was necessary for password recovery? Maybe add a note at bottom to say so?

      * Required entries. Others are optional. 

Reference to address zip code and city is very US centric. Better just to include address and country?

Date of birth also is in the odd US centric Month Day Year order which will throw some people especially as all are selectable via a numbers drop down list. Maybe make month be the words to clarify that or allow a simpler dd-Mon-yyyy format?

The web interface avatar profile page uses the US centric, and internationally confusing, mm/dd/yyyy format which is badly ambiguous for days 01..12.

The date format in the consoles uses dd/mm/yyyy which is not useful internationally... and is badly confusing since the US centric mm/dd/yyyy is used elsewhere. I suggest dd-Mon-yyyy be used throughout the Web UI and in date stamps in consoles as internationally unambiguous.

On the web page related to regions, and the welcome pages, etc... the link given is to a secondlife://region/x/y/z link to launch the viewer. A hop://gridname:port/region/x/y/z would be more useful.. and allow for proper grid selection in modern OpenSim capable viewers.

The Viewer help page does not include Firestorm.

The language options appear not to work yet.

         http://grid:8002/?language=it

0.9.1 .NET Issue perhaps needing loadFromRemoteSources

WhiteCore.exe console threw this error message, indicating that "loadFromRemoteSources" must be set in the relevant config files. This is an issue relating to the change from .NET 3.5 to .NET 4.0 and addressed in the recent OpenSim 0.8.0 dev core. See http://opensimulator.org/mantis/view.php?id=6846 :

[ConsoleThread] WARN – Unrecognized rendering plugin D:\VW\Whitecore\bin\OpenMetaverse.Rendering.Meshmerizer.dll: Could not load file or assembly ‘file:///D
:\VW\Whitecore\bin\OpenMetaverse.Rendering.Meshmerizer.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0×80131515)
System.IO.FileLoadException: Could not load file or assembly ‘file:///D:\VW\Whitecore\bin\OpenMetaverse.Rendering.Meshmerizer.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0×80131515)
File name: ‘file:///D:\VW\Whitecore\bin\OpenMetaverse.Rendering.Meshmerizer.dll’
—> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&
stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMar
k& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIn
trospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at OpenMetaverse.Rendering.RenderingLoader.ListRenderers(String path)

0.9.1 WhiteCore.exe console create region command crashes if asked to create a new region owner avatar

The create region command offers to create a new avatar if the owner stated does not pre-exist. This cases a crash of the WhiteCore.exe region server.

[05/05/2014] 11:41:48: [APPLICATION]:
APPLICATION EXCEPTION DETECTED

Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at WhiteCore.Services.DataService.LocalUserAccountConnector.Store(UserAccount data)
at WhiteCore.Services.SQLServices.UserAccountService.UserAccountService.StoreUserAccount(UserAccount data)
at WhiteCore.Services.SQLServices.UserAccountService.UserAccountService.CreateUser(UserAccount newAccount, String password)
at WhiteCore.Services.SQLServices.UserAccountService.UserAccountService.CreateUser(UUID userID, UUID scopeID, String name, String password, String email)
at WhiteCore.Services.SQLServices.UserAccountService.UserAccountService.CreateUser(String name, String password, String email)

at WhiteCore.Modules.Estate.EstateInitializer.CreateEstateInfo(IScene scene)

at WhiteCore.Modules.Estate.EstateInitializer.FinishStartup(IScene scene, IConfigSource source, ISimulationBase openSimBase)
at WhiteCore.Region.SceneManager.StartModules(IScene scene)
at WhiteCore.Region.SceneManager.StartRegion(ISimulationDataStore simData, RegionInfo regionInfo)
at WhiteCore.Region.SceneManager.CreateNewRegion(String regionName)

at WhiteCore.Region.SceneManager.CreateNewRegionExtended(IScene scene, String[] cmd)
at WhiteCore.Region.SceneManager.CreateNewRegion(IScene scene, String[] cmd)
at WhiteCore.Framework.ConsoleFramework.Commands.CommandSet.ExecuteCommand(String[] commandPath)
at WhiteCore.Framework.ConsoleFramework.Commands.CommandSet.ExecuteCommand(String[] commandPath)
at WhiteCore.Framework.ConsoleFramework.LocalConsole.ReadLine(String p, Boolean isCommand, Boolean e)
at WhiteCore.Framework.ConsoleFramework.CommandConsole.Prompt()
at WhiteCore.Framework.ConsoleFramework.CommandConsole.ReadConsole()
at WhiteCore.Simulation.Base.BaseApplication.Startup(IConfigSource originalConfigSource, IConfigSource configSource, ISimulationBase simBase, String[] cmdParameters)

But after the crash and restarting both WhiteCore.Server.exe and WhiteCore.exe, the grid location requested is reported as occupied, then the region name is reported, and an attempt to cancel out of that with "cancel" crashes WhiteCore.exe again. So some partial setup of the region must have taken place for the first failed attempt while the avatar owner was being created and left the system in a messy state.

0.9.1 delete user with full deletion leaves avatar in Web UI Total Users count

I deleted a user who just had the default body parts and clothing.. one used in testing. I elected to not archive the avatar information but confirmed complete deletion. However, in the Web UI welcome screen the "Total users:" count still shows 4 (even after server resatart).... 1 root user + 2 users kept + the one deleted.

Avatar deleted had no friend links or group memberships to keep things clean.

Maybe its not really being deleted to all parts of the system?

0.9.1 WhiteCore.exec console commands transfer parcel ownership and transfer sim ownership appear to have no effect

transfer parcel ownership [transfer parcel ownership]: Transfers ownership of all land in the region to another user.
transfer sim ownership [transfer sim ownership]: Transfers all objects and land on the region to another user.

These two commands when given after setting the relevant region current ask for an avatar name.. presumably the new avatar (tried with previous current owner and intended owner , but when this is given, no further messages indicated what had happened and the requested ownership transfer has not taken place. I also tried initially giving the current owner at the prompt instead of intended owner and that had no effect.

BulletSim Prims and Linksets are phantom

As i told in #WhiteCore-Support channel on IRC. i could reproduce the issue.

  • All new prims are phantom (without physics).

I've tested it with different oars and a empty sim instance.

I tried several configurations and could not fix the issue at the moment.

0.9.1 Console Log Colour Use - Error Red and Warning Yellow Used in Other Places

On the consoles for the various servers the module or message type in [square brackets sometime uses Red or Yellow which are normally used for errors and warning and hence draw a grid managers attention to the messages during startup and grid monitoring.

e.g. [ConnectionBegin] in WhiteCore.exe
and others

Avoiding use of red and yellow as the colours for any messages except errors and warnings would help.

0.9.1 Web UI Region List Uncovers Serious Isssue with Load OAR with Group Land and Objects

I spotted this initially in the Web UI but it showed a more serious underlying issue. I was seeing two instances of "Parcel Name:". One with no owner account found info, etc. I believe this will be because the OAR loaded had a group set as owner... but this should be handled on LOAD OAR or else the assets become stuck. This is a fix for the load oar code that can be found in OpenSim master.

It is not possible to reconnect with the parcel or land and even the estate owner cannot sell./buy the land back to regain control.

On load, a check is needed that the group exists in the new environment and if not the land is not set to be group owner.. but set to the estate owner. The specifics of the fix by JustinCC can be found in the OpenSim Github.

If the problem is not addressed it throws all sorts of errors in WhiteCore.Server.exe and WhiteCore.exe consoles. E.g.

WhiteCore.Server.exe

[04/05/2014] 05:42:32: [ServerHandler]: Error occured for method GetGroupRoles:
System.Reflection.TargetInvocationException: Exception has been thrown by the ta
rget of an invocation. ---> System.NullReferenceException: Object reference not
set to an instance of an object.
at WhiteCore.Services.DataService.LocalGroupsServiceConnector.CheckGroupPermi
ssions(UUID AgentID, UUID GroupID, UInt64 Permissions)
at WhiteCore.Services.DataService.LocalGroupsServiceConnector.GetGroupRoles(U
UID requestingAgentID, UUID GroupID)
at (Object , Object[] )
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments,
Signature sig, Boolean constructor)
at System.Reflection.Emit.DynamicMethod.Invoke(Object obj, BindingFlags invok
eAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at WhiteCore.Framework.Utilities.Extensions.FastInvoke(MethodInfo method, Par
ameterInfo[] parameters, Object invokeClass, Object[] invokeParameters)
at WhiteCore.Framework.Services.ServerHandler.HandleMap(OSDMap args)

WhiteCore.exe

[04/05/2014] 05:42:32: [LLCLIENTVIEW]: Caught exception while processing OpenMet
averse.Packets.GroupRoleDataRequestPacket for Ai Austin, Object reference not se
t to an instance of an object. at WhiteCore.ClientStack.LLClientView.HandleGr
oupRoleDataRequest(IClientAPI sender, Packet Pack)
at WhiteCore.ClientStack.LLClientView.ProcessSpecificPacketAsync(Object state)

BulletSim: OutOfMemory Exception

i got a OutOfMemory Exception in BulletSim at the convertion of the hightmap to mesh.
The Sim size was: 7680x7680
and TerrainImplementation = 1

no more connect to mysql after start from standaloneserver

I have update to my standalone server to git repo 070614. I start from Standaloneserver comes this
"
Jun 08 03:54:22 - ====================================================================
Jun 08 03:54:22 - ==================== STARTING WhiteCore (x64) ======================
Jun 08 03:54:22 - ====================================================================
Jun 08 03:54:22 - [WhiteCoreStartup]: Version: WhiteCore (2014-06-07.aa5b580) (Unix/Mono)

Jun 08 03:54:22 - [Network]: Retrieving the external IP address
Jun 08 03:54:26 - [Network]: Network IP address has been set to 93.180.154.148
Jun 08 03:54:26 - [BASE HTTP SERVER]: Starting HTTP server on port 9000
Jun 08 03:54:26 - [MySQLDatabase]: We cannot connect to the MySQL instance you have provided. Please make sure it is online, and then press enter to try again.
"
The MySQL server is online and the data are right in the ini files.

Inventory items not able to be passed between users in different regions

I found this bug however no error messages are given. When you attempt to pass an item from your inventory to another user in a different region (i.e. landmarks, shapes, animations, objects, sounds, textures, scripts, etc) it will pass it to the user but actually not update their inventory. Additionally when they log in that item is not there to be found as well. No error messages on the console for both grid and region service are given.

This now also appears to affect friend requests and group invites when users are in different regions. The exception here is that if the user relogs the friendship request and group invite show up.

0.9.1.1 (Postfixes) SQLite.ini.example file is still incorrect for Windows

The bin\ServerConfiguration\Data\SQLite.ini.example file still contains entries with form file:// which throw errrors on Windows (tested on Windows 7). Changing each entry to file:name.db corrects this error on Windows.

Also note typo on " occured" in the error message. Should be " occurred".

May 16 10:07:16 - [DataService]: Exception occured starting data plugin IPresenceInfo, System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Directory.CreateDirectory(String path)
at WhiteCore.DataManager.SQLite.SQLiteLoader.ConnectToDatabase(String connectionString, String migratorName, Boolean validateTables)
at WhiteCore.Modules.Ban.LocalPresenceInfoConnector.Initialize(IGenericData GenericData, IConfigSource source, IRegistryCore registry, String DefaultConnectionString)
at WhiteCore.Services.DataService.LocalDataService.Initialise(IConfigSource source, IRegistryCore simBase)
May 16 10:07:16 - [DataService]: Exception occured starting data plugin IAssetDataPlugin, System.ArgumentNullException: Value cannot be null.

Try to find out what these UUID's stand for in the Grid Console

[LocalAssetDatabase] GetAsset(b81ac6de-aac4-a0ae-941e-f75ef6fc9fe5) -
Asset was not found.
[LocalAssetDatabase] GetAsset(c280e53f-abea-2cf9-c22b-6a58c57d5a3a) -
Asset was not found.
[LocalAssetDatabase] GetAsset(dcff8d69-8473-8560-19cb-0e3d1cb2195a) -
Asset was not found.
[LocalAssetDatabase] GetAsset(3ecf3d13-18c0-1981-cda4-0d71602cbbd7) -
Asset was not found.

0.9.2 Avatar unable to move around, but can turn in place. Physics also disappear. [Linux x64/Mono 3.2.8]

NOTE: This is a dupe bug report that was posted on: http://mantis.whitecore-sim.org


Hello WC team,

Whenever a user tries to login the following error shows up...

[05/03/2014] 10:27:11: [MESH]: exception decoding physical mesh: zlib.ZStreamException: inflating: at zlib.ZOutputStream.Write (System.Byte[] b1, Int32 off, Int32 len) [0x00000] in :0 at WhiteCore.Physics.Meshing.Meshmerizer.CreateMeshFromPrimMesher (System.String primName, WhiteCore.Framework.SceneInfo.PrimitiveBaseShape primShape, Vector3 size, Single lod, UInt64 key) [0x00000] in :0

The avatar can turn and look in place, but is unable to move around. Usually after a few minutes, the avatar can move again while other times it takes another reboot to correct the issue.

This seems to be related to a 8192x8192 region with over 26000 prims. Ran Whitecore with smaller sims (1024x1024) and the problem doesn't appear.


Software/hardware in use:

OpenSuSE 13.1/Kernel 3.12.18
Mono 3.2.8
64-bit 8-core Xeon E5420 (2 processor x 4 core) w/16 Gigs of RAM
WhiteCore-Sim-Dev release 0.9.2 Compiled as x64/w Debug on
SuperMicro X7DWN+ motherboard

Server is running 1 8192x8192 vari-region with infinite region enabled (main region, but giving the most problems) with 26304 prims, 1 1024x1024 region (so far so good), and 1 256x256 size sandbox region.

0.9.2 VivoxVoice spams console with same errors (Linux x64/Mono 3.2.8)

NOTE: This is a dupe bug report that was posted on: http://mantis.whitecore-sim.org


Hello WC Team,

When the VivoxVoice plugin is enabled. It shows its enabled on the login webpage. However, when an avatar logs in the mic icon works, but there's no sound and the console is spammed with the same errors relating to the logged in avatars.

All settings were checked multiple times in the VoiceModules.ini file and all ports required for voice were checked available at the time.

the following errors occurs repeatedly on the console as long as an avatar is logged into the sim:

[05/04/2014] 08:30:06: [VivoxVoice][PARCELVOICE]: region "_": avatar "_******": System.NotSupportedException: Operation is not supported.
at WhiteCore.Modules.VivoxVoiceService.GetParcelChannelInfo (UUID avatarID, WhiteCore.Framework.Services.GridRegion region, System.String URL, System.Boolean& success, OpenMetaverse.UUID& parcelID, System.String& parcelName, System.Int32& localID, System.UInt32& parcelFlags, System.String& ParentID) [0x00000] in :0
at WhiteCore.Modules.VivoxVoiceService.ParcelVoiceRequest (IRegionClientCapsService regionClient, System.String& channel_uri, System.Int32& localID) [0x00000] in :0
at WhiteCore.Modules.VivoxVoiceCAPS.ParcelVoiceInfoRequest (System.String path, System.IO.Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse) [0x00000] in :0 , retry later


Using Opensuse 13.1 x64

Missing Image not set

[02-04-2014] 18:58:28: [ClientView] - Couldn't set missing image asset, falling
back to missing image packet. This is known to crash the client

0.9.1 [WDNE]: Found bad version ID in queue

I see a LOT of these errors... and wonder what causes them?

May 09 11:00:53 - [WDNE]: Found bad version ID in queue, resetting, 0 to 1
May 09 11:00:53 - [WDNE]: Function: 'unknown' in region OpenVCE

May 09 11:01:25 - [WDNE]: Found bad version ID in queue, resetting, 1 to 2
May 09 11:01:25 - [WDNE]: Function: 'unknown' in region OpenVCE

0.9.1 XML-RPC enable in throws problem with registration on port 20800

I enabled XML-RPC in bin/Configuration/Scripting/Scripting.ini

XmlRpcRouterModule = XmlRpcRouterModule
XmlRpcPort = 20800

But when started WhiteCore.exe report that it believes another registration for that port on the same machine is in place. OpenSim is registered for such use in Windows, but is not running. No such complaint was raised for all the other ports that are the same between OpenSim servers and WhiteCore servers.

May 06 12:26:48 - [BASE HTTP SERVER]: Starting HTTP server on port 20800
May 06 12:26:48 - [BASE HTTP SERVER]: Error - Failed to listen on prefix 'http://+:20800/' because it conflicts with an existing registration on the machine.
May 06 12:26:48 - [BASE HTTP SERVER]: Tip: Do you have permission to listen on port 20800?
May 06 12:26:48 - [RegionModulesControllerPlugin]: Failed to load module XMLRPCModule: System.Net.HttpListenerException (0x80004005): Failed to listen on prefix 'http://+:20800/' because it conflicts with an existing registration on the machine.
at WhiteCore.Framework.Servers.HttpServer.BaseHttpServer.Start()
at WhiteCore.Modules.Scripting.XMLRPCModule.RegionLoaded(IScene scene)
at WhiteCore.CoreApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin.AddRegionToModules(IScene scene)

0.9.1 WhiteCoreServer.exe console create user command does not accept parameters

The create user console command is documented as accepting a number of optional parameters such as firstname lastname etc. But in cases tested the console command prompts for all necessary parameters using defaults such as "Default user" for name whatever is given on the command line.

e.g. create user Test Resident
prompts for
name [Default user]:

Add Dates to the logfiles

At this moment we only see the time in the console, would be nice to be able to see which date a problem has occured.

  • Add date / time to the console and log files

Port inconsistent informations during configuration

With a listener port different from 9000, the configuration log displays inconsistent informations:


Http Port for the server
Default is 9000
Choose the port: [9000]
19000
...
...
Your loginuri is
http://82.xxx.xxx.xxx:9000/
...
...
[02/05/2014] 08:52:32: [BASE HTTP SERVER]: Starting HTTP server on port 19000
...
...
[02/05/2014] 08:55:19: [BASE HTTP SERVER]: Starting HTTP server on port 9000


There is the same issue with the AuroraSim but with WhiteCoreSim the viewer Firestorm does not accept:
http://82.xxx.xxx.xxx:9000/
or
http://82.xxx.xxx.xxx:19000/ in its grid manager. The same with 19030 etc...

19000 to 19050 are commonly used with OpenSimulator on the same computer (to answer any question about the firewall)

MML

'show threads' in Grid Server shows me Application Exeption

May 12 03:36:16 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED
Exception: System.NullReferenceException: Object reference not set to an instance of an object
at WhiteCore.Modules.Monitoring.MonitorModule.GetThreadsReport () [0x00000] in :0
at WhiteCore.Modules.Monitoring.MonitorModule.HandleShowThreads (IScene scene, System.String[] cmd) [0x00000] in :0
at WhiteCore.Framework.ConsoleFramework.Commands+CommandSet.ExecuteCommand (System.String[] commandPath) [0x00000] in :0
at WhiteCore.Framework.ConsoleFramework.Commands+CommandSet.ExecuteCommand (System.String[] commandPath) [0x00000] in :0
at WhiteCore.Framework.ConsoleFramework.Commands.Resolve (System.String[] cmd) [0x00000] in :0
at WhiteCore.Framework.ConsoleFramework.LocalConsole.ReadLine (System.String p, Boolean isCommand, Boolean e) [0x00000] in :0
at WhiteCore.Framework.ConsoleFramework.CommandConsole.Prompt () [0x00000] in :0
at WhiteCore.Framework.ConsoleFramework.CommandConsole.ReadConsole () [0x00000] in :0
at WhiteCore.Simulation.Base.SimulationBase.Run () [0x00000] in :0
at WhiteCore.Simulation.Base.BaseApplication.Startup (IConfigSource originalConfigSource, IConfigSource configSource, ISimulationBase simBase, System.String[] cmdParameters) [0x00000] in :0
Application is terminating: False

0.9.1 Grid Information uses IP number some places when Hostname set to DNS

I have HostName = tiree.aiai.ed.ac.uk set explicitly in the [Network] section of WhiteCore.server.ini and WhiteCore.ini and Define-ServersHostname = tiree.aiai.ed.ac.uk in ServerConfiguraton/GridSetup.ini and that DNS name is correctly used and reported in the consoles when the server and region server starts up. But when I enter the grid into the grid lists in the VW viewer (Firestorm 4.6.1) it converts the GridURI to the IP number.

The Login page and Grid Registration page are correctly shown with the DNS name. But the "helper" is shown incorrectly as set to port 9000. Should that be the grid services port (8002) in this case rather than being hardwired as if its a standalone setup (9000)?

2014-05-07-whitevue-griduri-in-firestorm

Problem with auth.passwordHash exceeding the InnoDb key length

Reported for MySql setup on Win x64. Craig Tabley
The maximum index key length for an InnoDb table is 767 characters and the auth table password hash index can exceed this with the current (v0.0.5) migration setting this to varchar(512) >> possible 3x 512 for unicode characters

This problem appears when trying to initialise a new database.. ie. create the tables.

This is not a new thing with the index actually being added to the Aurora code back in January 2012. Initially increased to 1024 for the OpenSim 32 but then reduced to the current 512 length.

This does not appear to be a problem with later server code (MariaDb 5.5+) as is should, and appears to, just truncate the index to 255 chars and carry on.

Possibly a fix will be to reduce the length so this 767 max will not be exceeded.

0.9.1 Web UI Unable to confgure avatar creation to require administrator approval

I selected not to allow automatic creation of avatars on viewer login. But it seems that the web interface allows for avatar creation and has no option to have these held for administrator approval. This would be needed in a range of production and closed grid environments, typical of university usage.

Is this already configurable by manual configuration file change somewhere (I looked and could not find it at the moment). If not, please treat this as an important feature request.

It would imply that a valid the e-mail address of the user be required at registration time and that a proper setup of an SMTP server was in place that could be used by the Web UI.

0.9.1 Clarify List of Ports Used and Firewall Requirements

I configured my grid to the OpenSim standard 8002 for the core services and grid URI (I thought) and used 9000 for the initial regions, as both these are open on my (three levels) of University firewalls.

The instructions to run a single Robust like server rather than the core server and 4 secondary servers refers to a file WhiteCore.server.ini which is not present. Only an example is present there. The config files hat were written on the initial setup (except fro the region server Whitecore.ini file) all now seem to be in

 D:\VW\Whitecore\bin\Configuration\Grid

But WhiteCoreGridCommon.ini in there has the GridServerURI as :8012... which I did not select. Must this (and other?) ports be opened on the firewalls for WhiteCore to work?

Other config files refer to port 8003 too, whereas that in OpenSim is an explicitly restricted inter server port that does not need to be opened publicly for the system to work. Must 8003 (and other?) ports be opened as well? A complete list of ports required to be open to "world" for all services is useful

maybe this will all be clarified and corrected in the new documentation which @Fly_Man_ is writing.

0.9.1 Unclear how to convert to single "Robust" style server versus 5 servers

I attempted to follow the instructions to use a single server instance. No WhiteCore.Server.ini is in the bin directory after running the 5 services... but files had been written I believe in several of the Configuration/* folders. But a bin/WhiteCore.Server.ini.example was present, so I copied that to bin/WhiteCore.Server.ini and uncommented the line in that for

 Include-Single = ServerConfiguration/SingleServerInstance.ini

I also copied the bin/Configuration/ServerConfiguration/SingleServerInstance.ini.example file to make the above file.

I note that there are VERY many ports mentioned in the WhiteCore.Server.ini and the initial http_listener_port is set to 8003 rather than the usual 8002 for OpenSim grids... is that correct. Changing it seemed to cause problems anyway so I left it for now. I assume that clearer documentation shortly will clarify such issues and make clear which ports are used and which must be externally open, rather than for inter-machine traffic.

I opened two levels of our firewalls to briefly test and got the viewer to login, but the avatar is a cloud and no inventory items come in... so I assume that is firewall related.

Remove Obsolete calls in MaintenanceThread

MaintenanceThread.cs(344,23) System.Threading.Thread.Suspend()' is obsolete
MaintenanceThread.cs(346,23) System.Threading.Thread.Resume()' is obsolete
MaintenanceThread.cs(355,23) System.Threading.Thread.Suspend()' is obsolete
MaintenanceThread.cs(357,23) System.Threading.Thread.Resume()' is obsolete
MaintenanceThread.cs(366,23) System.Threading.Thread.Suspend()' is obsolete
MaintenanceThread.cs(368,23) System.Threading.Thread.Resume()' is obsolete

Issue With FileBased Assets on Unix

On unix based systems, when using filebased assets it seems to lock up and open too many files at once and cause the application to lock up and need restarting.

0.9.1 One Avatar Pre-exists in a Fresh Setup

I believe that one avatar is already showing after initially configuring WhiteCore (using SQLite, Grid Mode, No automatic authentication of avatars) and this shows in the WhiteCore Web UI. But I can see no documentation referring to the user name of this avatar or the password to use to use it, and if it has elevated permissions. This could be a serious security risk if an avatar pre-exists in all configurations.

LocalAssetDatabase gives these errors

The following lines are shown in the Region log file as soon as a new avatar that has just been added logs in for the first time

[02-04-2014] 18:54:20: [LocalAssetDatabase] GetAsset(fd6b4af7-ef9d-d6eb-7783-6474d4fe71f8) - Asset UUID(w) was not found.
[02-04-2014] 18:54:20: [LocalAssetDatabase] GetAsset(57590abb-4cf7-04de-81fc-e7ce1e31b152) - Asset UUID(w) was not found.
[02-04-2014] 18:54:20: [LocalAssetDatabase] GetAsset(d2c1bde6-ff11-d544-6212-0207e7970d7a) - Asset UUID(w) was not found.
[02-04-2014] 18:54:20: [LocalAssetDatabase] GetAsset(d8c673cd-354f-690c-abb2-cca53ebb817a) - Asset UUID(w) was not found.
[02-04-2014] 18:56:36: [LocalAssetDatabase] GetAsset(66c41e39-38f9-f75a-024e-585989bfab73) - Asset UUID(w) was not found.
[02-04-2014] 18:56:36: [LocalAssetDatabase] GetAsset(77c41e39-38f9-f75a-024e-585989bbabbb) - Asset UUID(w) was not found.
[02-04-2014] 18:56:36: [LocalAssetDatabase] GetAsset(d342e6c0-b9d2-11dc-95ff-0800200c9a66) - Asset UUID(w) was not found.
[02-04-2014] 18:56:36: [LocalAssetDatabase] GetAsset(4bb6fa4d-1cd2-498a-a84c-95c1a0e745a7) - Asset UUID(w) was not found.
[02-04-2014] 18:56:36: [LocalAssetDatabase] GetAsset(00000000-38f9-1111-024e-222222111110) - Asset UUID(w) was not found.
[02-04-2014] 18:56:36: [LocalAssetDatabase] GetAsset(00000000-38f9-1111-024e-222222111120) - Asset UUID(w) was not found.
[02-04-2014] 18:56:40: [LocalAssetDatabase] GetAsset(5748decc-f629-461c-9a36-a35a221fe21f) - Asset UUID(w) was not found.
[02-04-2014] 18:56:44: [LocalAssetDatabase] GetAsset(66c41e39-38f9-f75a-024e-585989bfab73) - Asset UUID(w) was not found.
[02-04-2014] 18:56:44: [LocalAssetDatabase] GetAsset(00000000-38f9-1111-024e-222222111110) - Asset UUID(w) was not found.
[02-04-2014] 18:56:44: [LocalAssetDatabase] GetAsset(4bb6fa4d-1cd2-498a-a84c-95c1a0e745a7) - Asset UUID(w) was not found.
[02-04-2014] 18:56:44: [LocalAssetDatabase] GetAsset(00000000-38f9-1111-024e-222222111120) - Asset UUID(w) was not found.
[02-04-2014] 18:56:44: [LocalAssetDatabase] GetAsset(77c41e39-38f9-f75a-024e-585989bbabbb) - Asset UUID(w) was not found.
[02-04-2014] 18:56:44: [LocalAssetDatabase] GetAsset(d342e6c0-b9d2-11dc-95ff-0800200c9a66) - Asset UUID(w) was not found.

Also, all the clothes, shape, skin are in the Lost&Found folder which is odd

Regions aren't persisting with FileBased

Tested in both Windows and *inux:

When you create a region, it created the .sim file and loads it. As soon as the region gets stuck or upgrade work is being done the region .sim file isn't found correctly.

Marking this as 1 of the tackle blocks for a beta release

0.9.1 Web UI admin functionality?

This may simply not yet been available... but I wondered where the admin/add_news.html and other functionality was. The html folder seems to have relevant parts to create this, but I cannot het potential URLs to work. So how is news added and edited, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.