joshcho / ChatGPT.el

ChatGPT in Emacs
GNU General Public License v3.0
397 stars 34 forks source link

chatgpt stuck at elipsis #32

Closed dasoju closed 1 year ago

dasoju commented 1 year ago

chatgpt is stuck at elipsis

i did

  1. pkill ms-playwright/firefox && chatgpt install
  2. I did M-x chatgpt-reset
  3. i already have following in my init file (setq python-interpreter "python3") I also tried (setq python-interpreter "/usr/local/bin/python3") but doesn't help

still doesn't work , I am stuck at the attached image where my query was "who wrote chatgpt"

image
apcode commented 1 year ago

Hey see my issue #34 Might be the same issue. I had to edit my anaconda3/python3.8/site-packages/epc/handler.py to remove calls to value on the symbol objects that sexpdata returns.

I got it working (mostly I think).

dasoju commented 1 year ago

i tried following, but still see stuck elipsis

I fixed following file
/usr/local/lib/python3.10/site-packages/epc/handler.py

Line87

return (data[0].value(), data[1], data[2:])

return (str(data[0]), data[1], data[2:])

Line259

name = meth.value()

    name = str(meth)
fkgruber commented 1 year ago

I tried this as well and did not work. Keep getting stuck on ellipsis.

localredhead commented 1 year ago

I have the same issue.

I can successfully login and query from the async terminal that opens, init, reset, ... but I can't query using C-c q

fkgruber commented 1 year ago

I have the same issue.

I can successfully login and query from the async terminal that opens, init, reset, ... but I can't query using C-c q

same with me. Works from the terminal just not from C-c q

FrancoRivera commented 1 year ago

I had the same issue and as per issue #34 the solution was to install the previous version of sexpdata.

pip install sexpdata==0.0.3

Then I ran M-x chatgpt-reset and it worked fine.

Note that it takes longer to show the output if the answer is long, it seems that it only prints the output when its done writing, a.k.a. it doesn´t show the stream word per word as the default web/chat-gpt-wrapper

localredhead commented 1 year ago

@FrancoRivera thank you that worked for me too.

fkgruber commented 1 year ago

What version of epc are you all using?

fkgruber commented 1 year ago

it works now thanks

ccarvalho-eng commented 1 year ago

Should we update README to include this info?

joshcho commented 1 year ago

Should we update README to include this info?

Done.