Git Product home page Git Product logo

Comments (4)

jd avatar jd commented on May 24, 2024

This is unlikely related to 1.11.4, the diff since 1.11.2 does not concern anything else than Swift and Gnocchi drivers.

Can you run it with --debug to see what's going on?

Do you test with Python 2 and do you have the same error?

from pifpaf.

acompa avatar acompa commented on May 24, 2024

Yep, also tested with Python 2 (see the second code block in the initial message).

I see this when running Python 3 tests with --debug:

ERROR [pifpaf] Traceback (most recent call last):
  File "/home/travis/build/path/to/.tox/py36/lib/python3.6/site-packages/pifpaf/drivers/__init__.py", line 214, in _exec
    preexec_fn=os.setsid,
  File "/opt/python/3.6.3/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/opt/python/3.6.3/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: b'/usr/lib/postgresql/10/bin/pg_ctl': b'/usr/lib/postgresql/10/bin/pg_ctl'

It looks like pifpaf assumes PostgreSQL 10, which Travis only supports with a lot of work. Am I reading this debug correctly?

from pifpaf.

sinemetu1 avatar sinemetu1 commented on May 24, 2024

I think this is a travis-ci image or pg_ctl issue. I was able to reproduce with this yaml: https://github.com/sinemetu1/test-pg-travis/blob/master/.travis.yml

And the corresponding travis build: https://travis-ci.org/sinemetu1/test-pg-travis/builds/325130012

I have no idea why pg_ctl --bindir is reporting /usr/lib/postgresql/10/bin.

from pifpaf.

sinemetu1 avatar sinemetu1 commented on May 24, 2024

Here's the travis issue: travis-ci/travis-ci#9011

from pifpaf.

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.