Hi all, Installed PyXML 0.6.3 from RPM, Python version is 1.5.2. Unpacked HiperDom 0.4.0 (DC version) into my Products folder and started Zope (v2.3.0 compiled from source). I get the following traceback: Traceback (innermost last): File "/usr/local/devel/zope/lib/python/OFS/Application.py", line 530, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/home/serva/Development/zope/lib/python/Products/HiperDom/__init__.py", line 3, in ? import HiperDomTemplate File "/home/serva/Development/zope/lib/python/Products/HiperDom/HiperDomTempl ate.py", line 17, in ? import HiperDomStrategies, DomWrapper, utils File "/home/serva/Development/zope/lib/python/Products/HiperDom/HiperDomStrat egies.py", line 3, in ? from xml.dom.Node import Node ImportError: No module named Node Any ideas? Am I missing some vital bit of documentation, a README or am I not the only one running into problems? Cya Jonathan
On Thursday 08 February 2001 17:36, Jonathan wrote:
Hi all,
Installed PyXML 0.6.3 from RPM, Python version is 1.5.2. Unpacked HiperDom 0.4.0 (DC version) into my Products folder and started Zope (v2.3.0 compiled from source). I get the following traceback:
i think it doesn't work with PyXML 0.6.3 try getting PyXML 0.6.2
_______________________________________________ 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 )
-- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Help me save me from myself...
Following Problem: I am using <bobobase_modification_time> in my standard_html_footer. It works fine if I am changing the index_html in which the standard_html_footer is included. But the index_html has also a variable "news"(dtml-method) included. If I am changing the news, the <bobobase_modification_time> doesn't change ;-(. So my Site changed, but not the modification time. Is there a way to solve this? thanks Damir
On Thu, Feb 08, 2001 at 10:36:40AM +0100, Jonathan wrote:
Hi all,
Installed PyXML 0.6.3 from RPM, Python version is 1.5.2. Unpacked HiperDom 0.4.0 (DC version) into my Products folder and started Zope (v2.3.0 compiled from source). I get the following traceback:
Traceback (innermost last): File "/usr/local/devel/zope/lib/python/OFS/Application.py", line 530, in import_products product=__import__(pname, global_dict, global_dict, silly) File
"/home/serva/Development/zope/lib/python/Products/HiperDom/__init__.py", line 3, in ? import HiperDomTemplate File
"/home/serva/Development/zope/lib/python/Products/HiperDom/HiperDomTempl ate.py", line 17, in ? import HiperDomStrategies, DomWrapper, utils File
"/home/serva/Development/zope/lib/python/Products/HiperDom/HiperDomStrat egies.py", line 3, in ? from xml.dom.Node import Node ImportError: No module named Node
Any ideas? Am I missing some vital bit of documentation, a README or am I not the only one running into problems?
I ported HiperDom to PyXML 0.6.2 that had some big problems with the parser. Some of the issues were addressed in 0.6.3, but some changes to 0.6.3 indeed breaks HiperDom. I believe Lalo states in the README you can use PyXML 0.6.x, which is a bug in the documentation. There will be a ParsedXML based HiperDom out in about 2 weeks (pending the release of ParsedXML), so I won't be fixing these issues. In the meantime, you'll have to switch back to PyXML 0.6.2, or fix it yourself.. The above traceback can be fixed by changing 'from xml.dom.Node import Node' to 'from xml.dom import Node'. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------
There will be a ParsedXML based HiperDom out in about 2 weeks (pending the release of ParsedXML), so I won't be fixing these issues. In the meantime, you'll have to switch back to PyXML 0.6.2, or fix it yourself..
The above traceback can be fixed by changing 'from xml.dom.Node import Node' to 'from xml.dom import Node'.
I'll wait until the ParsedXML based version is available, I've got lots more to explore :) BTW, the HiperDom Wiki mentions CVS versions, is there a public CVS repository available for HiperDom? Thnx! Jonathan
On Fri, Feb 09, 2001 at 04:38:14PM +0100, Jonathan (Listserv Account) wrote:
There will be a ParsedXML based HiperDom out in about 2 weeks (pending the release of ParsedXML), so I won't be fixing these issues. In the meantime, you'll have to switch back to PyXML 0.6.2, or fix it yourself..
The above traceback can be fixed by changing 'from xml.dom.Node import Node' to 'from xml.dom import Node'.
I'll wait until the ParsedXML based version is available, I've got lots more to explore :) BTW, the HiperDom Wiki mentions CVS versions, is there a public CVS repository available for HiperDom?
Hiperlogica has not made that CVS repository public. -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------
participants (5)
-
Bak@kedai -
Damir Bartakovic -
Jonathan -
Jonathan (Listserv Account) -
Martijn Pieters