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 about notification handler #21

Open
GreenSleeper opened this issue Jan 6, 2023 · 0 comments
Open

Error about notification handler #21

GreenSleeper opened this issue Jan 6, 2023 · 0 comments

Comments

@GreenSleeper
Copy link

error caught in notification handler '/data01/z00665777/usr/local/share/lunarvim/site/pack/packer/start/chatgpt.nvim/rplugin/python3/chatgpt_nvim.py:command:ChatGPT [['hello']]'
Traceback (most recent call last):
  File "/home/z00665777/.local/lib/python3.8/site-packages/revChatGPT/revChatGPT.py", line 475, in __init__
    asyncio.run(self.async_func_for_check())
  File "/home/z00665777/.local/lib/python3.8/asyncio/runners.py", line 33, in run
    raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/z00665777/.local/lib/python3.8/site-packages/pynvim/plugin/host.py", line 140, in _on_notification
    handler(*args)
  File "/home/z00665777/.local/lib/python3.8/site-packages/pynvim/plugin/host.py", line 86, in _wrap_delayed_function
    plugin = cls(self._configure_nvim_for(cls))
  File "/data01/z00665777/usr/local/share/lunarvim/site/pack/packer/start/chatgpt.nvim/rplugin/python3/chatgpt_nvim.py", line 285, in __init__
    self.bot = Bot(Chatbot(Config.load().as_dict()))
  File "/home/z00665777/.local/lib/python3.8/site-packages/revChatGPT/revChatGPT.py", line 477, in __init__
    self.debugger.log("detect nest use of asyncio")
AttributeError: 'Chatbot' object has no attribute 'debugger'
Press ENTER or type command to continue
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

1 participant