Very good answer for another question :) I know the qpid python tools since
the begining but when trying to run the hello-world tools I got this error :
[mffre...@dekatonshir:~/work/QUEUERS/QPID/trunk/qpid/python]%echo
$PYTHONPATH
/home/mffrench/work/QUEUERS/QPID/trunk/qpid/python
[mffre...@dekatonshir:~/work/QUEUERS/QPID/trunk/qpid/python]%./hello-world
Traceback (most recent call last):
File "./hello-world", line 21, in <module>
from qpid.connection import Connection
File
"/home/mffrench/work/QUEUERS/QPID/trunk/qpid/python/qpid/__init__.py", line
20, in <module>
import spec, codec, connection, content, peer, delegate, client
File "/home/mffrench/work/QUEUERS/QPID/trunk/qpid/python/qpid/spec.py",
line 61, in <module>
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.5/site-packages/_xmlplus/sax/__init__.py", line 31,
in parse
parser.parse(filename_or_stream)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line
109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py", line
123, in parse
self.feed(buffer)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line
216, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line
396, in external_entity_ref
"")
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/saxutils.py", line
523, in prepare_input_source
f = urllib2.urlopen(source.getSystemId())
File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.5/urllib2.py", line 373, in open
protocol = req.get_type()
File "/usr/lib/python2.5/urllib2.py", line 244, 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
I'm working on Ubuntu 7.10 system. Do you have any idea what I can do to
make python tools working ?
Thanks for all
Gordon Sim wrote:
>
> ffrenchm wrote:
>> Is there any way to force the flow-to-disk option for all messages which
>> are
>> putted in this queue ?
>
> One option is to create the queue with specific policy details using the
> qpid-config tool.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:[email protected]
>
>
>
--
View this message in context:
http://n2.nabble.com/QPID-C%2B%2B-Broker-%2B-persistent-store-tp2372671p2373391.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]