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

The extension just won't work. #72

Open
0xSimeon opened this issue Dec 21, 2023 · 13 comments
Open

The extension just won't work. #72

0xSimeon opened this issue Dec 21, 2023 · 13 comments

Comments

@0xSimeon
Copy link

I haven't been able to get it to work right from the time it was woke before it was rebranded to wake.

Screenshot 2023-12-21 at 3 40 05 AM
@michprev
Copy link
Member

@0xSimeon can you please try to run the language serve manually on the command line using wake lsp --port PORT? The default port is 65432.

Set the same port in Tools for Solidity VS Code setting named Wake: Port (Tools-for-Solidity.Wake.port is the full setting ID). Restart VS Code to apply the changed port.

Can you please provide a full crash for the language server on the command line (if any)? Thank you!

@0xSimeon
Copy link
Author

Hey, @michprev Thanks for your kind response. I tried the wake lsp --port 65432 command and I got this response:

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /Library/Frameworks/Python.framework/Versions/3.12/bin/wake:8 in <module>                        │
│                                                                                                  │
│   5 from wake.cli.__main__ import main                                                           │
│   6 if __name__ == '__main__':                                                                   │
│   7 │   sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])                         │
│ ❱ 8 │   sys.exit(main())                                                                         │
│   9                                                                                              │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:11 │
│ 57 in __call__                                                                                   │
│                                                                                                  │
│   1154 │                                                                                         │
│   1155 │   def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any:                           │
│   1156 │   │   """Alias for :meth:`main`."""                                                     │
│ ❱ 1157 │   │   return self.main(*args, **kwargs)                                                 │
│   1158                                                                                           │
│   1159                                                                                           │
│   1160 class Command(BaseCommand):                                                               │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/rich_click/rich_ │
│ command.py:126 in main                                                                           │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:16 │
│ 88 in invoke                                                                                     │
│                                                                                                  │
│   1685 │   │   │   │   super().invoke(ctx)                                                       │
│   1686 │   │   │   │   sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)                    │
│   1687 │   │   │   │   with sub_ctx:                                                             │
│ ❱ 1688 │   │   │   │   │   return _process_result(sub_ctx.command.invoke(sub_ctx))               │
│   1689 │   │                                                                                     │
│   1690 │   │   # In chain mode we create the contexts step by step, but after the                │
│   1691 │   │   # base command has been invoked.  Because at that point we do not                 │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:14 │
│ 34 in invoke                                                                                     │
│                                                                                                  │
│   1431 │   │   │   echo(style(message, fg="red"), err=True)                                      │
│   1432 │   │                                                                                     │
│   1433 │   │   if self.callback is not None:                                                     │
│ ❱ 1434 │   │   │   return ctx.invoke(self.callback, **ctx.params)                                │
│   1435 │                                                                                         │
│   1436 │   def shell_complete(self, ctx: Context, incomplete: str) -> t.List["CompletionItem"]:  │
│   1437 │   │   """Return a list of completions for the incomplete value. Looks                   │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py:78 │
│ 3 in invoke                                                                                      │
│                                                                                                  │
│    780 │   │                                                                                     │
│    781 │   │   with augment_usage_errors(__self):                                                │
│    782 │   │   │   with ctx:                                                                     │
│ ❱  783 │   │   │   │   return __callback(*args, **kwargs)                                        │
│    784 │                                                                                         │
│    785 │   def forward(                                                                          │
│    786 │   │   __self, __cmd: "Command", *args: t.Any, **kwargs: t.Any  # noqa: B902             │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/decorators │
│ .py:33 in new_func                                                                               │
│                                                                                                  │
│    30 │   """                                                                                    │
│    31 │                                                                                          │
│    32 │   def new_func(*args: "P.args", **kwargs: "P.kwargs") -> "R":                            │
│ ❱  33 │   │   return f(get_current_context(), *args, **kwargs)                                   │
│    34 │                                                                                          │
│    35 │   return update_wrapper(new_func, f)                                                     │
│    36                                                                                            │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/wake/cli/lsp.py: │
│ 55 in run_lsp                                                                                    │
│                                                                                                  │
│   52 │   config = WakeConfig(local_config_path=context.obj.get("local_config_path", None))       │
│   53 │   config.load_configs()                                                                   │
│   54 │                                                                                           │
│ ❱ 55 │   asyncio.run(run_server(config, port))                                                   │
│   56                                                                                             │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py:194 in run  │
│                                                                                                  │
│   191 │   │   │   "asyncio.run() cannot be called from a running event loop")                    │
│   192 │                                                                                          │
│   193 │   with Runner(debug=debug, loop_factory=loop_factory) as runner:                         │
│ ❱ 194 │   │   return runner.run(main)                                                            │
│   195                                                                                            │
│   196                                                                                            │
│   197 def _cancel_all_tasks(loop):                                                               │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py:118 in run  │
│                                                                                                  │
│   115 │   │                                                                                      │
│   116 │   │   self._interrupt_count = 0                                                          │
│   117 │   │   try:                                                                               │
│ ❱ 118 │   │   │   return self._loop.run_until_complete(task)                                     │
│   119 │   │   except exceptions.CancelledError:                                                  │
│   120 │   │   │   if self._interrupt_count > 0:                                                  │
│   121 │   │   │   │   uncancel = getattr(task, "uncancel", None)                                 │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py:664 in  │
│ run_until_complete                                                                               │
│                                                                                                  │
│    661 │   │   if not future.done():                                                             │
│    662 │   │   │   raise RuntimeError('Event loop stopped before Future completed.')             │
│    663 │   │                                                                                     │
│ ❱  664 │   │   return future.result()                                                            │
│    665 │                                                                                         │
│    666 │   def stop(self):                                                                       │
│    667 │   │   """Stop running the event loop.                                                   │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/wake/cli/lsp.py: │
│ 19 in run_server                                                                                 │
│                                                                                                  │
│   16                                                                                             │
│   17                                                                                             │
│   18 async def run_server(config: WakeConfig, port: int) -> None:                                │
│ ❱ 19 │   from wake.lsp.server import LspServer                                                   │
│   20 │                                                                                           │
│   21 │   async def client_callback(                                                              │
│   22 │   │   reader: asyncio.StreamReader, writer: asyncio.StreamWriter                          │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/wake/lsp/server. │
│ py:28 in <module>                                                                                │
│                                                                                                  │
│     25 from wake.utils import StrEnum                                                            │
│     26                                                                                           │
│     27 from ..config import WakeConfig                                                           │
│ ❱   28 from .commands import (                                                                   │
│     29 │   generate_cfg_handler,                                                                 │
│     30 │   generate_imports_graph_handler,                                                       │
│     31 │   generate_inheritance_graph_handler,                                                   │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/wake/lsp/command │
│ s/__init__.py:1 in <module>                                                                      │
│                                                                                                  │
│ ❱ 1 from .generate_control_flow_graph import generate_cfg_handler                                │
│   2 from .generate_imports_graph import generate_imports_graph_handler                           │
│   3 from .generate_inheritance_graph import generate_inheritance_graph_handler                   │
│   4 from .generate_linearized_inheritance_graph import (                                         │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/wake/lsp/command │
│ s/generate_control_flow_graph.py:9 in <module>                                                   │
│                                                                                                  │
│     6 from wake.core import get_logger                                                           │
│     7 from wake.ir import FunctionDefinition, ModifierDefinition, StatementAbc                   │
│     8 from wake.lsp.common_structures import DocumentUri                                         │
│ ❱   9 from wake.lsp.context import LspContext                                                    │
│    10 from wake.lsp.exceptions import LspError                                                   │
│    11 from wake.lsp.protocol_structures import ErrorCodes                                        │
│    12 from wake.lsp.utils import uri_to_path                                                     │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/wake/lsp/context │
│ .py:12 in <module>                                                                               │
│                                                                                                  │
│    9 from ..utils.openzeppelin import get_contracts_package_version                              │
│   10 from .features.diagnostic import diagnostics_loop                                           │
│   11 from .lsp_compiler import LspCompiler                                                       │
│ ❱ 12 from .lsp_parser import LspParser                                                           │
│   13                                                                                             │
│   14 if TYPE_CHECKING:                                                                           │
│   15 │   from .server import LspServer                                                           │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/wake/lsp/lsp_par │
│ ser.py:18 in <module>                                                                            │
│                                                                                                  │
│    15 │   Union,                                                                                 │
│    16 )                                                                                          │
│    17                                                                                            │
│ ❱  18 from tree_sitter import Parser                                                             │
│    19 from tree_sitter_solidity import get_parser                                                │
│    20                                                                                            │
│    21 from .common_structures import (                                                           │
│                                                                                                  │
│ /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/tree_sitter/__in │
│ it__.py:4 in <module>                                                                            │
│                                                                                                  │
│    1 """Python bindings for tree-sitter."""                                                      │
│    2                                                                                             │
│    3 from ctypes import cdll, c_void_p                                                           │
│ ❱  4 from distutils.ccompiler import new_compiler                                                │
│    5 from distutils.unixccompiler import UnixCCompiler                                           │
│    6 from os import path                                                                         │
│    7 from platform import system                                                                 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'distutils'


I added the port 65432 to the Tools for solidity vscode setting and I still got similar error message:

Connecting to running 'wake' server on port 65432
Timed out waiting for port 65432 to open.
[Error - 05:16:28] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 05:16:28] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Info  - 05:16:28] Connection to server got closed. Server will restart.
[Error - 05:16:28] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 05:16:28] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 05:16:28] Stopping server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 05:16:28] Stopping server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 05:16:28] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 05:16:28] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 05:16:28] Stopping server failed
Error: Previous start failed. Can't restart server.

@michprev
Copy link
Member

@0xSimeon thank you for the log. The issue should be fixed in eth-wake 4.3.0 and Tools for Solidity 1.11.3 (which auto-installs eth-wake 4.3.0). It was caused by the distutils Python package not being pre-installed with Python 3.12.

@0xSimeon
Copy link
Author

Thank you, @michprev.

Should I install distutils and try again? Or wait for the new update?

@michprev
Copy link
Member

The new update should be available now, feel free to try it out.

@0xSimeon
Copy link
Author

0xSimeon commented Dec 25, 2023

The new update should be available now, feel free to try it out.

Thanks for the prompt response, once again @michprev Merry Christmas to you!

I added the updated the tools for solidity extension to get the new update. then check the output logs again and got this:

Connecting to running 'wake' server on port 65432
Timed out waiting for port 65432 to open.
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Info  - 22:31:26] Connection to server got closed. Server will restart.
[Error - 22:31:26] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Stopping server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Stopping server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110766
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at f.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:130386)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:131172)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 22:31:26] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110701
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at m.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:126867)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:128473)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Info  - 22:31:26] Connection to server got closed. Server will restart.
[Error - 22:31:26] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110766
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at f.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:130386)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:131172)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 22:31:26] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110701
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at m.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:126867)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:128473)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Info  - 22:31:26] Connection to server got closed. Server will restart.
[Error - 22:31:26] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110766
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at f.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:130386)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:131172)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 22:31:26] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110701
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at m.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:126867)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:128473)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Info  - 22:31:26] Connection to server got closed. Server will restart.
[Error - 22:31:26] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 22:31:26] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110766
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at f.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:130386)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:131172)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 22:31:26] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110701
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at m.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:126867)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:128473)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 22:31:26] The Tools for Solidity server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 22:31:26] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 22:31:26] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 

I uninstalled, did a clean install, unistalled again and reinstalled. it just doesn't work.

@michprev
Copy link
Member

@0xSimeon I'm sorry the last update didn't solve the issue.

Can you please repeat the process with launching the language server in the terminal, setting the port in VS Code and sending the log from the terminal?

@0xSimeon
Copy link
Author

Thanks for your prompt response even on christmas. I'm certainly impressed. Thanks for helping me out on this.

Screenshot 2023-12-25 at 10 57 08 PM Screenshot 2023-12-25 at 10 57 08 PM Screenshot 2023-12-25 at 11 00 03 PM

@michprev
Copy link
Member

As a workaround, you can try a different version of Python. However, I will be glad if you help me track down the issue. Unfortunately, I will need the bottom-most part of the exception, not the top part.

@michprev
Copy link
Member

Oh and Merry Christmas to you too! 🎄 Somehow I skipped reading that when I saw the error log 😅

@0xSimeon
Copy link
Author

0xSimeon commented Dec 27, 2023

As a workaround, you can try a different version of Python. However, I will be glad if you help me track down the issue. Unfortunately, I will need the bottom-most part of the exception, not the top part.

Hey, @michprev -sorry I got caught up in the festivities. here you go:

Connecting to running 'wake' server on port 65432
Timed out waiting for port 65432 to open.
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Info  - 15:06:44] Connection to server got closed. Server will restart.
[Error - 15:06:44] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Stopping server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Stopping server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110766
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at f.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:130386)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:131172)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 15:06:44] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110701
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at m.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:126867)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:128473)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Info  - 15:06:44] Connection to server got closed. Server will restart.
[Error - 15:06:44] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110766
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at f.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:130386)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:131172)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 15:06:44] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110701
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at m.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:126867)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:128473)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Info  - 15:06:44] Connection to server got closed. Server will restart.
[Error - 15:06:44] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110766
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at f.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:130386)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:131172)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 15:06:44] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110701
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at m.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:126867)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:128473)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Info  - 15:06:44] Connection to server got closed. Server will restart.
[Error - 15:06:44] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Client Tools for Solidity: connection to server is erroring. Shutting down server.
[Error - 15:06:44] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110766
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at f.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:130386)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:131172)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 15:06:44] Stopping server failed
Error: Previous start failed. Can't restart server.
	at w.$start (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166382)
	at w.shutdown (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163453)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:163228)
	at w.stop (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:321883)
	at w.handleConnectionError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:168806)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:167633
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:166799
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at /Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:110701
	at r.invoke (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:118387)
	at o.fire (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:119152)
	at m.fireError (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:126867)
	at Socket.<anonymous> (/Users/simeonudoh/.vscode/extensions/ackeeblockchain.tools-for-solidity-1.11.3/dist/extension.js:1:128473)
	at Socket.emit (node:events:525:35)
	at Socket.emit (node:domain:489:12)
	at emitErrorNT (node:internal/streams/destroy:151:8)
	at emitErrorCloseNT (node:internal/streams/destroy:116:3)
	at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[Error - 15:06:44] The Tools for Solidity server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 15:06:44] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Tools for Solidity client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 15:06:44] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 

@michprev
Copy link
Member

michprev commented Jan 2, 2024

Hey @0xSimeon, unfortunately, I need the bottom-most part of the log from your command line, not from VS Code. I.e., this log #72 (comment), but the bottom part.

The instructions are still the same as in #72 (comment).

@mikerudenko
Copy link

for me does not work too

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

3 participants