Discussion:
Problem while running Behemoth.py
(too old to reply)
Jan Hrach
2015-11-14 02:15:50 UTC
Permalink
You probably have tables.conf in wrong format.

The resulting command should be something like
TableConvert di TABLE.dlt DEVICE:OFFSET INDEX.idx
you can try to run it by hand as the last resort.
Hi,
./Behemoth.py
File "./Behemoth.py", line 134, in <module>
c = ReadConfig("tables.conf")
File "./Behemoth.py", line 16, in ReadConfig
config[num] = (v[1],int(v[2]),{})
ValueError: invalid literal for int() with base 10: ''
Any input how to solve this problem, will be nice..:)
Thanks.
_______________________________________________
A51 mailing list
https://lists.srlabs.de/cgi-bin/mailman/listinfo/a51
--
Jan Hrach | medlab quality assurance | CEO, NSA Litoměřice - the only company that actually listens to your needs
GPG CD98 5440 4372 0C6D 164D A24D F019 2F8E 6527 282E
r***@openmailbox.org
2015-11-14 08:04:35 UTC
Permalink
Yes, you were correct, problem was in tables.conf, where instead of ID
of disks say /dev/sdc, I've used disk partitions ID like: /dev/sdc1 .
Behemoth.py runs now, but again not correctly. It makes *.idx files on
directory and disk from which I call Behemoth.py script, like:

/kraken/indexes$ sudo ./Behemoth.py
/media/dds/71e9d301-9793-48d3-b207-baeda40bef78
Adding table:
/media/dds/71e9d301-9793-48d3-b207-baeda40bef78/a51_table_196.dlt 196
Running "./../TableConvert/TableConvert di
/media/dds/71e9d301-9793-48d3-b207-baeda40bef78/a51_table_196.dlt
/dev/sda:0 196.idx"
seek offset: 0i blocks (/dev/sda)

Then:


***@LENOVO-UBUNTU:/home/dds/kraken/indexes# ls
196.idx Behemoth.py tables.conf



Linux partition according to gparted is:

/dev/sdb


it's never mentioned in tables.conf which clearly states:

cat tables.conf

#Devices: dev/node max_tables

Device: /dev/sda 20
Device: /dev/sdc 21

#Tables: dev id(advance) offset

Any solution?



On 2015-11-13 20:12, Jan Hrach wrote:
You probably have tables.conf in wrong format.

The resulting command should be something like
TableConvert di TABLE.dlt DEVICE:OFFSET INDEX.idx
you can try to run it by hand as the last resort.

Loading...