You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Gordon Sim <gs...@redhat.com> on 2009/02/23 19:12:37 UTC
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
ffrenchm wrote:
> 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 ?
I think you just need to checkout the specs folder under /trunk/qpid (or
at least amqp.0-10-qpid-errata.xml and amqp.0-10.dtd which contain the
0-10 spec).
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
Posted by "mffrench@axway.com" <mf...@axway.com>.
I previously tested with python 2.4 and I've the same problem without
your patch:
[mffrench@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 ...
>>
>> [mffrench@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:users-subscribe@qpid.apache.org
>
>
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
Posted by Gordon Sim <gs...@redhat.com>.
ffrenchm wrote:
> I have the same ...
>
> [mffrench@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:users-subscribe@qpid.apache.org
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
Posted by ffrenchm <ff...@gmail.com>.
I have the same ...
[mffrench@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"
Gordon Sim wrote:
>
> Gordon Sim wrote:
>> I'm guessing the version of your xml processing libraries is different
>> from those tested on, and the processing of the dtd is somehow different.
>
> What version of pyxml do you have? (grep version
> /usr/lib/python2.5/site-packages/_xmlplus/__init__.py)
>
> I have 0.8.4
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>
>
--
View this message in context: http://n2.nabble.com/QPID-C%2B%2B-Broker-%2B-persistent-store-tp2372671p2383332.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:users-subscribe@qpid.apache.org
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
Posted by Gordon Sim <gs...@redhat.com>.
Gordon Sim wrote:
> I'm guessing the version of your xml processing libraries is different
> from those tested on, and the processing of the dtd is somehow different.
What version of pyxml do you have? (grep version
/usr/lib/python2.5/site-packages/_xmlplus/__init__.py)
I have 0.8.4
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
Posted by ffrenchm <ff...@gmail.com>.
with your patch I can make work the hello_world successfully :)
Gordon Sim wrote:
>
> ffrenchm wrote:
>> I tested the packaged python client
>> (http://www.apache.org/dist/qpid/M4/qpid-python-M4.tar.gz) and I've the
>> same
>> problem (see bellow). Is there any python version prerequisites (mine is
>> 2.5).
>
> Sorry for the earlier incorrect diagnosis! As a temporary workaround you
> could try the attached patch to set the dtd to be a valid file:// url.
> I'm guessing the version of your xml processing libraries is different
> from those tested on, and the processing of the dtd is somehow different.
>
> Anyone have any insight as to what might be going on here? Can we turn
> off the loading of the dtd easily?
>
>>
>> [mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%echo $PYTHONPATH
>> /home/mffrench/work/QUEUERS/QPID/qpid-M4/python
>> [mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%ls
>> hello-world python specs
>> [mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%ls specs/
>> amqp.0-10.dtd amqp.0-10-qpid-errata.xml amqp.0-8.xml
>> amqp-dtx-preview.0-9.xml amqp-nogen.0-9.xml LICENSE
>> NOTICE
>> amqp.0-10-preview.xml amqp.0-10.xml amqp.0-9.xml
>> amqp-errata.0-9.xml cluster.0-8.xml management-schema.xml
>> [mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%./hello-world
>> Traceback (most recent call last):
>> File "./hello-world", line 36, in <module>
>> conn = Connection(connect(broker, port))
>> File
>> "/home/mffrench/work/QUEUERS/QPID/qpid-M4/python/qpid/connection.py",
>> line 69, in __init__
>> spec = load(default())
>> File "/home/mffrench/work/QUEUERS/QPID/qpid-M4/python/qpid/spec010.py",
>> line 679, in load
>> doc = mllib.xml_parse(xml)
>> File
>> "/home/mffrench/work/QUEUERS/QPID/qpid-M4/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/qpid-M4/specs/amqp.0-10.dtd
>>
>>
>>
>> ffrenchm wrote:
>>> hello,
>>>
>>> I already checkouted the specs folder under trunk/qpid :
>>> [mffrench@dekatonshir:~/work/QUEUERS/QPID/trunk/qpid]%ls -al
>>> /home/mffrench/work/QUEUERS/QPID/trunk/qpid/specs/
>>> total 1284
>>> drwxr-xr-x 3 mffrench mffrench 4096 2009-02-17 18:18 .
>>> drwxr-xr-x 15 mffrench mffrench 4096 2009-02-17 18:18 ..
>>> -rw-r--r-- 1 mffrench mffrench 9383 2009-02-17 18:18 amqp.0-10.dtd
>>> -rw-r--r-- 1 mffrench mffrench 280203 2009-02-17 18:18
>>> amqp.0-10-preview.xml
>>> -rw-r--r-- 1 mffrench mffrench 256524 2009-02-17 18:18
>>> amqp.0-10-qpid-errata.xml
>>> -rw-r--r-- 1 mffrench mffrench 256419 2009-02-17 18:18 amqp.0-10.xml
>>> -rw-r--r-- 1 mffrench mffrench 149480 2009-02-17 18:18 amqp.0-8.xml
>>> -rw-r--r-- 1 mffrench mffrench 214161 2009-02-17 18:18 amqp.0-9.xml
>>> -rw-r--r-- 1 mffrench mffrench 41935 2009-02-17 18:18
>>> amqp-dtx-preview.0-9.xml
>>> -rw-r--r-- 1 mffrench mffrench 1749 2009-02-17 18:18
>>> amqp-errata.0-9.xml
>>> -rw-r--r-- 1 mffrench mffrench 1420 2009-02-17 18:18
>>> amqp-nogen.0-9.xml
>>> -rw-r--r-- 1 mffrench mffrench 1764 2009-02-17 18:18 cluster.0-8.xml
>>> -rw-r--r-- 1 mffrench mffrench 18564 2009-02-17 18:18 LICENSE
>>> -rw-r--r-- 1 mffrench mffrench 18158 2009-02-17 18:18
>>> management-schema.xml
>>> -rw-r--r-- 1 mffrench mffrench 287 2009-02-17 18:18 NOTICE
>>> drwxr-xr-x 6 mffrench mffrench 4096 2009-02-23 13:16 .svn
>>>
>>> ++
>>>
>>>
>>>
>>> Gordon Sim wrote:
>>>> ffrenchm wrote:
>>>>> 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 ?
>>>> I think you just need to checkout the specs folder under /trunk/qpid
>>>> (or
>>>> at least amqp.0-10-qpid-errata.xml and amqp.0-10.dtd which contain the
>>>> 0-10 spec).
>>>>
>>>> ---------------------------------------------------------------------
>>>> Apache Qpid - AMQP Messaging Implementation
>>>> Project: http://qpid.apache.org
>>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>>
>>>>
>>>>
>>>
>>
>
>
> Index: specs/amqp.0-10-qpid-errata.xml
> ===================================================================
> --- specs/amqp.0-10-qpid-errata.xml (revision 747695)
> +++ specs/amqp.0-10-qpid-errata.xml (working copy)
> @@ -121,7 +121,7 @@
>
> -->
>
> -<!DOCTYPE amqp SYSTEM "amqp.0-10.dtd">
> +<!DOCTYPE amqp SYSTEM
> "file:///home/mffrench/work/QUEUERS/QPID/qpid-M4/specs/amqp.0-10.dtd">
>
> <amqp xmlns="http://www.amqp.org/schema/amqp.xsd"
> major="0" minor="10" port="5672">
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
--
View this message in context: http://n2.nabble.com/QPID-C%2B%2B-Broker-%2B-persistent-store-tp2372671p2383355.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:users-subscribe@qpid.apache.org
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
Posted by Gordon Sim <gs...@redhat.com>.
ffrenchm wrote:
> I tested the packaged python client
> (http://www.apache.org/dist/qpid/M4/qpid-python-M4.tar.gz) and I've the same
> problem (see bellow). Is there any python version prerequisites (mine is
> 2.5).
Sorry for the earlier incorrect diagnosis! As a temporary workaround you
could try the attached patch to set the dtd to be a valid file:// url.
I'm guessing the version of your xml processing libraries is different
from those tested on, and the processing of the dtd is somehow different.
Anyone have any insight as to what might be going on here? Can we turn
off the loading of the dtd easily?
>
> [mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%echo $PYTHONPATH
> /home/mffrench/work/QUEUERS/QPID/qpid-M4/python
> [mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%ls
> hello-world python specs
> [mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%ls specs/
> amqp.0-10.dtd amqp.0-10-qpid-errata.xml amqp.0-8.xml
> amqp-dtx-preview.0-9.xml amqp-nogen.0-9.xml LICENSE NOTICE
> amqp.0-10-preview.xml amqp.0-10.xml amqp.0-9.xml
> amqp-errata.0-9.xml cluster.0-8.xml management-schema.xml
> [mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%./hello-world
> Traceback (most recent call last):
> File "./hello-world", line 36, in <module>
> conn = Connection(connect(broker, port))
> File "/home/mffrench/work/QUEUERS/QPID/qpid-M4/python/qpid/connection.py",
> line 69, in __init__
> spec = load(default())
> File "/home/mffrench/work/QUEUERS/QPID/qpid-M4/python/qpid/spec010.py",
> line 679, in load
> doc = mllib.xml_parse(xml)
> File "/home/mffrench/work/QUEUERS/QPID/qpid-M4/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/qpid-M4/specs/amqp.0-10.dtd
>
>
>
> ffrenchm wrote:
>> hello,
>>
>> I already checkouted the specs folder under trunk/qpid :
>> [mffrench@dekatonshir:~/work/QUEUERS/QPID/trunk/qpid]%ls -al
>> /home/mffrench/work/QUEUERS/QPID/trunk/qpid/specs/
>> total 1284
>> drwxr-xr-x 3 mffrench mffrench 4096 2009-02-17 18:18 .
>> drwxr-xr-x 15 mffrench mffrench 4096 2009-02-17 18:18 ..
>> -rw-r--r-- 1 mffrench mffrench 9383 2009-02-17 18:18 amqp.0-10.dtd
>> -rw-r--r-- 1 mffrench mffrench 280203 2009-02-17 18:18
>> amqp.0-10-preview.xml
>> -rw-r--r-- 1 mffrench mffrench 256524 2009-02-17 18:18
>> amqp.0-10-qpid-errata.xml
>> -rw-r--r-- 1 mffrench mffrench 256419 2009-02-17 18:18 amqp.0-10.xml
>> -rw-r--r-- 1 mffrench mffrench 149480 2009-02-17 18:18 amqp.0-8.xml
>> -rw-r--r-- 1 mffrench mffrench 214161 2009-02-17 18:18 amqp.0-9.xml
>> -rw-r--r-- 1 mffrench mffrench 41935 2009-02-17 18:18
>> amqp-dtx-preview.0-9.xml
>> -rw-r--r-- 1 mffrench mffrench 1749 2009-02-17 18:18
>> amqp-errata.0-9.xml
>> -rw-r--r-- 1 mffrench mffrench 1420 2009-02-17 18:18 amqp-nogen.0-9.xml
>> -rw-r--r-- 1 mffrench mffrench 1764 2009-02-17 18:18 cluster.0-8.xml
>> -rw-r--r-- 1 mffrench mffrench 18564 2009-02-17 18:18 LICENSE
>> -rw-r--r-- 1 mffrench mffrench 18158 2009-02-17 18:18
>> management-schema.xml
>> -rw-r--r-- 1 mffrench mffrench 287 2009-02-17 18:18 NOTICE
>> drwxr-xr-x 6 mffrench mffrench 4096 2009-02-23 13:16 .svn
>>
>> ++
>>
>>
>>
>> Gordon Sim wrote:
>>> ffrenchm wrote:
>>>> 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 ?
>>> I think you just need to checkout the specs folder under /trunk/qpid (or
>>> at least amqp.0-10-qpid-errata.xml and amqp.0-10.dtd which contain the
>>> 0-10 spec).
>>>
>>> ---------------------------------------------------------------------
>>> Apache Qpid - AMQP Messaging Implementation
>>> Project: http://qpid.apache.org
>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>
>>>
>>>
>>
>
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
Posted by ffrenchm <ff...@gmail.com>.
I tested the packaged python client
(http://www.apache.org/dist/qpid/M4/qpid-python-M4.tar.gz) and I've the same
problem (see bellow). Is there any python version prerequisites (mine is
2.5).
[mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%echo $PYTHONPATH
/home/mffrench/work/QUEUERS/QPID/qpid-M4/python
[mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%ls
hello-world python specs
[mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%ls specs/
amqp.0-10.dtd amqp.0-10-qpid-errata.xml amqp.0-8.xml
amqp-dtx-preview.0-9.xml amqp-nogen.0-9.xml LICENSE NOTICE
amqp.0-10-preview.xml amqp.0-10.xml amqp.0-9.xml
amqp-errata.0-9.xml cluster.0-8.xml management-schema.xml
[mffrench@dekatonshir:~/work/QUEUERS/QPID/qpid-M4]%./hello-world
Traceback (most recent call last):
File "./hello-world", line 36, in <module>
conn = Connection(connect(broker, port))
File "/home/mffrench/work/QUEUERS/QPID/qpid-M4/python/qpid/connection.py",
line 69, in __init__
spec = load(default())
File "/home/mffrench/work/QUEUERS/QPID/qpid-M4/python/qpid/spec010.py",
line 679, in load
doc = mllib.xml_parse(xml)
File "/home/mffrench/work/QUEUERS/QPID/qpid-M4/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/qpid-M4/specs/amqp.0-10.dtd
ffrenchm wrote:
>
> hello,
>
> I already checkouted the specs folder under trunk/qpid :
> [mffrench@dekatonshir:~/work/QUEUERS/QPID/trunk/qpid]%ls -al
> /home/mffrench/work/QUEUERS/QPID/trunk/qpid/specs/
> total 1284
> drwxr-xr-x 3 mffrench mffrench 4096 2009-02-17 18:18 .
> drwxr-xr-x 15 mffrench mffrench 4096 2009-02-17 18:18 ..
> -rw-r--r-- 1 mffrench mffrench 9383 2009-02-17 18:18 amqp.0-10.dtd
> -rw-r--r-- 1 mffrench mffrench 280203 2009-02-17 18:18
> amqp.0-10-preview.xml
> -rw-r--r-- 1 mffrench mffrench 256524 2009-02-17 18:18
> amqp.0-10-qpid-errata.xml
> -rw-r--r-- 1 mffrench mffrench 256419 2009-02-17 18:18 amqp.0-10.xml
> -rw-r--r-- 1 mffrench mffrench 149480 2009-02-17 18:18 amqp.0-8.xml
> -rw-r--r-- 1 mffrench mffrench 214161 2009-02-17 18:18 amqp.0-9.xml
> -rw-r--r-- 1 mffrench mffrench 41935 2009-02-17 18:18
> amqp-dtx-preview.0-9.xml
> -rw-r--r-- 1 mffrench mffrench 1749 2009-02-17 18:18
> amqp-errata.0-9.xml
> -rw-r--r-- 1 mffrench mffrench 1420 2009-02-17 18:18 amqp-nogen.0-9.xml
> -rw-r--r-- 1 mffrench mffrench 1764 2009-02-17 18:18 cluster.0-8.xml
> -rw-r--r-- 1 mffrench mffrench 18564 2009-02-17 18:18 LICENSE
> -rw-r--r-- 1 mffrench mffrench 18158 2009-02-17 18:18
> management-schema.xml
> -rw-r--r-- 1 mffrench mffrench 287 2009-02-17 18:18 NOTICE
> drwxr-xr-x 6 mffrench mffrench 4096 2009-02-23 13:16 .svn
>
> ++
>
>
>
> Gordon Sim wrote:
>>
>> ffrenchm wrote:
>>> 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 ?
>>
>> I think you just need to checkout the specs folder under /trunk/qpid (or
>> at least amqp.0-10-qpid-errata.xml and amqp.0-10.dtd which contain the
>> 0-10 spec).
>>
>> ---------------------------------------------------------------------
>> Apache Qpid - AMQP Messaging Implementation
>> Project: http://qpid.apache.org
>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>
>>
>>
>
>
--
View this message in context: http://n2.nabble.com/QPID-C%2B%2B-Broker-%2B-persistent-store-tp2372671p2383097.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:users-subscribe@qpid.apache.org
Re: Python and location of spec files (was Re: QPID C++ Broker +
persistent store)
Posted by ffrenchm <ff...@gmail.com>.
hello,
I already checkouted the specs folder under trunk/qpid :
[mffrench@dekatonshir:~/work/QUEUERS/QPID/trunk/qpid]%ls -al
/home/mffrench/work/QUEUERS/QPID/trunk/qpid/specs/
total 1284
drwxr-xr-x 3 mffrench mffrench 4096 2009-02-17 18:18 .
drwxr-xr-x 15 mffrench mffrench 4096 2009-02-17 18:18 ..
-rw-r--r-- 1 mffrench mffrench 9383 2009-02-17 18:18 amqp.0-10.dtd
-rw-r--r-- 1 mffrench mffrench 280203 2009-02-17 18:18
amqp.0-10-preview.xml
-rw-r--r-- 1 mffrench mffrench 256524 2009-02-17 18:18
amqp.0-10-qpid-errata.xml
-rw-r--r-- 1 mffrench mffrench 256419 2009-02-17 18:18 amqp.0-10.xml
-rw-r--r-- 1 mffrench mffrench 149480 2009-02-17 18:18 amqp.0-8.xml
-rw-r--r-- 1 mffrench mffrench 214161 2009-02-17 18:18 amqp.0-9.xml
-rw-r--r-- 1 mffrench mffrench 41935 2009-02-17 18:18
amqp-dtx-preview.0-9.xml
-rw-r--r-- 1 mffrench mffrench 1749 2009-02-17 18:18 amqp-errata.0-9.xml
-rw-r--r-- 1 mffrench mffrench 1420 2009-02-17 18:18 amqp-nogen.0-9.xml
-rw-r--r-- 1 mffrench mffrench 1764 2009-02-17 18:18 cluster.0-8.xml
-rw-r--r-- 1 mffrench mffrench 18564 2009-02-17 18:18 LICENSE
-rw-r--r-- 1 mffrench mffrench 18158 2009-02-17 18:18
management-schema.xml
-rw-r--r-- 1 mffrench mffrench 287 2009-02-17 18:18 NOTICE
drwxr-xr-x 6 mffrench mffrench 4096 2009-02-23 13:16 .svn
++
Gordon Sim wrote:
>
> ffrenchm wrote:
>> 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 ?
>
> I think you just need to checkout the specs folder under /trunk/qpid (or
> at least amqp.0-10-qpid-errata.xml and amqp.0-10.dtd which contain the
> 0-10 spec).
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>
>
--
View this message in context: http://n2.nabble.com/QPID-C%2B%2B-Broker-%2B-persistent-store-tp2372671p2382723.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:users-subscribe@qpid.apache.org