[OGo-MacOSX] A way to debug with ogo-webui-1.0 (to find out why it can't see the adptor bundle for PostgreSQL)?

Tabitha McNerney macosx@opengroupware.org
Fri, 2 Dec 2005 06:05:06 -1000


------=_Part_6983_20025582.1133539506809
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Does anyone know if there is a way to debug problems when starting OGo with
ogo-webui-1.0?

I have tried several times now to build OGo on a volume other than
/usr/local and when I start up OGo with ogo-webui-1.0 I am still getting
this error:

$ /Volumes/vol1/usr/local/OGoRoot/Tools/ogo-webui-1.0 -WOPort 20000
> -WOHttpAllowHost '("127.0.0.1", localhost)'
> 2005-12-02 15:50:51.368 ogo-webui-1.0[7290] EOAdaptor: cannot find adapto=
r
> bundle: 'PostgreSQL'
> 2005-12-02 15:50:51.368 ogo-webui-1.0[7290] ERROR(-[OGoContextManager
> setupAdaptor]): could not instantiate adaptor for model OGoModel !
>

Its crazy because my bundle paths are correct:

server:~ ogo$ defaults read NSGlobalDomain NGBundlePath
> /Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0
> /Commands/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0
> /DataSources/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-
> 1.0/WebUI/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0
>
> and my LSConnectionDictionary is just fine:

server:~ ogo$ defaults read NSGlobalDomain LSConnectionDictionary
> {
>     databaseName =3D ogodb;
>     hostName =3D localhost;
>     password =3D 12345678;
>     port =3D 5433;
>     userName =3D ogouser;
> }
>

and my postgresql version 8.1 is running fine (postmaster is waiting for
connections on port 5433) and the tables have all been created and loaded:

server:~ ogo$ psql -h localhost -p 5433 ogodb ogouser < ~/OGo-1.0b2
> /Database/PostgreSQL/pg-build-schema.psql
>

so I can connect no problem:

server:~ ogo$ psql -h localhost -p 5433 ogodb ogouser
>

How can I get ogo-webui-1.0  to give me more information about why it can't
find the adaptor bundle for PostgreSQL?

Best regards,

Tabitha

------=_Part_6983_20025582.1133539506809
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Does anyone know if there is a way to debug problems when starting OGo with=
 ogo-webui-1.0?<br><br>I have tried several times now to build OGo on a vol=
ume other than /usr/local and when I start up OGo with ogo-webui-1.0 I am s=
till getting this error:
<br><br><blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); mar=
gin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">$ /Volume=
s/vol1/usr/local/OGoRoot/Tools/ogo-webui-1.0 -WOPort 20000 -WOHttpAllowHost=
 '(&quot;
<a href=3D"http://127.0.0.1">127.0.0.1</a>&quot;, localhost)'<br>2005-12-02=
 15:50:51.368 ogo-webui-1.0[7290] EOAdaptor: cannot find adaptor bundle: 'P=
ostgreSQL'<br>2005-12-02 15:50:51.368 ogo-webui-1.0[7290] ERROR(-[OGoContex=
tManager setupAdaptor]): could not instantiate adaptor for model OGoModel !
<br></blockquote><br>Its crazy because my bundle paths are correct:<br><br>=
<blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt=
 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote"><blockquote>serve=
r:~ ogo$ defaults read NSGlobalDomain NGBundlePath
<br>/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/Commands/=
:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/DataSources/=
:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/WebUI/:/Volu=
mes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-
1.0<br></blockquote></blockquote>and my LSConnectionDictionary is just fine=
:<br><br><blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); ma=
rgin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">server:~=
 ogo$ defaults read NSGlobalDomain LSConnectionDictionary
<br>{<br>&nbsp;&nbsp;&nbsp; databaseName =3D ogodb; <br>&nbsp;&nbsp;&nbsp; =
hostName =3D localhost; <br>&nbsp;&nbsp;&nbsp; password =3D 12345678; <br>&=
nbsp;&nbsp;&nbsp; port =3D 5433; <br>&nbsp;&nbsp;&nbsp; userName =3D ogouse=
r; <br>}<br></blockquote><br>and my postgresql version 8.1 is running fine =
(postmaster is waiting for connections on port 5433) and the tables have al=
l been created and loaded:
<br><br><blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); mar=
gin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">server:~ =
ogo$ psql -h localhost -p 5433 ogodb ogouser &lt; ~/OGo-1.0b2/Database/Post=
greSQL/pg-
build-schema.psql<br></blockquote><br>so I can connect no problem:<br><br><=
blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt =
0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">server:~ ogo$ psql=
 -h localhost -p 5433 ogodb ogouser
<br></blockquote><br>How can I get ogo-webui-1.0&nbsp; to give me more info=
rmation about why it can't find the adaptor bundle for PostgreSQL?<br><br>B=
est regards,<br><br>Tabitha<br><br><br><br><br><br><br>

------=_Part_6983_20025582.1133539506809--