When exceptions are thrown, often the call stack is in the log file (OpenSim.log) but not on the console. If it's there, that might give a hint as to the error. <br><br>I have also seen, when running TestClient, that creating a second instance of the logger fails because the log file cannot be opened because the first instance still has it open.<br>
<br>Just some things to look at....<br><br>-- mb<br><br><div class="gmail_quote">On Mon, Jun 25, 2012 at 4:55 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">This is a strange error to see. It suggests some problem initializing log4net for the OpenMetaverse dll (though not pCampbot itself).<br>
<br>
Have you changed pCampbot.exe.config at all (which is where the logging config is set up)?<div class="im"><br>
<br>
On 22/06/12 08:08, Yun Wang wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hey guys,<br>
<br>
@Justin, I tried the pCampBot from 0.7.4 dev version. Now I got an exception, here is the log:<br>
<br>
[BOT MANAGER]: Starting 1 bots connecting to <a href="http://127.0.0.1:9000" target="_blank">http://127.0.0.1:9000</a>, named Bot Bot_<n><br>
[BOT MANAGER]: Delay between logins is 5000ms<br>
[BOT MANAGER]: Starting bot Bot Bot_0, behaviours are Physics<br>
[BOT]: Bot Bot Bot_0 ConnectingToSim in Network_LoginProcess<br>
[BOT]: Bot Bot Bot_0 Failed in Network_LoginProcess<br>
Bot Bot_0 cannot login: Error opening the login server connection: The type initializer for ‘OpenMetaverse.Logger’ threw<br>
an exception.<br>
[Bot Bot_0]: Disconnected<br>
<br>
I'm still running opensim 0.7.3.1 on Windows XP SP3.<br>
<br>
@BlueWall, I tried to use osNpc functions to create bots, but they did not generate as much traffic as I expected, so I<br>
wanted to give pCampBot a try.<br>
<br>
Can someone help me fix this problem?<br>
<br>
Thanks,<br>
<br>
Yun<br>
<br>
Message: 1<br>
Date: Mon, 18 Jun 2012 13:41:14 -0400<br></div>
From: Yun Wang <<a href="mailto:ywang51@ncsu.edu" target="_blank">ywang51@ncsu.edu</a> <mailto:<a href="mailto:ywang51@ncsu.edu" target="_blank">ywang51@ncsu.edu</a>>><br>
To: <a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.berlios.de</a> <mailto:<a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.<u></u>berlios.de</a>><div class="im">
<br>
Subject: [Opensim-users] trouble running pCampBot<br>
Message-ID:<br>
<CAE3hGMjz=<a href="mailto:G9%2BEanTgSuHmu4%2BA2ZZtw4mTQ3H4qBksQwzqheugw@mail.gmail.com" target="_blank">G9+EanTgSuHmu4+<u></u>A2ZZtw4mTQ3H4qBksQwzqheugw@<u></u>mail.gmail.com</a><br></div>
<mailto:<a href="mailto:G9%252BEanTgSuHmu4%252BA2ZZtw4mTQ3H4qBksQwzqheugw@mail.gmail.com" target="_blank">G9%2BEanTgSuHmu4%<u></u>2BA2ZZtw4mTQ3H4qBksQwzqheugw@<u></u>mail.gmail.com</a>>><div><div class="h5"><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
I want to do some load testings of my region, but I'm having trouble<br>
running pCampBot on my computer. The bots are not presented in the viewer.<br>
Here is my opensim log:<br>
<br>
[LLOGIN SERVICE]: Login request for Bot Bot_0 at last using viewer Your<br>
name, channel pCampBot, IP 127.0.0.1, Mac xx:xx:xx:xx:xx:xx, Id0<br>
xx:xx:xx:xx:xx:xx<br>
[PRESENCE SERVICE]: LoginAgent 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b with<br>
session 706a1ff7-0eec-4c7f-bd5e-<u></u>71dee3616943 and ssession<br>
03418d93-1ddc-4f32-9754-<u></u>ff82e902d43a<br>
[GRID USER SERVICE]: User 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b is online<br>
[LLOGIN SERVICE]: FindDestination for start location last<br>
[GRID SERVICE]: GetDefaultRegions returning 0 regions<br>
[LLOGIN SERVICE]: Last Region Not Found Attempting to find random region<br>
[GRID SERVICE]: Fallback returned 0 regions<br>
[GRID SERVICE]: Hyperlinks returned 0 regions<br>
[LLLOGIN SERVICE]: found new key HomeURI <a href="http://127.0.0.1:9000/" target="_blank">http://127.0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key InventoryServerURI <a href="http://127.0.0.1:9000/" target="_blank">http://127.0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key AssetServerURI <a href="http://127.0.0.1:9000/" target="_blank">http://127.0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key ProfileServerURI <a href="http://127.0.0.1:9000/" target="_blank">http://127.0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key FriendsServerURI <a href="http://127.0.0.1:9000/" target="_blank">http://127.0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key IMServerURI <a href="http://127.0.0.1:9000/" target="_blank">http://127.0.0.1:9000/</a><br>
[LOCAL SIMULATION CONNECTOR]: Found region first to send<br>
SendCreateChildAgent<br>
[SCENE]: Region first told of incoming root agent Bot Bot_0<br>
3f78d359-ca39-46fa-b881-<u></u>65afa80c301b (circuit code 760924356, IP 127.0.0.1,<br>
viewer Your name, teleportflags (ViaLogin), position <128, 128, 0>)<br>
[SCENE]: Region first authenticated and authorized incoming root agent Bot<br>
Bot_0 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b (circuit code 760924356)<br>
[CAPS]: Registered seed capability<br>
/CAPS/1bf9ec03-eee6-4f50-bac2-<u></u>5ce87981a78a0000/ for<br>
3f78d359-ca39-46fa-b881-<u></u>65afa80c301b<br>
[LLOGIN SERVICE]: All clear. Sending login response to client.<br>
<br>
Opensim version: 0.7.3.1<br>
System information: Windows XP SP3<br>
Viewer: Imprudence 1.4.0.3<br>
<br>
Why is the last using viewer in the log called "Your name"? Is this where<br>
the problem is?<br>
After "All clear. Sending login response to client", the pCampBot console<br>
is closed, and no bots are presented in the viewer.<br>
Can someone help me with this?<br>
<br>
Thanks!<br>
<br>
Yun<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://lists.berlios.de/pipermail/opensim-users/attachments/20120618/476f89f6/attachment-0001.html" target="_blank">https://lists.berlios.de/<u></u>pipermail/opensim-users/<u></u>attachments/20120618/476f89f6/<u></u>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 18 Jun 2012 14:03:25 -0400<br></div></div>
From: James Hughes <<a href="mailto:jamesh@bluewallgroup.com" target="_blank">jamesh@bluewallgroup.com</a> <mailto:<a href="mailto:jamesh@bluewallgroup.com" target="_blank">jamesh@bluewallgroup.<u></u>com</a>>><br>
To: <a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.berlios.de</a> <mailto:<a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.<u></u>berlios.de</a>><div class="im">
<br>
Subject: Re: [Opensim-users] trouble running pCampBot<br></div>
Message-ID: <<a href="mailto:4FDF6D6D.3080607@bluewallgroup.com" target="_blank">4FDF6D6D.3080607@<u></u>bluewallgroup.com</a> <mailto:<a href="mailto:4FDF6D6D.3080607@bluewallgroup.com" target="_blank">4FDF6D6D.3080607@<u></u>bluewallgroup.com</a>>><div class="im">
<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi Yun Wang,<br>
<br>
Please see the newer osNpc functions and see if they will support what<br>
you want.<br>
<br>
-BlueWall<br>
<br>
On 06/18/2012 01:41 PM, Yun Wang wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi,<br>
<br>
I want to do some load testings of my region, but I'm having trouble<br>
running pCampBot on my computer. The bots are not presented in the<br>
viewer. Here is my opensim log:<br>
<br>
[LLOGIN SERVICE]: Login request for Bot Bot_0 at last using viewer Your<br>
name, channel pCampBot, IP 127.0.0.1, Mac xx:xx:xx:xx:xx:xx, Id0<br>
xx:xx:xx:xx:xx:xx<br>
[PRESENCE SERVICE]: LoginAgent 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b with<br>
session 706a1ff7-0eec-4c7f-bd5e-<u></u>71dee3616943 and ssession<br>
03418d93-1ddc-4f32-9754-<u></u>ff82e902d43a<br>
[GRID USER SERVICE]: User 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b is online<br>
[LLOGIN SERVICE]: FindDestination for start location last<br>
[GRID SERVICE]: GetDefaultRegions returning 0 regions<br>
[LLOGIN SERVICE]: Last Region Not Found Attempting to find random region<br>
[GRID SERVICE]: Fallback returned 0 regions<br>
[GRID SERVICE]: Hyperlinks returned 0 regions<br></div>
[LLLOGIN SERVICE]: found new key HomeURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key InventoryServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.<u></u>0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key AssetServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.0.<u></u>1:9000/</a><br>
[LLLOGIN SERVICE]: found new key ProfileServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.<u></u>0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key FriendsServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.<u></u>0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key IMServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.0.1:<u></u>9000/</a><div class="im"><br>
[LOCAL SIMULATION CONNECTOR]: Found region first to send<br>
SendCreateChildAgent<br>
[SCENE]: Region first told of incoming root agent Bot Bot_0<br>
3f78d359-ca39-46fa-b881-<u></u>65afa80c301b (circuit code 760924356, IP<br>
127.0.0.1, viewer Your name, teleportflags (ViaLogin), position <128,<br>
128, 0>)<br>
[SCENE]: Region first authenticated and authorized incoming root agent<br>
Bot Bot_0 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b (circuit code 760924356)<br>
[CAPS]: Registered seed capability<br>
/CAPS/1bf9ec03-eee6-4f50-bac2-<u></u>5ce87981a78a0000/ for<br>
3f78d359-ca39-46fa-b881-<u></u>65afa80c301b<br>
[LLOGIN SERVICE]: All clear. Sending login response to client.<br>
<br>
Opensim version: 0.7.3.1<br>
System information: Windows XP SP3<br>
Viewer: Imprudence 1.4.0.3<br>
<br>
Why is the last using viewer in the log called "Your name"? Is this<br>
where the problem is?<br>
After "All clear. Sending login response to client", the pCampBot<br>
console is closed, and no bots are presented in the viewer.<br>
Can someone help me with this?<br>
<br>
Thanks!<br>
<br>
Yun<br>
<br>
<br>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
</div><a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a> <mailto:<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.<u></u>berlios.de</a>><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br>
</blockquote><div class="im">
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 19 Jun 2012 02:46:26 +0100<br></div>
From: Justin Clark-Casey <<a href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.com</a> <mailto:<a href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.<u></u>com</a>>><br>
To: <a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.berlios.de</a> <mailto:<a href="mailto:opensim-users@lists.berlios.de" target="_blank">opensim-users@lists.<u></u>berlios.de</a>><div class="im">
<br>
Subject: Re: [Opensim-users] trouble running pCampBot<br></div>
Message-ID: <<a href="mailto:4FDFD9F2.7020201@googlemail.com" target="_blank">4FDFD9F2.7020201@googlemail.<u></u>com</a> <mailto:<a href="mailto:4FDFD9F2.7020201@googlemail.com" target="_blank">4FDFD9F2.7020201@<u></u>googlemail.com</a>>><div class="im">
<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
That is curious. So pCampbot gives no exception or other debug information at all, it just dumps you back to the<br>
command line?<br>
<br>
pCampbot has progressed since 0.7.3.1. You might want to try the one in the latest dev version of OpenSimulator - it<br>
will connect to any version of simulator.<br>
<br>
Bluewall, since Yun mentions load testing I'm assuming that's what he wants to do rather than create NPCs for other<br>
reasons (which don't stress things anywhere near as much).<br>
<br>
<br>
On 18/06/12 18:41, Yun Wang wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi,<br>
<br>
I want to do some load testings of my region, but I'm having trouble running pCampBot on my computer. The bots are not<br>
presented in the viewer. Here is my opensim log:<br>
<br>
[LLOGIN SERVICE]: Login request for Bot Bot_0 at last using viewer Your name, channel pCampBot, IP 127.0.0.1, Mac<br>
xx:xx:xx:xx:xx:xx, Id0 xx:xx:xx:xx:xx:xx<br>
[PRESENCE SERVICE]: LoginAgent 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b with session 706a1ff7-0eec-4c7f-bd5e-<u></u>71dee3616943<br>
and ssession 03418d93-1ddc-4f32-9754-<u></u>ff82e902d43a<br>
[GRID USER SERVICE]: User 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b is online<br>
[LLOGIN SERVICE]: FindDestination for start location last<br>
[GRID SERVICE]: GetDefaultRegions returning 0 regions<br>
[LLOGIN SERVICE]: Last Region Not Found Attempting to find random region<br>
[GRID SERVICE]: Fallback returned 0 regions<br>
[GRID SERVICE]: Hyperlinks returned 0 regions<br></div>
[LLLOGIN SERVICE]: found new key HomeURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key InventoryServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.<u></u>0.0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key AssetServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.0.<u></u>1:9000/</a><br>
[LLLOGIN SERVICE]: found new key ProfileServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.<u></u>0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key FriendsServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.<u></u>0.1:9000/</a><br>
[LLLOGIN SERVICE]: found new key IMServerURIhttp://<a href="http://127.0.0.1:9000/" target="_blank">127.0.0.1:<u></u>9000/</a><div class="im"><br>
[LOCAL SIMULATION CONNECTOR]: Found region first to send SendCreateChildAgent<br>
[SCENE]: Region first told of incoming root agent Bot Bot_0 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b (circuit code<br>
760924356, IP 127.0.0.1, viewer Your name, teleportflags (ViaLogin), position <128, 128, 0>)<br>
[SCENE]: Region first authenticated and authorized incoming root agent Bot Bot_0 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b<br>
(circuit code 760924356)<br>
[CAPS]: Registered seed capability /CAPS/1bf9ec03-eee6-4f50-bac2-<u></u>5ce87981a78a0000/ for 3f78d359-ca39-46fa-b881-<u></u>65afa80c301b<br>
[LLOGIN SERVICE]: All clear. Sending login response to client.<br>
<br>
Opensim version: 0.7.3.1<br>
System information: Windows XP SP3<br>
Viewer: Imprudence 1.4.0.3<br>
<br>
Why is the last using viewer in the log called "Your name"? Is this where the problem is?<br>
After "All clear. Sending login response to client", the pCampBot console is closed, and no bots are presented in the<br>
viewer.<br>
Can someone help me with this?<br>
<br>
Thanks!<br>
<br>
Yun<br>
<br>
<br>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
</div><a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a> <mailto:<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.<u></u>berlios.de</a>><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br>
</blockquote><div class="im">
<br>
<br>
--<br>
Justin Clark-Casey (justincc)<br>
<a href="http://justincc.org/blog" target="_blank">http://justincc.org/blog</a><br>
<a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br>
<br>
</div></blockquote><div class="im HOEnZb">
<br>
<br>
-- <br>
Justin Clark-Casey (justincc)<br>
<a href="http://justincc.org/blog" target="_blank">http://justincc.org/blog</a><br>
<a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a><br>
<br>
<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br>