Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Zeromq version 3. #3

Closed
aviks opened this issue Jan 17, 2013 · 3 comments
Closed

Support Zeromq version 3. #3

aviks opened this issue Jan 17, 2013 · 3 comments

Comments

@aviks
Copy link
Contributor

aviks commented Jan 17, 2013

julia> require("ZMQ/test/ZMQ")
ZMQStateError("Resource temporarily unavailable")
 in send at /Users/test/.julia/ZMQ/src/ZMQ.jl:428
 in send at /Users/test/.julia/ZMQ/src/ZMQ.jl:404
@rahuldave
Copy link

I get this error on trying the README example. Is it related?

julia> zmqparse(req, "2")
read: end of file
 in read at io.jl:351
 in zmq_deserialize at /Users/rahul/.julia/ZMQ/src/zmq_serialize_julia.jl:26
 in zmqparse at /Users/rahul/.julia/ZMQ/src/zmq_client_julia.jl:29

On the server side:

➜ juliatry ../julia/julia server.jl
Reporting this error to the client: read: end of file
Reporting this error to the client: read: end of file

@rahuldave
Copy link

Also, the README examples only work with:

require("ZMQ")
using ZMQ

at the beginning. Else:

➜ juliatry ../julia/julia server.jl
ZMQSocket not defined
in include at boot.jl:248
in include_from_node1 at util.jl:251
in reload_path at util.jl:271
in require at util.jl:223
in include at boot.jl:248
in include_from_node1 at util.jl:251
in reload_path at util.jl:271
in require at util.jl:223
in include at boot.jl:248
in include_from_node1 at util.jl:251
in process_options at client.jl:238
in _start at client.jl:304
at /Users/rahul/.julia/ZMQ/src/zmq_serialize_julia.jl:19

@aviks
Copy link
Contributor Author

aviks commented Jan 25, 2013

The "using ZMQ" issue is due to recent changes in Julia's require/include. I've updated the code, it will go away once I push the changes to metadata (waiting to fix the other bug, below)

The read: end of file issue is real, probably caused by recent changes to Julia's IO subsystem. I'll create a new issue for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants