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

ImportError: No module named wsgiserver2 #13

Closed
ramdhany opened this issue Mar 6, 2017 · 5 comments
Closed

ImportError: No module named wsgiserver2 #13

ramdhany opened this issue Mar 6, 2017 · 5 comments
Labels

Comments

@ramdhany
Copy link
Member

ramdhany commented Mar 6, 2017

Attempting to run 'examples/WallClockServer.py' fails with this error:
ImportError: No module named wsgiserver2

@matt-hammond-001
Copy link
Contributor

This appears to be related to this issue in ws4py which has arisen due to a change in cherrypy: Lawouach/WebSocket-for-Python#205

I think it might also affect pydvbcss directly as it does climb into cherrypy for some things to do with the HTTP/wsgi server.

@matt-hammond-001
Copy link
Contributor

Can fix our code to import the HttpConnection class from cheroot, but also need ws4py to have this. Unfortunately Lawouach/WebSocket-for-Python#205 has not yet made it to a PyPI release.

@matt-hammond-001
Copy link
Contributor

Ok, temporary fix put into master: #f8ec3f6

Changed README and setup.py for installation process to install a specific earlier version of cherrypy and ws4py libraries.

Will push out as a new 0.4.1 release today.

Changes will need to be reverted once ws4py is updated, and changes made to this code to match (should do that work in a branch).

@matt-hammond-001
Copy link
Contributor

Lawouach/WebSocket-for-Python#209 has confirmed new 0.3.6 release of ws4py due soon. Will revert master once that is released.

@matt-hammond-001
Copy link
Contributor

New release confirmed. Reverting and fixing master.

matt-hammond-001 added a commit that referenced this issue Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants