poe-api-wrapper icon indicating copy to clipboard operation
poe-api-wrapper copied to clipboard

zsh: segmentation fault ....

Open hansfzlorenzana opened this issue 2 years ago • 10 comments

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

hansfzlorenzana avatar Aug 30 '23 14:08 hansfzlorenzana

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

snowby666 avatar Aug 30 '23 14:08 snowby666

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

muchuan19971207 avatar Sep 05 '23 04:09 muchuan19971207

whats your python version and OS?

snowby666 avatar Sep 05 '23 05:09 snowby666

Python 3.9.10 macOS Big Sur 11.4

muchuan19971207 avatar Sep 05 '23 05:09 muchuan19971207

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 avatar Sep 05 '23 06:09 snowby666

if possible try using sudo to test if it works

snowby666 avatar Sep 05 '23 06:09 snowby666

if possible try using sudo to test if it works

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

muchuan19971207 avatar Sep 06 '23 05:09 muchuan19971207

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

  • thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x28ef83df0) frame #0: 0x00000001997a2968 libsystem_platform.dylib_platform_memmove + 40 libsystem_platform.dylib_platform_memmove: -> 0x1997a2968 <+40>: ldnp q2, q3, [x1] 0x1997a296c <+44>: sub x5, x3, x0 0x1997a2970 <+48>: add x1, x1, x5 0x1997a2974 <+52>: ldnp q0, q1, [x1] Target 0: (python) stopped.

muchuan19971207 avatar Sep 06 '23 05:09 muchuan19971207

same sers

elix1er avatar Sep 09 '23 18:09 elix1er

is this bug still occurring in the latest version?

snowby666 avatar Sep 16 '23 06:09 snowby666