PDA

View Full Version : !dupe problem


snatsert
04-13-2006, 01:52 PM
I have some existing folders that I have before I installed alcobot and nxtools and when I do !dupe it doesn't show them ... it only shows new folders I upped after the installation . Do I need to add them to the dupe db ?? if so , how do I do that

neoxed
04-13-2006, 02:40 PM
Read the manual and configuration included with nxTools.

- SITE REBUILD
Description:
- Updates the file and directory dupe database by scanning predefined paths.
Examples:
- SITE REBUILD

#### Dupe Log Rebuild ######################################
#
# - Recreates the file and/or directory dupe log by searching the defined paths.
# - Format: <virtual path> <physical path> <directories> <files>
# Virtual Path - Virtual path to rebuild files and directories from.
# Physical Path - The virtual path's physical location.
# Log Directories - Update the directory database from this path.
# Log Files - Update the file database from this path.
#
set dupe(RebuildPaths) {
{{/0DAY} {D:/Site/0DAY} True False}
{{/APPS} {D:/Site/APPS} True True}
{{/GAMES} {E:/Site/GAMES} True True}
{{/SVCD} {E:/Site/SVCD} True True}
{{/VCD} {E:/Site/VCD} True True}
{{/XVID} {E:/Site/XVID} True True}
}

snatsert
04-14-2006, 10:30 AM
I did that site rebuild and it said it updated the database , but when I do site dupe I get no results

colsha2702
09-05-2006, 11:01 AM
im sorry to say NeoXed that the rebuild function does not seem to complete correctly .. I have just had to do it and when it was rebuilding it has only picked up 207 folders/files.

neoxed
09-05-2006, 04:12 PM
Honestly, what am I supposed to do with that information?

Try providing some useful details... configuration options, entries from logs\SystemError.log, script output from the FTP client, or anything that can actually be used to reproduce the problem.

spirit
01-28-2007, 05:51 AM
Honestly, what am I supposed to do with that information?

Try providing some useful details... configuration options, entries from logs\SystemError.log, script output from the FTP client, or anything that can actually be used to reproduce the problem.

Hey NeoXed, ive got similar problem and i can provide some information about it.

site rebuild hangs up and ive tried also optimizing and creating and they also hang up, only site db create works means shows output in ftp client.

Here is my config:

set dupe(RebuildPaths) {
{{/0DAY} {E:/Dump/0DAY} True True}
{{/APPS} {E:/Dump/APPS} True True}
{{/GAMES} {D:/Dump/GAMES} True True}
{{/XVID} {D:/Dump/XVID} True True}
{{/MP3} {D:/Dump/MP3} True True}
{{/TV} {D:/Dump/TV} True True}
{{/DOX} {E:/Dump/DOX} True True}
{{/MVID} {E:/Dump/MVID} True True}
{{/EBOOKS} {E:/Dump/EBOOKS} True True}
}

and the info what i get from systemerror.log:


01-28-2007 11:10:27 "..\scripts\nxTools\nxDupe.tcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
invalid command name "GetDirList"
while executing
"GetDirList $realPath listing $dupe(RebuildIgnore)"
(procedure "RebuildDb" line 28)
invoked from within
"RebuildDb"
("REBUILD" arm line 2)
invoked from within
"switch -- $event {
DUPELOG {
set virtualPath [GetPath [join [lrange $argList 2 end]] $pwd]
if {[IsTrue $dupe(CheckDi01-28-2007 11:12:14

and another one:

"..\scripts\nxTools\nxDupe.tcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
database is locked
while executing
"DirDb eval {BEGIN; DELETE FROM DupeDirs;}"
(procedure "RebuildDb" line 16)
invoked from within
"RebuildDb"
("REBUILD" arm line 2)
invoked from within
"switch -- $event {
DUPELOG {
set virtualPath [GetPath [join [lrange $argList 2 end]] $pwd]
if {[IsTrue $dupe(CheckDirs..."
(procedure 01-28-2007 11:13:39 "..\scripts\nxTools\nxDupe.tcl" terminated abnormally

Any help will be appreciated
Thank You

spirit
01-28-2007, 08:29 AM
Hmm didnt say anything about version of nxTools so i use 1.0.5a.

But looks like ive solved the problem its kinda weird but ive deleted all files from nxtools/data/ then ive replaced all .tcl files from nxtools coz my configs are fine and replaced nxlib.tcl file and now it works. Dont know what was wrong but it works now maybe nxlib was broken or something.