Git Product home page Git Product logo

jsonrpc2-zeromq-python's People

Contributors

avian2 avatar dovf avatar dwb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsonrpc2-zeromq-python's Issues

"ImportError: DLL load failed" When Complied by py2exe

I'm trying to compile a win32 service which uses jsonrpc2 by py2exe, whenever i run this service i get this error:

File "jsonrpc2_zeromq__init__.pyc", line 14, in
File "jsonrpc2_zeromq\client.pyc", line 16, in
File "zmq__init__.pyc", line 49, in
File "zmq\backend__init__.pyc", line 41, in
File "zmq\backend__init__.pyc", line 29, in
File "zmq\backend\select.pyc", line 27, in select_backend
File "zmq\backend\cython__init__.pyc", line 6, in
File "zmq\backend\cython\error.pyc", line 12, in
File "zmq\backend\cython\error.pyc", line 10, in __load
ImportError: DLL load failed: The specified module could not be found.

This is my setup.py file :

from distutils.core import setup
import py2exe
import zmq.libzmq
setup(
console=[{"script": "windows_installer.py"}],
zipfile='lib/library.zip',
options={
'py2exe': {
'includes': ['zmq.backend.cython', 'win32service', 'builtins', 'jsonrpc2_zeromq', 'jsonrpc2_zeromq.server',
'UserList', 'UserString', 'commands', 'future.backports.misc', 'future.backports',
'zmq.backend.cython.error'],
'excludes': ['zmq.libzmq'],
'dll_excludes': ['libzmq.pyd'],
}
},
data_files=[('lib', (zmq.libzmq.file,))]
)

Document requirement for Python 2.7.x

There doesn't appear to be a documented dependency on python 2.7.x, but the set comprehension syntax used in the common.Response.to_dict method does fail when running on python 2.6.x. This was a difficult problem to debug

It would be nice to change setup.py to fail when trying to install on an older version of Python, or fix the set comprehension expression to something that does work with 2.6.x

Python 3

The main dependency here is pyzmq, which supports Python 3. What is preventing this project from supporting Python 3?

"ZMQError: Interrupted system call" when used with Qt

When a signal is received while polling on a socket, the interrupt is apparently propagated up to the application, and it is the application's responsibility to handle it correctly. Qt apparently causes signals to be sent in various situations. The end is result is that jsonrpc2_zeromq basically crashes when used in conjunction with Qt.

This is basically the same issue as reported on ipython: ipython/ipython#499

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.