|
From: Laurence R. <l...@lr...> - 2011-07-30 19:42:26
|
On 30 July 2011 18:25, Armin Stroß-Radschinski <dev...@ac...> wrote: > When doing a curiosity import of zipped themes into a vanilla Plone > 4.1 Diazo import dialog for documentation purposes I got the following > error "AttributeError: doctype" (current not found via Google) > > I used official downloadable themes from Plone.org for testing as (as > Zip Downloads): > plonetheme.evergreen > plonetheme.darkened > plonetheme.discovery > plonetheme.burned > plonetheme.bananaleaf > plonetheme.leavesdew > > My Configuration: > > Plone: > • Plone 4109 > • CMF 2.2.4 > • Zope 2.13.8 > • Python 2.6.7 (r267:88850, Jul 29 2011, 10:54:55) [GCC 4.2.4 (Ubuntu > 4.2.4-1ubuntu4)] > > plone.app.theming > • plone.app.theming 1.0b5 > • Diazo theme support 1.0b5 > • Static resource storage 1.0b4 > > extends = > ... > http://good-py.appspot.com/release/plone.app.theming/1.0b8 > ... > > I could import themes without activating "Immediately enable new theme" > When selecting a theme in "Basic settings" with or without "Enable > theme" > I got: > Traceback (innermost last): > > Module ZPublisher.Publish, line 126, in publish > Module ZPublisher.mapply, line 77, in mapply > Module ZPublisher.Publish, line 46, in call_object > Module plone.app.theming.browser.controlpanel, line 35, in __call__ > Module plone.app.theming.browser.controlpanel, line 68, in update > Module plone.app.theming.utils, line 431, in applyTheme > Module plone.registry.recordsproxy, line 43, in __setattr__ > > AttributeError: doctype This sounds like you upgraded the version of plone.app.theming but did not run the migration step on the site. Go to the Add-ons control panel and click upgrade next to plone.app.theming. Laurence |