> I am working with megrok.layout and am wondering why the
> megrok.layout.components.Form class has the following template:
> Where the AddForm, EditForm and DisplayForm have templates where the
> html/head has been stripped out of:
> template = default_form_template
> Is this a typo or someone forgot to copy the template directive along?
> I am getting duplicate html/head in my pages using the Form component.
> Hi list,
> the Dolmen test is missing a PIL module in the Python-2.7 virtual env.
> I think I already had this problem with an early Python version.
> dolmenproject was installed in a virtual environment that didn't have
> Ubuntu Lucid Lynx.
> (grok-env)aroldo@aroldo-laptop:~/tmp/python/grok-env$ echo $VIRTUAL_ENV
> (grok-env)aroldo@aroldo-laptop:~/tmp/python/grok-env/ which dolmenproject
> (grok-env)aroldo@aroldo-laptop:~/tmp/python/grok-env/MyDolmen$ bin/test
> ZopeXMLConfigurationError: File
> line 9.2-9.27
> ImportError: No module named PIL
> Tests with errors:
> Layer:<zope.fanstatic.testing.ZopeFanstaticBrowserLayer object at
> Total: 1 tests, 0 failures, 1 errors in 0.681 seconds.
It seems buildout can't get PIL package.
"pip install PIL" in your virtualenv would fix it.