Re: Theming control panel crash in 5.0a2

dieter <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Norman Fournier <norman-1jZL4mT5wAAE/[email protected]> writes:
> ...
> The Theming Control Panel fails to load with the following error in Plone 5.0a2 on Centos 6.5. I uninstalled and reinstalled the Diazo product using quickinstaller. That corrected one styling problem where the main content slid under the left hand navigation bar. But the Theming Control Panel still returned this error. Any pointers would be appreciated.
> ...
> Traceback (innermost last):
> ...
>   Module a8416b682498838c0c35f59c9472d4e283b9d4a1.py, line 2996, in __fill_main
>   Module plone.app.controlpanel.skins, line 141, in get_use_popups
> AttributeError: 'NoneType' object has no attribute 'getEnabled'

"get_use_popups" searches for "popupforms.js" in "portal_javascript"
and "++resource++plone.app.jquerytools.overlays.css" in "portal_css".
One of them is missing - resulting in the observed exception.
Look at line 141 above, to find out precisely, what is missing
(I have looked at an old version - things may be different in the
version you are using).

I consider this a weakness of "plone.app.controlpanel": it should not
assume the existence of those resources.

That the resources do not exist may indicate a version
incompatibility between "plone.app.controlpanels" and the content
of the resource registries. A wrong content version might
be due to a missed migration or some bug in a migration step.


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.