You are here

Application Errors

Hi,
I'm new to Coccinella having set up our company Openfire server to use Kopete/Pidgin.
I would like to use the advanced features present in Coccinella (Whiteboard, Screen Capture) but I run into a number of application errors.

A test user on a Windows XP box tries to contact me (running Coccinella 0.96.8 under Linux CentOS 4.6, tk 8.4.7) and I get the following messages;

can't read "chatstate(wpane)": no such element in array
can't read "chatstate(wpane)": no such element in array
while executing
"::UI::SaveSashPos $wDlgs(jchat) $chatstate(wpane)"
(procedure "Close" line 21)
invoked from within
"Close $dlgtoken"
(procedure "::Chat::CloseCmd" line 5)
invoked from within
"::Chat::CloseCmd .jchat1"
("uplevel" body line 1)
invoked from within
"uplevel #0 $topcache($w,-closecommand) $w"
(procedure "::UI::DoCloseWindow" line 24)
invoked from within
"::UI::DoCloseWindow .jchat1 wm"
(command for "WM_DELETE_WINDOW" window manager protocol)

Also get;

preshook ::namespace inscope ::Roster PresenceEvent failed: 1
bad modifier "265": must be above, ancestors, below, bottom, child, children, descendants, first
child, lastchild, left, leftmost, next, nextsibling, parent, prev, prevsibling, right, rightmost
, sibling, or top
while executing
"$T item element configure $item cTree $elem -image $image"
(procedure "SetAltImage" line 29)
invoked from within
"SetAltImage $jid $key $value"
(procedure "::RosterPlain::SetItemAlternative" line 5)
invoked from within
"$plugin($name,setItemAlt) $jid $key image $value"
(procedure "StyleConfigureAltImages" line 8)
invoked from within
"StyleConfigureAltImages $jid"
(procedure "::RosterTree::StyleCreateItem" line 6)
invoked from within
"::RosterTree::StyleCreateItem $jid "available" -name {Steven J. Reilly} -groups {{} {EDC, Scotl
and - Support}} -subscription both -resource Coccinella..."
("eval" body line 1)
invoked from within
"eval {
::RosterTree::StyleCreateItem $jid "available"
} $itemAttr [array get presA]"
("highest-prio" arm line 15)
invoked from within
"switch -- $config(roster,multi-resources) {

"highest-prio" {

# Add only the one with highest priority.
set jid2 [jlib::barejid $jid]
..."
(procedure "NewAvailableItem" line 10)
invoked from within
"NewAvailableItem $rjid"
(procedure "Presence" line 71)
invoked from within
"Presence $jid3 $type -from sreilly@edchome/Coccinella@sreilly-l -type available -resource Cocci
nella@sreilly-l -xmldata {presence {from sreilly@edchom..."
("eval" body line 1)
invoked from within
"eval {Presence $jid3 $type} $opts"
(procedure "PresenceEvent" line 64)
invoked from within
"PresenceEvent ::jlib::jlib1 {presence {from sreilly@edchome/Coccinella@sreilly-l to walcorn@edc
home} 0 {} {{x {ver 0.96.8 xmlns http://coccinella.sour..."
(in namespace inscope "::Roster" script line 1)
invoked from within
"::namespace inscope ::Roster PresenceEvent ::jlib::jlib1 {presence {from sreilly@edchome/Coccin
ella@sreilly-l to walcorn@edchome} 0 {} {{x {ver 0.96.8..."
("uplevel" body line 1)
invoked from within
"uplevel #0 $func [list $jlibname $xmldata]"
bad modifier "265": must be above, ancestors, below, bottom, child, children, descendants, first
child, lastchild, left, leftmost, next, nextsibling, parent, prev, prevsibling, right, rightmost
, sibling, or top
while executing
"$T item element configure $item cTree $elem -image $image"
(procedure "SetAltImage" line 29)
invoked from within
"SetAltImage $jid $key $value"
(procedure "::RosterPlain::SetItemAlternative" line 5)
invoked from within
"$plugin($name,setItemAlt) $jid $key image $value"
(procedure "StyleConfigureAltImages" line 8)
invoked from within
"StyleConfigureAltImages $jid"
(procedure "::RosterTree::StyleCreateItem" line 6)
invoked from within
"::RosterTree::StyleCreateItem $jid "available" -name {Steven J. Reilly} -groups {{} {EDC, Scotl
and - Support}} -subscription both -resource Coccinella..."
("eval" body line 1)
invoked from within
"eval {
::RosterTree::StyleCreateItem $jid "available"
} $itemAttr [array get presA]"
("highest-prio" arm line 15)
invoked from within
"switch -- $config(roster,multi-resources) {

"highest-prio" {

# Add only the one with highest priority.
set jid2 [jlib::barejid $jid]
..."
(procedure "NewAvailableItem" line 10)
invoked from within
"NewAvailableItem $rjid"
(procedure "Presence" line 71)
invoked from within
"Presence $jid3 $type -from sreilly@edchome/Coccinella@sreilly-l -type available -resource Coccinella@sreilly-l -xmldata {presence {from sreilly@edchom..."
("eval" body line 1)
invoked from within
"eval {Presence $jid3 $type} $opts"
(procedure "PresenceEvent" line 64)
invoked from within
"PresenceEvent ::jlib::jlib1 {presence {from sreilly@edchome/Coccinella@sreilly-l to walcorn@edchome} 0 {} {{x {ver 0.96.8 xmlns http://coccinella.sour..."
(in namespace inscope "::Roster" script line 1)
invoked from within
"::namespace inscope ::Roster PresenceEvent ::jlib::jlib1 {presence {from sreilly@edchome/Coccinella@sreilly-l to walcorn@edchome} 0 {} {{x {ver 0.96.8..."
("uplevel" body line 1)
invoked from within
"uplevel #0 $func [list $jlibname $xmldata]"

TIA,

Regards,

Steve

Forum: 

Thanks for your bug report.

You are using the source distribution of Coccinella, right? Can you try with Tcl/Tk 8.5? Or can you try the binary distribution for Linux to see if you still have the issue? It may be related to your old Tcl/Tk 8.4 version. Note that Tcl/Tk 8.4 support will be dropped in next release; Tcl/Tk 8.5 will be required then.

I added your issue to the bug tracker.

Mats added a note to the ticket in the bug tracker. Maybe you can try his fix? The easiest way to do that is by downloading the next daily breakfast build (less than 24 hours after this post it will be available): https://thecoccinella.org/breakfast