Mailing List Archive

[Zope-PTK] PTKDemo (Broken Product PTKDemo)
I'm new to Zope but I wanted to pull down the latest PTK. I did, followed
the instructions but PTKDemo is broken. I'm using Zope 2.1.4 on NT. Any help
would be appreciated. Traceback follows :


PTKDemo Import Traceback
Traceback (innermost last):
File "D:\PROGRA~1\ZopeTest\lib\python\OFS\Application.py", line 387, in
import_products
product=__import__(pname, global_dict, global_dict, silly)
File "d:\Program Files\ZopeTest\lib\python\Products\PTKDemo\__init__.py",
line 3, in ?
import Portal, ZODBMember, SQLMember, PersistentUserSource
File "d:\Program Files\ZopeTest\lib\python\Products\PTKDemo\Portal.py",
line 5, in ?
from Products import LoginManager
ImportError: cannot import name LoginManager


TIA.

- Ian Sparks.
Re: [Zope-PTK] PTKDemo (Broken Product PTKDemo) [ In reply to ]
On Fri, 3 Mar 2000, Ian Sparks wrote:

> from Products import LoginManager
> ImportError: cannot import name LoginManager

Looks like you're shy a product. There's three products in the
ZopePTK CVS package: PTKBase, PTKDemo and LoginManager. While you don't
need to use the LoginManager in your portal, the PTKDemo code expects to
be able to import it, so you'll need to install it. Copy or link it into
your Products directory.

Mike.

--
Mike Pelletier email: mike@digicool.com
Mild mannered software developer icq: 7127228
by day, super villain by night. phone: 519-884-2434
Re: [Zope-PTK] PTKDemo (Broken Product PTKDemo) [ In reply to ]
Thanks,

Although I should have guessed that the LoginManager directory had to be
installed in the Products directory like the others, the docs didn't mention
it. I'd be happy to supply updated README's which mentioned the LoginManager
install if it would help.

- Ian Sparks.


----- Original Message -----
Looks like you're shy a product. There's three products in the
ZopePTK CVS package: PTKBase, PTKDemo and LoginManager. While you don't
need to use the LoginManager in your portal, the PTKDemo code expects to
be able to import it, so you'll need to install it. Copy or link it into
your Products directory.