Re: some try-ark suggestions
Jonathan Hogg <[email protected]> Sat, 9 Jun 2001 23:14:26 +0100
| Newsgroups | gmane.comp.sysutils.ark.devel |
|---|---|
| Message-ID | <[email protected]> |
On 9/6/01 20:58, [email protected] wrote: >In fact, my installed PyXML is a (much) later version than what Will >gave as the requirement ("we've used versions 0.5.5.1 and 0.6.2+"). > >[berto@localhost berto]$ rpm -q PyXML >PyXML-0.6.5-1 Hmmm. I started my system with (RedHat 6.2): $ rpm -q python PyXML python-1.5.2-13 PyXML-0.6.5-1 Then bootstrapped with ARK to: $ ls python*.xml PyXML*.xml PyXML--0.6.5.xml python--2.1.xml Here's what I get: $ python Python 2.1 (#3, May 27 2001, 14:54:04) >>> import xml.dom.core Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named core >>> Interesting... Took a look at the code and I see: try: # this ought to be Python 2.0 with PyXML 0.6.1 or # thereabouts. import xml.dom.ext.reader.Sax [...] except ImportError: # this is probably something like Python 1.5.2/1.6 # with PyXML 0.5.5.1. Or *something*. import xml.dom.core [...] If I try: $ python Python 2.1 (#3, May 27 2001, 14:54:04) >>> import xml.dom.ext.reader.Sax >>> No problem. Similarly: $ /usr/bin/python Python 1.5.2 (#1, Feb 1 2000, 16:32:16) >>> import xml.dom.ext.reader.Sax >>> So I can only guess that something is weird with your installation where it looks like an old PyXML, even though it's a new one. Can you try the above and report back what you get. Also: >>> import xml >>> xml.version_info (0, 6, 5) >>> and of course, which version of Python you're using. Later, [email protected] wrote: >Ugh. Not good. You mean to say that in addition to keeping abreast of >Arusha-specific bugs and problems, I also have to worry about Python-PyXML >interactions and version incompatibilities? (I trust the Mandrake folks >to do this right. Not having to deal with these issues is one of the >reasons I don't roll my own Linux distro and instead rely on perhaps the >most user friendly Linux distribution on the market today.) > >I think The Project should shy away from using the latest and greatest--but >not yet stabilized--Python and PyXML stuff, and base development on stuff >that's been around for a while and has withstood the test of time. I'm not sure it's the "latest and greatest" that's the problem, I think it's all the ones in between. Unfortunately, Python and PyXML have been through some revisions and we've not tried all of them together. I understand your frustrations and we do appreciate your criticism. I think one of the problems at the moment is that the only people using Arusha are Arusha-users ;-) It's a FAQ-chicken-and-egg thing. I'm sure this is some curious incompatibility that we can iron out. :-j -- jonathan hogg, one good idea ltd, 131 queen margaret dr., glasgow g20 8pd http://www.onegoodidea.com/ tel:+44-(0)7976-614338 fax:+44-(0)7970-537451