Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BitsParser.py to fix a problem if a directory is passed as input #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Oct 8, 2022

  1. Configuration menu
    Copy the full SHA
    7815a66 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Update BitsParser.py to fix a problem if a directory is passed as input

    If a directory is passed with -i, the -o option will overwrite the output file again and again. Therefore, all results except for the last one will be lost. To avoid it, I changed the mode "w" to "a" when opening the output file given with -o option.
    herosi committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    df42dbc View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Fixed a KeyError: 'FatherDataPageNumber' exception

    Exception occurred processing file qmgr.db: Traceback (most recent call last):
      File "C:\tools\BitsParser\BitsParser.py", line 369, in process_file
        jobs = self.load_qmgr10_jobs(file_data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\tools\BitsParser\BitsParser.py", line 319, in load_qmgr10_jobs
        jobs = self.load_qmgr10_db(file_data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\tools\BitsParser\BitsParser.py", line 245, in load_qmgr10_db
        files_table = ese.openTable("Files")
                      ^^^^^^^^^^^^^^^^^^^^^^
      File "C:\tools\BitsParser\ese\ese.py", line 644, in openTable
        cursor['LongValues'] = self.__getLongValues(cursor['TableData']['LongValues']['FatherDataPageNumber'])
                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
    KeyError: 'FatherDataPageNumber'
    herosi committed May 28, 2024
    Configuration menu
    Copy the full SHA
    0fb479e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    782fd63 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    338bbc8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6486107 View commit details
    Browse the repository at this point in the history