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

Helge Hess macosx@opengroupware.org
Thu, 24 Nov 2005 23:15:40 +0100


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=EOModels)

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

> My LSConnectionDictionary looks like this:
>
> mac:~ $ defaults read NSGlobalDomain LSConnectionDictionary
> {
>     databaseName = ogodb;
>     hostName = localhost;
>     password = 123abcde;
>     port = 5433;
>     userName = ogouser;
> }

Looks ok.

> I think my NGBundlePath is just fine:
>
> mac:~ ogo$ defaults read NSGlobalDomain | grep NGBundlePath
>     NGBundlePath = "$(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).

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

Greets,
   Helge
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org