Skip to content

Bug fixes #1

Open
vpchung wants to merge 4 commits intoRodriguesRBruno:fix_container_idsfrom
vpchung:bug-fixes
Open

Bug fixes #1
vpchung wants to merge 4 commits intoRodriguesRBruno:fix_container_idsfrom
vpchung:bug-fixes

Conversation

@vpchung
Copy link

@vpchung vpchung commented Nov 19, 2025

Hi there! I encountered some errors while running the generate_updated_hashes.py script on the images hosted on Synapse, in particular:

  • TypeError: remove: path should be string, bytes or os.PathLike, not File for L39
  • TypeError: Strings must be encoded before hashing for L48
  • UnboundLocalError: local variable 'parameters_hash_matched' referenced before assignment for L173

There was also a few instances where the image no longer exists, so the script exits early after attempting to pull it 5 times.

Suggested in this PR are the fixes I did to get the script running, but I'm not sure if these unintentionally altered the expected output, especially since I did get some warnings about a hash mismatch for some of the images.

CC @hasan7n

@vpchung vpchung deployed to testing-external-code November 19, 2025 21:31 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant