exception when all plugins are disabled

Bug #456982 reported by buzzdee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Coccinella
Fix Released
Low
buzzdee

Bug Description

here it was reported: http://coccinella.im/node/376

With the version 0.96.14, I have disable all the plugins using the Infos/Plugins menu.

After that, it is no more possible to start coccinella. A popup windows "Error in startup script" appaears with the following message :
can't read "sortedLocMoods": no such variable
while executing
"foreach mood $sortedLocMoods {
set label [dict get $moodtext $mood]
$m add radiobutton -label[mc $label] - value $mood -image[::Theme::FindIconSiz...
(procdure MPBuild line 19)
invoked from within
"MPBuild .jmain.f.toy.mp.1.Box.2"
...

I was able to reproduce the problem.

Revision history for this message
buzzdee (sebastia) wrote :

removing UserActivity from the *jprefs_comp_off: line in preferences.rdb allows startup of coccinella again.

Revision history for this message
buzzdee (sebastia) wrote :

also got this, after:
setting mood to none
setting activity to none:
disabling the useractivity plugin:

::JUI::Build w=.jmain
Error in startup script: can't read "allActivities": no such variable
    while executing
"foreach activity $allActivities {
        set dname [string totitle [string map {_ " "} $activity]]
        $m add radiobutton -label [mc $dname] -value $activity ..."
    (procedure "MPBuild" line 19)
    invoked from within
"MPBuild .jmain.f.toy.mp.1.box.3"
    (in namespace inscope "::UserActivity" script line 1)
    invoked from within
"::namespace inscope ::UserActivity MPBuild .jmain.f.toy.mp.1.box.3"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $widgets($name,cmd) $box.$column"
    (procedure "Build" line 72)
    invoked from within
"Build .jmain.f.toy.mp.1"
    (in namespace inscope "::MegaPresence" script line 1)
    invoked from within
"::namespace inscope ::MegaPresence Build .jmain.f.toy.mp.1"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $slot($name,cmd) $w.$row"
    (procedure "SlotBuild" line 17)
    invoked from within
"SlotBuild $wmp"
    (procedure "BuildToyStatus" line 32)
    invoked from within
"BuildToyStatus $wall.toy"
    (procedure "::JUI::Build" line 155)
    invoked from within
"::JUI::Build $wDlgs(jmain) "
    (procedure "::Jabber::Init" line 38)
    invoked from within
"::Jabber::Init"

Changed in coccinella:
status: Confirmed → In Progress
Revision history for this message
buzzdee (sebastia) wrote :

when disabling plugin Mood, the following backtrace shows up:

Error in startup script: can't read "sortedLocMoods": no such variable
    while executing
"foreach mood $sortedLocMoods {
        set label [dict get $moodText $mood]
        $m add radiobutton -label [mc $label] -value $mood -image [::Theme::FindIconSiz..."
    (procedure "MPBuild" line 19)
    invoked from within
"MPBuild .jmain.f.toy.mp.1.box.2"
    (in namespace inscope "::Mood" script line 1)
    invoked from within
"::namespace inscope ::Mood MPBuild .jmain.f.toy.mp.1.box.2"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $widgets($name,cmd) $box.$column"
    (procedure "Build" line 72)
    invoked from within
"Build .jmain.f.toy.mp.1"
    (in namespace inscope "::MegaPresence" script line 1)
    invoked from within
"::namespace inscope ::MegaPresence Build .jmain.f.toy.mp.1"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $slot($name,cmd) $w.$row"
    (procedure "SlotBuild" line 17)
    invoked from within
"SlotBuild $wmp"
    (procedure "BuildToyStatus" line 32)
    invoked from within
"BuildToyStatus $wall.toy"
    (procedure "::JUI::Build" line 155)
    invoked from within
"::JUI::Build $wDlgs(jmain) "
    (procedure "::Jabber::Init" line 38)
    invoked from within
"::Jabber::Init"
    (file "./Coccinella-debug.tcl" line 325)

Revision history for this message
sander (s-devrieze) wrote :
Revision history for this message
buzzdee (sebastia) wrote :

both exceptions had the same kind of problem, a missing variable in the namespace.
fixed with svn revision #2744 and #2745

Changed in coccinella:
status: In Progress → Fix Committed
buzzdee (sebastia)
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.