snowby666 / poe-api-wrapper

👾 A Python API wrapper for Poe.com. With this, you will have free access to GPT-4, Claude, Llama, Gemini, Mistral and more! 🚀
https://pypi.org/project/poe-api-wrapper/
GNU General Public License v3.0
839 stars 99 forks source link

zsh: segmentation fault .... #11

Open hansfzlorenzana opened 1 year ago

hansfzlorenzana commented 1 year ago

This happened after upgrading to 1.1.1.

I reverted to 1.1.0 and the issue is gone. Any ideas what caused it?

Python 3.10.0

snowby666 commented 1 year ago

Can you show me the logs and the functions that you used?

muchuan19971207 commented 1 year ago

I also have this problem the error message is " zsh: segmentation fault python xxx.py. " And I used two of these function -> Poe.chat_with_bot(token) & client.send_message(bot, "What is this file about?", file_path=local_paths) to upload the pdf file

snowby666 commented 1 year ago

whats your python version and OS?

muchuan19971207 commented 1 year ago

Python 3.9.10 macOS Big Sur 11.4

snowby666 commented 1 year ago

Mhm if you are using MacOS then I think the problem could have been the keyboard lib. It would be better if you can upload the whole error logs here.

snowby666 commented 1 year ago

if possible try using sudo to test if it works

muchuan19971207 commented 1 year ago

if possible try using sudo to test if it works

I use sudo and the error message is Segmentation fault: 11

muchuan19971207 commented 1 year ago

Mhm if you are using MacOS then I think the problem could have been the keyboard lib.

I use lldb to test where cause error and it shows up (lldb) r Process 9833 launched: '/Users/muchuanli/miniforge3/bin/python' (arm64) Process 9833 stopped

elix1er commented 1 year ago

same sers

snowby666 commented 1 year ago

is this bug still occurring in the latest version?