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

sending "***" (consecutive stars) as a message gives error #8

Open
wilhelmgoering opened this issue Aug 26, 2015 · 1 comment
Open

Comments

@wilhelmgoering
Copy link

Hi.

I'm using pickups and it works OK.

I've noticed, however, that if you try to send a message with just stars (as in "***"), there is an error and the message is not sent.

Here is the output of the server corresponding to this line:

INFO:pickups.server:Received: 'PRIVMSG #AAAAAAAAA[id] :***'
WARNING:hangups.conversation:Failed to send message: Unexpected status: ERROR_INVALID_REQUEST
ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<send_message() done, defined at /usr/lib/python3.4/site-packages/hangups/conversation.py:96> exception=NetworkError('Unexpected status: ERROR_INVALID_REQUEST',)>
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 238, in _step
result = next(coro)
File "/usr/lib/python3.4/site-packages/hangups/conversation.py", line 129, in send_message
image_id=image_id, otr_status=otr_status
File "/usr/lib/python3.4/site-packages/hangups/client.py", line 436, in sendchatmessage
.format(res_status))
hangups.exceptions.NetworkError: Unexpected status: ERROR_INVALID_REQUEST

Any ideas? I would inspect the code myself but I'm not familiar with python.

Thank you for your work.

@tdryer
Copy link
Collaborator

tdryer commented Aug 27, 2015

This is a bug in the underlying hangups library. I opened an issue here: tdryer/hangups#149

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