Skip to content

fix: resolve ForensicEngine stdout corruption and add missing exif metadata field#345

Open
DebasmitaBose0 wants to merge 6 commits into
Akshay473:mainfrom
DebasmitaBose0:fix/forensic-engine-stdout-corrupt
Open

fix: resolve ForensicEngine stdout corruption and add missing exif metadata field#345
DebasmitaBose0 wants to merge 6 commits into
Akshay473:mainfrom
DebasmitaBose0:fix/forensic-engine-stdout-corrupt

Conversation

@DebasmitaBose0

Copy link
Copy Markdown
Contributor

Closes #344

Summary

Fixed a 500 error in the analysis route caused by corrupted stdout streams and missing metadata fields in the ForensicEngine.

Changes Made

  • Removed print() statements from ForensicEngine.run_automated_process.
  • Added "exif": {} to the returned dictionary in ForensicEngine.get_metadata.

Testing

  • Verified through direct execution of python worker_runner.py and checked that it output pure JSON.
  • Ran pytest suite verifying the test check successfully parses the result.

Impact

Restores functionality to the main file analysis and ingestion engine.

Checklist

  • Code follows project standards
  • Tested locally
  • No unrelated changes included
  • Responsive design verified
  • Accessibility considered

@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

@DebasmitaBose0 is attempting to deploy a commit to the akshay473's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GSSOC] Fix ForensicEngine console prints corrupting JSON worker stdout

1 participant