Bug #1073

avatar

SQL: ERROR about MessageBuffer/PersistentSqlite/MaxCapacity

Added by Lex Black 3448 days ago. Updated 3448 days ago.

Status:Closed Start:07/14/2015
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Engine
Target version:1.0
Complexity:

Low

Found in Version:

Votes: 0

Description

Those error messages appear for me, when the connections are established:

2015-07-14 17:37:53,885 [Threadpool worker] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:37:54,705 [Threadpool worker] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:37:54,986 [Threadpool worker] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:37:55,263 [Threadpool worker] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:37:58,034 [IrcProtocolManager (irc.darkmyst.org:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:06,466 [IrcProtocolManager (irc.oftc.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:06,874 [IrcProtocolManager (irc.oftc.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:08,499 [IrcProtocolManager (irc.euirc.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:13,897 [IrcProtocolManager (irc.freenode.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:14,694 [IrcProtocolManager (irc.euirc.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:15,440 [IrcProtocolManager (irc.freenode.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:15,722 [IrcProtocolManager (irc.freenode.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:16,020 [IrcProtocolManager (irc.freenode.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:16,361 [IrcProtocolManager (irc.freenode.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:16,737 [IrcProtocolManager (irc.freenode.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:16,765 [IrcProtocolManager (irc.euirc.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:17,153 [IrcProtocolManager (irc.freenode.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity
2015-07-14 17:38:17,477 [IrcProtocolManager (irc.freenode.net:6667) listener] ERROR Smuxi.Engine.UserConfig - get_Item[]: default value is null for key: MessageBuffer/PersistentSqlite/MaxCapacity

Is this caused by a default setting, or did I change something, that shouldn't be changed?

Associated revisions

Revision 54522cfda32b73faf004ca4b9138c90f78c0b51c
Added by Mirco Bauer 3448 days ago

Engine: fixed MessageBuffer/PersistentSqlite/MaxCapacity log error (closes: #1073)

Accessing a config key without a default value is not valid config access, as
each key must have a default value so no valid key will ever return null. This
also caused ERROR log entries, to identify such incorrect config use.

History

Updated by Mirco Bauer 3448 days ago

avatar
  • Category set to Engine
  • Target version set to 1.0
  • Complexity set to Low

That is a bug in the config code of Smuxi and will be fixed :) it seems like I never added a default key for the SQLite backend

Updated by Mirco Bauer 3448 days ago

avatar
  • Assigned to set to Mirco Bauer

Updated by Mirco Bauer 3448 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF