1. Victor Stinner
  2. hachoir
  3. Issues
Issue #23 resolved

hachoir_parser prints warning messages in library mode during normal operation

created an issue

When using hachoir_parser as a library, the following gets always printed to screen when instantiating the parser object:

{{{ [warn] Skip parser 'FAT12': Invalid FAT12 signature [warn] Skip parser 'FAT16': Invalid FAT16 signature [warn] Skip parser 'FAT32': Invalid FAT32 signature [warn] Skip parser 'LinuxSwapFile': Unknown magic string [warn] Skip parser 'MSDos_HardDrive': Invalid signature [warn] Skip parser 'PIFVFile': Invalid magic number }}}

This output gets in the way of a program I'm writing. Is it possible to switch it off by default?

Comments (1)

  1. Log in to comment