On Sep 19, 2007 10:51 AM, Viktor Fuglík <[EMAIL PROTECTED]> wrote:
> Hello everybody,
> I would like migrate to Plone 3.0.1, but when was used offical released
> version 0.982b with initial Plone 3 support (wroted in changelog), I was got
> next error, which is below. With newest nightly version from
> http://coreblog.org/junk_l/COREBlog2_nightly.tgz is situation same.
>
> My second question is, if exist some public SVN repository?
>
> We are very happy with using COREBlog 2 at Plone 2.5.3, but we would like
> using Plone 3 too. Exist some road map or prospects to new offical release.
>
> Thanks Viktor
>
> Exception traceback
>
> Time  2007/09/18 11:58:36.171 GMT+2
> User Name (User Id)  admin (admin)
> Request URL
> http://localhost/coreblog2/portal_factory/COREBlogEntry/coreblogentry.2007-09-18.5155620995/cbentry_edit
> Exception Type  AttributeError
> Exception Value  allow_discussion
>
> Traceback (innermost last):
>
>     * Module ZPublisher.Publish, line 119, in publish
>     * Module ZPublisher.mapply, line 88, in mapply
>     * Module ZPublisher.Publish, line 42, in call_object
>     * Module Products.CMFPlone.FactoryTool, line 368, in __call__
>     * Module Products.CMFPlone.FactoryTool, line 152, in __getitem__
>     * Module Products.CMFPlone.PloneFolder, line 348, in invokeFactory
>     * Module Products.CMFCore.TypesTool, line 716, in constructContent
>     * Module Products.CMFCore.TypesTool, line 276, in constructInstance
>     * Module Products.CMFCore.TypesTool, line 450, in _constructInstance
>     * Module Products.COREBlog2.content.coreblogentry, line 9, in
> addCOREBlogEntry
>     * Module Products.COREBlog2.content.coreblogentry, line 367, in
> initializeArchetype
>     * Module Products.ATContentTypes.content.base, line 134, in
> initializeArchetype
>     * Module Products.Archetypes.BaseObject, line 443, in setDefaults
>     * Module Products.Archetypes.Schema, line 497, in setDefaults
>     * Module Products.Archetypes.utils, line 160, in mapply
>     * Module Products.Archetypes.ExtensibleMetadata, line 277, in
> allowDiscussion
>     * Module Products.CMFDefault.DiscussionTool, line 82, in
> overrideDiscussionFor
>
> AttributeError: allow_discussion
>

I think I have COREBlog2 good enough to go into production on 3.0.4.
Here's what I did, starting with 9.82b:

edit Extensions/Install.py

and comment this line:

#from Products.CMFDynamicViewFTI.migrate import migrateFTIs

remove this line from  content/coreblogentry.py

 #allow_discussion = False


I was also getting a TAL error that is apparently due to a zope bug.
It involved editing zope 2.10.4's lib/python/zope/tal/talinterpreter.py
line 784:

gen = AltTALGenerator(repldict, self.engine, 0)

to:

gen = AltTALGenerator(repldict, self.engine._engine, 0)

Then, use the portlet migration tool.  I added a couple of 'classic'
portlets before I noticed the automatic upgrade link ;).

The only thing that seems to be not working is the link for the
comments on the entry view.  It generates this error:

Request URL     
http://www.wikidsystems.com:8090/import/com/WiKIDBlog/test-yet-again/cbentry_comments
Exception Type  TraversalError
Exception Value         ({}, 'folder_listing')

But that is not a show-stopper for me.

HTH,

Nick


-- 
Nick Owen
WiKID Systems, Inc.
404.962.8983
http://www.wikidsystems.com
Commercial/Open Source Two-Factor Authentication
_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to