Open Bugs | New Bug anonymous
Login/Register

Equi4 SoftwareEdit Bug

Title: Bizare failure on sdx update command Status: new
Product: SDX Severity: critical
Version: 2005/09/19 00:38:19 51723-51162 Type: bug
Assign to: jcw
Platform:
Linux x86
Message:

File:
Description:

Messages

2005/09/19
I have customised my tclkit to append to auto_path the
location of my Tcl extensions. My path is placed last on the auto_path list so
the the tclkit extensions should be searched first.
I have done this because .tclkitrc is only read in interactive startup mode.
I have found that the command "sdx update" now fails due to a name
clash with the 'zip' alias.
In the starsync package aliases are defined for zip and unzip
but in my case the aliases are not being called , I presume because some
extension on my system has defined a global zip proc that take priority over the
alias.
I have fixed this problem by changing the aliases to use namespace qualified names,
ie:
interp alias {} [namespace current]::zip {} vfs::zip -mode compress
interp alias {} [namespace current]::unzip {} vfs::zip -mode decompress
I have not tracked down the source of the name conflict but I expect it is somewhere
in the released vfs package.

Bug Tracker © 2002 McMillan Enterprises, Inc.