[Zope] Re: [Zope-Annce] NeoBoard 1.1b has been released

george donnelly list@zettai.net
Tue, 17 Dec 2002 10:07:10 +0000


ok, here's the traceback:

Time    2002/12/17 07:01:23.243 US/Pacific
User Name (User Id)    Anonymous User (None)
Request URL    http://zettai.net/Forum2/index_html
Exception Type    KeyError
Exception Value    is_cmf

Traceback (innermost last):

*    Module ZPublisher.Publish, line 98, in publish
*    Module ZPublisher.mapply, line 88, in mapply
*    Module ZPublisher.Publish, line 39, in call_object
*    Module Products.NeoBoard.CMFNeoBoard, line 338, in __call__
*    Module Shared.DC.Scripts.Bindings, line 252, in __call__
*    Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
*    Module Products.CMFCore.FSPageTemplate, line 163, in _exec
*    Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
*    Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
*    Module Products.PageTemplates.PageTemplate, line 95, in pt_render
<FSPageTemplate at /clients/zettai/neoboard_main used for
/clients/zettai/Forum2>
*    Module TAL.TALInterpreter, line 186, in __call__
*    Module TAL.TALInterpreter, line 230, in interpret
*    Module TAL.TALInterpreter, line 689, in do_useMacro
*    Module TAL.TALInterpreter, line 230, in interpret
*    Module TAL.TALInterpreter, line 655, in do_condition
*    Module TAL.TALInterpreter, line 230, in interpret
*    Module TAL.TALInterpreter, line 712, in do_defineSlot
*    Module TAL.TALInterpreter, line 230, in interpret
*    Module TAL.TALInterpreter, line 400, in do_optTag_tal
*    Module TAL.TALInterpreter, line 385, in do_optTag
*    Module TAL.TALInterpreter, line 380, in no_tag
*    Module TAL.TALInterpreter, line 230, in interpret
*    Module TAL.TALInterpreter, line 396, in do_optTag_tal
*    Module Products.PageTemplates.TALES, line 217, in evaluate
URL: /clients/zettai/main_template
Line 35, Column 8
Expression: standard:'is_cmf'
Names:

{'container': <CMFSite instance at 9957750>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x871e1e4>,
 'here': <CMFNeoBoard at /clients/zettai/Forum2>,
 'loop': <SafeMapping instance at a7c91f8>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x8718174>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at a7c91f8>,
 'request': <HTTPRequest, URL=http://zettai.net/Forum2/index_html>,
 'root': <Application instance at 999e288>,
 'template': <FSPageTemplate at /clients/zettai/neoboard_main used for
/clients/zettai/Forum2>,
 'traverse_subpath': [],
 'user': Anonymous User}
*    Module Products.PageTemplates.Expressions, line 206, in __call__
*    Module Products.PageTemplates.Expressions, line 194, in _eval
*    Module Products.PageTemplates.Expressions, line 146, in _eval
__traceback_info__: is_cmf

KeyError: is_cmf




-------

there is no traceback (I'm running 2.6.0 and the stock zpt skins from cmf
1.3).

here is the url: http://www.zettai.net/Forum2/

Can you tell me how to manually enable this in the meantime?

<-->
george donnelly - http://zettai.net/ - "We Love Newbies" :)
Zope Hosting - Dynamic Website Design - Search Engine Promotion
Yahoo, AIM: zettainet - ICQ: 51907738 - e:george@zettai.net

