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

The web-general docker image in crashloop #16

Open
ak2766 opened this issue Aug 11, 2024 · 3 comments
Open

The web-general docker image in crashloop #16

ak2766 opened this issue Aug 11, 2024 · 3 comments

Comments

@ak2766
Copy link

ak2766 commented Aug 11, 2024

To get the docker compose build to complete successfully, I had to remove version numbers for the following packages:

attrs
pydantic
Twisted
zope.interface

Additionally, after running docker compose up, the darkweb-search-engine-web-general container enters a crash loop.

Web General Container Crash Log
Cannot import language library.
Traceback (most recent call last):
  File "/opt/torscraper/web/app.py", line 13, in <module>
    from tor_db import *
  File "/opt/torscraper/lib/tor_db/__init__.py", line 15, in <module>
    from tor_db.models import *
  File "/opt/torscraper/lib/tor_db/models/__init__.py", line 1, in <module>
    from tor_db.models.domain import *
  File "/opt/torscraper/lib/tor_db/models/domain.py", line 10, in <module>
    import bitcoin
  File "/opt/torscraper/lib/bitcoin.py", line 9, in <module>
    import coinaddr
  File "/usr/local/lib/python3.8/site-packages/coinaddr/__init__.py", line 21, in <module>
    from . import interfaces, currency, validation
  File "/usr/local/lib/python3.8/site-packages/coinaddr/validation.py", line 44, in <module>
    class ValidatorBase(metaclass=ValidatorMeta):
  File "/usr/local/lib/python3.8/site-packages/coinaddr/validation.py", line 53, in ValidatorBase
    attr.validators.provides(IValidationRequest)
AttributeError: module 'attr.validators' has no attribute 'provides'

EDIT: Removed duplicate crash log messages.

@ak2766
Copy link
Author

ak2766 commented Aug 11, 2024

FYI: This is on Ubuntu 24.04 host. I'll try again on Ubuntu 20.04 to see if I can get a different outcome.

@Gharib110
Copy link

yes I have forked it and made some changes, even I built some of its docker images but I still have problem with web general.
https://github.com/Gharib110/Darkweb-search-engine

@ak2766
Copy link
Author

ak2766 commented Aug 12, 2024

Same outcome on Ubuntu 20.04. Hopefully there's help around the corner...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants