<div dir="ltr">Justin,<div><br></div><div>That helped and put me on the right track. I adjusted the Smtp, then it got the next error. </div><div><br></div><div>From the documenation AdminPassword field was missing (<a href="http://opensimulator.org/wiki/Wifi">http://opensimulator.org/wiki/Wifi</a>):</div>
<div>AdminPassword = "anything"</div><div><br></div><div>I ran it once with AdminPassword set. It worked and created the admin user. I then stopped Robust removed the AdminPassword field and it everything started fine.</div>
<div><br></div><div><br></div><div>Thank You!</div><div>--Rick</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 25, 2014 at 12:52 PM, Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Looking at the source code [1], my guess would be that SmtpPort is not an integer in your config.<br>
<br>
I'm not sure why the code doesn't use appConfig.GetInt() instead which would have yielded more useful information from Nini (config parsing library). It already uses this method later on for a different parameter!<br>
<br>
[1] <a href="https://github.com/diva/diva-distribution/blob/master/addon-modules/Wifi/WebApp/WebApp.cs" target="_blank">https://github.com/diva/diva-<u></u>distribution/blob/master/<u></u>addon-modules/Wifi/WebApp/<u></u>WebApp.cs</a><div>
<div class="h5"><br>
<br>
On 25/08/14 04:16, Rick Anderson wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
I'm getting a wrong number of arguments message for Diva.Wifi.dll. However, the configuration only includes the file and<br>
no arguments are passed. I'm using OpenSim 0.8 with the Diva Wifi 0.8 matching version. Anyone run into this issue? Or<br>
have questions that might help me isolate this issue?<br>
<br>
Below is the detailed error message.<br>
<br>
<br>
Here's the include line:<br>
<br>
WifiServerConnector = "8002/Diva.Wifi.dll:<u></u>WifiServerConnector"<br>
<br>
===<br>
<br>
02:17:02 - [SERVER UTILS]: Error loading plugin OpenSim.Server.Handlers.Base.<u></u>IServiceConnector from Diva.Wifi.dll.<br>
Exception: Input string was not in the correct formatSystem.Reflection.<u></u>TargetInvocationException: Exception has been<br>
thrown by the target of an invocation. ---> System.FormatException: Input string was not in the correct format<br>
<br>
at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0<br>
<br>
at Diva.Wifi.WebApp.ReadConfigs (IConfigSource config, System.String configName) [0x00000] in <filename unknown>:0<br>
<br>
at Diva.Wifi.WebApp..ctor (IConfigSource config, System.String configName, IHttpServer server, ISceneActor sactor)<br>
[0x00000] in <filename unknown>:0<br>
<br>
at Diva.Wifi.WifiServerConnector.<u></u>.ctor (IConfigSource config, IHttpServer server, System.String configName,<br>
ISceneActor sactor) [0x00000] in <filename unknown>:0<br>
<br>
at Diva.Wifi.WifiServerConnector.<u></u>.ctor (IConfigSource config, IHttpServer server, System.String configName) [0x00000]<br>
in <filename unknown>:0<br>
<br>
at (wrapper managed-to-native) System.Reflection.MonoCMethod:<u></u>InternalInvoke<br>
(System.Reflection.<u></u>MonoCMethod,object,object[],<u></u>System.Exception&)<br>
<br>
at System.Reflection.MonoCMethod.<u></u>InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in<br>
<filename unknown>:0<br>
<br>
--- End of inner exception stack trace ---<br>
<br>
at System.Reflection.MonoCMethod.<u></u>InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in<br>
<filename unknown>:0<br>
<br>
at System.Reflection.MonoCMethod.<u></u>DoInvoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder<br>
binder, System.Object[] parameters, System.Globalization.<u></u>CultureInfo culture) [0x00000] in <filename unknown>:0<br>
<br>
at System.Reflection.MonoCMethod.<u></u>Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]<br>
parameters, System.Globalization.<u></u>CultureInfo culture) [0x00000] in <filename unknown>:0<br>
<br>
at System.Activator.<u></u>CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder,<br>
System.Object[] args, System.Globalization.<u></u>CultureInfo culture, System.Object[] activationAttributes) [0x00000] in<br>
<filename unknown>:0<br>
<br>
at System.Activator.<u></u>CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes)<br>
[0x00000] in <filename unknown>:0<br>
<br>
at System.Activator.<u></u>CreateInstance (System.Type type, System.Object[] args) [0x00000] in <filename unknown>:0<br>
<br>
at OpenSim.Server.Base.<u></u>ServerUtils.LoadPlugin[<u></u>IServiceConnector] (System.String dllName, System.String className,<br>
System.Object[] args) [0x00000] in <filename unknown>:0<br>
<br>
<br>
02:17:02 - [SERVER UTILS]: Error loading plugin Diva.Wifi.dll: Exception has been thrown by the target of an invocation.<br>
args.Length 3<br>
<br>
02:17:02 - [SERVER UTILS]: Error loading plugin Diva.Wifi.dll: No constructor found for<br>
Diva.Wifi.WifiServerConnector:<u></u>:.ctor(Nini.Config.<u></u>IniConfigSource, OpenSim.Framework.Servers.<u></u>HttpServer.BaseHttpServer)<br>
args.Length 2<br>
<br>
02:17:02 - [SERVER]: Failed to load Diva.Wifi.dll:<u></u>WifiServerConnector<br>
<br>
====<br>
<br>
Thank You,<br>
--Rick<br>
--<br>
Rick Anderson<br>
Director of Virtual Worlds<br>
Division of Continuing Studies (DoCS)<br>
Rutgers University<br>
<a href="tel:%28732%29%20586-3265" value="+17325863265" target="_blank">(732) 586-3265</a><br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org" target="_blank">Opensim-users@opensimulator.<u></u>org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-<u></u>bin/mailman/listinfo/opensim-<u></u>users</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Justin Clark-Casey (justincc)<br>
OSVW Consulting<br>
<a href="http://justincc.org" target="_blank">http://justincc.org</a><br>
<a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a><br>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org" target="_blank">Opensim-users@opensimulator.<u></u>org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-<u></u>bin/mailman/listinfo/opensim-<u></u>users</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Rick Anderson<br>Director of Virtual Worlds<br>Division of Continuing Studies (DoCS)<br>Rutgers University<br>(732) 586-3265
</div>