Coccinella 0.96.4.1 show error window on start

Bug #182121 reported by clarf
2
Affects Status Importance Assigned to Milestone
Coccinella
Fix Released
High
Mats

Bug Description

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"

sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → High
Revision history for this message
Mats (matsben) wrote : Re: [Bug 182121] Re: Coccinella 0.96.4.1 show error window on start

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
'jprefs_chat_dialogs' in the prefs file. You could delete this entry
which likely fixes it.

Revision history for this message
clarf (carocubillos) wrote :

i opened the file preferences.rdb i found in the line:
*jprefs_chat_dialogs: <email address hidden> {{{}}}

As you said i deleted the entry and now i can login to my account from coccinella without any error.

Mats (matsben)
Changed in coccinella:
status: New → Fix Committed
sander (s-devrieze)
Changed in coccinella:
milestone: none → 0.96.6
sander (s-devrieze)
Changed in coccinella:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.