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

Crash on string_client.py #5

Open
ehsteve opened this issue Oct 19, 2015 · 1 comment
Open

Crash on string_client.py #5

ehsteve opened this issue Oct 19, 2015 · 1 comment

Comments

@ehsteve
Copy link

ehsteve commented Oct 19, 2015

I get the following error (including the weird formatting in case it is useful).

Exception in thread Thread-1:
                                      Traceback (most recent call last):
                                                                          File "/Users/user/anaconda/lib/python2.7/threading.py", line 810, in __bootstrap_inner
                                                                                                                                                                        self.run()
            File "/Users/user/anaconda/lib/python2.7/threading.py", line 763, in run
                                                                                            self.__target(*self.__args, **self.__kwargs)
                                                                                                                                          File "/Users/user/Downloads/pySpacebrew/examples/pySpacebrew/spacebrew.py", line 121, in run
                                                                      self.run()
                                                                                  File "/Users/user/Downloads/pySpacebrew/examples/pySpacebrew/spacebrew.py", line 111, in run
              self.ws = websocket.WebSocketApp( "ws://{0}:{1}".format(self.server,self.port),
                                                                                             AttributeError: 'module' object has no attribute 'WebSocketApp'

when I quit the program I get the following error

Traceback (most recent call last):
  File "string_client.py", line 81, in <module>
    brew.publish('chat outgoing',cur_line)
  File "/Users/user/Downloads/pySpacebrew/examples/pySpacebrew/spacebrew.py", line 104, in publish
    self.ws.send(json.dumps(message))
AttributeError: 'NoneType' object has no attribute 'send'
@robotconscience
Copy link
Member

@quinkennedy any ideas?

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