Errors with 2 addons

All other Source.Python topics and issues.
tnarocks
Member
Posts: 56
Joined: Fri Aug 03, 2012 1:35 am

Errors with 2 addons

Postby tnarocks » Thu Jan 03, 2013 3:24 am

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'
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Thu Jan 03, 2013 3:55 am

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
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Postby L'In20Cible » Thu Jan 03, 2013 3:58 am

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
tnarocks
Member
Posts: 56
Joined: Fri Aug 03, 2012 1:35 am

Postby tnarocks » Thu Jan 03, 2013 4:11 am

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.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 152 guests