-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Plugin crashes and exits Koreader #6
Comments
Thanks for the report! I didn't see this till now. Will take a look at that line and see what I can find. |
A 429 indicates that you were rate limited and that is why the error occurred. |
where is the crash report? I am kindle PW 5.6.1 jailbreak with koreader. I selected a paragraph and entered "summarize" in the text box and it crashes. I have the api-key from a new account in the lua file. |
Look in the folder where KOReader is installed. There should be a file named crash.log. |
it works.is there any way to get "summary till this page"? |
Not at the moment! It's not a feature i have built, but it could certainly be interesting! It would be a big effort and something I'd have to put a little product thought into. However, this is an open source project so if you'd like to make a suggestion in a new issue we could take it from there. |
yes. they work fine. edit - the glitch was due to custom font + custom screensaver. The addon works now and is great for reading research papers. |
Does it only work if you have the paid version? I already tried with 3 or 4 different API keys, same thing. |
5 dollars is added when you make a new developer account. I didnot subscribe to any paid tier and it still works. |
Interesting. It's a paid API so I would assume you'd have to pay for this to work. This is not part of the research beta for ChatGPT which is free. |
@TommyMay yikes! I am sorry to see that it is blowing up on you. I unfortunately don't know that I have the ability to look into that issue at the moment. On that note, I would love it if there are any Lua devs in the crowd who would be open to helping maintain this app! |
Encountering similar issue here, PW3 5.13.7 |
Check if you have credits. Free credits expire after 3 months. If yes, then add a credit card and put 5 dollars. Then remove the card. You will to create a new api key. Delete the old one. |
crash report:
./luajit: plugins/askgpt.koplugin/gpt_query.lua:31: Error querying ChatGPT API: 429
stack traceback:
[C]: in function 'error'
plugins/askgpt.koplugin/gpt_query.lua:31: in function 'queryChatGPT'
plugins/askgpt.koplugin/dialogs.lua:59: in function 'callback'
frontend/ui/widget/button.lua:411: in function 'handleEvent'
frontend/ui/widget/container/inputcontainer.lua:250: in function 'handleEvent'
frontend/ui/widget/container/widgetcontainer.lua:82: in function 'propagateEvent'
frontend/ui/widget/container/widgetcontainer.lua:100: in function 'handleEvent'
frontend/ui/widget/container/widgetcontainer.lua:82: in function 'propagateEvent'
frontend/ui/widget/container/widgetcontainer.lua:100: in function 'handleEvent'
frontend/ui/widget/container/widgetcontainer.lua:82: in function 'propagateEvent'
frontend/ui/widget/container/widgetcontainer.lua:100: in function 'handleEvent'
...
frontend/ui/widget/container/widgetcontainer.lua:100: in function 'handleEvent'
frontend/ui/widget/container/widgetcontainer.lua:82: in function 'propagateEvent'
frontend/ui/widget/container/widgetcontainer.lua:100: in function 'handleEvent'
frontend/ui/uimanager.lua:824: in function 'sendEvent'
frontend/ui/uimanager.lua:52: in function 'default'
frontend/ui/uimanager.lua:1313: in function 'handleInputEvent'
frontend/ui/uimanager.lua:1407: in function 'handleInput'
frontend/ui/uimanager.lua:1456: in function 'run'
./reader.lua:302: in main chunk
[C]: at 0x00013e9d
lipc-wait-event exited normally with status: 0
Maybe a ChatGPT problem, not a Koreader or plugin problem?
The text was updated successfully, but these errors were encountered: