View Single Post
Old 09-03-2006, 03:47 AM  
maxita
Junior Member
 
Join Date: Sep 2006
Posts: 2
Question

I have installed newdir script... all seem work fine when i crate a dir in any section. All is writed fine in newdir.log and latest dir symlink appear in home.

Problem is when i make a pre, i get this error is systemerror log:

09-03-2006 10:26:04 "..\scripts\newdir\OnSitePre.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "section": no such variable
while executing
"puts $fileid "$user $section $vpath $release""
(procedure "nd_onsitepre" line 16)
invoked from within
"nd_onsitepre"
(file "..\scripts\newdir\OnSitePre.itcl" line 112)
------------------------------------------------------------------

i have checked 1000times case sensitive dirs/names/vfs paths but all seem config oke.

line 16 of the file is:

set vpath [clock format $now -format [lindex [split $tmploop :] 2] -gmt 1]

its possible that problem is reading of my system clock?

ah and readme in newdir script say:

Quote:
THIS TYPE OF VFS IS ASLO SUPPORTED BY MY SCRIPTS
================================================
(don't forget to set ND_SUBSTRINGS in ND_CONFIG.itcl)

Exemple 2
---------
"x:\ioFTPD\site" /
"x:\INCOMING" /INCOMING
"x:\ARCHIVES" /ARCHIVES


Directory structure in FTP
--------------------------
/
/INCOMING
/section1
/section2
/section3
(/date)
/section4
(/date)
/section5
/ARCHIVES
/section1
/section2
/section3
(/date)
/section4
(/date)
/section5
but where is ND_CONFIG.itcl ?!?! i don't see this itcl file...
tnx for eventual replyes

Last edited by maxita; 09-03-2006 at 03:56 AM.
maxita is offline   Reply With Quote