[Zope] zeo and rdb backend

Chris McDonough chrism@digicool.com
Tue, 25 Jul 2000 00:22:46 -0400


I think it'd be great if you wrote something up about using ZEO in
general, myself...

"Bak @ kedai" wrote:
> 
> On Mon, 24 Jul 2000, kedai@kedai.com.my wrote:
> followup on my problem
> i just need to give permission to both machine to access the database.  after
> that, restart zope and everything is peachy
> 
> is this worth a writeup?  not too sure myself.
> 
> BTW, site summary doesnot work with zeo.  i can vview an instance fine on the
> machine that server Data.fs, but not on the other machine.
> what should we look out for when considering zeo?
> 
> thanks
> 
> Error type:  TypeError
>                         Error value: string, None
> 
> Traceback (innermost last):
>   File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module
>   File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish
>   File /home/kdie/temp/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
>     (Object: ApplicationDefaultPermissions)
>   File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish
>   File /home/kdie/temp/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
>     (Object: index_html)
>   File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
>     (Object: index_html)
>   File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__
>     (Object: index_html)
>   File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
>     (Object: index_html)
>   File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_With.py, line 146, in render
>     (Object: FM)
>   File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 163, in __call__
>     (Object: simpleView)
>   File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
>     (Object: simpleView)
>   File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob
>     (Object: entries)
>   File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 163, in __call__
>     (Object: entries)
>   File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
>     (Object: entries)
>   File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_Return.py, line 106, in render
>     (Object: siteSummaryEntries(REQUEST))
>   File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
>     (Object: siteSummaryEntries(REQUEST))
>     (Info: REQUEST)
>   File <string>, line 0, in ?
>   File /home/kdie/temp/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 251, in __call__
>     (Object: siteSummaryEntries)
> TypeError: (see above)
> 
> > hi
> > i have a few questions about zeo and how it works (newbie)
> > i managed to get zeo runniing, and i have two hosts serving one zodb.  that's
> > great.
> >
> > but i can't access some of the data that resides in a rdbms (postgres).  i
> > guess the db connection points to the wrong host since i use
> > dbname@localhost username (for postgres).
> >
> > tried changing host to something else (host1 as defined in /etc/hosts) but cant
> > change properties.  zope said bad request.  the same error if i use zPoPyDA.
> >
> > does this mean that i need to use zodb to use zeo?  what should i do to use rdb
> > for some of my data?
> >
> > i'm stuck and in need of help, pointers, docs from the great ones.
> > help
> >
> > thanks
> > --
> > ------------------------------------------------------
> > http://www.kedai.com.my/kk
> > Am I Evil?
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> --
> ------------------------------------------------------
> http://www.kedai.com.my/kk
> Am I Evil?
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )