[A51] Problem with Behemoth

Andrew S multim777 at gmail.com
Tue Apr 22 09:56:59 CEST 2014


Hi!

Has enyone encountered such a problem with converting .dlt tables as error
with Behemoth.py when executing it?

Let me describe it more preciously.

1. Downloaded all 40 .dlttables to 2TB HD (Samsung)
2. Cloned kraken to mhome foldel
3. Filled tables.conf with such information (Elements is 2nd HD -
destination drive)
Devices:  dev/node max_tables
Device: /media/Elements/100.idx 1
Device: /media/Elements/108.idx 1
Device: /media/Elements/116.idx 1
Device: /media/Elements/124.idx 1
Device: /media/Elements/132.idx 1
Device: /media/Elements/140.idx 1
Device: /media/Elements/148.idx 1
Device: /media/Elements/156.idx 1
Device: /media/Elements/164.idx 1
..........
#Tables: dev id(advance) offset
Table: 0 100 0
Table: 1 108 0
Table: 2 116 0
Table: 3 124 0
Table: 4 132 0
Table: 5 140 0
Table: 6 148 0
Table: 7 156 0
Table: 8 164 0
Table: 9 172 0
Table: 10 180 0
Table: 11 188 0
.....
4. According to manualfound somewhere on lists :) chowned both HD's to my
login,
so ls -ls/media

comp at ubuntu:~$ ls -ls /media
total 40
12 drwx------ 1 comp comp 12288 апр.  13 03:45 Elements
28 drwx------ 1 comp comp 28672 апр.  13 00:21 SAMSUNG

5. Executing ./Behemoth.py /media/SAMSUNG and getting constant "not adding
XXX not adding YYY" for all tables.

Why's that?

BTW if we check Behemoth file, we can see
def AddDeltaTable(path,id,config):
    k = config.keys()
    k.sort()
    for i in k:
        name,max,tables = config[i]
        ids = tables.keys()
        for j in ids:
            if j==id:
                print "Not adding ", id
                return config
    print "Adding table: ", path,id
    free = FindNextFree(config)
    if free==None:
        print "No free space"
        return config
    dev,name,offset = free
    ids = str(id)

    #os.system("./TableConvert di %s %s %s" %
(path,name+":"+str(offset),ids+".idx"))
    print("./TableConvert di %s %s %s" %
(path,name+":"+str(offset),ids+".idx"))
    name,max,tables = config[dev]
    tables[id] = offset
    config[dev] = name,max,tables
    return config

Looks like j==id in this case, and it should call tableconvert, but it's
not called for some reason.

I tried to convert tables manually (throught ./tableconvert) but it always
returned errors like "unknown operator" although I did like it should be in
--help.

Also would like to note, when I try to copy tableconvert folder content to
indexes, get error "cannot overwrite file to the same place", although that
file cannot be seen :(. That devotes to solely tableconvert, other files
copy flawlessly.


Best regards,

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.srlabs.de/pipermail/a51/attachments/20140422/9eb3ac24/attachment.html>


More information about the A51 mailing list