Git Product home page Git Product logo

Comments (3)

m4rc1e avatar m4rc1e commented on June 23, 2024

I wonder if you're not booting up an old image/container of GFR?

GFR now uses a prebuilt python & flask image.

If you're not worried about your previous containers and images, just delete them then rerun docker-compose up

from gfregression.

m4rc1e avatar m4rc1e commented on June 23, 2024

Personally I only use GFR for browser diffs. fontdiffenator can now export diffs as gifs

from gfregression.

KazunariTsuboi avatar KazunariTsuboi commented on June 23, 2024

I definitely want to use this tool locally!

but, I am facing the same problem. I completely delete the old image and container and then run docker-compose up, but the situation does not change.

The gfregression folder is the latest on master.
I prepared with /app/secrets.json ready.
I created docker-machine and made it Active.

I am sorry for the vague report because I do not have knowledge of the web app.
I want to tell you everything you need.

~/github/gfregression$ docker-compose up
Building web
Step 1/8 : FROM tiangolo/uwsgi-nginx-flask:python3.7
 ---> 4d66fde52a56
Step 2/8 : RUN mkdir /gfr
 ---> Running in 67f7841df9f7
Removing intermediate container 67f7841df9f7
 ---> ebbdeffd08ae
Step 3/8 : COPY ./Lib /gfr/Lib
 ---> f3d67388ca1f
Step 4/8 : COPY ./setup.py /gfr/setup.py
 ---> f2bd7e1374b5
Step 5/8 : RUN pip install /gfr
 ---> Running in b61456547aea
