We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[BUG] "evennia xyzgrid help" causes TypeError: NoneType takes no arguments
#### Describe the bug
Fresh migration from git master to main and then installing xyzgrid prevents evennia xyzgrid commands from working. For example, "evennia xyzgrid help" causes TypeError: NoneType takes no arguments

#### To Reproduce
1. Migrated from git master branch to main branch for 1.x release of Evennia.
2. Installed [extra](use to be in requirements_extra). 

At this point, I can run the server and log in.

3. Added the xyzgrid command set and restarted. 

'path', 'goto', 'map' are seen in the command list. The Limbo room does not have a map. Everything appears to work fine.

4. Modify the server/conf/settings.py.

xyzgrid is now available.

When I use xyzgrid, such as 'evennia xyzgrid help', or any other xyzgrid command:
TypeError: NoneType takes no arguments

#### Expected behavior
'evennia xyzgrid <command>' should call the xyzgrid command.

#### Environment, Evennia version, OS etc

    Evennia 1.0.1 (rev 38011cc48d)
    OS: nt
    Python: 3.11.1
    Twisted: 22.10.0
    Django: 4.1.4

#### Additional context

This is based off helix4's message in #general on discord. I added my current steps that seem to reproduce the same issue down below. Here is the original message from helix4, with steps for reproducing on the older version of the code.

I am trying to test XYZGrid on a brand new install but failing. 1. cloned the single branch of evennia-develop, and initiated an evennia game. 2. installed requirements_extra, and migrated. I can run the server and log in. 3. i added the command set and reloadead, i see path, goto, map ingame. the Limbo room does not have a map. seems to work well. 4. modify the server/conf/settings.py, xyzgrid is now available.

When I use xyzgrid, such as evennia xyzgrid help, or any other xyzgrid command:
    from evennia.utils.eveditor import EvEditor
  File "/home/ubuntu/3ProjectMUD/evennia/evennia/utils/eveditor.py", line 201, in <module>
    class SaveYesNoCmdSet(CmdSet):
TypeError: NoneType takes no arguments

Original message

https://discord.com/channels/246323978879107073/246323978879107073/937578545704730624

Griatch's response

https://discord.com/channels/246323978879107073/246323978879107073/937610453184561183

Steps:

1. Migrated from git master branch to main branch for 1.x release of Evennia.
2. Installed [extra](use to be in requirements_extra). 

At this point, I can run the server and log in.

3. Added the xyzgrid command set and restarted. 

'path', 'goto', 'map' are seen in the command list. The Limbo room does not have a map. Everything appears to work fine.

4. Modify the server/conf/settings.py.

xyzgrid is now available.

When I use xyzgrid, such as 'evennia xyzgrid help', or any other xyzgrid command:

Traceback (most recent call last):
  File "C:\muddev\evenv\Scripts\evennia_launcher.py", line 18, in <module>
    main()
  File "C:\muddev\evennia\evennia\server\evennia_launcher.py", line 2422, in main
    if run_custom_commands(option, *unknown_args):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\muddev\evennia\evennia\server\evennia_launcher.py", line 2023, in run_custom_commands
    mod = importlib.import_module(modpath)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...

  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\muddev\evennia\evennia\contrib\grid\xyzgrid\__init__.py", line 6, in <module>
    from . import commands  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\muddev\evennia\evennia\contrib\grid\xyzgrid\commands.py", line 15, in <module>
    from evennia.commands.default import building
  File "C:\muddev\evennia\evennia\commands\default\building.py", line 14, in <module>
    from evennia.prototypes import menus as olc_menus
  File "C:\muddev\evennia\evennia\prototypes\menus.py", line 20, in <module>
    from evennia.utils.evmenu import EvMenu, list_node
  File "C:\muddev\evennia\evennia\utils\evmenu.py", line 350, in <module>
    class CmdEvMenuNode(Command):
TypeError: NoneType takes no arguments



--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `evennia/contrib/grid/xyzgrid/__init__.py`
Content:
```
1 """
2 XYZGrid - Griatch 2021
3 
4 """
5 
6 from . import commands  # noqa
7 from . import example  # noqa
8 from . import launchcmd  # noqa
9 from . import prototypes  # noqa
10 from . import tests  # noqa
11 from . import utils  # noqa
12 from . import xymap  # noqa
13 from . import xymap_legend  # noqa
14 from . import xyzgrid  # noqa
15 from . import xyzroom  # noqa
16
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/evennia/contrib/grid/xyzgrid/__init__.py b/evennia/contrib/grid/xyzgrid/__init__.py
--- a/evennia/contrib/grid/xyzgrid/__init__.py
+++ b/evennia/contrib/grid/xyzgrid/__init__.py
@@ -2,14 +2,15 @@
 XYZGrid - Griatch 2021
 
 """
-
-from . import commands  # noqa
-from . import example  # noqa
-from . import launchcmd  # noqa
-from . import prototypes  # noqa
-from . import tests  # noqa
-from . import utils  # noqa
-from . import xymap  # noqa
-from . import xymap_legend  # noqa
-from . import xyzgrid  # noqa
-from . import xyzroom  # noqa
+from . import (
+    example,
+    launchcmd,
+    prototypes,
+    tests,
+    utils,
+    xymap,
+    xymap_legend,
+    xyzgrid,
+    xyzroom,
+    commands,
+)

{"golden_diff": "diff --git a/evennia/contrib/grid/xyzgrid/__init__.py b/evennia/contrib/grid/xyzgrid/__init__.py\n--- a/evennia/contrib/grid/xyzgrid/__init__.py\n+++ b/evennia/contrib/grid/xyzgrid/__init__.py\n@@ -2,14 +2,15 @@\n XYZGrid - Griatch 2021\n \n \"\"\"\n-\n-from . import commands  # noqa\n-from . import example  # noqa\n-from . import launchcmd  # noqa\n-from . import prototypes  # noqa\n-from . import tests  # noqa\n-from . import utils  # noqa\n-from . import xymap  # noqa\n-from . import xymap_legend  # noqa\n-from . import xyzgrid  # noqa\n-from . import xyzroom  # noqa\n+from . import (\n+    example,\n+    launchcmd,\n+    prototypes,\n+    tests,\n+    utils,\n+    xymap,\n+    xymap_legend,\n+    xyzgrid,\n+    xyzroom,\n+    commands,\n+)\n", "issue": "[BUG] \"evennia xyzgrid help\" causes TypeError: NoneType takes no arguments\n#### Describe the bug\r\nFresh migration from git master to main and then installing xyzgrid prevents evennia xyzgrid commands from working. For example, \"evennia xyzgrid help\" causes TypeError: NoneType takes no arguments\r\n\r\n#### To Reproduce\r\n1. Migrated from git master branch to main branch for 1.x release of Evennia.\r\n2. Installed [extra](use to be in requirements_extra). \r\n\r\nAt this point, I can run the server and log in.\r\n\r\n3. Added the xyzgrid command set and restarted. \r\n\r\n'path', 'goto', 'map' are seen in the command list. The Limbo room does not have a map. Everything appears to work fine.\r\n\r\n4. Modify the server/conf/settings.py.\r\n\r\nxyzgrid is now available.\r\n\r\nWhen I use xyzgrid, such as 'evennia xyzgrid help', or any other xyzgrid command:\r\nTypeError: NoneType takes no arguments\r\n\r\n#### Expected behavior\r\n'evennia xyzgrid <command>' should call the xyzgrid command.\r\n\r\n#### Environment, Evennia version, OS etc\r\n\r\n    Evennia 1.0.1 (rev 38011cc48d)\r\n    OS: nt\r\n    Python: 3.11.1\r\n    Twisted: 22.10.0\r\n    Django: 4.1.4\r\n\r\n#### Additional context\r\n\r\nThis is based off helix4's message in #general on discord. I added my current steps that seem to reproduce the same issue down below. Here is the original message from helix4, with steps for reproducing on the older version of the code.\r\n\r\nI am trying to test XYZGrid on a brand new install but failing. 1. cloned the single branch of evennia-develop, and initiated an evennia game. 2. installed requirements_extra, and migrated. I can run the server and log in. 3. i added the command set and reloadead, i see path, goto, map ingame. the Limbo room does not have a map. seems to work well. 4. modify the server/conf/settings.py, xyzgrid is now available.\r\n\r\nWhen I use xyzgrid, such as evennia xyzgrid help, or any other xyzgrid command:\r\n    from evennia.utils.eveditor import EvEditor\r\n  File \"/home/ubuntu/3ProjectMUD/evennia/evennia/utils/eveditor.py\", line 201, in <module>\r\n    class SaveYesNoCmdSet(CmdSet):\r\nTypeError: NoneType takes no arguments\r\n\r\nOriginal message\r\n\r\nhttps://discord.com/channels/246323978879107073/246323978879107073/937578545704730624\r\n\r\nGriatch's response\r\n\r\nhttps://discord.com/channels/246323978879107073/246323978879107073/937610453184561183\r\n\r\nSteps:\r\n\r\n1. Migrated from git master branch to main branch for 1.x release of Evennia.\r\n2. Installed [extra](use to be in requirements_extra). \r\n\r\nAt this point, I can run the server and log in.\r\n\r\n3. Added the xyzgrid command set and restarted. \r\n\r\n'path', 'goto', 'map' are seen in the command list. The Limbo room does not have a map. Everything appears to work fine.\r\n\r\n4. Modify the server/conf/settings.py.\r\n\r\nxyzgrid is now available.\r\n\r\nWhen I use xyzgrid, such as 'evennia xyzgrid help', or any other xyzgrid command:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\muddev\\evenv\\Scripts\\evennia_launcher.py\", line 18, in <module>\r\n    main()\r\n  File \"C:\\muddev\\evennia\\evennia\\server\\evennia_launcher.py\", line 2422, in main\r\n    if run_custom_commands(option, *unknown_args):\r\n       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"C:\\muddev\\evennia\\evennia\\server\\evennia_launcher.py\", line 2023, in run_custom_commands\r\n    mod = importlib.import_module(modpath)\r\n          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n...\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 1206, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 1178, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 1128, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\r\n  File \"<frozen importlib._bootstrap>\", line 1206, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 1178, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 1149, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 690, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap_external>\", line 940, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\r\n  File \"C:\\muddev\\evennia\\evennia\\contrib\\grid\\xyzgrid\\__init__.py\", line 6, in <module>\r\n    from . import commands  # noqa\r\n    ^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"C:\\muddev\\evennia\\evennia\\contrib\\grid\\xyzgrid\\commands.py\", line 15, in <module>\r\n    from evennia.commands.default import building\r\n  File \"C:\\muddev\\evennia\\evennia\\commands\\default\\building.py\", line 14, in <module>\r\n    from evennia.prototypes import menus as olc_menus\r\n  File \"C:\\muddev\\evennia\\evennia\\prototypes\\menus.py\", line 20, in <module>\r\n    from evennia.utils.evmenu import EvMenu, list_node\r\n  File \"C:\\muddev\\evennia\\evennia\\utils\\evmenu.py\", line 350, in <module>\r\n    class CmdEvMenuNode(Command):\r\nTypeError: NoneType takes no arguments\r\n\r\n\n", "before_files": [{"content": "\"\"\"\nXYZGrid - Griatch 2021\n\n\"\"\"\n\nfrom . import commands  # noqa\nfrom . import example  # noqa\nfrom . import launchcmd  # noqa\nfrom . import prototypes  # noqa\nfrom . import tests  # noqa\nfrom . import utils  # noqa\nfrom . import xymap  # noqa\nfrom . import xymap_legend  # noqa\nfrom . import xyzgrid  # noqa\nfrom . import xyzroom  # noqa\n", "path": "evennia/contrib/grid/xyzgrid/__init__.py"}], "after_files": [{"content": "\"\"\"\nXYZGrid - Griatch 2021\n\n\"\"\"\nfrom . import (\n    example,\n    launchcmd,\n    prototypes,\n    tests,\n    utils,\n    xymap,\n    xymap_legend,\n    xyzgrid,\n    xyzroom,\n    commands,\n)\n", "path": "evennia/contrib/grid/xyzgrid/__init__.py"}]}