I have Products that I've tried installing that fail because they can't seem to import html_quote from somewhere. Any help on how to fix this would be appreciated. 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
html_quote is now in lib/python/DocumentTemplate/html_quote.py. I think it has been removed from HTTPRequest with Zope 2.4.0. Andreas ----- Original Message ----- From: "Lucas Vogel" <lvogel@cx229913-e.phnx3.az.home.com> To: <zope@zope.org> Sent: Saturday, December 15, 2001 18:05 Subject: [Zope] html_quote
I have Products that I've tried installing that fail because they can't seem to import html_quote from somewhere. Any help on how to fix this would be appreciated.
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
_______________________________________________ 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 )
well, I found it here: from DocumentTemplate.DT_Util import html_quote Which seemed a bit odd, but that's what came up when I did a search. *********** REPLY SEPARATOR *********** On 12/15/01 at 4:05 PM Lucas Vogel wrote:
I have Products that I've tried installing that fail because they can't seem to import html_quote from somewhere. Any help on how to fix this would be appreciated.
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_fo lder.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
_______________________________________________ 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 )
Most current information can be found at: http://www.mindview.net/Etc/notes.html =================== Bruce Eckel http://www.BruceEckel.com Contains free electronic books: "Thinking in Java 2e" & "Thinking in C++ 2e" Please subscribe to my free newsletter -- just send any email to: join-eckel-oo-programming@earth.lyris.net My schedule can be found at: http://www.mindview.net/Calendar ===================
participants (3)
-
Andreas Jung -
Bruce Eckel -
Lucas Vogel