I previously tested with python 2.4 and I've the same problem without
your patch:
[mffre...@dekatonshir:~/work/QUEUERS/QPID/trunk/qpid/python]%./hello-world
Traceback (most recent call last):
File "./hello-world", line 21, in ?
from qpid.connection import Connection
File
"/home/mffrench/work/QUEUERS/QPID/trunk/qpid/python/qpid/__init__.py",
line 20, in ?
import spec, codec, connection, content, peer, delegate, client
File
"/home/mffrench/work/QUEUERS/QPID/trunk/qpid/python/qpid/spec.py", line
61, in ?
SPEC = load(default())
File
"/home/mffrench/work/QUEUERS/QPID/trunk/qpid/python/qpid/spec.py", line
52, in load
doc = mllib.xml_parse(specfile)
File
"/home/mffrench/work/QUEUERS/QPID/trunk/qpid/python/mllib/__init__.py",
line 59, in xml_parse
xml.sax.parse(source, p)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/__init__.py", line
31, in parse
parser.parse(filename_or_stream)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",
line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",
line 216, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",
line 395, in external_entity_ref
self._source.getSystemId() or
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/saxutils.py", line
523, in prepare_input_source
f = urllib2.urlopen(source.getSystemId())
File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.4/urllib2.py", line 350, in open
protocol = req.get_type()
File "/usr/lib/python2.4/urllib2.py", line 233, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type:
/home/mffrench/work/QUEUERS/QPID/trunk/qpid/specs/amqp.0-10.dtd
Gordon Sim wrote:
ffrenchm wrote:
I have the same ...
[mffre...@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%grep version
/usr/lib/python2.5/site-packages/_xmlplus/__init__.py
version_info = (0,8,4)
__version__ = "0.8.4"
Ok, thanks for checking, must be something else then... Ted, Rafi, any
ideas? I'm on python 2.4 still, but I believe we have 2.5 users who
have not hit this issue previously?
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]