[Rock-dev] Log file corrupted?

Chris Müller christoph.mueller at dfki.de
Sat Jun 9 17:36:20 CEST 2012


Hio,

we have performed last friday some important experiments and generated a 
bunch of log files.

I'm currently trying to read them via pocolog, but have a problem when 
it wants to generate the belonging index file.

chris at yoda:~/logs/20120608-1602_parameter_motion$ pocolog 
avalon_back_base_control.0.log
File data is in little endian byte order
building index 
.../home/chris/repos/avalon/tools/pocolog/lib/pocolog/file.rb:370:in 
`unpack': x outside of string at position 9485714 (ArgumentError)
     from 
/home/chris/repos/avalon/tools/pocolog/lib/pocolog/file.rb:370:in 
`read_block_header'
     from 
/home/chris/repos/avalon/tools/pocolog/lib/pocolog/file.rb:306:in 
`each_block'
     from 
/home/chris/repos/avalon/tools/pocolog/lib/pocolog/file.rb:407:in 
`each_data_block'
     from 
/home/chris/repos/avalon/tools/pocolog/lib/pocolog/file.rb:540:in `streams'
     from /home/chris/repos/avalon/tools/pocolog/bin/pocolog:379:in 
`display_file_info'
     from /home/chris/repos/avalon/tools/pocolog/bin/pocolog:352:in 
`execute'
     from /home/chris/repos/avalon/tools/pocolog/bin/pocolog:548:in 
`execute'
     from /home/chris/repos/avalon/tools/pocolog/bin/pocolog:667:in `<main>'

Maybe its interesting to know the size of this file.

Belonging to the error message, 
chris at yoda:~/logs/20120608-1602_parameter_motion$ ls -all
insgesamt 99960
drwxr-xr-x 2 chris chris     4096 Jun  9 16:40 .
drwxrwxr-x 9 chris chris     4096 Jun  8 16:05 ..
-rw-r--r-- 1 chris chris  9485714 Jun  8 15:59 
avalon_back_base_control.0.log

I hope its not corrupted. Any ideas?

Chris



More information about the Rock-dev mailing list