Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inferred faces tab is empty, even though hovering displays non-zero amounts #1458

Open
kuzmos opened this issue Oct 22, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@kuzmos
Copy link

kuzmos commented Oct 22, 2024

When Submitting please remove every thing above this line

πŸ› Bug Report

  • [ x ] πŸ“ I've Included a ZIP file containing my librephotos log files - excerpt from a backend log, not sure if relevant, nothing in the frontend
  • [ x ] ❌ I have looked for similar issues (including closed ones)
  • [ x ] 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

πŸ“ Description of issue:

After a face scan, inferred faces tab is empty, even though hovering displays non-zero amounts - see screenshot.

image

πŸ” How can we reproduce it:

No special steps, inferred tab stopped working some time ago. Tried all in anonymous mode with all extensions turned off.

Please provide additional information:

  • πŸ’» Operating system:
    • Ubuntu 24
  • βš™ Architecture (x86 or ARM):
    • x86
  • πŸ”’ Librephotos version:
    • latest dev, just did a docker compose pull
  • πŸ“Έ Librephotos installation method (Docker, Kubernetes, .deb, etc.):
    • πŸ‹ If Docker or Kubernets, provide docker-compose image tag:
    • docker-compose tag: dev
    • used with reverse nginx proxy to provide https
  • πŸ“ How is you picture library mounted (Local file system (Type), NFS, SMB, etc.):
    • SMB
  • ☁ If you are virtualizing librephotos, Virtualization platform (Proxmox, Xen, HyperV, etc.):
    • VM in truenas scale

Message in FF dev console:

XHRGET
https://<redacted>/api/rqavailable/
[HTTP/2 401  10ms]

	
errors	[ {…}, {…}, {…} ]
0	Object { field: "detail", message: "Given token not valid for any token type" }
1	Object { field: "code", message: "token_not_valid" }
2	Object { field: "messages", message: "[{'token_class': ErrorDetail(string='AccessToken', code='token_not_valid'), 'token_type': ErrorDetail(string='access', code='token_not_valid'), 'message': ErrorDetail(string='Token is invalid or expired', code='token_not_valid')}]" }

Log excerpt

use SECRET_KEY from env
14:48:51 [Q] INFO Enqueued [DjangORM] 6003293
14:48:51 [Q] INFO Process-604efc1aedc24a0d9bd7b923ea4ed343 created task black-delta-oranges-california from schedule [1]
14:48:51 [Q] INFO Process-59d89d45b02646c28e4c9cb3ded89978 processing black-delta-oranges-california 'api.services.check_services' [1]
127.0.0.1 - - [2024-10-22 14:48:51] "GET /health HTTP/1.1" 308 419 0.001276
127.0.0.1 - - [2024-10-22 14:48:51] "GET /health/ HTTP/1.1" 200 124 0.000967
127.0.0.1 - - [2024-10-22 14:48:52] "GET /health HTTP/1.1" 200 124 0.000896
127.0.0.1 - - [2024-10-22 14:48:52] "GET /health HTTP/1.1" 200 135 0.000867
127.0.0.1 - - [2024-10-22 14:48:52] "GET /health HTTP/1.1" 200 135 0.001097
127.0.0.1 - - [2024-10-22 14:48:52] "GET /health HTTP/1.1" 200 135 0.000887
127.0.0.1 - - [2024-10-22 14:48:52] "GET /health HTTP/1.1" 200 124 0.000871
127.0.0.1 - - [2024-10-22 14:48:52] "GET /health HTTP/1.1" 200 135 0.000818
14:48:52 [Q] INFO Processed 'api.services.check_services' (black-delta-oranges-california)
Fatal Python error: Illegal instruction

Current thread 0x00007617c5297080 (most recent call first):
  File "/usr/lib/python3.12/ctypes/__init__.py", line 379 in __init__
  File "/usr/local/lib/python3.12/dist-packages/llama_cpp/_ctypes_extensions.py", line 67 in load_shared_library
  File "/usr/local/lib/python3.12/dist-packages/llama_cpp/llama_cpp.py", line 38 in <module>
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 995 in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "/usr/local/lib/python3.12/dist-packages/llama_cpp/__init__.py", line 1 in <module>
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 995 in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "/code/service/llm/main.py", line 4 in <module>

