Lookyloo / lookyloo

Lookyloo is a web interface that allows users to capture a website page and then display a tree of domains that call each other.
https://www.lookyloo.eu
Other
681 stars 83 forks source link

[Bug]: Error when runing updatee #969

Closed FafnerKeyZee closed 1 week ago

FafnerKeyZee commented 3 weeks ago

What happened?

When running poetry run update the update fails :( I have to do poetry install in order to install the deps :)

If the issue is related to the web interface, what browsers are you seeing the problem on?

No response

Relevant log output

lookyloo$ poetry run update --yes
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/techteam/lookyloo/bin/update.py", line 13, in <module>
    from lookyloo.default import get_homedir, get_config
  File "/home/techteam/lookyloo/lookyloo/__init__.py", line 3, in <module>
    from .context import Context  # noqa
  File "/home/techteam/lookyloo/lookyloo/context.py", line 15, in <module>
    from .helpers import get_resources_hashes, load_known_content, serialize_to_json
  File "/home/techteam/lookyloo/lookyloo/helpers.py", line 21, in <module>
    from pydantic import field_validator
ModuleNotFoundError: No module named 'pydantic'