-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
在游玩的账号输入!!bot create xxx,会报错,然后面板的控制台会“失去同步”,但是看latest.log看不出来有什么问题
在面板的控制台的表现:
// 前略
[Server] [21:55:12] [Server thread/INFO]: <Wacbde> !!bot spawn whp_temp
[MCDR] [21:55:17] [commandSpawn/WARNING] [minecraft_data_api]: Query for player Wacbde at path timeout
Exception in thread commandSpawn:
Traceback (most recent call last):
File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/root/.local/share/pipx/venvs/mcdreforged/lib/python3.12/site-packages/mcdreforged/api/decorator/new_thread.py", line 29, in wrapped_target
raise e from None
File "/root/.local/share/pipx/venvs/mcdreforged/lib/python3.12/site-packages/mcdreforged/api/decorator/new_thread.py", line 26, in wrapped_target
self.__return_value = target(*args_, **kwargs_)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "plugins/Bot-v1.3.1.mcdr/bot/command_handler.py", line 434, in __command_spawn
File "plugins/Bot-v1.3.1.mcdr/bot/bot_manager.py", line 222, in spawn
File "plugins/Bot-v1.3.1.mcdr/bot/plugin.py", line 138, in get_location
TypeError: 'NoneType' object is not subscriptable
// 这里就卡住了
> say
> quit()
>
>
>
> exit
> stop
Exception in thread ServerProcessManager:
Traceback (most recent call last):
File "/usr/lib/python3.12/asyncio/streams.py", line 568, in readline
line = await self.readuntil(sep)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/streams.py", line 663, in readuntil
raise exceptions.LimitOverrunError(
asyncio.exceptions.LimitOverrunError: Separator is found, but chunk is longer than limit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/root/.local/share/pipx/venvs/mcdreforged/lib/python3.12/site-packages/mcdreforged/process/server_process_manager.py", line 143, in run_process
await asyncio.wait_for(t3, timeout=5)
File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
File "/root/.local/share/pipx/venvs/mcdreforged/lib/python3.12/site-packages/mcdreforged/process/server_process_manager.py", line 125, in handle_output_eof
await asyncio.gather(proc.wait(), t1, t2)
File "/root/.local/share/pipx/venvs/mcdreforged/lib/python3.12/site-packages/mcdreforged/process/server_process_manager.py", line 94, in drain_reader
while line := await reader.readline():
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/streams.py", line 577, in readline
raise ValueError(e.args[0])
ValueError: Separator is found, but chunk is longer than limit
>
MCDR.log:
// 前略
[MCDR] [2025-09-19 21:55:17.891] [commandSpawn/WARNING] [player_data_getter.py:48(get_player_info)] [minecraft_data_api]: Query for player Wacbde at path timeout
latest.log:
[21:55:12] [Server thread/INFO]: <Wacbde> !!bot spawn whp_temp
[21:55:12] [Server thread/INFO]: Wacbde has the following entity data: {略}
// 这里就卡住了
[21:55:52] [Server thread/INFO]: <Wacbde> !!MCDR
[21:55:57] [Server thread/INFO]: Unknown or incomplete command, see below for error
[21:55:57] [Server thread/INFO]: say<--[HERE]
[21:55:59] [Server thread/INFO]: Unknown or incomplete command, see below for error
[21:55:59] [Server thread/INFO]: quit()<--[HERE]
[21:56:03] [Server thread/INFO]: Unknown or incomplete command, see below for error
[21:56:03] [Server thread/INFO]: exit<--[HERE]
[21:56:05] [Server thread/INFO]: Stopping the server
[21:56:05] [Server thread/INFO]: Starting shutdown process...
[21:56:05] [Server thread/INFO]: Closing storage...
[21:56:05] [Server thread/INFO]: Goodbye!
[21:56:05] [Server thread/INFO]: Stopping server
[21:56:05] [Server thread/INFO]: Saving players
[21:56:05] [Server thread/INFO]: Wacbde lost connection: Server closed
[21:56:05] [Server thread/INFO]: Wacbde left the game
[21:56:05] [Server thread/INFO]: Saving worlds
[21:56:05] [Server thread/INFO]: ServerLevel[world]/minecraft:overworld: waiting for 4696 chunks to unload
[21:56:05] [Server thread/INFO]: ServerLevel[world]/minecraft:the_end: waiting for 49 chunks to unload
[21:56:05] [Server thread/INFO]: ServerLevel[world]/minecraft:the_nether: waiting for 738 chunks to unload
[21:56:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[21:56:06] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[21:56:06] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[21:56:06] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[21:56:06] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[21:56:06] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[21:56:06] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[21:56:06] [C2ME Storage #3/INFO]: Storage thread Thread[#83,C2ME Storage #3,5,main] stopped
[21:56:06] [C2ME Storage #2/INFO]: Storage thread Thread[#80,C2ME Storage #2,5,main] stopped
[21:56:06] [C2ME Storage #1/INFO]: Storage thread Thread[#79,C2ME Storage #1,5,main] stopped
[21:56:06] [C2ME Storage #6/INFO]: Storage thread Thread[#86,C2ME Storage #6,5,main] stopped
[21:56:06] [C2ME Storage #5/INFO]: Storage thread Thread[#85,C2ME Storage #5,5,main] stopped
[21:56:06] [C2ME Storage #4/INFO]: Storage thread Thread[#84,C2ME Storage #4,5,main] stopped
[21:56:06] [C2ME Storage #9/INFO]: Storage thread Thread[#89,C2ME Storage #9,5,main] stopped
[21:56:06] [C2ME Storage #8/INFO]: Storage thread Thread[#88,C2ME Storage #8,5,main] stopped
[21:56:06] [C2ME Storage #7/INFO]: Storage thread Thread[#87,C2ME Storage #7,5,main] stopped
[21:56:06] [Server thread/INFO]: [EasyAuth]: Shutting down EasyAuth.
[21:56:06] [Server thread/INFO]: [EasyAuth]: SQLite database connection closed successfully.
Metadata
Metadata
Assignees
Labels
No labels

