[OGo-MacOSX] Does PostgreSQL require "OGo" values for user and database names?

Tabitha McNerney macosx@opengroupware.org
Fri, 25 Nov 2005 01:50:59 -1000


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

On 11/24/05, Helge Hess <helge.hess@opengroupware.org> wrote:
>
> On 24. Nov 2005, at 19:46 Uhr, Tabitha McNerney wrote:
> > Is there any problem, when configuring OGo 1.0 beta 2 rock, with
> > SOPE 4.5 alpha and with PostgreSQL 8.1, on Tiger Server 10.4.2, to
> > create a different database user name other than the name
> > "OGo" (which appears in the documentation) and a database name
> > other than "OGo"?
>
> No. But of course you need to configure the values if you use non-
> standard ones (LSConnectionDictionary).
>
> > 2005-11-24 17:48:04.395 ogo-webui-1.0[15810] OGoContextManager:
> > ERROR: did not find bundle for model
> > 'OpenGroupware.org_PostgreSQL' (type=3DEOModels)
>
> So OGo did not find the bundle. Probably you have no NGBundlePath
> set. I have:
> ---snip---
> helge@groove$ defaults read ogo-webui-1.1 NGBundlePath
> /Users/helge/GNUstep/Library/OpenGroupware.org-1.1:/Users/helge/
> GNUstep/Library/OpenGroupware.org-1.1/Commands/:/Users/helge/GNUstep/
> Library/OpenGroupware.org-1.1/DataSources/:/Users/helge/GNUstep/
> Library/OpenGroupware.org-1.1/WebUI
> ---snap---
>
> > mac:~ $ defaults read NSGlobalDomain LSAdaptor
> > PostgreSQL
>
> You don't need to configure the LSAdaptor default:
>    defaults delete NSGlobalDomain LSAdaptor



Thanks Helge for the suggestion, I've deleted it.


> My LSConnectionDictionary looks like this:
> >
> > mac:~ $ defaults read NSGlobalDomain LSConnectionDictionary
> > {
> >     databaseName =3D ogodb;
> >     hostName =3D localhost;
> >     password =3D 123abcde;
> >     port =3D 5433;
> >     userName =3D ogouser;
> > }
>
> Looks ok.
>
> > I think my NGBundlePath is just fine:
> >
> > mac:~ ogo$ defaults read NSGlobalDomain | grep NGBundlePath
> >     NGBundlePath =3D "$(OGoROOT)/Library/OpenGroupware.org-1.0/
> > Commands:$(OGoROOT)/Library/OpenGroupware.org-1.0/DataSources:$
> > (OGoROOT)/Library/OpenGroupware.org-1.0/WebUI:$(OGoROOT)/Library/
> > OpenGroupware.org-1.0/";
> > Though I am using $OGoROOT rather than $GNUSTEP_USER_ROOT but this
> > shouldn't matter because my $OGoROOT looks like this:
>
> The default itself should not contain any $ stuff. Substitute $
> (OGoROOT) with the actual value (/usr/local/OGoRoot).



Ok, I have replaced the $ stuff with the literal values as in /usr/local ..=
.
but I think I wa confused because I noticed a very recent post to the
mailing list in which the use of $s was suggested as in:

http://mail.opengroupware.org/pipermail/macosx/2005-September/000342.html

 If you have that, maybe the NGBundlePath default can help:
> ---snip---
> defaults write ogo-webui-1.0 NGBundlePath \
>
> "${GNUSTEP_USER_ROOT}/Library/OpenGroupware.org-1.0/
> Commands:${GNUSTEP_USER_ROOT}/Library/OpenGroupware.org-1.0/
> DataSources:${GNUSTEP_USER_ROOT}/Library/OpenGroupware.org-1.0/
> WebUI:${GNUSTEP_USER_ROOT}/Library/OpenGroupware.org-1.0/"
> ---snap---
>
>
Has the use of $ such as in the quoted text above changed (become
deprecated) in the OGo 1.0 Beta 2 rock?

> OGo would come back with an error such as "Nov 24 18:39:23 ogo-
> > webui-1.0 [16008]: <0x0216F5B0[WOComponentDefinition]> Note: did
> > not find component class with name 'Main'
>
> Yes, probably due to an incorrect NGBundlePath.



You're absolutely correct. I replaced the $ with the actual values and
bingo, I have OGo up and running for the first time ever! Its a nice
feeling. Now to try things out and enjoy the process of using OGo!

A nice-to-have is to use with Apache 2, so I am wondering, does anyone have
any tips for building the Apache module for Apache 2? I was unable to do so
despite my best efforts. I'd prefer not to run a separate Apache 1.3 server
if I don't have to.

Thank you Helge for you persistent support answering the many questions,
this is very much appreciated!

Best,

Tabitha

Greets,
>    Helge
> --
> http://docs.opengroupware.org/Members/helge/
> OpenGroupware.org
>
> --
> OpenGroupware.org MacOS X
> macosx@opengroupware.org
> http://mail.opengroupware.org/mailman/listinfo/macosx
>

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

<br><br><div><span class=3D"gmail_quote">On 11/24/05, <b class=3D"gmail_sen=
dername">Helge Hess</b> &lt;<a href=3D"mailto:helge.hess@opengroupware.org"=
>helge.hess@opengroupware.org</a>&gt; wrote:</span><blockquote class=3D"gma=
il_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0=
pt 0pt 0.8ex; padding-left: 1ex;">
On 24. Nov 2005, at 19:46 Uhr, Tabitha McNerney wrote:<br>&gt; Is there any=
 problem, when configuring OGo 1.0 beta 2 rock, with<br>&gt; SOPE 4.5 alpha=
 and with PostgreSQL 8.1, on Tiger Server 10.4.2, to<br>&gt; create a diffe=
rent database user name other than the name
<br>&gt; &quot;OGo&quot; (which appears in the documentation) and a databas=
e name<br>&gt; other than &quot;OGo&quot;?<br><br>No. But of course you nee=
d to configure the values if you use non-<br>standard ones (LSConnectionDic=
tionary).
<br><br>&gt; 2005-11-24 17:48:04.395 ogo-webui-1.0[15810] OGoContextManager=
:<br>&gt; ERROR: did not find bundle for model<br>&gt; 'OpenGroupware.org_P=
ostgreSQL' (type=3DEOModels)<br><br>So OGo did not find the bundle. Probabl=
y you have no NGBundlePath
<br>set. I have:<br>---snip---<br>helge@groove$ defaults read ogo-webui-1.1=
 NGBundlePath<br>/Users/helge/GNUstep/Library/OpenGroupware.org-1.1:/Users/=
helge/<br>GNUstep/Library/OpenGroupware.org-1.1/Commands/:/Users/helge/GNUs=
tep/
<br>Library/OpenGroupware.org-1.1/DataSources/:/Users/helge/GNUstep/<br>Lib=
rary/OpenGroupware.org-1.1/WebUI<br>---snap---<br><br>&gt; mac:~ $ defaults=
 read NSGlobalDomain LSAdaptor<br>&gt; PostgreSQL<br><br>You don't need to =
configure the LSAdaptor default:
<br>&nbsp;&nbsp; defaults delete NSGlobalDomain LSAdaptor</blockquote><div>=
<br>
<br>
Thanks Helge for the suggestion, I've deleted it.<br>
&nbsp;</div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px=
 solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&=
gt; My LSConnectionDictionary looks like this:<br>&gt;<br>&gt; mac:~ $ defa=
ults read NSGlobalDomain LSConnectionDictionary
<br>&gt; {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; databaseName =3D ogodb;<br>&gt;&=
nbsp;&nbsp;&nbsp;&nbsp; hostName =3D localhost;<br>&gt;&nbsp;&nbsp;&nbsp;&n=
bsp; password =3D 123abcde;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; port =3D 5433;<=
br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; userName =3D ogouser;<br>&gt; }<br><br>Look=
s ok.<br><br>&gt; I think my NGBundlePath is just fine:
<br>&gt;<br>&gt; mac:~ ogo$ defaults read NSGlobalDomain | grep NGBundlePat=
h<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; NGBundlePath =3D &quot;$(OGoROOT)/Library=
/OpenGroupware.org-1.0/<br>&gt; Commands:$(OGoROOT)/Library/OpenGroupware.o=
rg-1.0/DataSources:$
<br>&gt; (OGoROOT)/Library/OpenGroupware.org-1.0/WebUI:$(OGoROOT)/Library/<=
br>&gt; OpenGroupware.org-1.0/&quot;;<br>&gt; Though I am using $OGoROOT ra=
ther than $GNUSTEP_USER_ROOT but this<br>&gt; shouldn't matter because my $=
OGoROOT looks like this:
<br><br>The default itself should not contain any $ stuff. Substitute $<br>=
(OGoROOT) with the actual value (/usr/local/OGoRoot).</blockquote><div><br>
<br>
Ok, I have replaced the $ stuff with the literal values as in
/usr/local ... but I think I wa confused because I noticed a very
recent post to the mailing list in which the use of $s was suggested as
in:<br>
<br>
<a href=3D"http://mail.opengroupware.org/pipermail/macosx/2005-September/00=
0342.html">http://mail.opengroupware.org/pipermail/macosx/2005-September/00=
0342.html</a><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">
  <pre>If you have that, maybe the NGBundlePath default can help:<br>---sni=
p---<br>defaults write ogo-webui-1.0 NGBundlePath \<br>    <br>&quot;${GNUS=
TEP_USER_ROOT}/Library/OpenGroupware.org-1.0/ <br>Commands:${GNUSTEP_USER_R=
OOT}/Library/OpenGroupware.org-
1.0/ <br>DataSources:${GNUSTEP_USER_ROOT}/Library/OpenGroupware.org-1.0/ <b=
r>WebUI:${GNUSTEP_USER_ROOT}/Library/OpenGroupware.org-1.0/&quot;<br>---sna=
p---</pre>
</blockquote>
<br>
Has the use of $ such as in the quoted text above changed (become deprecate=
d) in the OGo 1.0 Beta 2 rock? &nbsp;</div><br><blockquote class=3D"gmail_q=
uote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0=
pt 0.8ex; padding-left: 1ex;">
&gt; OGo would come back with an error such as &quot;Nov 24 18:39:23 ogo-<b=
r>&gt; webui-1.0 [16008]: &lt;0x0216F5B0[WOComponentDefinition]&gt; Note: d=
id<br>&gt; not find component class with name 'Main'<br><br>Yes, probably d=
ue to an incorrect NGBundlePath.
</blockquote><div><br>
<br>
You're absolutely correct. I replaced the $ with the actual values and
bingo, I have OGo up and running for the first time ever! Its a nice
feeling. Now to try things out and enjoy the process of using OGo!<br>
<br>
A nice-to-have is to use with Apache 2, so I am wondering, does anyone
have any tips for building the Apache module for Apache 2? I was unable
to do so despite my best efforts. I'd prefer not to run a separate
Apache 1.3 server if I don't have to.<br>
<br>
Thank you Helge for you persistent support answering the many questions, th=
is is very much appreciated!<br>
<br>
Best,<br>
<br>
Tabitha<br>
</div><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
 rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Greets,=
<br>&nbsp;&nbsp; Helge<br>--<br><a href=3D"http://docs.opengroupware.org/Me=
mbers/helge/">
http://docs.opengroupware.org/Members/helge/</a><br>OpenGroupware.org<br><b=
r>--<br>OpenGroupware.org MacOS X<br><a href=3D"mailto:macosx@opengroupware=
.org">macosx@opengroupware.org</a><br><a href=3D"http://mail.opengroupware.=
org/mailman/listinfo/macosx">
http://mail.opengroupware.org/mailman/listinfo/macosx</a><br></blockquote><=
/div><br>

------=_Part_30115_18508372.1132919459742--