Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > NeoXed's scripts

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread
Old 05-18-2008, 07:10 PM   #1
Junior Member
 
Join Date: Aug 2007
Posts: 4
Default nxtools-v1.2.1

i'm upgraded from 1.1.0 to 1.2.1 this weird error msg popup, anyone aware of this error
msg under systemlog

database disk image is malformed
while executing
"OneDb eval {SELECT * FROM OneLines ORDER BY TimeStamp DESC LIMIT $misc(OneLines)} values {
incr count
set valueList [clock for..."
(procedure "OneLines" line 13)
invoked from within
"OneLines [join [lrange $argList 1 end]]"
("ONELINES" arm line 2)
invoked from within
"switch -- $05-18-2008 17:23:08 "..\scripts\nxTools\nxUtilities.tcl" terminated abnormally
---------------------------------------------------------
table DupeFiles has no column named FilePath
while executing
"FileDb eval {INSERT INTO DupeFiles(TimeStamp,UserName,GroupName,FilePath,Fi leName) VALUES($timeStamp,$user,$group,$filePath,$fileName )}"
(procedure "UpdateFiles" line 12)
invoked from within
"UpdateFiles $command $virtualPath"
(procedure "UpdateLog" line 9)
invoked from within
"UpdateLog "UPLD" [li05-18-2008 20:02:08 "..\scripts\nxTools\nxUtilities.tcl" terminated abnormally

Thanks alot for all your help.
long-2007 is offline   Reply With Quote
Old 05-18-2008, 09:10 PM   #2
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,364
Default

Looks like the SQLite database files are corrupted, delete them and run "SITE DB CREATE" again.
neoxed is offline   Reply With Quote
Old 05-19-2008, 05:24 AM   #3
Junior Member
 
Join Date: Aug 2007
Posts: 4
Default nxtools-v1.2.1

your right .db corrupted somewhere, all working fine now,

Thanks alot
long-2007 is offline   Reply With Quote
Old 05-24-2008, 06:43 PM   #4
Junior Member
 
Join Date: Aug 2007
Posts: 4
Default

Hi Neoxed:

same topic, I was upgraded from 1.1.0 and now my nxpre.conf no longer working here is the paths


[AREAS]
DVDR "N:/Race5/DVDR"


[GROUPS]
DVDR "MYGRP Siteops"

[PATHS]
LC "/GROUPS/LC/" "/GROUPS/LC/"
Siteops "/LC/" "/Race5/DVDR/"

and on nxtools.conf is:

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 */sample */subs */vobsub */vobsubs */Sorted/*}
set dupe(IgnoreFiles) {.* *.asc *.bad *.diz *.gif *.jpg *.missing *.nfo *.url}
set dupe(CheckExempts) {
{/REQUESTS/*}
{/ioFTPD/*}
{/Windrop/*}
}

on ioFTPD.ini is:
pre = !A *


when I do site pre (section) (release) I got this error
site pre DVDR test.me.plz.DVDR-test
[L] 200-.-[Pre]------------------------------------------------------------------.
[L] 200 Command successful.

on SystemError.log is:
05-24-2008 19:40:28 "..\scripts\nxTools\nxPre.tcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "pre(IgnoreFiles)": no such element in array
while executing
"GetDirList $realPath dirlist $pre(IgnoreFiles)"
(procedure "Release" line 76)
invoked from within
"Release [lrange $argList 1 end]"
(procedure "::nxTools::Pre::Main" line 25)
invoked from within
"::nxTools::Pre::Main [expr {[info exists args] ? $args : ""}]"
(file "..\scripts\nxTools

Please help! what did i do wrong there?

Thank you so much for your prompt reply.

Long

ioFTPDv6.4.3-ioninjav0.6.1and nxtoolsv1.2.1
long-2007 is offline   Reply With Quote
Old 05-25-2008, 12:19 PM   #5
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,364
Default

Follow the upgrade instructions in upgrading.txt.

Quote:
1.2.0 -> 1.2.1
- Copy (and replace) lib\sqlite3\ and lib\nxHelper\ directories to ioFTPD\lib\.
- Replace ioFTPD\scripts\nxLib.tcl with the included one.
- Replace all Tcl files in ioFTPD\scripts\nxTools\.

1.1.1 -> 1.2.0
- Copy (and replace) lib\sqlite3\ and lib\nxHelper\ directories to ioFTPD\lib\.
- Replace ioFTPD\scripts\nxLib.tcl with the included one.
- Replace all Tcl files in ioFTPD\scripts\nxTools\.
- Update date cookies in the pre paths and newdate paths.

1.1.0 -> 1.1.1
- Replace ioFTPD\scripts\nxLib.tcl with the included one.
- Replace all Tcl files in ioFTPD\scripts\nxTools\.
- New config option: pre(IgnoreFiles).

1.0.7 -> 1.1.0
- Copy (and replace) the lib\sqlite3\ and lib\nxHelper\ directories to ioFTPD\lib\.
- Upgrade the dupe databases using "SITE DB CREATE".
- Replace ioFTPD\scripts\nxLib.tcl with the included one.
- Replace all Tcl files in ioFTPD\scripts\nxTools\.

...
neoxed is offline   Reply With Quote
Old 05-25-2008, 04:13 PM   #6
Junior Member
 
Join Date: Aug 2007
Posts: 4
Smile

Once again, you got the nail in the head again. I fresh installation instead of upgrading
now all work fine again,


Thanks alot for all your helps and keep a great works

Long,

ioFTPDv6.4.3-ioninjav0.6.1-nxtoolsv1.2.1
long-2007 is offline   Reply With Quote
Old 05-26-2008, 09:44 AM   #7
Member
 
Join Date: Feb 2007
Posts: 31
Default

small bug

if you close the site with SITE CLOSE command and then you try to login with a user that doesn't exist, you got this error message in SystemError.log:
Quote:
05-26-2008 16:33:05 "..\scripts\nxTools\nxClose.tcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "user": no such variable
while executing
"IsExempt $user $group $flags"
(procedure "OnLogin" line 10)
invoked from within
"OnLogin"
("LOGIN" arm line 2)
invoked from within
"switch -- $event {
CLOSE {
set result [SiteClose [lrange $argList 1 end]]
}
LOGIN {
set result [OnLogi..."
(procedure
l.d.m is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 02:03 AM.