PDA

View Full Version : [nxTools] I can't mkdir, problem with nxDupe.itcl/check approve


iam
03-04-2005, 04:07 PM
03-04-2005 21:28:25 "..\scripts\nxTools\nxDupe.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "Exists": no such variable
while executing
"return $Exists"
(procedure "ApproveCheck" line 15)
invoked from within
"ApproveCheck $VirtualPath 0"
("premkd" arm line 3)
invoked from within
"switch -exact -- $Action {
"dupelog" {
set VirtualPath [GetPath $pwd [join [lrange $ArgList 2 end]]]
if {[IsTrue $dupe..."i can't mkdir when i put True:
#### Site Approve ##########################################
#
# - Check if the directory is approved when it is created.
# - The flags required to approve new releases.
# - Approve tag format, cookies: %(user) and %(group).
#
set approve(CheckMkd) True
set approve(Flags) "M"
set approve(DirTag) {[Approved By %(user)@%(group)]} If i put False it's OK, any idea ?
#### Site Approve ##########################################
#
# - Check if the directory is approved when it is created.
# - The flags required to approve new releases.
# - Approve tag format, cookies: %(user) and %(group).
#
set approve(CheckMkd) False
set approve(Flags) "M"
set approve(DirTag) {[Approved By %(user)@%(group)]}

neoxed
03-04-2005, 04:10 PM
Yes, there's small typo in the code.

It will be fixed in the next version.