Skip to content

docker method does not work #232

@feraxhp

Description

@feraxhp

Describe the bug
Following the docker steps, does not result in a successful execution

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Build the image
  3. Run the image
  4. See error

Expected behavior
Run without any error

Desktop (please complete the following information):

  • OS: Windows (Docker desktop)

Additional context

Traceback (most recent call last):
  File "/usr/local/bin/holehe", line 33, in <module>
    sys.exit(load_entry_point('holehe==1.61', 'console_scripts', 'holehe')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/holehe-1.61-py3.11.egg/holehe/core.py", line 233, in main
    trio.run(maincore)
  File "/usr/local/lib/python3.11/site-packages/trio-0.31.0-py3.11.egg/trio/_core/_run.py", line 2547, in run
    raise runner.main_task_outcome.error
  File "/usr/local/lib/python3.11/site-packages/holehe-1.61-py3.11.egg/holehe/core.py", line 197, in maincore
    check_update()
  File "/usr/local/lib/python3.11/site-packages/holehe-1.61-py3.11.egg/holehe/core.py", line 68, in check_update
    if check_version.json()["info"]["version"] != __version__:
       ^^^^^^^^^^^^^^^^^^
AttributeError: 'Response' object has no attribute 'json'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions