[BM:S] TypeError: __init__() missing 1 required positional argument: 'name'

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
Painkiller
Senior Member
Posts: 403
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

[BM:S] TypeError: __init__() missing 1 required positional argument: 'name'

Postby Painkiller » Tue Feb 05, 2019 4:58 pm

I have a problem with my jet plugin can anybody help `?


Syntax: Select all

[SP] Loading plugin 'jet'...

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 194, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "../addons/source-python/plugins/jet/jet.py", line 21, in <module>
info = PluginInfo()

TypeError: __init__() missing 1 required positional argument: 'name'


Syntax: Select all

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/commands/auth.py", line 44, in __call__
return self.callback(*args)
File "../addons/source-python/plugins/parachute/parachute.py", line 63, in _jet_say_command
entity.base_spread = 10
File "../addons/source-python/packages/source-python/entities/_base.py", line 131, in __setattr__
for server_class in self.server_classes:
File "../addons/source-python/packages/source-python/entities/_base.py", line 244, in server_classes
yield from server_classes.get_entity_server_classes(self)
File "../addons/source-python/packages/source-python/entities/classes.py", line 143, in get_entity_server_classes
entity_server_classes = [entity.server_class.name]

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 1: invalid start byte
User avatar
Ayuto
Project Leader
Posts: 1933
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [BM:S] TypeError: __init__() missing 1 required positional argument: 'name'

Postby Ayuto » Tue Feb 05, 2019 5:58 pm

Those are the same errors like here:
viewtopic.php?f=20&t=1965
viewtopic.php?f=20&t=1966

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 5 guests