Truly saying Pain was right - it was my mistake. I left unwanted comma at the end of the last advertisement. And with help of Json validator i found it)).
Problem solved!
Thank to both of you guys!
Notifier [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Feb 1, 2015.
-
No Problem.
-
[DOUBLEPOST=1438002957][/DOUBLEPOST]last oxide and default plaginCode:
[7/27/2015 3:05:26 PM] [Oxide] 3:05 PM [Error] Failed to run a 300.00 timer in notifier (KeyNotFoundException: The given key was not present in the dictionary.)^M [7/27/2015 3:31:46 PM] [Oxide] 3:31 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Notifier'^M Traceback (most recent call last):^M File "notifier.py", line 410, in OnPlayerDisconnected^M RuntimeError: Failed to call OnPlayerDisconnected (KeyNotFoundException: 76561198208419672)^M at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c> at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000a2> at (wrapper dynamic-method) object.OnPlayerDisconnected$64 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object) <0x00292> ^M ^M [7/27/2015 3:31:46 PM] [Oxide] 3:31 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'Notifier'^M Traceback (most recent call last):^M File "notifier.py", line 403, in OnPlayerInit^M File "notifier.py", line 755, in webrequest_filter^M RuntimeError: Failed to call OnPlayerInit (MissingMemberException: 'NoneType' object has no attribute 'ipaddress')^M at Microsoft.Scripting.Interpreter.ThrowInstruction.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 ^M at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 ^M
[DOUBLEPOST=1438003076][/DOUBLEPOST]json config file is valide
[DOUBLEPOST=1438005365][/DOUBLEPOST]I`m replace in notifier.json in string: "PLAYERS STATS": "<orange>Спящих:<end> <lime>{sleepers}<end> <yellow>|<end> <orange>За все время:<end> <lime>{total}<end>", "total" on "active". Because in source code use only sleepers and active: "self.tell(player, MSG['PLAYERS STATS'].format(sleepers=str(len(sleepers)), alltime=str(len(active) + len(sleepers))), f=False)"
[DOUBLEPOST=1438005419][/DOUBLEPOST]and plugin wokr with out error =)
[DOUBLEPOST=1438009095][/DOUBLEPOST]No error =(
Code:5:31 PM [Error] Failed to call hook 'players_online_CMD' on plugin 'Notifier'^M Traceback (most recent call last):^M File "notifier.py", line 528, in players_online_CMD^M RuntimeError: Failed to call players_online_CMD (KeyNotFoundException: The given key was not present in the dictionary.)^M at System.Collections.Generic.Dictionary`2[System.Object,System.Object].get_Item (System.Object key) [0x00000] in <filename unknown>:0 ^M at IronPython.Runtime.NewStringFormatter+Formatter.GetUnaccessedObject (FieldName fieldName) [0x00000] in <filename unknown>:0 ^M at IronPython.Runtime.NewStringFormatter+Formatter.GetArgumentValue (FieldName fieldName) [0x00000] in <filename unknown>:0 ^M at IronPython.Runtime.NewStringFormatter+Formatter.ReplaceText (System.String format) [0x00000] in <filename unknown>:0 ^M at IronPython.Runtime.NewStringFormatter+Formatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0 ^M at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0 ^M at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext context, System.String format_string, IDictionary`2 kwargs, System.Object[] args) [0x00000] in <filename unknown>:0 ^M at Microsoft.Scripting.Interpreter.FuncCallInstruction`5[IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary`2[System.Object,System.Object],System.Object[],System.String].Run (Microsoft.Scripting.Interpr at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 ^M ^M
-
Keep getting this error but i dont understand what´s wrong
Code:[Oxide] 6:58 PM [Error] Failed to run a 360.00 timer in notifier (KeyNotFoundException: The given key was not present in the dictionary.) [Oxide] 6:58 PM [Debug] at System.Collections.Generic.Dictionary`2[System.Object,System.Object].get_Item (System.Object key) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter+Formatter.GetUnaccessedObject (FieldName fieldName) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter+Formatter.GetArgumentValue (FieldName fieldName) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter+Formatter.ReplaceText (System.String format) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter+Formatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0 at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0 at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext context, System.String format_string, IDictionary`2 kwargs, System.Object[] args) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.FuncCallInstruction`5[IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary`2[System.Object,System.Object],System.Object[],System.String].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
It sounds like your config is invalid or outdated. -
This error occurs sometimes. Because of what is it?Code:
[Oxide] 12:46 AM [Error] Failed to call hook 'players_list_CMD' on plugin 'Notifier' Traceback (most recent call last): File "notifier.py", line 489, in players_list_CMD RuntimeError: Failed to call players_list_CMD (KeyNotFoundException: CHECK CONSOLE) at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c> at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000a2> at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113> at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>
Attached Files:
-
-
Wulf Community Admin
It sounds like your config is invalid or outdated. -
@Wulf
I switched hosts and now I'm getting these errors exact same files, are they providing an outdated version of oxide? -
Wulf Community Admin
You're using a snapshot that has a hook changed slightly. See http://oxidemod.org/threads/failed-to-call-hook-onstructureupgrade.10583/#post-113093. -
That's what I thought thanks, my new host isn't linked to your git hub apparently. How annoying, their performance is way better though so that's a plus. Thank you very much for your quick reply.
-
But it looks fine in jsonlint and i have the latest update,
-
Sorry for double post, wont let me edit the post beforeCode:
[Oxide] 2:12 PM [Error] Web request callback raised an exception (KeyNotFoundException: RS) [Oxide] 2:12 PM [Debug] at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c> at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000a2> at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113> at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>

Found this error in my log and have no idea what causes it, if anyone knows something, tell me ^^
RegardsLast edited by a moderator: Jul 28, 2015 -
Wulf Community Admin
Not invalid formatting, just outdated, missing parts. -
default config :/
Code:[Oxide] 1:20 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'No tifier' Traceback (most recent call last): File "notifier.py", line 410, in OnPlayerDisconnected 86kb/s in, 288kb/s out RuntimeError: Failed to call OnPlayerDisconnected (KeyNotFoundException: 7656119 8176151486) at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c> at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServi ces.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000a2> at System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, object, object> (Sys tem.Runtime.CompilerServices.CallSite,object,object) <0x0030a> at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>. Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113> at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpre ter.InterpretedFrame) <0x000c8>[Oxide] 1:20 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'Notifier' Traceback (most recent call last): File "notifier.py", line 403, in OnPlayerInit File "notifier.py", line 755, in webrequest_filter 86kb/s in, 288kb/s out RuntimeError: Failed to call OnPlayerInit (MissingMemberException: 'NoneType' ob ject has no attribute 'ipaddress') at Microsoft.Scripting.Interpreter.ThrowInstruction.Run (Microsoft.Scripting.I nterpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interp reter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
The first is because you're using a development snapshot that changed the OnPlayerDisconnected hook. Try the below.
The second is caused by your config not being correct somehow, maybe outdated.Attached Files:
-
-
Wulf, I cannot express how much I enjoy your presence on these forums. I've been up for 28 hours with constant server host issues I've switched to three hosts and lost of bunch of players. And you've just made everything so much better, I can't thank you enough, this has been stressful. Mainly from host issues.
I still get this, but that might be a config issue? -
Wulf Community Admin
Those aren't related to this plugin, but it does show that an old issue is still an issue. http://oxidemod.org/threads/lua-plugin-maxing-out-server-memory.10343/ -
Drag those DLL files over? Can I do it while the server is running?
-
Wulf Community Admin
No, but please take the convo to that thread, it's off topic for this thread. -
Is it possible to re-enable the players avatar for the join/leave message?
