[Zope-PTK] Adding stuff to a portal

Bill Anderson bill.anderson@libc.org
Thu, 10 Feb 2000 20:55:20 -0700


OK, have the latest CVS of the PTK, works fine, with a few caveats.

o I can't add any additional folders (og PTK or standard variety),
ZDiscussions, etc. I have succesfully and effortlessly put a
KnowledgeBas ein, but everything else I try returns the following
traceback.

o Member pages (ZODB) have to have an extra index_html tacked on to
them, or suffer an attribute error for __call__.

This latter would not be an issue in at least two of my sites, where I
removed the ability to have the userfolder accessible. :)

=============================
<TD WIDTH="90%">
  <H2>Something went wrong!</H2>
  <P>I have encountered an error while publishing this resource.
  </P>
  
  <P>
  <STRONG>Error Type: AttributeError</STRONG><BR>
  <STRONG>Error Value: getPortal</STRONG><BR> 
  </P>
 
  <HR NOSHADE>
 
  <P>Troubleshooting Suggestions</P>

  <UL>
    <LI>The URL may be incorrect.</LI>

[...]

</body>
</html>
<!--
Traceback (innermost last):
  File /home/web/www.libc.org/lib/python/ZPublisher/Publish.py, line
214, in publish_module
  File /home/web/www.libc.org/lib/python/ZPublisher/Publish.py, line
179, in publish
  File /home/web/www.libc.org/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /home/web/www.libc.org/lib/python/ZPublisher/Publish.py, line
165, in publish
  File /home/web/www.libc.org/lib/python/ZPublisher/mapply.py, line 160,
in mapply
    (Object: index_html)
  File /home/web/www.libc.org/lib/python/ZPublisher/Publish.py, line
102, in call_object
    (Object: index_html)
  File /home/web/www.libc.org/lib/python/OFS/DTMLDocument.py, line 166,
in __call__
    (Object: index_html)
  File /home/web/www.libc.org/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: index_html)
  File /home/web/www.libc.org/lib/python/OFS/DTMLMethod.py, line 141, in
__call__
    (Object: standard_html_header)
  File /home/web/www.libc.org/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: standard_html_header)
  File /home/web/www.libc.org/lib/python/DocumentTemplate/DT_Util.py,
line 335, in eval
    (Object: getPortal().getToolbox(REQUEST)(this(),REQUEST))
    (Info: this)
  File <string>, line 0, in ?
  File /home/web/www.libc.org/lib/python/Products/PTKBase/Toolbox.py,
line 23, in __call__
AttributeError: (see above)
-->
===============



-- 
In flying I have learned that carelessness and overconfidence are 
usually far more dangerous than deliberately accepted risks. 
          -- Wilbur Wright in a letter to his father, September 1900