This error was introduced in 0.96.4.1 Version. When coccinella starts it shows a error window. The log is:
Hook loginHook failed: 1
bad option "-*.nxml": must be -directory, -join, -nocomplain, -path, -tails, -types, or --
while executing
"glob -nocomplain -directory $this(historyPath) ${rootTail}-*.nxml"
(procedure "XGetAllNXMLFileNames" line 6)
invoked from within
"XGetAllNXMLFileNames $jid"
(procedure "XGetAllFileNames" line 2)
invoked from within
"XGetAllFileNames $jid"
(procedure "::History::XHaveHistory" line 2)
invoked from within
"::History::XHaveHistory $jidH"
(procedure "MakeAndInsertHistory" line 18)
invoked from within
"MakeAndInsertHistory $chattoken"
(procedure "NewChat" line 18)
invoked from within
"NewChat $threadID $jid"
("eval" body line 1)
invoked from within
"eval {NewChat $threadID $jid} $args"
(procedure "StartThread" line 39)
invoked from within
"StartThread $jid"
(procedure "BuildSavedDialogs" line 24)
invoked from within
"BuildSavedDialogs"
(procedure "::Chat::LoginHook" line 7)
invoked from within
"::Chat::LoginHook"
("eval" body line 1)
invoked from within
"eval $func $args"
bad option "-*.nxml": must be -directory, -join, -nocomplain, -path, -tails, -types, or --
while executing
"glob -nocomplain -directory $this(historyPath) ${rootTail}-*.nxml"
(procedure "XGetAllNXMLFileNames" line 6)
invoked from within
"XGetAllNXMLFileNames $jid"
(procedure "XGetAllFileNames" line 2)
invoked from within
"XGetAllFileNames $jid"
(procedure "::History::XHaveHistory" line 2)
invoked from within
"::History::XHaveHistory $jidH"
(procedure "MakeAndInsertHistory" line 18)
invoked from within
"MakeAndInsertHistory $chattoken"
(procedure "NewChat" line 18)
invoked from within
"NewChat $threadID $jid"
("eval" body line 1)
invoked from within
"eval {NewChat $threadID $jid} $args"
(procedure "StartThread" line 39)
invoked from within
"StartThread $jid"
(procedure "BuildSavedDialogs" line 24)
invoked from within
"BuildSavedDialogs"
(procedure "::Chat::LoginHook" line 7)
invoked from within
"::Chat::LoginHook"
("eval" body line 1)
invoked from within
"eval $func $args"
This bug is triggered by an empty JID. So its likely a side effect of
something else that has happened. Since it is called from
BuildSavedDialogs using stored info about open dialogs like:
# Open dialogs must be saved specifically for each login jid as:
# {mejid_1 {jid ?-option value ...?} mejid_2 {...} ...}
The only logical reason for this bug is an empty 'jid' value stored here.
I have now taken some precaution so it shall not happen again.
It would be interesting to see what is stored in the chat_dialogs' in the prefs file. You could delete this entry
'jprefs_
which likely fixes it.