Processing /gfr
Collecting fontdiffenator (from gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/99/f9/15c5ac193894ed5b872869f9f68afe770debc46bfa972911c30f73c43928/fontdiffenator-0.7.16.tar.gz
Requirement already satisfied: flask in /usr/local/lib/python3.7/site-packages (from gfregression==3.1.0) (1.0.2)
Collecting requests (from gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
Collecting rethinkdb==2.3.0.post6 (from gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/e1/e9/a1491ea3b8a4aef368710e3c7a9b2373ad3238c9c96dbe3a561c37a9a452/rethinkdb-2.3.0.post6.tar.gz (118kB)
Collecting fonttools>=3.34.2 (from fontdiffenator->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/0e/17/c7ecb1e982e066f9465507c0d6885c9955322e833927971c6a3beed0fe5f/fonttools-3.43.2-py2.py3-none-any.whl (713kB)
Collecting Pillow>=5.4.1 (from fontdiffenator->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/a4/da/2bd281c875686230eabc13d20ab590ea617563b0e746abfb0698c4d5b645/Pillow-6.1.0-cp37-cp37m-manylinux1_x86_64.whl (2.1MB)
Collecting pycairo>=1.18.0 (from fontdiffenator->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/48/20/5e83af98eb897935bf7dc39455e892ba866feebb9b7c3b392982866f9958/pycairo-1.18.1.tar.gz (200kB)
Collecting uharfbuzz>=0.3.0 (from fontdiffenator->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/ad/b7/e89368ff56c97773e193078036995b7269cb20694ed3a8f6baa4f5b9a62f/uharfbuzz-0.5.0-cp37-cp37m-manylinux1_x86_64.whl (481kB)
Collecting freetype-py>=2.0.0.post6 (from fontdiffenator->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/f2/00/6f332e63b33d24dc3761916e6d51402a7a82dd43c6ca8a96e24dda32c6b5/freetype_py-2.1.0.post1-py2.py3-none-manylinux1_x86_64.whl (883kB)
Requirement already satisfied: click>=5.1 in /usr/local/lib/python3.7/site-packages (from flask->gfregression==3.1.0) (7.0)
Requirement already satisfied: itsdangerous>=0.24 in /usr/local/lib/python3.7/site-packages (from flask->gfregression==3.1.0) (1.1.0)
Requirement already satisfied: Werkzeug>=0.14 in /usr/local/lib/python3.7/site-packages (from flask->gfregression==3.1.0) (0.15.4)
Requirement already satisfied: Jinja2>=2.10 in /usr/local/lib/python3.7/site-packages (from flask->gfregression==3.1.0) (2.10.1)
Collecting chardet<3.1.0,>=3.0.2 (from requests->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl (150kB)
Collecting idna<2.9,>=2.5 (from requests->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
Collecting certifi>=2017.4.17 (from requests->gfregression==3.1.0)
  Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.7/site-packages (from Jinja2>=2.10->flask->gfregression==3.1.0) (1.1.1)
Building wheels for collected packages: gfregression, fontdiffenator, rethinkdb, pycairo
  Building wheel for gfregression (setup.py): started
  Building wheel for gfregression (setup.py): finished with status 'done'
  Stored in directory: /tmp/pip-ephem-wheel-cache-u2wn406_/wheels/80/e0/ad/b28f5762bc36ba0dd5159e8bbbc186a0346af59408581dad46
  Building wheel for fontdiffenator (setup.py): started
  Building wheel for fontdiffenator (setup.py): finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/9e/4a/6a/64c0bb2366ef96914ace66889ee6dba00c3805bce1d94c49ea
  Building wheel for rethinkdb (setup.py): started
  Building wheel for rethinkdb (setup.py): finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/df/e6/53/15ccfa041c9970c99bb3f734d5fed962ea0c98eb9801645463
  Building wheel for pycairo (setup.py): started
  Building wheel for pycairo (setup.py): finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/b8/b1/92/7bcec338d38ae0ddb55ad0696096dc2b43babfe3b21b61f093
Successfully built gfregression fontdiffenator rethinkdb pycairo
Installing collected packages: fonttools, Pillow, pycairo, uharfbuzz, freetype-py, fontdiffenator, chardet, urllib3, idna, certifi, requests, rethinkdb, gfregression
Successfully installed Pillow-6.1.0 certifi-2019.6.16 chardet-3.0.4 fontdiffenator-0.7.16 fonttools-3.43.2 freetype-py-2.1.0.post1 gfregression-3.1.0 idna-2.8 pycairo-1.18.1 requests-2.22.0 rethinkdb-2.3.0.post6 uharfbuzz-0.5.0 urllib3-1.25.3
Removing intermediate container b61456547aea
 ---> 89918cafdae7
Step 6/8 : COPY ./entrypoint.sh /entrypoint.sh
 ---> b12c6725404a
Step 7/8 : COPY ./app /app
 ---> a008b86baa4f
Step 8/8 : RUN chmod +x /entrypoint.sh
 ---> Running in bc173638a542
Removing intermediate container bc173638a542
 ---> a9a2e843360e
Successfully built a9a2e843360e
Successfully tagged gfregression_web:latest
WARNING: Image for service web was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Starting gfregression_db_1 ... done
Creating gfregression_web_1 ... done
Attaching to gfregression_db_1, gfregression_web_1
web_1  | Checking for script in /app/prestart.sh
db_1   | Recursively removing directory /data/tmp
db_1   | Initializing directory /data
db_1   | Running rethinkdb 2.3.6~0jessie (GCC 4.9.2)...
db_1   | Running on Linux 4.14.133-boot2docker x86_64
db_1   | Loading data from directory /data
db_1   | warn: Cache size does not leave much memory for server and query overhead (available memory: 837 MB).
db_1   | warn: Cache size is very low and may impact performance.
db_1   | Listening for intracluster connections on port 29015
db_1   | Listening for client driver connections on port 28015
db_1   | Listening for administrative HTTP connections on port 8080
db_1   | Listening on cluster addresses: 127.0.0.1, 172.17.0.2
db_1   | Listening on driver addresses: 127.0.0.1, 172.17.0.2
db_1   | Listening on http addresses: 127.0.0.1, 172.17.0.2
web_1  | There is no script /app/prestart.sh
web_1  | /usr/lib/python2.7/dist-packages/supervisor/options.py:298: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
web_1  |   'Supervisord is running as root and it is searching '
web_1  | 2019-07-18 02:03:27,534 CRIT Supervisor running as root (no user in config file)
web_1  | 2019-07-18 02:03:27,534 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
web_1  | 2019-07-18 02:03:27,566 INFO RPC interface 'supervisor' initialized
web_1  | 2019-07-18 02:03:27,568 CRIT Server 'unix_http_server' running without any HTTP authentication checking
web_1  | 2019-07-18 02:03:27,568 INFO supervisord started with pid 1
web_1  | 2019-07-18 02:03:28,572 INFO spawned: 'nginx' with pid 9
web_1  | 2019-07-18 02:03:28,576 INFO spawned: 'uwsgi' with pid 10
web_1  | 2019-07-18 02:03:28,953 INFO exited: nginx (exit status 0; not expected)
web_1  | realpath() of /app/uwsgi.ini failed: No such file or directory [core/utils.c line 3654]
web_1  | 2019-07-18 02:03:29,052 INFO exited: uwsgi (exit status 1; not expected)
web_1  | 2019-07-18 02:03:30,056 INFO spawned: 'nginx' with pid 13
web_1  | 2019-07-18 02:03:30,060 INFO spawned: 'uwsgi' with pid 14
web_1  | realpath() of /app/uwsgi.ini failed: No such file or directory [core/utils.c line 3654]
web_1  | 2019-07-18 02:03:30,088 INFO exited: uwsgi (exit status 1; not expected)
web_1  | 2019/07/18 02:03:30 [emerg] 13#13: bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | 2019/07/18 02:03:30 [emerg] 13#13: bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | 2019/07/18 02:03:30 [emerg] 13#13: bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | 2019-07-18 02:03:31,101 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
web_1  | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | 2019/07/18 02:03:30 [emerg] 13#13: bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | 2019/07/18 02:03:30 [emerg] 13#13: bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
web_1  | 2019-07-18 02:03:32,106 INFO spawned: 'uwsgi' with pid 15
web_1  | realpath() of /app/uwsgi.ini failed: No such file or directory [core/utils.c line 3654]
web_1  | 2019-07-18 02:03:32,125 INFO exited: uwsgi (exit status 1; not expected)
web_1  | 2019/07/18 02:03:30 [emerg] 13#13: still could not bind()
web_1  | nginx: [emerg] still could not bind()

from gfregression.

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.