error in groupchat

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

Bug Description

First I get a very long error. As the window does not fit on the screen I couldn't copy the error to paste it here. The second error I get after I ignored that error is this one:

can't read "dlgstate(wpage2token,.jgc1.frall.nb.p4)": no such element in array
can't read "dlgstate(wpage2token,.jgc1.frall.nb.p4)": no such element in array
    while executing
"set chattoken $dlgstate(wpage2token,$wpage)"
    (procedure "GetActiveChatToken" line 8)
    invoked from within
"GetActiveChatToken $dlgtoken"
    (procedure "FocusIn" line 6)
    invoked from within
"FocusIn ::GroupChat::dlg1"
    (in namespace inscope "::GroupChat" script line 1)
    invoked from within
"::namespace inscope ::GroupChat {FocusIn ::GroupChat::dlg1}"
    (command bound to event)

update: I get it (reproducable!) when I try to enter <email address hidden>

sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → High
description: updated
Revision history for this message
Mats (matsben) wrote :

Impossible to say when I don't have the first stack trace. Note that if you run from Terminal or console and get a too long bug trace you can sometimes close the dialog and do:
puts $errorInfo
since this is contains the last stack trace. Often there are side effects so you wont catch it.
A screen shot would help if you can' get the stack otherwise.
However, I can join that room without a problem. The only thing I can see happen is a weird nickname (resource) that triggers something.

Revision history for this message
sander (s-devrieze) wrote :
Revision history for this message
Mats (matsben) wrote :

The only logical way this could happen is with an empty show element as
<show/> or <show></show>
The stack trace reveals an argument "-show {}" which indicates this. I now protect for fake show elements using:

     show {
  if {[regexp {^(away|chat|dnd|xa)$} $chdata]} {
      set presA($mjid,$tag) $chdata
  }
     }

It would have been very helpful to also have the xml while debugging this. If I had it would have spotted it right away.

Changed in coccinella:
milestone: none → 0.96.4.1
status: New → Fix Committed
Revision history for this message
sander (s-devrieze) wrote : Re: [Bug 177744] Re: error in groupchat

2008/1/5, Mats <email address hidden>:
> It would have been very helpful to also have the xml while debugging
> this. If I had it would have spotted it right away.

I can give you this in the future if you add support for copying text
in the XML console ;-)

--
Mvg, Sander Devrieze.

Revision history for this message
Mats (matsben) wrote :

I get your message ;-)

On 1/5/08, sander <email address hidden> wrote:
> 2008/1/5, Mats <email address hidden>:
> > It would have been very helpful to also have the xml while debugging
> > this. If I had it would have spotted it right away.
>
> I can give you this in the future if you add support for copying text
> in the XML console ;-)
>
> --
> Mvg, Sander Devrieze.
>
> --
> error in groupchat
> https://bugs.launchpad.net/bugs/177744
> You received this bug notification because you are a bug assignee.
>

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

Bug attachments

Remote bug watches

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