[Zope] Can't install LoginManager

Pete Nesbitt pnesbitt@openschool.bc.ca
Wed, 20 Jun 2001 10:08:34 -0700


The new version of LoginManager (LoginManager-0-8-8b1) says it now includes 
ZPatterns and Plugins. I am "assuming" they unpack properly and require no 
further care. 

from CHANGES.txt:
"NOTE*: This release requires ZPatterns 0.4.3b1, WHICH IS NOW INCLUDED"

It does create and populate the directory.

here is what is in it....

bash-2.04$ pwd
/usr/local/tll/zope-2.3.2/lib/python/Products

bash-2.04$ ls PlugIns
PlugIns.py   __init__.py   addFactory.dtml   genericAddForm.dtml  www
PlugIns.pyc  __init__.pyc  editFactory.dtml  version.txt

bash-2.04$ ls ZPatterns
Agents.py               Expressions.py     Rack.py             __init__.py
AttributeProviders.py   Expressions.pyc    Rack.pyc            __init__.pyc
AttributeProviders.pyc  PlugIns.py         Setup               addRack.dtml
Customizers.py          PropertySheets.py  SheetProviders.py   
addSpecialist.dtml
DataManagers.py         Providers.py       SheetProviders.pyc  
documentProxy.dtml
DataManagers.pyc        Providers.pyc      SkinScript          
genericAddForm.dtml
DataSkins.py            Proxy.py           Specialists.py      help
DataSkins.pyc           Proxy.pyc          Transactions.py     version.txt
DynPersist.c            README.txt         Transactions.pyc    www
bash-2.04$




On June 20, 2001 09:28 am, Eric Balasbas wrote:
> It looks like LoginManager requires ZPatterns. Have you installed that?
> You can find ZPatterns at http://www.zope.org/Members/pje/ZPatterns. You
> will need to compile an extension written in C in order to install
> ZPatterns.
>
>
> Eric Balasbas
> Senior Developer
> eric@virtosi.com
>
> http://www.virtosi.com/
> Virtosi Ltd.
> Design -- Branding -- Zope
>
> On Wed, 20 Jun 2001, Pete Nesbitt wrote:
> > Hi,
> > I am using Zope 2.3.2. I am trying to find a way to use LDAP (or htaccess
> > etc) for user authentication into the zope environment. This is to use
> > the same auth as Apache so users only log in once. (trying to re-use a
> > hacked copy of w-agora for a forms based list (like squish-dot) but we
> > have modified it so when posting, your login id is used for the posters
> > id, no spoofed posts).
> >
> > Anyway, it looked like LoginManager may do the trick, but after untaring
> > it and trying to start zope, LoginManager fails. (I am untaring the
> > source in the top level of the zope, just like other products)
> > Here is the error message:
> >
> > bash-2.04$ ./start
> > ------
> > 2001-06-20T15:49:01 ERROR(200) Zope Couldn't import Products.LoginManager
> > Traceback (innermost last):
> >   File /usr/local/tll/zope-2.3.2/lib/python/OFS/Application.py, line 528,
> > in import_products
> >     (Object: string)
> >   File
> > /usr/local/tll/zope-2.3.2/lib/python/Products/LoginManager/__init__.py,
> > line 1, in ?
> >   File
> > /usr/local/tll/zope-2.3.2/lib/python/Products/LoginManager/LoginManager.p
> >y, line 8, in ?
> >   File
> > /usr/local/tll/zope-2.3.2/lib/python/Products/ZPatterns/__init__.py, line
> > 1, in ?
> >   File /usr/local/tll/zope-2.3.2/lib/python/Products/ZPatterns/Rack.py,
> > line 9, in ?
> >   File
> > /usr/local/tll/zope-2.3.2/lib/python/Products/ZPatterns/DataSkins.py,
> > line 1, in ?
> > ImportError: No module named DynPersist
> >
> >
> > ------
> > 2001-06-20T15:49:02 PROBLEM(100) Zope No such file or directory:
> > /usr/local/tll/zope-2.3.2/lib/python/Products/PlugIns/help
> > ------
> > 2001-06-20T15:49:02 INFO(0) ZServer HTTP server started at Wed Jun 20
> > 08:49:02 2001
> >         Hostname: lindev1.ola.bc.ca
> >         Port: 8080
> > ------
> > 2001-06-20T15:49:02 INFO(0) ZServer FTP server started at Wed Jun 20
> > 08:49:02 2001
> >         Hostname: lindev1.ola.bc.ca
> >         Port: 8021
> > ------
> > 2001-06-20T15:49:02 INFO(0) ZServer PCGI Server started at Wed Jun 20
> > 08:49:02 2001
> >         Unix socket: /usr/local/tll/zope-2.3.2/var/pcgi.soc
> >
> > ------ END of Output-----------
> >
> > I don't know python so the errors are a little vague. Does LoginManager
> > work with 2.3.2?
> >
> > I am using  LoginManager-0-8-8b1.tgz, zope 2.3.2, RedHat 7.1 (intel)
> >
> > Is there a better way to use external authentication?
> >
> > --

Peter M. Nesbitt
Systems Analyst
Open Learning Agency
Victoria, B.C.
 
250.953.7426
petern@ola.bc.ca