Extension modules: greenlet._greenlet, zope.interface._zope_interface_coptimizations, gevent.libev.corecext, gevent._gevent_c_greenlet_primitives, gevent._gevent_c_hub_local, gevent._gevent_c_waiter, gevent._gevent_c_hub_primitives, gevent._gevent_c_ident, gevent._gevent_cgreenlet, markupsafe._speedups, gevent._gevent_c_abstract_linkable, gevent._gevent_cevent (total: 12)
14:49:51 [Q] INFO Enqueued [DjangORM] 6003294
14:49:51 [Q] INFO Process-604efc1aedc24a0d9bd7b923ea4ed343 created task fanta-arizona-five-march from schedule [1]
14:49:52 [Q] INFO Process-345a84c1e21c446dae02da23ad4453fd processing fanta-arizona-five-march 'api.services.check_services' [1]
127.0.0.1 - - [2024-10-22 14:49:52] "GET /health HTTP/1.1" 308 419 0.001310
127.0.0.1 - - [2024-10-22 14:49:52] "GET /health/ HTTP/1.1" 200 124 0.000813
127.0.0.1 - - [2024-10-22 14:49:52] "GET /health HTTP/1.1" 200 124 0.000885
127.0.0.1 - - [2024-10-22 14:49:52] "GET /health HTTP/1.1" 200 135 0.000878
127.0.0.1 - - [2024-10-22 14:49:52] "GET /health HTTP/1.1" 200 135 0.000932
127.0.0.1 - - [2024-10-22 14:49:52] "GET /health HTTP/1.1" 200 135 0.001182
127.0.0.1 - - [2024-10-22 14:49:52] "GET /health HTTP/1.1" 200 124 0.000854
127.0.0.1 - - [2024-10-22 14:49:52] "GET /health HTTP/1.1" 200 135 0.000840
14:49:52 [Q] INFO Processed 'api.services.check_services' (fanta-arizona-five-march)
Fatal Python error: Illegal instruction

Current thread 0x000079d981bc3080 (most recent call first):
  File "/usr/lib/python3.12/ctypes/__init__.py", line 379 in __init__
  File "/usr/local/lib/python3.12/dist-packages/llama_cpp/_ctypes_extensions.py", line 67 in load_shared_library
  File "/usr/local/lib/python3.12/dist-packages/llama_cpp/llama_cpp.py", line 38 in <module>
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 995 in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "/usr/local/lib/python3.12/dist-packages/llama_cpp/__init__.py", line 1 in <module>
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 995 in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "/code/service/llm/main.py", line 4 in <module>

Extension modules: greenlet._greenlet, zope.interface._zope_interface_coptimizations, gevent.libev.corecext, gevent._gevent_c_greenlet_primitives, gevent._gevent_c_hub_local, gevent._gevent_c_waiter, gevent._gevent_c_hub_primitives, gevent._gevent_c_ident, gevent._gevent_cgreenlet, markupsafe._speedups, gevent._gevent_c_abstract_linkable, gevent._gevent_cevent (total: 12)
[2024-10-22 14:50:32 +0200] [5396] [INFO] Autorestarting worker after current request.
[2024-10-22 14:50:32 +0200] [5396] [INFO] Worker exiting (pid: 5396)
[2024-10-22 14:50:33 +0200] [5488] [INFO] Booting worker with pid: 5488
use SECRET_KEY from env
[2024-10-22 14:50:38 +0200] [5341] [INFO] Autorestarting worker after current request.
[2024-10-22 14:50:39 +0200] [5341] [INFO] Worker exiting (pid: 5341)
@kuzmos kuzmos added the bug Something isn't working label Oct 22, 2024
@derneuere
Copy link
Member

There is a new update on the way, which should adress this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants