Error while attaching clive to existing beekeeper instance
Lately, we have encountered an issue while attaching clive to an existing beekeeper instance. Clive used to use it, but now it cannot because of a notification issue in beekeeper.
log:
(develop)(default) $ clive beekeeper spawn
Launching beekeeper...
Beekeeper started on http://127.0.0.1:38307 with pid 25088.
(develop)(default) $ clive
Traceback (most recent call last):
File "/home/user/hive/clive/venv/bin/clive", line 6, in <module>
sys.exit(main())
File "/home/user/hive/clive/clive/main.py", line 40, in main
asyncio.run(_main())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/user/hive/clive/clive/main.py", line 33, in _main
await run_tui()
File "/home/user/hive/clive/clive/__private/run_tui.py", line 20, in run_tui
sys.exit(await Clive.app_instance().run_async())
File "/home/user/hive/clive/clive/__private/ui/app.py", line 127, in run_async
async with TextualWorld() as world:
File "/home/user/hive/clive/clive/__private/core/world.py", line 65, in __aenter__
return await self.setup()
File "/home/user/hive/clive/clive/__private/core/world.py", line 97, in setup
self._beekeeper = await self.__setup_beekeeper(remote_endpoint=self._beekeeper_remote_endpoint)
File "/home/user/hive/clive/clive/__private/core/world.py", line 118, in __setup_beekeeper
await beekeeper.launch()
File "/home/user/hive/clive/clive/__private/core/beekeeper/handle.py", line 127, in launch
await self.__start(arguments=arguments)
File "/home/user/hive/clive/clive/__private/core/beekeeper/handle.py", line 267, in __start
await self.__run_beekeeper(timeout=timeout, arguments=arguments)
File "/home/user/hive/clive/clive/__private/core/beekeeper/handle.py", line 301, in __run_beekeeper
self.config.webserver_http_endpoint = self.__notification_server.beekeeper_webserver_http_endpoint
File "/home/user/hive/clive/clive/__private/core/beekeeper/notifications.py", line 41, in beekeeper_webserver_http_endpoint
assert self.__beekeeper_webserver_http_endpoint_from_notification is not None, message
AssertionError: Beekeeper webserver HTTP endpoint is not known yet