diva / diva-distribution

OpenSim + addons. This is the content that gets distributed in the d2 project.
52 stars 36 forks source link

Problem with new robust wifi-0-7-1-a #16

Closed DesperateDan closed 13 years ago

DesperateDan commented 13 years ago

I am trying to get wifi-0-7-1-a with a new robust installation having failed to get it running on an existing one. I am getting the following error:

[SERVICE BASE]: Failed to load plugin OpenSim.Data.IAssetDataPlugin from Diva.Data.MySQL.dll with args System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (System.Reflection.Assembly,bool) at System.Reflection.Assembly.GetTypes () [0x00000] in :0 at OpenSim.Services.Base.ServiceBase.LoadPlugin[IAssetDataPlugin](System.String dllName, System.String className, System.Object[] args) [0x00000] in :0

And many more below that.

This is very similar to the ones I was getting on the other grid. Am I missing something obvious?

TIA

diva commented 13 years ago

Looks like some dlls are missing. Or you are mixing versions of things. wifi-0-7-1-a runs for exactly OpenSim. 0.7.1.

DesperateDan commented 13 years ago

I started with a fresh download of opensim from this link: http://dist.opensimulator.org/opensim-0.7.1-bin.tar.gz. Thats on a box running mono 2.10.2.

I copied all the dll's ftom the wifi bin folder into the opensim/bin directory which I think is correct and added the wifi stanza to the robust.ini.

The following 4 dll's are in my opensim/bin directory: Diva.Data.MySQL.dll Diva.OpenSimServices.dll Diva.Wifi.ScriptEngine.dll Diva.Wifi.dll

If I change back from: StorageProvider = "Diva.Data.MySQL.dll" to the OpenSim.Data.MySQL.dll robust gives me: 20:39:43 - [Wifi]: Starting with extension methods type Diva.Wifi.ExtensionMethods 20:39:43 - [SERVER]: WifiServerConnector loaded successfully

I can log in to the wifi interface but if I try and query the users I get a failure page and robust console again shows:

20:43:01 - [Wifi]: UserManagementGetRequest 20:43:03 - [Wifi]: UserSearchPostRequest 20:43:03 - [USER ACCOUNT POST HANDLER]: Exception System.IO.FileNotFoundException: Could not load file or assembly 'Diva.Data, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. File name: 'Diva.Data, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' at Diva.Wifi.Services.UserSearchPostRequest (Diva.Wifi.Environment env, System.String terms) [0x00000] in :0 at Diva.Wifi.WifiUserManagementPostHandler.Handle (System.String path, System.IO.Stream requestData, OpenSim.Framework.Servers.HttpServer.OSHttpRequest httpRequest, OpenSim.Framework.Servers.HttpServer.OSHttpResponse httpResponse) [0x00000] in :0

I really want to get this working but haven't a clue, could I be missing a mono component, I doubt it as the other grid I was trying it on had mono-complete installed.

diva commented 13 years ago

Thanks for the description. Indeed, one the the Diva dlls was missing from the package. Try the new package I placed in the downloads page, wifi-0-7-1-b.zip

DesperateDan commented 13 years ago

Thank you I will let you know.

DesperateDan commented 13 years ago

Fantastic! Working fine now thanks :)