You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[code][Source.Python] Loading... [Source.Python] Failed to load the main module due to following exception: Traceback (most recent call last): File "/home/container/hl2mp/addons/source-python/packages/source-python/__init__.py", line 89, in load setup_sp_command() ~~~~~~~~~~~~~~~~^^ File "/home/container/hl2mp/addons/source-python/packages/source-python/__init__.py", line 342, in setup_sp_command from core.command import auth, docs, dump, plugin File "/home/container/hl2mp/addons/source-python/packages/source-python/core/command/__init__.py", line 20, in <module> from commands.typed import TypedServerCommand File "/home/container/hl2mp/addons/source-python/packages/source-python/commands/typed.py", line 29, in <module> from filters.players import parse_filter File "/home/container/hl2mp/addons/source-python/packages/source-python/filters/players.py", line 26, in <module> from players.entity import Player File "/home/container/hl2mp/addons/source-python/packages/source-python/players/entity.py", line 19, in <module> import players._base File "/home/container/hl2mp/adource-python/packages/source-python/players/_base.py", line 45, in <module> from entities.entity import Entity File "/home/container/hl2mp/addons/source-python/packages/source-python/entities/entity.py", line 17, in <module> import entities._base File "/home/container/hl2mp/addons/source-python/packages/source-python/entities/_base.py", line 48, in <module> from filters.weapons import WeaponClassIter File "/home/container/hl2mp/addons/source-python/packages/source-python/filters/weapons.py", line 16, in <module> from weapons.manager import weapon_manager File "/home/container/hl2mp/addons/source-python/packages/source-python/weapons/manager.py", line 174, in <module> weapon_manager = _WeaponManager() File "/home/container/hl2mp/addons/source-python/packages/source-python/weapons/manager.py", line 79, in __init__ self[name] = WeaponClass( ~~~~~~~~~~~^ name, basename, self.ini['weapons'][basename] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/container/hl2mp/addons/source-python/packages/source-python/weapons/instance.py", line 47, in __init__ self._slot = self.parse_weapon_constants( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ properties.get('slot', None), WeaponSlot) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/container/hl2mp/addons/source-python/packages/source-python/weapons/instance.py", line 192, in parse_weapon_constants return weapon_constants(value) File "/home/container/hl2mp/addons/source-python/Python3/enum.py", line 730, in __call__ raise TypeError( f"{cls} has no members; specify names=()if you meant to create a new, empty, enum" ) TypeError: <enum 'WeaponSlot'> has no members; specifynames=() if you meant to create a new, empty, enum [Source.Python] Could not initialize python. Failed to load plugin "addons/source-python" [Source.Python] Unloading... [Source.Python] Unloaded successfully. Unable to load plugin "addons/source-python"[/code]
Uh oh!
There was an error while loading. Please reload this page.
[code][Source.Python] Loading... [Source.Python] Failed to load the main module due to following exception: Traceback (most recent call last): File "/home/container/hl2mp/addons/source-python/packages/source-python/__init__.py", line 89, in load setup_sp_command() ~~~~~~~~~~~~~~~~^^ File "/home/container/hl2mp/addons/source-python/packages/source-python/__init__.py", line 342, in setup_sp_command from core.command import auth, docs, dump, plugin File "/home/container/hl2mp/addons/source-python/packages/source-python/core/command/__init__.py", line 20, in <module> from commands.typed import TypedServerCommand File "/home/container/hl2mp/addons/source-python/packages/source-python/commands/typed.py", line 29, in <module> from filters.players import parse_filter File "/home/container/hl2mp/addons/source-python/packages/source-python/filters/players.py", line 26, in <module> from players.entity import Player File "/home/container/hl2mp/addons/source-python/packages/source-python/players/entity.py", line 19, in <module> import players._base File "/home/container/hl2mp/adource-python/packages/source-python/players/_base.py", line 45, in <module> from entities.entity import Entity File "/home/container/hl2mp/addons/source-python/packages/source-python/entities/entity.py", line 17, in <module> import entities._base File "/home/container/hl2mp/addons/source-python/packages/source-python/entities/_base.py", line 48, in <module> from filters.weapons import WeaponClassIter File "/home/container/hl2mp/addons/source-python/packages/source-python/filters/weapons.py", line 16, in <module> from weapons.manager import weapon_manager File "/home/container/hl2mp/addons/source-python/packages/source-python/weapons/manager.py", line 174, in <module> weapon_manager = _WeaponManager() File "/home/container/hl2mp/addons/source-python/packages/source-python/weapons/manager.py", line 79, in __init__ self[name] = WeaponClass( ~~~~~~~~~~~^ name, basename, self.ini['weapons'][basename] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/container/hl2mp/addons/source-python/packages/source-python/weapons/instance.py", line 47, in __init__ self._slot = self.parse_weapon_constants( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ properties.get('slot', None), WeaponSlot) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/container/hl2mp/addons/source-python/packages/source-python/weapons/instance.py", line 192, in parse_weapon_constants return weapon_constants(value) File "/home/container/hl2mp/addons/source-python/Python3/enum.py", line 730, in __call__ raise TypeError( f"{cls} has no members; specify
names=()if you meant to create a new, empty, enum" ) TypeError: <enum 'WeaponSlot'> has no members; specify
names=()if you meant to create a new, empty, enum [Source.Python] Could not initialize python. Failed to load plugin "addons/source-python" [Source.Python] Unloading... [Source.Python] Unloaded successfully. Unable to load plugin "addons/source-python"[/code]
Linux
[code]
weapon_crowbar slot: 0 x: 0
weapon_pistol slot: 1 x: 1
weapon_smg1 slot: 2 x: 2
weapon_frag slot: 4 x: 3
weapon_physcannon slot: -1 x: 4
weapon_stunstick slot: -1 x: 5
weapon_357 slot: -1 x: 6
weapon_ar2 slot: -1 x: 7
weapon_shotgun slot: 3 x: 8
weapon_crossbow slot: -1 x: 9
weapon_rpg slot: -1 x: 10
weapon_slam slot: -1 x: 11
[/code]
Windows
[code]
weapon_pistol slot: 1 x: 0
weapon_crowbar slot: 0 x: 1
weapon_stunstick slot: -1 x: 2
weapon_357 slot: -1 x: 3
weapon_smg1 slot: 2 x: 4
weapon_ar2 slot: 5 x: 5
weapon_shotgun slot: 3 x: 6
weapon_frag slot: 4 x: 7
weapon_crossbow slot: -1 x: 8
weapon_rpg slot: -1 x: 9
weapon_slam slot: -1 x: 10
weapon_physcannon slot: -1 x: 11
[/code]
The text was updated successfully, but these errors were encountered: