Hello All,
Now i am trying to test my pyzmq script in linux, which i working good in
windows.
But while building PyZMQ from source code in linux i get an error like :
Traceback (most recent call last):
File /pyzmq-2.1.11/setup.py, line 611, in module
version = extract_version(),
File
Hello Guys,
Thanks for your replies that all worked great. :-)
I have one more question with some different topic:
I have PUB/SUB system with a zmq FORWARDER device, and there all clients have
the capability of sending and receiving , so what is happening, that whenever a
single client
Can any body guide me on this problem.
Thanks Ronald
From: proj_symb...@live.com
To: zeromq-dev@lists.zeromq.org
Date: Wed, 4 Apr 2012 10:59:13 +0200
Subject: [zeromq-dev] Publisher receiving message it publishes
Hello Guys,
Thanks for your replies that all worked great. :-)
I have
Hello All,
After a long time i have a question and it seems to be the simple one.
I am using following code to receive something using PyZMQ:
import zmq
zmqContext = zmq.Context()
recevSock = zmqContext.socket(zmq.SUB)
recevSock.connect('address')
recevSock.setsockopts(zmq.SUBSCRIBE.' ')
temporarily unavailable) in e:
# Socket not ready
return None
else:
# Oopsy other error re-raise
raise
You can also use zmq.poll to handle the POLLIN POLLOUT Events :)
2012/4/3 Ronald Swain proj_symb...@live.com
Hello All,
After a long time i have a question and it seems to be the simple one
27, 2012 at 00:03, Ronald Swain proj_symb...@live.com wrote:
Hello MinRK,
Thanks for the reply, now i have two more questions from your answer:
1) What do you mean b telling daemon=TRUE, does the background process run as a
infinite loop or something like that.
See the docs for what
With Regard To the ZMQ Forwarder
On Tue, Mar 27, 2012 at 00:03, Ronald Swain proj_symb...@live.com wrote:
Hello MinRK,
Thanks for the reply, now i have two more questions from your answer:
1) What do you mean b telling daemon=TRUE, does the background process run as a
infinite loop
Forwarder
On Tue, Mar 27, 2012 at 00:03, Ronald Swain proj_symb...@live.com wrote:
Hello MinRK,
Thanks for the reply, now i have two more questions from your answer:
1) What do you mean b telling daemon=TRUE, does the background process run as a
infinite loop or something like that.
See
an assertion have saved you time? That is a valid use of
assertions, to catch programming errors quickly.
-Pieter
On Wed, Mar 28, 2012 at 11:03 PM, Ronald Swain proj_symb...@live.com wrote:
Ok Solved the problem again, by mistake i was trying to call setsockopt on a
PUB socket
@lists.zeromq.org
Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder
On Wed, Mar 28, 2012 at 21:16, Ronald Swain proj_symb...@live.com wrote:
Hello Pieter ,
Thanks a lot for reply, and i must say this a great mailing list i have ever
experienced. :-)
The problem was on my
To the ZMQ Forwarder
On Sun, Mar 25, 2012 at 23:05, Ronald Swain proj_symb...@live.com wrote:
Hello Cornelius,
Thanks for pointing that out. I Used ProcessDevice and it worked the way i
want, but was not able to understand, some questions:
1) Does ProcessDevice takes care of doing the clean up
, 2012 at 23:05, Ronald Swain proj_symb...@live.com wrote:
Hello Cornelius,
Thanks for pointing that out. I Used ProcessDevice and it worked the way i
want, but was not able to understand, some questions:
1) Does ProcessDevice takes care of doing the clean up work ??
2) Is there way i can
-blocking.
http://zeromq.github.com/pyzmq/devices.html
http://zguide.zeromq.org/page:all#Intermediates-and-Devices--
Cornelius Toole
Sent with Sparrow
On Friday, March 23, 2012 at 12:19 AM, Ronald Swain wrote
Hello All,
I had one more small question, whenever i start a zmq.device(zmq.Forwarder),
this blocks my interpreter, so is there any way of starting a forwarder always
as a different process or any ways of making it non-blocking.
Hope my question is clear.
Thanks Regards,
Ronald
From:
on signal and I bet it still
won't work.
You might want to look into the atexit module:
http://docs.python.org/library/atexit.html
On Tue, Mar 20, 2012 at 9:14 PM, Ronald Swain proj_symb...@live.com wrote:
Hmmm i tried using your code but , its not working too. :-(
Regarding PyZMQ
Hello Cornelius ,
Thanks again and it will work for sure.
Next and probably last question is why my sockets are not cleaned up in the
forwarder, i try something like https://gist.github.com/2132163 but the handler
is never fired.
just to inform you i kill the python interpreter to close
are you using?
--
Cornelius Toole
Sent with Sparrow
On Tuesday, March 20, 2012 at 12:13 PM, Ronald Swain wrote:
Hello Cornelius ,
Thanks again and it will work for sure.
Next and probably last question
17 matches
Mail list logo