[Opensim-users] Trouble running pCampBot

Justin Clark-Casey jjustincc at googlemail.com
Wed Jul 11 23:48:43 UTC 2012


Hi Yun.  The problems you're seeing with libomv are unfortunately normal - there's some issue with the appearance data. 
  I think the very latest bleeding edge libomv has some changes that may improve the situation but I have not had a 
chance to try it out.

Unfortunately, figuring out where the problem is now involves delving into code.  The

 >> [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.

means that the static initializer for OpenMetaverse.Logger is failing which tries to retrieve a log instance from 
log4net.  You will either need to remove the exception catching in Login.BeginLogin() and see what line is actually 
triggering it, and or add a try/catch to the static Logger() initializer to actually write the exception details to the 
console.  Then, of course, you'll need to recompile libomv and replace the OpenSimulator libomv libraries with your 
compiled versions.

On 07/07/12 20:14, Yun Wang wrote:
> Hi everyone,
>
> @Justin, I was able to run libomv's own TestClient on my opensim region, the bot showed up in my viewer, although there
> was a warning called "Failed decoding wearable asset". The bot showed up with white-color hair and it's shorter than my
> master avatar. Maybe the warning is caused by some compatibility issue with opensim and libomv's TestClient?
> Anyway, I'm still getting the same exception when running pCampBot. Is there other ways to figure out where the problem
> is? I really want to use the pCampBot because it can make the bots do several physical behaviors which can generate
> enough traffic for my simulation. Please help me with this..
>
> Thanks,
>
> Yun
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 05 Jul 2012 23:30:07 +0100
> From: Justin Clark-Casey <jjustincc at googlemail.com <mailto:jjustincc at googlemail.com>>
>
> To: opensim-users at lists.berlios.de <mailto:opensim-users at lists.berlios.de>
> Subject: Re: [Opensim-users] trouble running pCampBot
> Message-ID: <4FF6156F.20801 at googlemail.com <mailto:4FF6156F.20801 at googlemail.com>>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> On 05/07/12 05:15, Yun Wang wrote:
>  > Hi guys,
>  >
>  > Thanks for replying.
>  >
>  > @Justin, I did not change the pCampbot.exe.config. Do I need to change the file? Can you give me some hint on how to
>  > proceed?
>
> I was checking that you hadn't changed the file since the default should be fine.
>
> Have you tried running libomv's own TestClient against an OpenSimulator or even Linden Lab instance?  This would use
> much the same code and would either confirm it's an issue with running pCampbot or some more general issue running
> libomv code.
>
>
>  >
>  > @MB, there was no exception in OpenSim.log, it just said "All clear. Sending login response to client", then nothing
>  > happened.
>  >
>  > Thanks,
>  >
>  > Yun
>  >
>  > ----------------------------------------------------------------------
>  >
>  > Message: 1
>  > Date: Tue, 26 Jun 2012 08:50:40 -0700
>  > From: Mister Blue <misterblue at misterblue.com <mailto:misterblue at misterblue.com> <mailto:misterblue at misterblue.com
> <mailto:misterblue at misterblue.com>>>
>  > To: opensim-users at lists.berlios.de <mailto:opensim-users at lists.berlios.de> <mailto:opensim-users at lists.berlios.de
> <mailto:opensim-users at lists.berlios.de>>
>
>  > Subject: Re: [Opensim-users] trouble running pCampBot
>  > Message-ID:
>  >         <CAJ=JWqwD59ejL3+0siN0Y1+pyS1VjD+jBoVjpxyat++yNCrxfQ at mail.gmail.com
> <mailto:JWqwD59ejL3%2B0siN0Y1%2BpyS1VjD%2BjBoVjpxyat%2B%2ByNCrxfQ at mail.gmail.com>
>  > <mailto:JWqwD59ejL3%2B0siN0Y1%2BpyS1VjD%2BjBoVjpxyat%2B%2ByNCrxfQ at mail.gmail.com
> <mailto:JWqwD59ejL3%252B0siN0Y1%252BpyS1VjD%252BjBoVjpxyat%252B%252ByNCrxfQ at mail.gmail.com>>>
>
>  > Content-Type: text/plain; charset="windows-1252"
>  >
>  > 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 <
>  >  >> From: Yun Wang <ywang51 at ncsu.edu <mailto:ywang51 at ncsu.edu> <mailto:ywang51 at ncsu.edu <mailto:ywang51 at ncsu.edu>>
> <mailto:ywang51 at ncsu.edu <mailto:ywang51 at ncsu.edu> <mailto:ywang51 at ncsu.edu <mailto:ywang51 at ncsu.edu>>>>
>  >  >> To: opensim-users at lists.berlios.de <mailto:opensim-users at lists.berlios.de> <mailto:opensim-users at lists.berlios.de
> <mailto:opensim-users at lists.berlios.de>> <mailto:opensim-users at lists <mailto:opensim-users at lists>.
>  > <mailto:opensim-users at lists <mailto:opensim-users at lists>.>**
>  >  >> berlios.de <http://berlios.de> <http://berlios.de> <opensim-users at lists.berlios.de
> <mailto:opensim-users at lists.berlios.de> <mailto:opensim-users at lists.berlios.de <mailto:opensim-users at lists.berlios.de>>>>
>
>  >  >>
>  >  >> Subject: [Opensim-users] trouble running pCampBot
>  >  >> Message-ID:
>  >  >>        <CAE3hGMjz=G9+EanTgSuHmu4+**A2ZZtw4mTQ3H4qBksQwzqheugw@**
>  >  >> mail.gmail.com <http://mail.gmail.com>
> <http://mail.gmail.com><G9%2BEanTgSuHmu4%2BA2ZZtw4mTQ3H4qBksQwzqheugw at mail.gmail.com
> <mailto:G9%252BEanTgSuHmu4%252BA2ZZtw4mTQ3H4qBksQwzqheugw at mail.gmail.com>
>  > <mailto:G9%252BEanTgSuHmu4%252BA2ZZtw4mTQ3H4qBksQwzqheugw at mail.gmail.com
> <mailto:G9%25252BEanTgSuHmu4%25252BA2ZZtw4mTQ3H4qBksQwzqheugw at mail.gmail.com>>>
>  >  >> <mailto:G9%2BEanTgSuHmu4% <mailto:G9%252BEanTgSuHmu4%25> <mailto:G9%252BEanTgSuHmu4%25
> <mailto:G9%25252BEanTgSuHmu4%2525>>**2BA2ZZtw4mTQ3H4qBksQwzqheugw@**mail.gmail.com <http://mail.gmail.com>
>  > <http://mail.gmail.com><G9%252BEanTgSuHmu4%252BA2ZZtw4mTQ3H4qBksQwzqheugw at mail.gmail.com
> <mailto:G9%25252BEanTgSuHmu4%25252BA2ZZtw4mTQ3H4qBksQwzqheugw at mail.gmail.com>
>  > <mailto:G9%25252BEanTgSuHmu4%25252BA2ZZtw4mTQ3H4qBksQwzqheugw at mail.gmail.com
> <mailto:G9%2525252BEanTgSuHmu4%2525252BA2ZZtw4mTQ3H4qBksQwzqheugw at mail.gmail.com>>>
>  > _______________________________________________
>  > Opensim-users mailing list
>  > Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
>  > 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
>


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc





More information about the Opensim-users mailing list