Page 1 of 1

Errors with 2 addons

Posted: Thu Jan 03, 2013 3:24 am
by tnarocks
Im getting some errors for 2 of the addons posted. Heres the errors that i am getting.


[SP] Loading 'syphon'...

[SP] caught an exception:
Traceback (most recent call last):
File '..\addons\source-python\_libs\addons\manager.py', line 36, in __missing__
instance = _LoadedAddon(addon_name)
File '..\addons\source-python\_libs\addons\manager.py', line 219, in __init__
addon = __import__(addon_name + '.' + addon_name)
File '..\addons\source-python\.\syphon\syphon.py', line 9, in <module>
from events.decorator import Event

ImportError: No module named 'events.decorator'

[SP] Addon 'syphon' was unable to be loaded.
[SP] Loading 'most_damage'...

[SP] caught an exception:
Traceback (most recent call last):
File '..\addons\source-python\_libs\addons\manager.py', line 36, in __missing__
instance = _LoadedAddon(addon_name)
File '..\addons\source-python\_libs\addons\manager.py', line 219, in __init__
addon = __import__(addon_name + '.' + addon_name)
File '..\addons\source-python\.\most_damage\most_damage.py', line 9, in <module>
from core import ServerVar

ImportError: cannot import name ServerVar

[SP] Addon 'most_damage' was unable to be loaded.
[SP] Loading 'cdr'...
[SP] Successfully loaded 'cdr'

Posted: Thu Jan 03, 2013 3:55 am
by satoon101
Since the plugin is still early in development, we tend to break things with updates. We want to make sure we implement things "correctly", so sometimes we end up having to make these types of changes. Both of those addons were broken with some of these updates. I realize that one of them is an addon that I wrote, but I probably will not update it until we get the new forthcoming changes to the user message system sorted out.

Satoon

Posted: Thu Jan 03, 2013 3:58 am
by L'In20Cible
Hey tnarocks,

Those has been moved so the addons you are using needs to be updated.

Syntax: Select all

from events.decorator import Event
# should be...
from events import Event

from core import ServerVar
# should be...
from core.cvar import ServerVar

L'In20Cible

Posted: Thu Jan 03, 2013 4:11 am
by tnarocks
Lol your talking to a guy that knows how to upgrade the addons but dont know how to edit them lol cause i seem to break them. So i can wait till they get updated. Im in no hurry just wanted to let you guys know that there messed up. And keep up the great work.