RuntimeError

Please post any questions about developing your plugin here. Please use the search function before posting!
decompile
Senior Member
Posts: 416
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

RuntimeError

Postby decompile » Wed Sep 14, 2016 12:11 pm

Hey Guys,

I recently checked my sp logs during the live servers, and the only thing I noticed was that im getting

Code: Select all

09-14-2016 06:06:35 - sp   -   MESSAGE
   [SP] Unloading plugin 'badlocalanglesfix'...
09-14-2016 06:06:35 - sp   -   MESSAGE
   [SP] Successfully unloaded plugin 'badlocalanglesfix'.
09-14-2016 06:06:35 - sp   -   EXCEPTION
   
[SP] Caught an Exception:
Traceback (most recent call last):
  File "../addons/source-python/packages/source-python/__init__.py", line 57, in unload
    unload_plugins()
  File "../addons/source-python/packages/source-python/__init__.py", line 301, in unload_plugins
    for plugin_name in core_plugin_manager:

RuntimeError: OrderedDict mutated during iteration


I built in my own automatic server restart plugin, since my hoster doesnt provide the feature.

It simply executes _restart to the server console which should restart the server.
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: RuntimeError

Postby L'In20Cible » Wed Sep 14, 2016 3:07 pm

Fixed, thank you!

Return to “Plugin Development Support”

Who is online

Users browsing this forum: Google [Bot] and 18 guests