[Zope-CMF] cmf & wikis & plone, oh my!

alan runyan alan runyan" <runyaga@runyaga.com
Tue, 7 May 2002 14:09:43 -0500


you should be able to use normal Wiki's skin w/ latest CMFPlone
give it a go.  dont use the 3rd_party stuff.. *yet*
try it w/ the stock Wiki skins


----- Original Message -----
From: <larry_prikockis@natureserve.org>
To: <zope-cmf@zope.org>
Sent: Tuesday, May 07, 2002 11:24 AM
Subject: [Zope-CMF] cmf & wikis & plone, oh my!


> ok... I'm running Zope 2.5.1, CMF1.3b and a more or less up-to-the-minute
> Plone out of CVS...
>
> For some reason, I seem to be having wiki nightmares... I've gotten a
> CMFWiki up and running inside of a plone portal, using the
plone_3rdpary/etc
> skins and it *mostly* looks and acts as it should.
>
> The problem that's bugging me comes when I click on the 'help' link that's
> part of the default FrontPage.  This *should* just bring up the WikiHelp
stx
> document that's part of the skin.  Instead, I get the following:
>
> <P><STRONG>TALESError</STRONG></P>
>
>   Sorry, a site error occurred.<p>
> <!--
> Traceback (innermost last):
>   File /zope/Zope/lib/python/ZPublisher/Publish.py, line 150, in
> publish_module
>   File /zope/Zope/lib/python/ZPublisher/Publish.py, line 114, in publish
>   File /zope/Zope/lib/python/Zope/__init__.py, line 159, in
> zpublisher_exception_hook
>     (Object: wiki)
>   File /zope/Zope/lib/python/ZPublisher/Publish.py, line 98, in publish
>   File /zope/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/mapply.py, line
88,
> in mapply
>     (Object: WikiHelp)
>   File /zope/Zope/lib/python/ZPublisher/Publish.py, line 39, in
call_object
>     (Object: WikiHelp)
>   File /zope/Zope/lib/python/Products/CMFCore/FSSTXMethod.py, line 122, in
> __call__
>     (Object: WikiHelp)
>   File /zope/Zope/lib/python/Products/CMFCore/FSSTXMethod.py, line 137, in
> _render
>     (Object: WikiHelp)
>   File
/zope/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
> line 252, in __call__
>     (Object: stxmethod_view)
>   File
/zope/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.py,
> line 283, in _bindAndExec
>     (Object: stxmethod_view)
>   File /zope/Zope/lib/python/Products/PageTemplates/ZopePageTemplate.py,
> line 210, in _exec
>     (Object: stxmethod_view)
>   File /zope/Zope/lib/python/Products/CMFCore/FSPageTemplate.py, line 124,
> in pt_render
>     (Object: stxmethod_view)
>   File /zope/Zope/lib/python/Products/PageTemplates/PageTemplate.py, line
> 86, in pt_render
>     (Object: stxmethod_view)
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 158, in __call__
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 191, in interpret
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 523, in
do_useMacro
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 191, in interpret
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 547, in
> do_defineSlot
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 191, in interpret
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 523, in
do_useMacro
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 191, in interpret
>   File /zope/Zope/lib/python/TAL/TALInterpreter.py, line 402, in
> do_setLocal_tal
>   File /zope/Zope/lib/python/Products/PageTemplates/TALES.py, line 247, in
> evaluate
>   File
>
/zope/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/ZRPythonExpr.p
> y, line 49, in __call__
>     (Info: test(hereTypeInfo, hereTypeInfo.getActionById('view'), ''))
>   File Python expression &quot;test(hereTypeInfo,
> hereTypeInfo.getActionById('view'), '')&quot;, line 2, in f
>   File /zope/Zope-2.5.0-linux2-x86/lib/python/AccessControl/ZopeGuards.py,
> line 47, in guarded_getattr
> TALESError: exceptions.AttributeError on 'None' object has no attribute
> 'getActionById' in &quot;&lt;PythonExpr test(hereTypeInfo,
> hereTypeInfo.getActionById('view'), '')&gt;&quot;, at line 77, column 29
>
>
> Any idea what's broken here?   If it were just the built in WikiDocs that
> gave this error, I could live with it, but this sort of problem with
> rendering seemingly ok documents has come up in other, more subtle places
as
> well so I'd like to get to the bottom of it.
>
> btw, if I create a plain-vanilla CMF portal on the same system, the wiki's
> work just fine.  The issue seems to be related to the Plone skin (or at
> least my use of it :-(
>
> thanks for any light anyone can shed on this...
>
> +
> Larry J. Prikockis
> Internet Systems Specialist, NatureServe
> Voice:703-908-1833 / Fax:703-908-1917 /
> Email:larry_prikockis@natureserve.org
> www.natureserve.org
> +
> All programmers are optimists. Perhaps this modern sorcery especially
> attracts those who believe in happy endings and fairy godmothers. Perhaps
> the hundreds of nitty frustrations drive away all but those who habitually
> focus on the end goal. Perhaps it is merely that computers are young,
> programmers are younger, and the young are always optimists. But however
the
> selection process works, the result is indisputable: "This time it will
> surely run," or "I just found the last bug."
> -- Frederick P. Brooks, Jr., The Mythical Man Month
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests
>