Hi,

further to the discussion last month I'm about to provide a patch which will support ReST for Document.py plus a revised document_edit_template.pt

I don't know how to support the Zope3 stuff - the patch and test were done using CMF 2.0. I'm currently trying to set up a CMF 2.1 environment but I'm running into problems

2007-06-11 17:34:01 INFO ZServer HTTP server started at Mon Jun 11 17:34:01 2007
        Hostname: 0.0.0.0
        Port: 9080
2007-06-11 17:34:02 ERROR Application Could not import Products.CMFActionIcons
Traceback (most recent call last):
File "/opt/Zope-2.10/lib/python/OFS/Application.py", line 703, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
File "/Users/charlieclark/Sites/cmf/Products/CMFActionIcons/ __init__.py", line 20, in ?
    from Products.CMFCore.utils import ToolInit
File "/Users/charlieclark/Sites/cmf/Products/CMFCore/__init__.py", line 34, in ?
    import FSPageTemplate
File "/Users/charlieclark/Sites/cmf/Products/CMFCore/ FSPageTemplate.py", line 39, in ? from Products.PageTemplates.utils import encodingFromXMLPreamble, charsetFromMetaEquiv
ImportError: No module named utils
Traceback (most recent call last):
  File "/opt/Zope-2.10/lib/python/Zope2/Startup/run.py", line 56, in ?
    run()
File "/opt/Zope-2.10/lib/python/Zope2/Startup/run.py", line 21, in run
    starter.prepare()
File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line 102, in prepare
    self.startZope()
File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line 278, in startZope
    Zope2.startup()
File "/opt/Zope-2.10/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
File "/opt/Zope-2.10/lib/python/Zope2/App/startup.py", line 45, in startup
    OFS.Application.import_products()
File "/opt/Zope-2.10/lib/python/OFS/Application.py", line 680, in import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
File "/opt/Zope-2.10/lib/python/OFS/Application.py", line 703, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
File "/Users/charlieclark/Sites/cmf/Products/CMFActionIcons/ __init__.py", line 20, in ?
    from Products.CMFCore.utils import ToolInit
File "/Users/charlieclark/Sites/cmf/Products/CMFCore/__init__.py", line 34, in ?
    import FSPageTemplate
File "/Users/charlieclark/Sites/cmf/Products/CMFCore/ FSPageTemplate.py", line 39, in ? from Products.PageTemplates.utils import encodingFromXMLPreamble, charsetFromMetaEquiv
ImportError: No module named utils

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to