Giter Club home page Giter Club logo

Comments (7)

Evancleaveland avatar Evancleaveland commented on September 26, 2024 1

Okay please disregard previous message, I was able to complete the build successfully by clearing space on my drive and running this Note: This error originates from the build backend, and is likely not a problem with poetry but with untokenize (0.1.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "untokenize (==0.1.1)"'.

I am now getting a different error running Docker-compose up service. Please see below

evan@evan-VirtualBox:~/hyacinth$ docker-compose up service
hyacinth_browserless_1 is up-to-date
hyacinth_db_1 is up-to-date
Starting hyacinth_service_1 ... done
Attaching to hyacinth_service_1
service_1 | Traceback (most recent call last):
service_1 | File "", line 1, in
service_1 | File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
service_1 | return _bootstrap._gcd_import(name[level:], package, level)
service_1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
service_1 | File "", line 1204, in _gcd_import
service_1 | File "", line 1176, in _find_and_load
service_1 | File "", line 1126, in _find_and_load_unlocked
service_1 | File "", line 241, in _call_with_frames_removed
service_1 | File "", line 1204, in _gcd_import
service_1 | File "", line 1176, in _find_and_load
service_1 | File "", line 1147, in _find_and_load_unlocked
service_1 | File "", line 690, in _load_unlocked
service_1 | File "", line 940, in exec_module
service_1 | File "", line 241, in _call_with_frames_removed
service_1 | File "/app/hyacinth/init.py", line 24, in
service_1 | _configure_logging()
service_1 | File "/app/hyacinth/init.py", line 9, in _configure_logging
service_1 | settings = get_settings()
service_1 | ^^^^^^^^^^^^^^
service_1 | File "/app/hyacinth/settings.py", line 66, in get_settings
service_1 | return Settings() # type: ignore
service_1 | ^^^^^^^^^^
service_1 | File "/home/joyvan/.cache/pypoetry/virtualenvs/hyacinth-9TtSrW0h-py3.11/lib/python3.11/site-packages/pydantic_settings/main.py", line 71, in init
service_1 | super().init(
service_1 | File "/home/joyvan/.cache/pypoetry/virtualenvs/hyacinth-9TtSrW0h-py3.11/lib/python3.11/site-packages/pydantic/main.py", line 159, in init
service_1 | pydantic_self.pydantic_validator.validate_python(data, self_instance=pydantic_self)
service_1 | pydantic_core._pydantic_core.ValidationError: 6 validation errors for Settings
service_1 | google_geocoding_api_key
service_1 | Field required [type=missing, input_value={'tz': 'America/New_York'...6xqEDre0DokM2vRte4Kb8E'}, input_type=dict]
service_1 | For further information visit https://errors.pydantic.dev/2.1/v/missing
service_1 | s3_url
service_1 | Field required [type=missing, input_value={'tz': 'America/New_York'...6xqEDre0DokM2vRte4Kb8E'}, input_type=dict]
service_1 | For further information visit https://errors.pydantic.dev/2.1/v/missing
service_1 | s3_access_key
service_1 | Field required [type=missing, input_value={'tz': 'America/New_York'...6xqEDre0DokM2vRte4Kb8E'}, input_type=dict]
service_1 | For further information visit https://errors.pydantic.dev/2.1/v/missing
service_1 | s3_secret_key
service_1 | Field required [type=missing, input_value={'tz': 'America/New_York'...6xqEDre0DokM2vRte4Kb8E'}, input_type=dict]
service_1 | For further information visit https://errors.pydantic.dev/2.1/v/missing
service_1 | s3_bucket
service_1 | Field required [type=missing, input_value={'tz': 'America/New_York'...6xqEDre0DokM2vRte4Kb8E'}, input_type=dict]
service_1 | For further information visit https://errors.pydantic.dev/2.1/v/missing
service_1 | browserless_url
service_1 | Field required [type=missing, input_value={'tz': 'America/New_York'...6xqEDre0DokM2vRte4Kb8E'}, input_type=dict]
service_1 | For further information visit https://errors.pydantic.dev/2.1/v/missing
service_1 | make: *** [Makefile:30: run] Error 1
hyacinth_service_1 exited with code 2

from hyacinth.

Evancleaveland avatar Evancleaveland commented on September 26, 2024 1

No problem at all!!

You are a LIFE SAVER thank you so much, I am now up and running. I cannot wait to test this out!!

I appreciate you taking time to give me a hand!!! Thank you so much for all of your help and thank you for building such an awesome application!!!

from hyacinth.

stephanlensky avatar stephanlensky commented on September 26, 2024

Hi, can you please attach the output from the container before it exits?

from hyacinth.

Evancleaveland avatar Evancleaveland commented on September 26, 2024

Thank you for the reply, see attached log
Screen Shot 2023-08-12 at 9 47 19 AM

from hyacinth.

stephanlensky avatar stephanlensky commented on September 26, 2024

Thanks for the additional info. Do you have a file named run in the hyacinth directory? I think that would cause the behavior you're seeing.

I just pushed a change that fixes this bug. Can you either

  1. Remove the run file, or
  2. Download the latest version and rebuild the docker image with docker-compose build service

and then try again?

from hyacinth.

Evancleaveland avatar Evancleaveland commented on September 26, 2024

Thank you so much for the response! I do not see a file named run nor have I added one, but I downloaded the latest version and rebuilt the image and received more errors that i had not received before, could you please take a look at the log? I would appreciate it so much!!!
outputfile.txt

from hyacinth.

stephanlensky avatar stephanlensky commented on September 26, 2024

Looks like some optional settings were accidentally not actually marked as optional 🤦. Sorry about that.

I just pushed a fix, could you try pulling the latest version and starting the service again? You should not need to rebuild the image.

from hyacinth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.