Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Error when trying to run wemo on ubuntu #177

Closed
ADBYITS opened this issue May 6, 2018 · 5 comments
Closed

Error when trying to run wemo on ubuntu #177

ADBYITS opened this issue May 6, 2018 · 5 comments

Comments

@ADBYITS
Copy link

ADBYITS commented May 6, 2018

Hi guys
I have followed the install and there was no issues but when i try to run it i am getting the below error

adam@AI:~$ wemo
Traceback (most recent call last):
File "/usr/local/bin/wemo", line 9, in
load_entry_point('ouimeaux==0.8', 'console_scripts', 'wemo')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2229, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2235, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/ouimeaux-0.8-py2.7.egg/ouimeaux/cli.py", line 7, in
from .environment import Environment
File "/usr/local/lib/python2.7/dist-packages/ouimeaux-0.8-py2.7.egg/ouimeaux/environment.py", line 16, in
from ouimeaux.subscribe import SubscriptionRegistry
File "/usr/local/lib/python2.7/dist-packages/ouimeaux-0.8-py2.7.egg/ouimeaux/subscribe.py", line 7, in
from gevent.wsgi import WSGIServer
ImportError: No module named wsgi

@EdNeg24
Copy link

EdNeg24 commented May 17, 2018

Try using gevent version 1.2.2. Maybe yours got updated to 1.3.0 and that version is breaking ouimeaux.

@ToyotaCorollary
Copy link

I had a similar error; following reiinakano/xcessiv#63 I edited ~/.local/lib/python2.7/site-packages/ouimeaux/subscribe.py, changing

from gevent.wsgi import WSGIServer

to

from gevent.pywsgi import WSGIServer

which fixed it.

@chrispitude
Copy link

Thanks ToyotaCorollary! Your fix/hack worked for me too.

@gst
Copy link

gst commented Nov 23, 2018

@iancmcc
would you consider a PR for changing this ? Thx.

@iancmcc
Copy link
Owner

iancmcc commented Nov 26, 2018 via email

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

No branches or pull requests

6 participants