vfs:zip issues

Bug #152569 reported by sander
2
Affects Status Importance Assigned to Milestone
Coccinella
Confirmed
Medium
Mats

Bug Description

When the vfs:zip package is not installed, the emoticons panel in the preferences does not work and gives strange errors.

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

I haven't been able to figure out the logic of the package needs in all situations, and it seems to fail at some point:

    # We need the 'vfs::zip' package and if not using starkit we also need
    # the 'Memchan' package which is not automatically checked for.
    # 'rechan' is the tclkits built in version of 'Memchan'.
    if {[catch {package require vfs::zip}]} {
 set priv(havezip) 0
    } elseif {![catch {package require rechan}]} {
 set priv(havezip) 1
    } elseif {![catch {package require Memchan}]} {
 set priv(havezip) 1
    } else {
 set priv(havezip) 0
    }

Changed in coccinella:
status: New → Confirmed
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.