[dscng-dev] Error reading corrupt dat files

John Dickinson jad at sinodun.com
Fri Jun 15 13:11:48 CEST 2012


On Jun 15, 2012, at 9:45 AM, Bedrich Kosata wrote:

> Hi John,
> 
> the fix should be already in git, could you please test it on your data?
> 
> Best regards
> 
> Beda

Now running the latest code from git. Seems OK so far.

I do have another error

in a pcap_stats.dat file there is a line containing only

ter_received eth0:477

the start of the line is missing. It gives this error:

Import was unsuccessful - error: 'ter_received'
Traceback:
  File "/home/jad/src/dscng/import_dsc_dat_files.py", line 1434, in import_dirs
    importer.import_data_dir(fullname)
  File "/home/jad/src/dscng/import_dsc_dat_files.py", line 433, in import_data_dir
    content, sha1sum, dirname)
  File "/home/jad/src/dscng/import_dsc_dat_files.py", line 659, in process_minute_type
    dims[1])
  File "/home/jad/src/dscng/import_dsc_dat_files.py", line 783, in parse_data_file_3d
    rec_dt = self._time_map[data[0]]

regards
John


---
jad at sinodun.com

http://sinodun.com

Sinodun Internet Technologies Ltd.
Stables 4, Suite 11,
Howbery Park,
Wallingford,
Oxfordshire,
OX10 8BA,
U.K.

+44 (0)1491 834957

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.nic.cz/pipermail/dscng-dev/attachments/20120615/074fcfdb/attachment.pgp>


More information about the dscng-dev mailing list