Giter Site home page Giter Site logo

Comments (8)

muayyad-alsadi avatar muayyad-alsadi commented on August 16, 2024 1

please try dev branch (see README.md)

from podman-compose.

lexfrei avatar lexfrei commented on August 16, 2024 1

Same issue on 0.1.5 (can't compare it with 2019's dev in my brain)

Probably similar to kubernetes/kompose#986 (comment)

from podman-compose.

renich avatar renich commented on August 16, 2024

My sysinfo: https://paste.centos.org/view/8cc6f84f

from podman-compose.

renich avatar renich commented on August 16, 2024

Will do.

from podman-compose.

renich avatar renich commented on August 16, 2024

Dev branch works. You can close this one if you like. Congratulations! ;D

from podman-compose.

stweil avatar stweil commented on August 16, 2024

Please reopen this issue. It still occurs with the development version (see example). Any numeric entry in docker-compose.yml (for example typically port numbers) will trigger the issue.

A workaround required rewriting the YAML file:

diff --git a/docker-compose.yml b/docker-compose.yml
index f471d44..6ad9a8e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -16,13 +16,13 @@ services:
     <<: *app
     command: uwsgi --ini /usr/src/app/uwsgi.ini
     expose:
-      - 8000
+      - "8000"
 
   channelserver:
     <<: *app
     command: daphne --bind 0.0.0.0 --port 5000 -v 1 escriptorium.asgi:application
     expose:
-      - 5000
+      - "5000"
 
   db:
     image: postgres:10.5-alpine
@@ -109,7 +109,7 @@ services:
     build: ./exim
     image: registry.gitlab.com/scripta/escriptorium/mail
     expose:
-      - 25
+      - "25"
     environment:
       - PRIMARY_HOST=${DOMAIN:-localhost}
       - ALLOWED_HOSTS=web ; celery-main ; celery-low-priority; docker0

from podman-compose.

stweil avatar stweil commented on August 16, 2024

The failing Python statement is print(" ".join(cmd_ls)). There are other code lines which also don't like integer list elements:

  File "/home/stweil/venv/lib/python3.9/site-packages/podman_compose.py", line 719, in run
    p = subprocess.Popen(cmd_ls)
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1756, in _execute_child
    self.pid = _posixsubprocess.fork_exec(
TypeError: expected str, bytes or os.PathLike object, not int

from podman-compose.

stweil avatar stweil commented on August 16, 2024

Pull request #305 should fix this issue.

from podman-compose.

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.