Mailing List Archive

[Zope-PTK] Problem adding member (was: DemoPortal still not working!)
Hi again,

I finally created the portal. Now, I'm trying to join as a new member,
and when I click on "Register", I get the following:

[... html removed...]

<STRONG>Error Type: AttributeError</STRONG><BR>
<STRONG>Error Value: addDocument</STRONG><BR>

[... html removed...]
<!--
Traceback (innermost last):
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 179, in publish
File /usr/lib/zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: DemoPortalBase)
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 165, in publish
File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: register)
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 102, in
call_object
(Object: register)
File /usr/lib/zope/lib/python/Products/PTKBase/PortalObject.py, line 80, in
register
(Object: DemoPortalBase)
File /usr/lib/zope/lib/python/Products/PTKDemo/Portal.py, line 169, in
register_hook
(Object: DemoPortalBase)
AttributeError: (see above)

-->

Except for that, it looks really cool!

Thanks for your help,

Stefan.


Mike Pelletier wrote:

> On Thu, 10 Feb 2000, Stefan Langerman wrote:
>
> > Hi,
> >
> > After reading a bunch of messages on this list, I 'cvs up'ed my PTK,
> > de-installed everything related to PTK on my zope, and re-installed
> > all the freshly updated ones (2/10/00 around 11pm EST).
> >
> > After clicking here and there, and restarting zope a few times, the
> > PortalWizard appeared with the cute little hat, but Help is still
> > broken. I the try to add a portal in my main directory.
>
> > Any ideas?
>
> Yep, this was my fault. When I unregistered PortalFolder, I forgot to
> change how the DemoPortal tried to instantiate them. I've checked in the
> fix. Thanks!
>
> Mike.
>
> --
> Mike Pelletier email: mike@digicool.com
> Mild mannered software developer icq: 7127228
> by day, super villain by night. phone: 519-884-2434