harperreed / image-dupes

A tool for scanning directories, identifying duplicate or similar images via hashing, and generating an HTML report for easy review.
1 stars 0 forks source link

Update README with Proper Build Instructions #11

Closed sweep-ai[bot] closed 1 day ago

sweep-ai[bot] commented 1 day ago

Purpose

The purpose of this pull request is to update the README.md file with more detailed and accurate build instructions for the Image Dupes Finder project.

Description

The changes in this pull request update the "How to Use" section of the README.md file. Specifically, we:

  1. Added a new "Build" subsection after the "Prerequisites" subsection.
  2. Moved the "Clone the Repository" and "Install Dependencies" steps to the "Build" subsection.
  3. Added instructions for building the executable using go build -o image-dupes.
  4. Updated the "Running the Tool" subsection to use the built executable (./image-dupes) instead of go run main.go.
  5. Updated the example command to reflect the new build and run process.

Summary

The key changes in this pull request are:

Fixes

9. Continue the conversation here: https://app.sweep.dev/c/c8c1bc32-22e4-4a74-abe3-31528464bc01.

To have Sweep make further changes, please add a comment to this PR starting with "Sweep:".

:book: For more information on how to use Sweep, please read our documentation.

Tracking ID: cd32517e5b
sweep-ai[bot] commented 1 day ago

❌ Error while fixing CI

Traceback (most recent call last):
  File "/app/sweepai/handlers/fix_ci.py", line 286, in fix_ci_failures_once
    logs_list = get_ci_failure_logs(error_runs, pull_request)
  File "/app/sweepai/handlers/fix_ci.py", line 182, in get_ci_failure_logs
    raw_logs = unzip_and_extract_logs(raw_binary_logs)
  File "/app/sweepai/handlers/fix_ci.py", line 137, in unzip_and_extract_logs
    zip_file = zipfile.ZipFile(io.BytesIO(blob))
  File "/usr/local/lib/python3.10/zipfile.py", line 1272, in __init__
    self._RealGetContents()
  File "/usr/local/lib/python3.10/zipfile.py", line 1339, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

File is not a zip file

Sweep has encountered a runtime error unrelated to your request. Please let us know via this link or at support@sweep.dev directly.

:book: For more information on how to use Sweep, please read our documentation.

Tracking ID: cd32517e5b-ci-0