[BM:S] Traceback (most recent call last):

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

[BM:S] Traceback (most recent call last):

Postby Painkiller » Tue Feb 05, 2019 5:05 pm

Can anybody help for this problem ?

Syntax: Select all

[SP] Plugin 'country_tag' was unable to be loaded.
[SP] Loading plugin 'deathmsg'...

[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/deathmsg/deathmsg.py", line 15, in <module>
info = PluginInfo()

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


[SP] Plugin 'deathmsg' was unable to be loaded.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [BM:S] Traceback (most recent call last):

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

Moved to a more appropriate forum. The Plugin Request forum is meant to request plugins. I have also moved all your other threads.

Regarding your problem: PluginInfo is not meant to be used (anymore). Remove that part from the plugin.

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 21 guests