plone.reload "zcml" entry not commented in default buildout.cfg - Plone 3.3.1

3 messages Options
Embed this post
Permalink
francoise () plone.reload "zcml" entry not commented in default buildout.cfg - Plone 3.3.1
Reply Threaded More More options
Print post
Permalink
Hi,

This happened with Plone-3.3.1 installer on Debian Lenny

plone.reload "egg" entry is commented but not "zcml" entry

This produces an error (I just had to comment "zcml" entry to get rid of it) :

   ZopeXMLConfigurationError: File "/.../Plone-3.3.1/zinstance/parts/instance/etc/package-includes/001-plone.reload-configure.zcml", line 1.0-1.56
    ConfigurationError: ('Invalid value for', 'package', 'ImportError: Module plone has no global reload')

In Plone-3.3.1, should we activate plone.reload by default or deactivate it ?

Should plone.reload be activated on a production server ?

Regards
Steve McMahon () Re: plone.reload "zcml" entry not commented in default buildout.cfg - Plone 3.3.1
Reply Threaded More More options
Print post
Permalink
In general, you don't want to leave the "zcml" entry when the "egg" entry is removed (or commented out). That will cause the kind of error you received. Comment out or remove both if you want to remove the package from your buildout.

No, plone.reload should not be used on a production server. It's a development-only tool.



On Wed, Sep 16, 2009 at 5:37 AM, francoise <[hidden email]> wrote:

Hi,

This happened with Plone-3.3.1 installer on Debian Lenny

plone.reload "egg" entry is commented but not "zcml" entry

This produces an error (I just had to comment "zcml" entry to get rid of it)
:

  ZopeXMLConfigurationError: File
"/.../Plone-3.3.1/zinstance/parts/instance/etc/package-includes/001-plone.reload-configure.zcml",
line 1.0-1.56
   ConfigurationError: ('Invalid value for', 'package', 'ImportError:
Module plone has no global reload')

In Plone-3.3.1, should we activate plone.reload by default or deactivate it
?

Should plone.reload be activated on a production server ?

Regards
--
View this message in context: http://n2.nabble.com/plone-reload-zcml-entry-not-commented-in-default-buildout-cfg-Plone-3-3-1-tp3655819p3655819.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup


_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
francoise () Re: plone.reload "zcml" entry not commented in default buildout.cfg - Plone 3.3.1
Reply Threaded More More options
Print post
Permalink
Steve McMahon wrote:
In general, you don't want to leave the "zcml" entry when the "egg" entry is
removed (or commented out).
In the buildout.cfg generated by the Plone-3.3.1 UnifiedInstaller there was a  "zcml" entry for plone.reload but the "egg" entry was commented out, that surprised me and I wanted to report it.

Steve McMahon wrote:
No, plone.reload should not be used on a production server. It's a development-only tool.
Understood, thanks