[HL2:DM] string_tables.downloadables

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

[HL2:DM] string_tables.downloadables

Postby Painkiller » Sat Mar 30, 2019 8:17 pm

And the last error message.
I hope someone can help me to fix this

Code: Select all

2019-03-30 16:25:41 - sp   -   EXCEPTION   
[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 76, in _load
    self.module.load()
  File "../addons/source-python/plugins/supermod/supermod.py", line 191, in load
    download()
  File "../addons/source-python/plugins/supermod/supermod.py", line 951, in download
    for x in string_tables.downloadables:

TypeError: 'NoneType' object is not iterable
User avatar
L'In20Cible
Project Leader
Posts: 1153
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: [HL2:DM] string_tables.downloadables

Postby L'In20Cible » Sun Mar 31, 2019 12:04 am

Please show your entire code. I guess your plugin is trying to iterate on the table before it has been created (on plugin loaded via autoexec.cfg, for example).
User avatar
Painkiller
Senior Member
Posts: 476
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: [HL2:DM] string_tables.downloadables

Postby Painkiller » Sun Mar 31, 2019 12:33 am

I think now its good , Satoons fix work.

Thanks

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 6 guests