Hi,
your conf file shouldn't include any information about Tables before
executing Behemoth.py

also need to uncommand the following line in the Behemoth.py file
#os.system("./TableConvert di %s %s %s" %
(path,name+":"+str(offset),ids+".idx"))

Of course, you have to make sure TableConvert file is included in [indexes]
directory and can be executable.

Cheers,
Andy


On Tue, Apr 22, 2014 at 5:00 PM, <[email protected]> wrote:

> Send A51 mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.srlabs.de/cgi-bin/mailman/listinfo/a51
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of A51 digest..."
>
>
> Today's Topics:
>
>    1. Problem with Behemoth (Andrew S)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 22 Apr 2014 08:56:59 +0100
> From: Andrew S <[email protected]>
> To: [email protected]
> Subject: [A51] Problem with Behemoth
> Message-ID:
>         <
> cabswznwtmqaefygqszp37f9xko6upeppxjgg8sh7xcsuagn...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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@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-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> A51 mailing list
> [email protected]
> https://lists.srlabs.de/cgi-bin/mailman/listinfo/a51
>
>
> End of A51 Digest, Vol 54, Issue 10
> ***********************************
>
_______________________________________________
A51 mailing list
[email protected]
https://lists.srlabs.de/cgi-bin/mailman/listinfo/a51

Reply via email to