Skip to content
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

Error calling OpenClipboard ([WinError 5] Access is denied.) #37

Open
mpetruc opened this issue Aug 22, 2023 · 1 comment
Open

Error calling OpenClipboard ([WinError 5] Access is denied.) #37

mpetruc opened this issue Aug 22, 2023 · 1 comment

Comments

@mpetruc
Copy link

mpetruc commented Aug 22, 2023

Not sure if this is a bug or not, will be happy to submit a proper report if needed.
In any case, i'm getting this error when calling unlimittedGPT in a loop, after a random number of iterations (sometimes even after the first). It continues to generate this error for several iterations (sometimes all of them). At one point it timed out with this message:

Message: disconnected: Unable to receive message from renderer
(failed to check if window was closed: disconnected: not connected to DevTools)
(Session info: chrome=115.0.5790.110)
Stacktrace:
...
BaseThreadInitThunk [0x760E6739+25]
RtlGetFullPathName_UEx [0x776A8E7F+1215]
RtlGetFullPathName_UEx [0x776A8E4D+1165]

I'm using python 3.8.16, UnlimitedGPT-0.1.9.3 headless=False on windows11. Here's the code to call to the api:
api = ChatGPT(session_token)
def get_response(text):
api.reset_conversation()
message = api.send_message(text,
input_mode="SLOW", # Can be INSTANT or SLOW
input_delay=0.1 # Only used when input_mode is set to SLOW
)
return message.response
i'm waiting 10 seconds between iterations.

@theAbdoSabbagh
Copy link
Owner

Hello, thanks for reporting this bug. Currently I'm a bit busy as I've recently enrolled at a university and I have very limited free time now. Once I'm free I'll look into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants