Re: how to connect to na AMQP 0.8 server?

2009-06-23 Thread Carl Trieloff
Here is the matrix of what versions AMQP versions Qpid supports http://qpid.apache.org/download.html for python, you need to load the spec file for the version broker you want to talk to. The python client can talk all versions of AMQP except 0-9-1 Carl. mARK bLOORE wrote: i am trying to c

how to connect to na AMQP 0.8 server?

2009-06-23 Thread mARK bLOORE
i am trying to connect to a RabbitMQ (AMQP 0.8) server, with username and password. taking code from the 'hello-world' example, i do sock = connect(broker, port) conn = Connection(sock, qpid.spec.load("qpid-0.5/specs/amqp.0-8.xml"), username=user, password=password) and get AttributeError: Spec

Re: Building Qpid 0.5

2009-06-23 Thread Marcus Schröder
Hi Steve, On Tue, Jun 23, 2009 at 4:52 PM, Steve Huston wrote: > Try casting the return of write() to void. The compiler doesn't like > that it's being ignored. > > Please reply and let us know how that works. > Casting the return to void did not help, but introducing a local size_t foo variable

Re: Building Qpid 0.5

2009-06-23 Thread Marcus Schröder
> You wnat to use sha1sum or openssl sha1 qpid-cpp-0.5.tar.gz, or you > can just grab the .asc sig and do gpg --verify qpid-cpp-0.5.tar.gz. > openssl sha uses a different hashing algorithim. > > FWIW I get the same checksum you do when I do that, so i reckon you've > got the right file. > Right, t

Re: Building Qpid 0.5

2009-06-23 Thread Aidan Skinner
On Tue, Jun 23, 2009 at 4:11 PM, Marcus Schröder wrote: > I get the following SHA for the download: > m...@tzi-mss:~/Desktop$ openssl sha qpid-cpp-0.5.tar.gz > SHA(qpid-cpp-0.5.tar.gz)= 3de04b01713e42fc208c9695aaf305ddc9a34dd3 > > This checksum is given both for the file I downloaded and tried to

Re: Building Qpid 0.5

2009-06-23 Thread Marcus Schröder
Hi Jasan, 2009/6/23 Ján Sáreník : > What is your particular Qpid version. Are you really using the > http://www.apache.org/dist/qpid/0.5/qpid-cpp-0.5.tar.gz > with SHA 857e1646aeb3a2d96b89697e7adf699d8e04f6a1? > > In abovementioned release I see different code on lines 90 and > 96 of file src/qpid

Re: Building Qpid 0.5

2009-06-23 Thread Ján Sáreník
Hi Marcus! On Tue, Jun 23, 2009 at 04:40:24PM +0200, Marcus Schröder wrote: > I built qpid 0.4 successfully on my old ubuntu 8.04, but after > installing a clean 9.04 and trying qpid 0.5, I keep getting this > compilation error: http://pastie.org/521427 . If I see it right, the > fork() of the Dae

RE: Building Qpid 0.5

2009-06-23 Thread Steve Huston
Hi Marcus, Try casting the return of write() to void. The compiler doesn't like that it's being ignored. Please reply and let us know how that works. Thanks, -Steve > -Original Message- > From: Marcus Schröder [mailto:marcus.schroe...@gmail.com] > Sent: Tuesday, June 23, 2009 10:40 AM

Building Qpid 0.5

2009-06-23 Thread Marcus Schröder
Hi, I built qpid 0.4 successfully on my old ubuntu 8.04, but after installing a clean 9.04 and trying qpid 0.5, I keep getting this compilation error: http://pastie.org/521427 . If I see it right, the fork() of the Daemon causes errors, but I have no clue what may be the cause of this. The result

Re: Always "Waiting for CPG initialization"

2009-06-23 Thread Alan Conway
Carl Trieloff wrote: if you can connect to it with qpid-tool, and list or run qpid-cluster it will report it's up status. In terms of the group, you can also newgrp ais, or add ais to the group of the qpidd process. Note: for the cluster, qpidd needs to have ais as its effective group, n