> From: "Wankyu Choi" <wankyu@neoqst.com>
> Date: Tue, 17 Dec 2002 23:21:16 +0900
> To: <zope@zope.org>
> Subject: RE: [Zope] Re: [Zope-Annce] NeoBoard 1.1b has been released
> 
> Mind telling me which skin causes that error?
> 
> Or just send me the traceback.
> 
> -----Original Message-----
> From: george donnelly [mailto:list@zettai.net]
> Sent: Tuesday, December 17, 2002 5:59 PM
> To: Wankyu Choi; zope@zope.org
> Subject: Re: [Zope] Re: [Zope-Annce] NeoBoard 1.1b has been released
> 
> 
> hi, i'm pretty sure i followed the install instructions from
> INSTALL.txt...
> 
> 
> Installing NeoBoard
> 
> o First, make sure you installed NeoPortal Library
> 
> -Did this 
> 
> o Untar the package to YOUR_ZOPE_HOME/lib/python/Products
> 
> -I installed it in my INSTANCE_HOME
> 
> o The package directory should be called 'NeoBoard':
> YOUR_ZOPE_HOME/lib/python/Products/NeoBoard
> 
> I changed the id of the directory to NeoBoard. The Product loads fine
> and is not broken.
> 
> o Restart Zope.
> 
> o Zope's ZMI should be displaying the following two products:
> 
> - NeoBoard
> 
> - NeoBoard Skin Folder
> 
> o Add 'NeoBoard Skin Folder' first.
> 
> o Add 'NeoBoard'. 'NeoBoard Skin Folder' must be reachable by
> 'NeoBoard'.
> 
> o Done.
> 
> Right got all that
> 
> Installing CMFNeoBoard in CMF or Plone site
> 
> o Add an external method with the following attributes:
> 
> - Id : doesn't matter (neoboard_installer, for example)
> 
> - Title: doesn't matter either
> 
> - Module Name: NeoBoard.Install (note it's NeoBoard not
> CMFNeoBoard)
> 
> - Function Name: install
> 
> o Click on the 'Test' tab of the added external method
> 
> Did this and it added the skin and content Type, actions, etc.
> 
> 
> Note that CMFNeoBoard is addable either thru ZMI or CMF/Plone
> interface.
> 
> I added the CMfNeoBoard instance in question through the CMF interface.
> 
> Is there something I missed?
> 
> OK, I'm adding NeoBoard to a fresh, stock CMF site on the same Zope
> instance.
> 
> Ran External Method
> 
> 
> Registered CMFNeoBoard with the types tool...
> Added 'neoboard_skins' directory views to portal_skins
> Added NeoBoard Skins to Basic skins
> Added NeoBoard Skins to No CSS skins
> Added NeoBoard Skins to Nouvelle skins
> Added NeoBoard article actions to the actions tool
> 
> 
> adding the CMFNeoBoard and i get the same error
> 
> Error Type: KeyError
> Error Value: is_cmf
> 
> 
> Will manually setting the property via the ZMI on the root of the
> Neoboard instance fix this? What should it be set to? What type of
> property should it be?
> 
> <-->
> george donnelly - http://zettai.net/ - "We Love Newbies" :) Zope Hosting
> - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet
> - ICQ: 51907738 - e:george@zettai.net
> 
>> From: "Wankyu Choi" <wankyu@neoqst.com>
>> Date: Tue, 17 Dec 2002 12:32:10 +0900
>> To: <zope@zope.org>
>> Subject: RE: [Zope] Re: [Zope-Annce] NeoBoard 1.1b has been released
>> 
>> Take a look at the neoboard_header.pt.
>> 
>> is_cmf is the global variable telling if CMF is installed, that is, if
> 
>> NeoBoard is being used as  a CMF product.
>> 
>> Make sure you followed the install instructions word by word. You
>> should get a key error for 'neoboard' if something went wrong, since
>> that's the first global variable, not 'is_cmf':
>> 
>> <div tal:omit-tag=""
>> metal:define-macro="neoboard_global_definition_header"
>> tal:define="dummy python: here.checkNeoBoardStatus();
>> global neoboard python: here.getNeoBoard();
>> global is_cmf python: hasattr(neoboard, 'portal_url');
>> global is_plone python: hasattr(neoboard,
>> 'plone_utils');
>> 
>> Anyone getting the same error?  I can't reproduce that error.
>> 
>> Regards,
>> Wankyu Choi
>> 
>> ---------------------------------------------------------------
>> To the dedicated staff at NeoQuest, language is not a problem to be
>> dealt with, but an art waiting to be performed.
>> ---------------------------------------------------------------
>> Wankyou Choi
>> CEO/President
>> NeoQuest Communications, Inc.
>> 3rd Floor, HMC Bldg., 730-14, Yoksam-dong, Kangnam-gu
>> Seoul, Korea
>> Tel: 82-2 - 501 - 7124 Fax: 82-2-501-7058
>> Corporate Home: http://www.neoqst.com
>> Personal  Home: http://www.zoper.net, http://www.neoboard.net
>> e-mail:   wankyu@neoqst.com
>> ---------------------------------------------------------------
>> 
>> -----Original Message-----
>> From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
>> george donnelly
>> Sent: Tuesday, December 17, 2002 4:41 AM
>> To: Wankyu Choi; zope@zope.org
>> Subject: [Zope] Re: [Zope-Annce] NeoBoard 1.1b has been released
>> 
>> 
>> hi, what is the is_cmf variable?
>> 
>> I followed all the install instructions and when i added a neoboard
>> via the CMF interface i got a key error on this variable. In fact all
>> the actions links give me this error.
>> 
>> Running Zope 2.6.0, CMF 1.3. This is in a CMF 1.3 site, w/out Plone.
>> 
>> thanks for any hints on how to resolve this. :)
>> 
>> <-->
>> george donnelly - http://zettai.net/ - "We Love Newbies" :) Zope
>> Hosting
>> - Dynamic Website Design - Search Engine Promotion Yahoo, AIM:
> zettainet
>> - ICQ: 51907738 - e:george@zettai.net
>> 
>>> From: "Wankyu Choi" <wankyu@neoqst.com>
>>> Date: Sun, 15 Dec 2002 10:13:15 +0900
>>> To: <zope-announce@zope.org>
>>> Subject: [Zope-Annce] NeoBoard 1.1b has been released
>>> 
>>> I'm pleased to announce that NeoBoard 1.1b has been released.
>> 
>> 
>> _______________________________________________
>> Zope maillist  -  Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>> 
>> 
>> _______________________________________________
>> Zope maillist  -  Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>