|
From: Armin Stroß-R. <dev...@ac...> - 2011-07-30 17:38:25
|
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 Here my error using 1.0b5 (Left in the message to publish it for others googling for it!) using extends = ... http://good-py.appspot.com/release/plone.app.theming/1.0b5 ... I got "AttributeError: 'tuple' object has no attribute 'onCreated'" 2011-07-30 16:13:32 ERROR Zope.SiteErrorLog 1312035212.530.0615963390887 http://******...*****/@@theming- controlpanel 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 159, in update AttributeError: 'tuple' object has no attribute 'onCreated' Going on checking docs... Armin -- Armin Carl Stroß-Radschinski, Dipl. Designer acsr industrialdesign, Landgrafenstraße 32, 53842 Troisdorf, Germany Telefon +49 (0) 22 41 / 94 69 94, FAX +49 (0) 22 41 / 94 69 96 eMail a.s...@ac... - http://www.acsr.de UST. ID Nr: DE154092803 (EU VAT ID) |