[Opensim-users] trouble running pCampBot

Mister Blue misterblue at misterblue.com
Tue Jun 26 15:50:40 UTC 2012


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.

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.

Just some things to look at....

-- mb

On Mon, Jun 25, 2012 at 4:55 PM, Justin Clark-Casey <
jjustincc at googlemail.com> wrote:

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


More information about the Opensim-users mailing list