Matesanz / junction-move38

Junction Challenge by Move 38
2 stars 1 forks source link

error in prod #16

Closed Matesanz closed 1 year ago

Matesanz commented 1 year ago
[01:22:05] 📦 Processed dependencies!
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
2023-10-22 01:22:29.088 MediaFileHandler: Missing file 62d31350ab9d5f91732103bcadb68f03888ca4a713bc29a7b96351d0.jpg
2023-10-22 01:22:30.429 MediaFileHandler: Missing file cacab7ab7a449cdf19ad6cdcd8609f9b262ad064ff6d67f6a4cf9d09.png
2023-10-22 01:23:53.142 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/junction-move38/app/main.py", line 90, in <module>
    render_main()
  File "/mount/src/junction-move38/app/main.py", line 84, in render_main
    _render_lockfile()
  File "/mount/src/junction-move38/app/main.py", line 45, in _render_lockfile
    fingerprinted, fingerprint = fingerprinting.fingerprint_image(
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mount/src/junction-move38/app/fingerprinting.py", line 82, in fingerprint_image
    fingerprinted = _merge_cells(cells, new_width, new_height, grid_factor)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mount/src/junction-move38/app/fingerprinting.py", line 48, in _merge_cells
    cell = next(cells)
           ^^^^^^^^^^^
  File "/mount/src/junction-move38/app/fingerprinting.py", line 81, in <lambda>
    cells = map(lambda x: _embed_fingerprint(x[0], x[1], fingerprint), enumerate(cells))
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: _embed_fingerprint() takes 2 positional arguments but 3 were given