PDA

View Full Version : Having trouble with installing nxTools..


vybez
07-24-2006, 06:59 AM
Hi,
first I'd like to thank you NeoXed, both for your excellent scripts but also for helping with development on io.

I've installed nxTools 1.0.4 and configured it, but I can't upload any files (wrong configured dupecheck/missed something as I can figure :rolleyes: )..
I get the following in my SystemError.log when I try to upload:

07-24-2006 13:25:47 "..\scripts\nxTools\nxDupe.tcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
syntax error in expression "!result && [IsTrue $dupe(CheckFiles)]": variable references require preceding $
("if" test expression)
while compiling
"if {!result && [IsTrue $dupe(CheckFiles)]} {
set result [CheckFiles $virtualPath]
}"
("PRESTOR" arm line 6)
invoked from within
"switch -- $event {
DUPELOG {
set virtu

Disabling stor = TCL ..\scripts\nxTools\nxDupe.tcl PRESTOR in ioFTPD.ini allows me to upload, but of course, then I no longer have a dupecheck ;).

All other aspects of nxTools work as they should (afaik) and I would be very thankful for any help in pinpointing the probable mistake from my side in configuring the script.

My vfs:
"e:\ioFTPD\site\root" /
"e:\ioFTPD\site\syms\xvid" /XViD
(removed other dirs)

Dupe checking section in the cfg:
set dupe(CheckDirs) True
set dupe(CheckFiles) True
set dupe(AddOnPre) True
#
# - Required number of alphanumeric characters when wildcards are used.
# - Files and directories to ignore (case insensitive).
# - Exempt dupe checking or logging in these paths (case sensitive).
# - The dupe(CheckExempts) setting is for dupe checking exempts, while
# dupe(LoggingExempts) is for dupe logging exempts.
#
set dupe(AlphaNumChars) 5
set dupe(IgnoreDirs) {*/[0-9][0-9][0-9][0-9] */cd[0-9] */dis[ck][0-9] */dvd[0-9] */codec */cover */covers */extra */extras */s0* */sample */sub */subs */vobsample */vobsub */vobsubs}
set dupe(IgnoreFiles) {.* *.asc *.bad *.diz *.gif *.jpg *.missing *.nfo *.url}
set dupe(CheckExempts) {
{/ADMIN/*}
{/GROUPS/*}
{/REQS/*}
}
set dupe(LoggingExempts) {
{/ADMIN/*}
{/GROUPS/*}
}

Entry from nxDebug.log:
07-24-2006 13:34:00 - Script : ..\scripts\nxTools\nxDupe.tcl
07-24-2006 13:34:00 - args : PRESTOR STOR ind-test.sfv
07-24-2006 13:34:00 - user : (removed)
07-24-2006 13:34:00 - group : (removed)
07-24-2006 13:34:00 - groups : (removed)
07-24-2006 13:34:00 - flags : 1MTH
07-24-2006 13:34:00 - path : e:\ioFTPD\site\syms\xvid\Test.2006-iND
07-24-2006 13:34:00 - pwd : /XViD/Test.2006-iND/

I've tried to check everything and as far as I can see, all dirs/files are in the right places.

Let me know if you need any more info to be able to help me try and figure out what I've done wrong.

Thanks in advance.

Edit - my setup:
ioFTPD 5.8.5r
nxTools 1.0.4
nxAutoNuke 2.4.1
nxHelp 2.0
ioSFV 2.0 beta 1.40
ioMessage 0.2

neoxed
07-24-2006, 01:36 PM
Use nxTools v1.0.4a, there was a last minute bug fix after I released v1.0.4.

For more info, see: http://www.inicom.net/forum/showthread.php?t=11543

vybez
07-25-2006, 03:22 AM
that did the trick - thx :D