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

Chatbot crashes if you star a pinned message #75

Closed
thomas-daniels opened this issue Sep 7, 2014 · 1 comment
Closed

Chatbot crashes if you star a pinned message #75

thomas-daniels opened this issue Sep 7, 2014 · 1 comment

Comments

@thomas-daniels
Copy link
Collaborator

This has happened to me several times. If I have a bot running on a chatroom and if I star a pinned message, my bot crashes with the following traceback:

Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "build\bdist.win32\egg\chatexchange\browser.py", line 632, in _runner
self.on_activity(activity)
File "build\bdist.win32\egg\chatexchange\rooms.py", line 64, in on_activity
for event in self._events_from_activity(activity, self.id):
File "build\bdist.win32\egg\chatexchange\rooms.py", line 85, in _events_from_activity
event = events.make(room_event_data, self._client)
File "build\bdist.win32\egg\chatexchange\events.py", line 16, in make
return cls(data, client)
File "build\bdist.win32\egg\chatexchange\events.py", line 51, in init
self._init_from_data()
File "build\bdist.win32\egg\chatexchange\events.py", line 82, in _init_from_data
self._update_message()
File "build\bdist.win32\egg\chatexchange\events.py", line 100, in _update_message
del message.pinner_user_ids
AttributeError: pinner_user_ids

@thomas-daniels thomas-daniels changed the title Program crashes if you star a pinned message Chatbot crashes if you star a pinned message Sep 7, 2014
@thomas-daniels
Copy link
Collaborator Author

Looks like this issue is a duplicate of #71.

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

1 participant