Page 1 of 1

[HL2:DM] string_tables.downloadables

Posted: Sat Mar 30, 2019 8:17 pm
by Painkiller
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

Re: [HL2:DM] string_tables.downloadables

Posted: Sun Mar 31, 2019 12:04 am
by L'In20Cible
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).

Re: [HL2:DM] string_tables.downloadables

Posted: Sun Mar 31, 2019 12:33 am
by Painkiller
I think now its good , Satoons fix work.

Thanks