[Zope] cannot import html_quote?

Florent Guillaume fg@nuxeo.com
14 Dec 2001 09:47:25 GMT


In WarpFramework/html_widgets.py try to change the 
    from ZPublisher.HTTPRequest import html_quote
into
    from DocumentTemplate.DT_Util import html_quote


Florent


Lucas Vogel  <lucas7@home.com> wrote:
> I am getting broken products from the Zope website that seem to be breaking 
> because they cannot import html_quote. For example, from BookmarkFolder I get 
> this:
> <snip>
> Traceback (most recent call last):
>   File "/usr/local/zope/243/lib/python/OFS/Application.py", line 563, in 
> import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File "/usr/local/zope/243/lib/python/Products/BookmarkFolder/__init__.py", 
> line 35, in ?
>     import bookmark_folder
>   File 
> "/usr/local/zope/243/lib/python/Products/BookmarkFolder/bookmark_folder.py", 
> line 36, in ?
>     from Products.WarpFramework import product_base_item, base_item
>   File 
> "/usr/local/zope/243/lib/python/Products/WarpFramework/product_base_item.py", 
> line 30, in ?
>     import utils
>   File "/usr/local/zope/243/lib/python/Products/WarpFramework/utils.py", line 
> 37, in ?
>     import html_widgets
>   File 
> "/usr/local/zope/243/lib/python/Products/WarpFramework/html_widgets.py", line 
> 27, in ?
>     from ZPublisher.HTTPRequest import html_quote
> ImportError: cannot import name html_quote
> 
> </snip>
> 
> How do I resolve this?
> 
> Thanks,
> Lucas Vogel
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com