-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
In Ubuntu 16.04 using python 2.7 and predixpy 1.0.0, I get the following error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/home/edge/sputnik/main/sputnik/windfarm.py", line 151, in run
self.sendToCloud(dbuffer)
File "/home/edge/sputnik/main/sputnik/windfarm.py", line 98, in sendToCloud
self.clink.sendToCloud(dataCloud)
File "/home/edge/sputnik/main/sputnik/tools/predixclasses.py", line 50, in sendToCloud
timeseries.send()
File "/usr/local/lib/python2.7/dist-packages/predix/data/timeseries.py", line 534, in send
return self._send_to_timeseries(msg)
File "/usr/local/lib/python2.7/dist-packages/predix/data/timeseries.py", line 411, in _send_to_timeseries
except (websocket.WebSocketConnectionClosedException, Exception) as e:
AttributeError: 'module' object has no attribute 'WebSocketConnectionClosedException'
If I downgrade the websocket-client module to 0.47.0, the problem is solved... why?
pip install --ignore-installed websocket-client==0.47.0
Metadata
Metadata
Assignees
Labels
No labels