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

While Vim starting, sometimes it rases error #3

Open
kyoh86 opened this issue Jun 25, 2023 · 0 comments
Open

While Vim starting, sometimes it rases error #3

kyoh86 opened this issue Jun 25, 2023 · 0 comments

Comments

@kyoh86
Copy link
Contributor

kyoh86 commented Jun 25, 2023

[denops] (ddu-source-git) Unhandled rejection is detected. Worker will be reloaded: NoMethodFoundError: No MessagePack-RPC method 'redrawCurrentDdu' exists
[denops]     at dispatch (https://deno.land/x/messagepack_rpc@v2.0.0/dispatcher.ts:42:13)
[denops]     at Session.#dispatch (https://deno.land/x/messagepack_rpc@v2.0.0/session.ts:244:28)
[denops]     at Session.#handleRequestMessage (https://deno.land/x/messagepack_rpc@v2.0.0/session.ts:271:53)
[denops]     at Session.#handleMessage (https://deno.land/x/messagepack_rpc@v2.0.0/session.ts:255:37)
[denops]     at Object.write (https://deno.land/x/messagepack_rpc@v2.0.0/session.ts:159:63)
[denops]     at Object.invokeCallbackFunction (internal:ext/webidl/00_webidl.js:869:18)
[denops]     at WritableStreamDefaultController.writeAlgorithm (internal:ext/web/06_streams.js:3534:16)
[denops]     at writableStreamDefaultControllerProcessWrite (internal:ext/web/06_streams.js:4045:57)
[denops]     at writableStreamDefaultControllerAdvanceQueueIfNeeded (internal:ext/web/06_streams.js:3948:7)
[denops]     at writableStreamDefaultControllerWrite (internal:ext/web/06_streams.js:4092:5)

It looks the redrawCurrentDdu may be called before the plugin loaded.
Maybe it should be called with checking the plugin has already loaded.

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