Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Exception in thread #148

Open
x169x opened this issue Jul 5, 2023 · 1 comment
Open

Exception in thread #148

x169x opened this issue Jul 5, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@x169x
Copy link

x169x commented Jul 5, 2023

I started to get this error starting from version 0.4.8 when I run my code:

            for chunk in poe_client.send_message(poe_model, sentence_messages, with_chat_break=True):
                pass

            print(f'{"":=^160}')
            print(f'Response for {message.author.name}: {chunk["text"]}')
            reply = chunk["text"]

Error code:

Exception in thread
Thread-32 (recv_post_thread)Response for x169x: Hi, x169x!:


Traceback (most recent call last):
  File "C:\Users\shely\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
  self.run()
  File "C:\Users\shely\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
  self._target(*self._args, **self._kwargs)
  None  File "C:\Users\shely\AppData\Local\Programs\Python\Python310\lib\site-packages\poe.py", line 564, in recv_post_thread
  
  bot_message_id = self.active_messages[human_message_id]
  KeyError: 1636771016
@ading2210 ading2210 added the bug Something isn't working label Jul 6, 2023
@zhouhh2017
Copy link

Same problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants