$ fm create example12 --frappe-branch version-12 ✅ Created all required directories. ✅ Started bench services. ✅ Configured common_site_config.json ✅ Configured frappe server ✅ Configured supervisor configs ❌ Error Occured: 'BenchOperationFrappeBranchChangeFailed' object has no attribute 'set_output' ❌ There has been some error creating/starting the bench. 🔍 Please check the logs at /home/greycubedev/frappe/logs/fm.log ===================================================== [2024-11-09 15:21:00,063] INFO: [2024-11-09 15:21:00,063] INFO: ::::::::::::::::::::FM Invoked:::::::::::::::::::: [2024-11-09 15:21:00,063] INFO: [2024-11-09 15:21:00,063] INFO: RUNNING COMMAND: create example12 --frappe-branch version-12 [2024-11-09 15:21:00,063] INFO: -------------------- [2024-11-09 15:21:00,063] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:00,064] DEBUG: DOCKER COMMAND: docker version --format json [2024-11-09 15:21:00,085] DEBUG: {"Client":{"Platform":{"Name":"Docker Engine - Community"},"Version":"27.3.1","ApiVersion":"1.47","DefaultAPIVersion":"1.47","GitCommit":"ce12230","GoVersion":"go1.22.7","Os":"linux","Arch":"amd64","BuildTime":"Fri Sep 20 11:40:59 2024","Context":"default"},"Server":{"Platform":{"Name":"Docker Engine - Community"},"Components":[{"Name":"Engine","Version":"27.3.1","Details":{"ApiVersion":"1.47","Arch":"amd64","BuildTime":"Fri Sep 20 11:40:59 2024","Experimental":"false","GitCommit":"41ca978","GoVersion":"go1.22.7","KernelVersion":"6.8.0-48-generic","MinAPIVersion":"1.24","Os":"linux"}},{"Name":"containerd","Version":"1.7.22","Details":{"GitCommit":"7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c"}},{"Name":"runc","Version":"1.1.14","Details":{"GitCommit":"v1.1.14-0-g2c9f560"}},{"Name":"docker-init","Version":"0.19.0","Details":{"GitCommit":"de40ad0"}}],"Version":"27.3.1","ApiVersion":"1.47","MinAPIVersion":"1.24","GitCommit":"41ca978","GoVersion":"go1.22.7","Os":"linux","Arch":"amd64","KernelVersion":"6.8.0-48-generic","BuildTime":"2024-09-20T11:40:59.000000000+00:00"}} [2024-11-09 15:21:00,086] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:00,086] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:00,104] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:00,104] DEBUG: DOCKER COMMAND: docker compose -f /home/greycubedev/frappe/services/docker-compose.yml ps --all --format json global-db global-nginx-proxy [2024-11-09 15:21:00,178] DEBUG: {"Command":"\"docker-entrypoint.s…\"","CreatedAt":"2024-11-09 15:14:27 +0530 IST","ExitCode":0,"Health":"","ID":"08b7de55eb12","Image":"mariadb:10.6","Labels":"com.docker.compose.project.config_files=/home/greycubedev/frappe/services/docker-compose.yml,org.opencontainers.image.authors=MariaDB Community,org.opencontainers.image.base.name=docker.io/library/ubuntu:focal,org.opencontainers.image.description=MariaDB Database for relational SQL,org.opencontainers.image.licenses=GPL-2.0,org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker,com.docker.compose.project=services,com.docker.compose.oneoff=False,com.docker.compose.service=global-db,org.opencontainers.image.documentation=https://hub.docker.com/_/mariadb/,org.opencontainers.image.ref.name=ubuntu,com.docker.compose.container-number=1,org.opencontainers.image.version=10.6.19,com.docker.compose.depends_on=,com.docker.compose.image=sha256:17085c4029162a7cbcda86a8c83760bdda7462ef2626240bf4cd123f2a3258de,com.docker.compose.project.working_dir=/home/greycubedev/frappe/services,com.docker.compose.version=2.29.7,org.opencontainers.image.source=https://github.com/MariaDB/mariadb-docker,org.opencontainers.image.title=MariaDB Database,org.opencontainers.image.vendor=MariaDB Community,com.docker.compose.config-hash=2acd98a371618803d3ea1243ebd04f9d6c336676475820b13ccf320d392ff80d","LocalVolumes":"0","Mounts":"/home/greycube…,/home/greycube…,/home/greycube…,/home/greycube…,/home/greycube…","Name":"fm_global-db","Names":"fm_global-db","Networks":"fm-global-backend-network","Ports":"3306/tcp","Project":"services","Publishers":[{"URL":"","TargetPort":3306,"PublishedPort":0,"Protocol":"tcp"}],"RunningFor":"6 minutes ago","Service":"global-db","Size":"0B","State":"running","Status":"Up 6 minutes"} [2024-11-09 15:21:00,178] DEBUG: {"Command":"\"/app/docker-entrypo…\"","CreatedAt":"2024-11-09 15:14:27 +0530 IST","ExitCode":0,"Health":"","ID":"ab28b35b6b94","Image":"jwilder/nginx-proxy:1.6","Labels":"com.docker.compose.config-hash=07eb95b98b4f2e8b01afd55c322e2d1f26bda9127833e532221ae7a92b274fbe,com.docker.compose.depends_on=,org.opencontainers.image.version=1.6.3,com.docker.compose.container-number=1,com.docker.compose.project.working_dir=/home/greycubedev/frappe/services,maintainer=NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e,org.opencontainers.image.description=Automated nginx proxy for Docker containers using docker-gen,org.opencontainers.image.title=nginx-proxy,com.docker.compose.project=services,com.docker.compose.version=2.29.7,org.opencontainers.image.licenses=MIT,org.opencontainers.image.revision=5ec120a296ea61c5534e9f05e06eb1e85d486d8f,org.opencontainers.image.source=https://github.com/nginx-proxy/nginx-proxy,com.docker.compose.image=sha256:87d79b334c5199cbf392a5ecc17a2ea09941df1a0857961e0c2543ca18aca327,com.docker.compose.oneoff=False,com.docker.compose.project.config_files=/home/greycubedev/frappe/services/docker-compose.yml,com.docker.compose.service=global-nginx-proxy,org.opencontainers.image.authors=Nicolas Duchon \u003cnicolas.duchon@gmail.com\u003e (@buchdag), Jason Wilder,org.opencontainers.image.created=2024-10-16T10:26:40.042Z,org.opencontainers.image.url=https://github.com/nginx-proxy/nginx-proxy","LocalVolumes":"0","Mounts":"/home/greycube…,/home/greycube…,/home/greycube…,/home/greycube…,/home/greycube…,/home/greycube…,/var/run/docke…,/home/greycube…,/home/greycube…,/home/greycube…","Name":"fm_global-nginx-proxy","Names":"fm_global-nginx-proxy","Networks":"fm-global-frontend-network","Ports":"0.0.0.0:80-\u003e80/tcp, :::80-\u003e80/tcp, 0.0.0.0:443-\u003e443/tcp, :::443-\u003e443/tcp","Project":"services","Publishers":[{"URL":"0.0.0.0","TargetPort":80,"PublishedPort":80,"Protocol":"tcp"},{"URL":"::","TargetPort":80,"PublishedPort":80,"Protocol":"tcp"},{"URL":"0.0.0.0","TargetPort":443,"PublishedPort":443,"Protocol":"tcp"},{"URL":"::","TargetPort":443,"PublishedPort":443,"Protocol":"tcp"}],"RunningFor":"6 minutes ago","Service":"global-nginx-proxy","Size":"0B","State":"running","Status":"Up 31 seconds"} [2024-11-09 15:21:00,182] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:00,182] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:02,088] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:02,088] DEBUG: DOCKER COMMAND: docker images --format json [2024-11-09 15:21:02,112] DEBUG: {"Containers":"N/A","CreatedAt":"2024-11-09 07:59:04 +0530 IST","CreatedSince":"7 hours ago","Digest":"\u003cnone\u003e","ID":"36c8c0620889","Repository":"ghcr.io/rtcamp/frappe-manager-frappe","SharedSize":"N/A","Size":"2.63GB","Tag":"v0.15.0","UniqueSize":"N/A","VirtualSize":"2.635GB"} [2024-11-09 15:21:02,112] DEBUG: {"Containers":"N/A","CreatedAt":"2024-11-09 07:53:07 +0530 IST","CreatedSince":"7 hours ago","Digest":"\u003cnone\u003e","ID":"b2a8b1401792","Repository":"ghcr.io/rtcamp/frappe-manager-nginx","SharedSize":"N/A","Size":"212MB","Tag":"v0.15.0","UniqueSize":"N/A","VirtualSize":"212.3MB"} [2024-11-09 15:21:02,112] DEBUG: {"Containers":"N/A","CreatedAt":"2024-11-09 07:52:42 +0530 IST","CreatedSince":"7 hours ago","Digest":"\u003cnone\u003e","ID":"079257b987e0","Repository":"ghcr.io/rtcamp/frappe-manager-mailhog","SharedSize":"N/A","Size":"19.5MB","Tag":"v0.8.3","UniqueSize":"N/A","VirtualSize":"19.51MB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-10-16 15:57:03 +0530 IST","CreatedSince":"3 weeks ago","Digest":"\u003cnone\u003e","ID":"87d79b334c51","Repository":"jwilder/nginx-proxy","SharedSize":"N/A","Size":"210MB","Tag":"1.6","UniqueSize":"N/A","VirtualSize":"210.4MB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-10-11 06:00:56 +0530 IST","CreatedSince":"4 weeks ago","Digest":"\u003cnone\u003e","ID":"aebda95979d0","Repository":"frappe/bench","SharedSize":"N/A","Size":"1.92GB","Tag":"latest","UniqueSize":"N/A","VirtualSize":"1.916GB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-10-07 11:36:13 +0530 IST","CreatedSince":"4 weeks ago","Digest":"\u003cnone\u003e","ID":"80d267528806","Repository":"drpsychick/airprint-bridge","SharedSize":"N/A","Size":"622MB","Tag":"latest","UniqueSize":"N/A","VirtualSize":"621.7MB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-10-04 15:26:40 +0530 IST","CreatedSince":"5 weeks ago","Digest":"\u003cnone\u003e","ID":"e105cfd78d67","Repository":"redis","SharedSize":"N/A","Size":"41.2MB","Tag":"alpine","UniqueSize":"N/A","VirtualSize":"41.23MB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-10-04 15:26:40 +0530 IST","CreatedSince":"5 weeks ago","Digest":"\u003cnone\u003e","ID":"ec1b0a84ddf9","Repository":"redis","SharedSize":"N/A","Size":"30MB","Tag":"6.2-alpine","UniqueSize":"N/A","VirtualSize":"30.05MB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-09-03 08:02:52 +0530 IST","CreatedSince":"2 months ago","Digest":"\u003cnone\u003e","ID":"980042c20069","Repository":"mariadb","SharedSize":"N/A","Size":"407MB","Tag":"latest","UniqueSize":"N/A","VirtualSize":"407MB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-09-03 07:47:54 +0530 IST","CreatedSince":"2 months ago","Digest":"\u003cnone\u003e","ID":"341c6a0bbc97","Repository":"mariadb","SharedSize":"N/A","Size":"405MB","Tag":"10.11.9","UniqueSize":"N/A","VirtualSize":"404.5MB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-09-03 07:47:54 +0530 IST","CreatedSince":"2 months ago","Digest":"\u003cnone\u003e","ID":"17085c402916","Repository":"mariadb","SharedSize":"N/A","Size":"396MB","Tag":"10.6","UniqueSize":"N/A","VirtualSize":"396.5MB"} [2024-11-09 15:21:02,113] DEBUG: {"Containers":"N/A","CreatedAt":"2024-07-23 11:34:59 +0530 IST","CreatedSince":"3 months ago","Digest":"\u003cnone\u003e","ID":"2f7580903a1d","Repository":"adminer","SharedSize":"N/A","Size":"250MB","Tag":"4","UniqueSize":"N/A","VirtualSize":"250.2MB"} [2024-11-09 15:21:02,114] DEBUG: {"Containers":"N/A","CreatedAt":"2024-06-05 03:42:59 +0530 IST","CreatedSince":"5 months ago","Digest":"\u003cnone\u003e","ID":"11229070f1e2","Repository":"caddy","SharedSize":"N/A","Size":"49.2MB","Tag":"2-alpine","UniqueSize":"N/A","VirtualSize":"49.25MB"} [2024-11-09 15:21:02,114] DEBUG: {"Containers":"N/A","CreatedAt":"2023-05-02 22:19:27 +0530 IST","CreatedSince":"18 months ago","Digest":"\u003cnone\u003e","ID":"d2c94e258dcb","Repository":"hello-world","SharedSize":"N/A","Size":"13.3kB","Tag":"latest","UniqueSize":"N/A","VirtualSize":"13.26kB"} [2024-11-09 15:21:02,114] DEBUG: {"Containers":"N/A","CreatedAt":"2022-04-05 16:14:49 +0530 IST","CreatedSince":"2 years ago","Digest":"\u003cnone\u003e","ID":"34e1dc356a22","Repository":"redis","SharedSize":"N/A","Size":"32.4MB","Tag":"6.2.6-alpine","UniqueSize":"N/A","VirtualSize":"32.37MB"} [2024-11-09 15:21:02,114] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:02,114] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:02,129] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:02,129] DEBUG: DOCKER COMMAND: docker run --name Y3V61NMWyE --detach --entrypoint bash --pull missing ghcr.io/rtcamp/frappe-manager-frappe:v0.15.0 tail -f /dev/null [2024-11-09 15:21:02,208] DEBUG: 0f9b76e2323c898f5d3c659485919d4d8f558bbca833c0c25a322318baa8e914 [2024-11-09 15:21:02,464] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:02,464] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:02,465] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:02,465] DEBUG: DOCKER COMMAND: docker cp Y3V61NMWyE:/workspace /home/greycubedev/frappe/sites/example12.localhost/workspace [2024-11-09 15:21:19,007] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:19,007] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:19,007] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:19,007] DEBUG: DOCKER COMMAND: docker rm --force Y3V61NMWyE [2024-11-09 15:21:21,490] DEBUG: Y3V61NMWyE [2024-11-09 15:21:21,493] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:21,493] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:21,495] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:21,495] DEBUG: DOCKER COMMAND: docker run --name W1QHVL9Bpl --detach --entrypoint bash --pull missing ghcr.io/rtcamp/frappe-manager-nginx:v0.15.0 tail -f /dev/null [2024-11-09 15:21:21,562] DEBUG: 5273bfb291c2e14caaa12adf1608af2c767d97086b8696fd4a0bff9ba1cf2a2d [2024-11-09 15:21:21,787] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:21,787] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:21,787] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:21,787] DEBUG: DOCKER COMMAND: docker cp W1QHVL9Bpl:/etc/nginx /home/greycubedev/frappe/sites/example12.localhost/configs/nginx/conf [2024-11-09 15:21:21,907] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:21,908] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:21,908] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:21,908] DEBUG: DOCKER COMMAND: docker rm --force W1QHVL9Bpl [2024-11-09 15:21:21,938] DEBUG: W1QHVL9Bpl [2024-11-09 15:21:21,939] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:21,940] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:21,943] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:21,943] DEBUG: DOCKER COMMAND: docker compose -f /home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml up --detach --force-recreate --pull never [2024-11-09 15:21:22,024] DEBUG: Network example12localhost-network Creating [2024-11-09 15:21:22,134] DEBUG: Network example12localhost-network Created [2024-11-09 15:21:22,136] DEBUG: Volume "example12localhost_redis-cache-data" Creating [2024-11-09 15:21:22,138] DEBUG: Volume "example12localhost_redis-cache-data" Created [2024-11-09 15:21:22,140] DEBUG: Volume "example12localhost_redis-queue-data" Creating [2024-11-09 15:21:22,142] DEBUG: Volume "example12localhost_redis-queue-data" Created [2024-11-09 15:21:22,142] DEBUG: Volume "example12localhost_redis-socketio-data" Creating [2024-11-09 15:21:22,144] DEBUG: Volume "example12localhost_redis-socketio-data" Created [2024-11-09 15:21:22,147] DEBUG: Container example12localhost-frappe Creating [2024-11-09 15:21:22,147] DEBUG: Container example12localhost-redis-socketio Creating [2024-11-09 15:21:22,147] DEBUG: Container example12localhost-nginx Creating [2024-11-09 15:21:22,147] DEBUG: Container example12localhost-schedule Creating [2024-11-09 15:21:22,147] DEBUG: Container example12localhost-socketio Creating [2024-11-09 15:21:22,147] DEBUG: Container example12localhost-redis-cache Creating [2024-11-09 15:21:22,147] DEBUG: Container example12localhost-redis-queue Creating [2024-11-09 15:21:22,222] DEBUG: Container example12localhost-redis-cache Created [2024-11-09 15:21:22,227] DEBUG: Container example12localhost-redis-queue Created [2024-11-09 15:21:22,231] DEBUG: Container example12localhost-frappe Created [2024-11-09 15:21:22,231] DEBUG: Container example12localhost-redis-socketio Created [2024-11-09 15:21:22,232] DEBUG: Container example12localhost-nginx Created [2024-11-09 15:21:22,237] DEBUG: Container example12localhost-schedule Created [2024-11-09 15:21:22,237] DEBUG: Container example12localhost-socketio Created [2024-11-09 15:21:22,240] DEBUG: Container example12localhost-redis-socketio Starting [2024-11-09 15:21:22,241] DEBUG: Container example12localhost-frappe Starting [2024-11-09 15:21:22,241] DEBUG: Container example12localhost-redis-cache Starting [2024-11-09 15:21:22,241] DEBUG: Container example12localhost-nginx Starting [2024-11-09 15:21:22,241] DEBUG: Container example12localhost-redis-queue Starting [2024-11-09 15:21:22,241] DEBUG: Container example12localhost-socketio Starting [2024-11-09 15:21:22,241] DEBUG: Container example12localhost-schedule Starting [2024-11-09 15:21:23,207] DEBUG: Container example12localhost-frappe Started [2024-11-09 15:21:23,230] DEBUG: Container example12localhost-socketio Started [2024-11-09 15:21:23,325] DEBUG: Container example12localhost-redis-queue Started [2024-11-09 15:21:23,360] DEBUG: Container example12localhost-redis-cache Started [2024-11-09 15:21:23,379] DEBUG: Container example12localhost-redis-socketio Started [2024-11-09 15:21:23,391] DEBUG: Container example12localhost-nginx Started [2024-11-09 15:21:23,436] DEBUG: Container example12localhost-schedule Started [2024-11-09 15:21:23,442] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:23,442] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:23,451] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:23,451] DEBUG: DOCKER COMMAND: docker compose -f /home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml exec --user frappe --workdir /workspace/frappe-bench frappe /opt/.pyenv/shims/bench serve --help [2024-11-09 15:21:24,712] DEBUG: Usage: bench serve [OPTIONS] [2024-11-09 15:21:24,712] DEBUG: [2024-11-09 15:21:24,712] DEBUG: Start development web server [2024-11-09 15:21:24,712] DEBUG: [2024-11-09 15:21:24,713] DEBUG: Options: [2024-11-09 15:21:24,713] DEBUG: --port INTEGER [2024-11-09 15:21:24,713] DEBUG: --profile [2024-11-09 15:21:24,713] DEBUG: --proxy The development server may be run behind a proxy, e.g. [2024-11-09 15:21:24,713] DEBUG: ngrok / localtunnel [2024-11-09 15:21:24,713] DEBUG: --noreload [2024-11-09 15:21:24,713] DEBUG: --nothreading [2024-11-09 15:21:24,713] DEBUG: --with-coverage [2024-11-09 15:21:24,713] DEBUG: --help Show this message and exit. [2024-11-09 15:21:24,831] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:24,831] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:24,831] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:24,831] DEBUG: DOCKER COMMAND: docker compose -f /home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml exec --user frappe --workdir /workspace/frappe-bench frappe cat /opt/user/bench-dev-server [2024-11-09 15:21:24,992] DEBUG: #!/bin/bash [2024-11-09 15:21:24,992] DEBUG: cleanup (){ [2024-11-09 15:21:24,992] DEBUG: kill -s SIGTERM -- -$$ [2024-11-09 15:21:24,993] DEBUG: } [2024-11-09 15:21:24,993] DEBUG: trap cleanup SIGQUIT SIGTERM [2024-11-09 15:21:24,993] DEBUG: fuser -k 80/tcp [2024-11-09 15:21:24,993] DEBUG: bench serve --port 80 [2024-11-09 15:21:24,999] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:24,999] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:25,000] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:25,000] DEBUG: DOCKER COMMAND: docker compose -f /home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml exec --user frappe --workdir /workspace/frappe-bench frappe echo #!/bin/bash cleanup (){ kill -s SIGTERM -- -$$ } trap cleanup SIGQUIT SIGTERM fuser -k 80/tcp bench serve --port 80 > /opt/user/bench-dev-server.sh [2024-11-09 15:21:25,151] DEBUG: #!/bin/bash cleanup (){ kill -s SIGTERM -- -$$ } trap cleanup SIGQUIT SIGTERM fuser -k 80/tcp bench serve --port 80 > /opt/user/bench-dev-server.sh [2024-11-09 15:21:25,158] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:25,158] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:25,160] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:25,160] DEBUG: DOCKER COMMAND: docker compose -f /home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml exec --user root --workdir /workspace/frappe-bench frappe chmod +x /opt/user/bench-dev-server.sh [2024-11-09 15:21:25,329] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:25,330] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:25,333] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:25,334] DEBUG: DOCKER COMMAND: docker compose -f /home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml exec --user frappe --workdir /workspace/frappe-bench frappe /opt/.pyenv/shims/bench setup supervisor --skip-redis --skip-supervisord --yes --user frappe [2024-11-09 15:21:26,711] DEBUG: RETURN CODE: 0 [2024-11-09 15:21:26,711] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:26,714] INFO: Split supervisor conf program:frappe-bench-frappe-web => frappe-bench-frappe-web.fm.supervisor.conf [2024-11-09 15:21:26,715] INFO: Split supervisor conf program:frappe-bench-frappe-schedule => frappe-bench-frappe-schedule.fm.supervisor.conf [2024-11-09 15:21:26,715] INFO: Split supervisor conf program:frappe-bench-frappe-short-worker => frappe-bench-frappe-short-worker.workers.fm.supervisor.conf [2024-11-09 15:21:26,716] INFO: Split supervisor conf program:frappe-bench-frappe-long-worker => frappe-bench-frappe-long-worker.workers.fm.supervisor.conf [2024-11-09 15:21:26,716] INFO: Split supervisor conf program:frappe-bench-node-socketio => frappe-bench-node-socketio.fm.supervisor.conf [2024-11-09 15:21:26,718] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:21:26,718] DEBUG: DOCKER COMMAND: docker compose -f /home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml exec --user frappe --workdir /workspace/frappe-bench frappe /opt/.pyenv/shims/bench get-app --overwrite --branch version-12 frappe [2024-11-09 15:21:32,237] DEBUG: INFO: App moved from apps/frappe to archived/apps/frappe-2024-11-09 [2024-11-09 15:21:32,239] DEBUG: Getting frappe [2024-11-09 15:21:32,240] DEBUG: $ git clone https://github.com/frappe/frappe.git --branch version-12 --depth 1 --origin upstream [2024-11-09 15:21:32,243] DEBUG: Cloning into 'frappe'... [2024-11-09 15:22:06,336] DEBUG: Installing frappe [2024-11-09 15:22:06,337] DEBUG: $ /workspace/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /workspace/frappe-bench/apps/frappe [2024-11-09 15:26:25,757] DEBUG: WARNING: The candidate selected for download or install is a yanked version: 'braintree' candidate (version 3.57.1 at https://files.pythonhosted.org/packages/78/ca/0647d68204e8c68919935a712175bcd67691b4741b01cd974a45ff02b3e3/braintree-3.57.1-py2.py3-none-any.whl (from https://pypi.org/simple/braintree/)) [2024-11-09 15:26:25,757] DEBUG: Reason for being yanked: critical bugs [2024-11-09 15:29:52,025] DEBUG: error: subprocess-exited-with-error [2024-11-09 15:29:52,025] DEBUG: [2024-11-09 15:29:52,027] DEBUG: × python setup.py bdist_wheel did not run successfully. [2024-11-09 15:29:52,029] DEBUG: │ exit code: 1 [2024-11-09 15:29:52,031] DEBUG: ╰─> [71 lines of output] [2024-11-09 15:29:52,034] DEBUG: /workspace/frappe-bench/env/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. [2024-11-09 15:29:52,036] DEBUG: warnings.warn(msg, warning_class) [2024-11-09 15:29:52,036] DEBUG: running bdist_wheel [2024-11-09 15:29:52,041] DEBUG: running build [2024-11-09 15:29:52,043] DEBUG: running build_py [2024-11-09 15:29:52,045] DEBUG: creating build [2024-11-09 15:29:52,047] DEBUG: creating build/lib.linux-x86_64-cpython-311 [2024-11-09 15:29:52,050] DEBUG: creating build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,050] DEBUG: copying lib/extras.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,050] DEBUG: copying lib/errorcodes.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/__init__.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/pool.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/_json.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/_range.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/tz.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/_ipaddress.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/sql.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/_lru_cache.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/errors.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/compat.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: copying lib/extensions.py -> build/lib.linux-x86_64-cpython-311/psycopg2 [2024-11-09 15:29:52,051] DEBUG: running build_ext [2024-11-09 15:29:52,051] DEBUG: building 'psycopg2._psycopg' extension [2024-11-09 15:29:52,052] DEBUG: creating build/temp.linux-x86_64-cpython-311 [2024-11-09 15:29:52,052] DEBUG: creating build/temp.linux-x86_64-cpython-311/psycopg [2024-11-09 15:29:52,052] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_asis.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_asis.o -Wdeclaration-after-statement [2024-11-09 15:29:52,055] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_binary.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_binary.o -Wdeclaration-after-statement [2024-11-09 15:29:52,059] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_datetime.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_datetime.o -Wdeclaration-after-statement [2024-11-09 15:29:52,068] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_list.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_list.o -Wdeclaration-after-statement [2024-11-09 15:29:52,079] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_pboolean.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_pboolean.o -Wdeclaration-after-statement [2024-11-09 15:29:52,083] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_pdecimal.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_pdecimal.o -Wdeclaration-after-statement [2024-11-09 15:29:52,083] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_pfloat.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_pfloat.o -Wdeclaration-after-statement [2024-11-09 15:29:52,084] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_pint.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_pint.o -Wdeclaration-after-statement [2024-11-09 15:29:52,084] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_qstring.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_qstring.o -Wdeclaration-after-statement [2024-11-09 15:29:52,084] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/bytes_format.c -o build/temp.linux-x86_64-cpython-311/psycopg/bytes_format.o -Wdeclaration-after-statement [2024-11-09 15:29:52,084] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/column_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/column_type.o -Wdeclaration-after-statement [2024-11-09 15:29:52,084] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/connection_int.c -o build/temp.linux-x86_64-cpython-311/psycopg/connection_int.o -Wdeclaration-after-statement [2024-11-09 15:29:52,084] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/connection_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/connection_type.o -Wdeclaration-after-statement [2024-11-09 15:29:52,084] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/conninfo_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/conninfo_type.o -Wdeclaration-after-statement [2024-11-09 15:29:52,084] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/cursor_int.c -o build/temp.linux-x86_64-cpython-311/psycopg/cursor_int.o -Wdeclaration-after-statement [2024-11-09 15:29:52,085] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/cursor_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/cursor_type.o -Wdeclaration-after-statement [2024-11-09 15:29:52,090] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/diagnostics_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/diagnostics_type.o -Wdeclaration-after-statement [2024-11-09 15:29:52,092] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/error_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/error_type.o -Wdeclaration-after-statement [2024-11-09 15:29:52,095] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/green.c -o build/temp.linux-x86_64-cpython-311/psycopg/green.o -Wdeclaration-after-statement [2024-11-09 15:29:52,097] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/libpq_support.c -o build/temp.linux-x86_64-cpython-311/psycopg/libpq_support.o -Wdeclaration-after-statement [2024-11-09 15:29:52,106] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/lobject_int.c -o build/temp.linux-x86_64-cpython-311/psycopg/lobject_int.o -Wdeclaration-after-statement [2024-11-09 15:29:52,113] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/lobject_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/lobject_type.o -Wdeclaration-after-statement [2024-11-09 15:29:52,126] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/microprotocols.c -o build/temp.linux-x86_64-cpython-311/psycopg/microprotocols.o -Wdeclaration-after-statement [2024-11-09 15:29:52,133] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/microprotocols_proto.c -o build/temp.linux-x86_64-cpython-311/psycopg/microprotocols_proto.o -Wdeclaration-after-statement [2024-11-09 15:29:52,136] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/notify_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/notify_type.o -Wdeclaration-after-statement [2024-11-09 15:29:52,139] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/pqpath.c -o build/temp.linux-x86_64-cpython-311/psycopg/pqpath.o -Wdeclaration-after-statement [2024-11-09 15:29:52,140] DEBUG: gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-cpython-311/psycopg/psycopgmodule.o -Wdeclaration-after-statement [2024-11-09 15:29:52,144] DEBUG: psycopg/psycopgmodule.c: In function ‘add_module_types’: [2024-11-09 15:29:52,149] DEBUG: psycopg/psycopgmodule.c:920:36: error: lvalue required as left operand of assignment [2024-11-09 15:29:52,158] DEBUG: 920 | Py_TYPE(typetable[i].type) = &PyType_Type; [2024-11-09 15:29:52,160] DEBUG: | ^ [2024-11-09 15:29:52,163] DEBUG: psycopg/psycopgmodule.c: In function ‘datetime_init’: [2024-11-09 15:29:52,165] DEBUG: psycopg/psycopgmodule.c:952:30: error: lvalue required as left operand of assignment [2024-11-09 15:29:52,170] DEBUG: 952 | Py_TYPE(&pydatetimeType) = &PyType_Type; [2024-11-09 15:29:52,173] DEBUG: | ^ [2024-11-09 15:29:52,175] DEBUG: psycopg/psycopgmodule.c: In function ‘PyInit__psycopg’: [2024-11-09 15:29:52,176] DEBUG: psycopg/psycopgmodule.c:1084:28: error: lvalue required as left operand of assignment [2024-11-09 15:29:52,178] DEBUG: 1084 | Py_TYPE(&typecastType) = &PyType_Type; [2024-11-09 15:29:52,180] DEBUG: | ^ [2024-11-09 15:29:52,182] DEBUG: psycopg/psycopgmodule.c:1087:25: error: lvalue required as left operand of assignment [2024-11-09 15:29:52,183] DEBUG: 1087 | Py_TYPE(&chunkType) = &PyType_Type; [2024-11-09 15:29:52,183] DEBUG: | ^ [2024-11-09 15:29:52,183] DEBUG: psycopg/psycopgmodule.c:1090:25: error: lvalue required as left operand of assignment [2024-11-09 15:29:52,183] DEBUG: 1090 | Py_TYPE(&errorType) = &PyType_Type; [2024-11-09 15:29:52,188] DEBUG: | ^ [2024-11-09 15:29:52,188] DEBUG: error: command '/usr/bin/gcc' failed with exit code 1 [2024-11-09 15:29:52,192] DEBUG: [end of output] [2024-11-09 15:29:52,200] DEBUG: [2024-11-09 15:29:52,202] DEBUG: note: This error originates from a subprocess, and is likely not a problem with pip. [2024-11-09 15:29:52,204] DEBUG: ERROR: Failed building wheel for psycopg2-binary [2024-11-09 15:29:59,080] DEBUG: ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (psycopg2-binary) [2024-11-09 15:29:59,809] DEBUG: ERROR: /workspace/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /workspace/frappe-bench/apps/frappe [2024-11-09 15:30:00,516] DEBUG: subprocess.CalledProcessError: Command '/workspace/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /workspace/frappe-bench/apps/frappe ' returned non-zero exit status 1. [2024-11-09 15:30:00,516] DEBUG: [2024-11-09 15:30:00,522] DEBUG: The above exception was the direct cause of the following exception: [2024-11-09 15:30:00,528] DEBUG: [2024-11-09 15:30:00,533] DEBUG: Traceback (most recent call last): [2024-11-09 15:30:00,539] DEBUG: File "/opt/.pyenv/versions/3.11.0/bin/bench", line 8, in [2024-11-09 15:30:00,542] DEBUG: sys.exit(cli()) [2024-11-09 15:30:00,546] DEBUG: ^^^^^ [2024-11-09 15:30:00,546] DEBUG: File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/cli.py", line 132, in cli [2024-11-09 15:30:00,547] DEBUG: bench_command() [2024-11-09 15:30:00,555] DEBUG: File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/commands/make.py", line 181, in get_app [2024-11-09 15:30:00,557] DEBUG: get_app( [2024-11-09 15:30:00,559] DEBUG: File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/app.py", line 777, in get_app [2024-11-09 15:30:00,561] DEBUG: app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench) [2024-11-09 15:30:00,563] DEBUG: File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/utils/render.py", line 126, in wrapper_fn [2024-11-09 15:30:00,565] DEBUG: return fn(*args, **kwargs) [2024-11-09 15:30:00,567] DEBUG: ^^^^^^^^^^^^^^^^^^^ [2024-11-09 15:30:00,569] DEBUG: File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/app.py", line 254, in install [2024-11-09 15:30:00,571] DEBUG: install_app( [2024-11-09 15:30:00,573] DEBUG: File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/app.py", line 909, in install_app [2024-11-09 15:30:00,575] DEBUG: bench.run( [2024-11-09 15:30:00,577] DEBUG: File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/bench.py", line 48, in run [2024-11-09 15:30:00,580] DEBUG: return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise) [2024-11-09 15:30:00,582] DEBUG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2024-11-09 15:30:00,584] DEBUG: File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/utils/__init__.py", line 178, in exec_cmd [2024-11-09 15:30:00,586] DEBUG: raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd) [2024-11-09 15:30:00,588] DEBUG: bench.exceptions.CommandFailedError: /workspace/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /workspace/frappe-bench/apps/frappe [2024-11-09 15:30:00,588] DEBUG: [2024-11-09 15:30:00,603] DEBUG: RETURN CODE: 1 [2024-11-09 15:30:00,603] DEBUG: - -- -- -- -- -- -- -- -- -- - [2024-11-09 15:30:00,837] ERROR: example12.localhost: NOT WORKING Exception: ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /home/greycubedev/.local/lib/python3.12/site-packages/frappe_manager/site_manager/bench_operatio │ │ │ │ 128 │ │ │ │ output: Iterable[Tuple[str, bytes]] = compose_project.docker.compose.exe │ │ 129 │ │ │ │ │ service=service, command=command, workdir=workdir, user=user, stream │ │ 130 │ │ │ │ ) │ │ ❱ 131 │ │ │ │ richprint.live_lines(output) │ │ 132 │ │ │ │ 133 │ │ except DockerException as e: │ │ 134 │ │ │ if raise_exception_obj: │ │ │ │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │ │ │ capture_output = False │ │ │ │ command = '/opt/.pyenv/shims/bench get-app --overwrite --branch version-12 │ │ │ │ frappe' │ │ │ │ compose_project = │ │ │ │ compose_project_obj = None │ │ │ │ output = │ │ │ │ raise_exception_obj = BenchOperationFrappeBranchChangeFailed('[blue][bold]example12.localho… │ │ │ │ :[/bold][/blue] Failed to change frappe app branch to version-12.') │ │ │ │ self = │ │ │ │ service = 'frappe' │ │ │ │ user = 'frappe' │ │ │ │ workdir = '/workspace/frappe-bench' │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/greycubedev/.local/lib/python3.12/site-packages/frappe_manager/display_manager/DisplayMana │ │ │ │ 190 │ │ │ │ 191 │ │ while True: │ │ 192 │ │ │ try: │ │ ❱ 193 │ │ │ │ source, line = next(data) │ │ 194 │ │ │ │ line = line.decode() │ │ 195 │ │ │ │ # print(' --',line) │ │ 196 │ │ │ │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │ │ │ data = │ │ │ │ displayed_lines = deque([ │ │ │ │ │ ' File │ │ │ │ "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/utils/__i… │ │ │ │ │ ' raise CommandFailedError(cmd) from │ │ │ │ subprocess.CalledProcessError(return_code'+6, │ │ │ │ │ 'bench.exceptions.CommandFailedError: │ │ │ │ /workspace/frappe-bench/env/bin/python -m p'+68, │ │ │ │ │ '' │ │ │ │ ]) │ │ │ │ line = '1' │ │ │ │ lines = 4 │ │ │ │ linex = '' │ │ │ │ log_prefix = '=>' │ │ │ │ max_height = 4 │ │ │ │ padding = (0, 0, 0, 2) │ │ │ │ prefix_text = ' []> │ │ │ │ self = │ │ │ │ source = 'exit_code' │ │ │ │ stderr = True │ │ │ │ stdout = True │ │ │ │ stop_string = None │ │ │ │ table = │ │ │ │ table_line = │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/greycubedev/.local/lib/python3.12/site-packages/frappe_manager/utils/docker.py:94 in strea │ │ │ │ 91 │ yield ("exit_code", str(exit_code).encode()) │ │ 92 │ │ │ 93 │ if exit_code != 0: │ │ ❱ 94 │ │ raise DockerException(full_cmd, SubprocessOutput.from_output(output)) │ │ 95 │ │ 96 │ │ 97 def run_command_with_exit_code( │ │ │ │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │ │ │ _ = 1 │ │ │ │ env = None │ │ │ │ exit_code = 1 │ │ │ │ full_cmd = [ │ │ │ │ │ 'docker', │ │ │ │ │ 'compose', │ │ │ │ │ '-f', │ │ │ │ │ │ │ │ │ '/home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml', │ │ │ │ │ 'exec', │ │ │ │ │ '--user', │ │ │ │ │ 'frappe', │ │ │ │ │ '--workdir', │ │ │ │ │ '/workspace/frappe-bench', │ │ │ │ │ 'frappe', │ │ │ │ │ ... +6 │ │ │ │ ] │ │ │ │ line = b'' │ │ │ │ logger = │ │ │ │ output = [ │ │ │ │ │ ( │ │ │ │ │ │ 'stdout', │ │ │ │ │ │ b'INFO: App moved from apps/frappe to │ │ │ │ archived/apps/frappe-2024-11-09' │ │ │ │ │ ), │ │ │ │ │ ('stdout', b'Getting frappe'), │ │ │ │ │ ( │ │ │ │ │ │ 'stdout', │ │ │ │ │ │ b'$ git clone https://github.com/frappe/frappe.git --branch │ │ │ │ version-12 --depth 1 -'+16 │ │ │ │ │ ), │ │ │ │ │ ('stderr', b"Cloning into 'frappe'..."), │ │ │ │ │ ('stdout', b'Installing frappe'), │ │ │ │ │ ( │ │ │ │ │ │ 'stdout', │ │ │ │ │ │ b'$ /workspace/frappe-bench/env/bin/python -m pip install --quiet │ │ │ │ --upgrade -e /wo'+33 │ │ │ │ │ ), │ │ │ │ │ ( │ │ │ │ │ │ 'stderr', │ │ │ │ │ │ b"WARNING: The candidate selected for download or install is a │ │ │ │ yanked version: 'br"+225 │ │ │ │ │ ), │ │ │ │ │ ('stderr', b'Reason for being yanked: critical bugs'), │ │ │ │ │ ('stderr', b' error: subprocess-exited-with-error'), │ │ │ │ │ ('stderr', b' '), │ │ │ │ │ ... +109 │ │ │ │ ] │ │ │ │ process = │ │ │ │ q = │ │ │ │ source = 'stdout' │ │ │ │ subprocess_env = None │ │ │ │ th = │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ DockerException: The docker command executed was `docker compose -f /home/greycubedev/frappe/sites/example12.localhost/docker-compose.yml exec --user frappe --workdir /workspace/frappe-bench frappe /opt/.pyenv/shims/bench get-app --overwrite --branch version-12 frappe`. It returned with code 1 The content of stdout is '['INFO: App moved from apps/frappe to archived/apps/frappe-2024-11-09', 'Getting frappe', '$ git clone https://github.com/frappe/frappe.git --branch version-12 --depth 1 --origin upstream', 'Installing frappe', '$ /workspace/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /workspace/frappe-bench/apps/frappe ', 'ERROR: /workspace/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /workspace/frappe-bench/apps/frappe ', "subprocess.CalledProcessError: Command '/workspace/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /workspace/frappe-bench/apps/frappe ' returned non-zero exit status 1.", '', 'The above exception was the direct cause of the following exception:', '', 'Traceback (most recent call last):', ' File "/opt/.pyenv/versions/3.11.0/bin/bench", line 8, in ', ' sys.exit(cli())', ' ^^^^^', ' File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/cli.py", line 132, in cli', ' bench_command()', ' File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/commands/make.py", line 181, in get_app', ' get_app(', ' File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/app.py", line 777, in get_app', ' app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)', ' File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/utils/render.py", line 126, in wrapper_fn', ' return fn(*args, **kwargs)', ' ^^^^^^^^^^^^^^^^^^^', ' File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/app.py", line 254, in install', ' install_app(', ' File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/app.py", line 909, in install_app', ' bench.run(', ' File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/bench.py", line 48, in run', ' return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)', ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^', ' File "/opt/.pyenv/versions/3.11.0/lib/python3.11/site-packages/bench/utils/__init__.py", line 178, in exec_cmd', ' raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)', 'bench.exceptions.CommandFailedError: /workspace/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /workspace/frappe-bench/apps/frappe ', '']' The content of stderr is '["Cloning into 'frappe'...", "WARNING: The candidate selected for download or install is a yanked version: 'braintree' candidate (version 3.57.1 at https://files.pythonhosted.org/packages/78/ca/0647d68204e8c68919935a712175bcd67691b4741b01cd974a45ff02b3e3/braintree-3.57.1-py2.py3-none-any.whl (from https://pypi.org/simple/braintree/))", 'Reason for being yanked: critical bugs', ' error: subprocess-exited-with-error', ' ', ' × python setup.py bdist_wheel did not run successfully.', ' │ exit code: 1', ' ╰─> [71 lines of output]', ' /workspace/frappe-bench/env/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.', ' warnings.warn(msg, warning_class)', ' running bdist_wheel', ' running build', ' running build_py', ' creating build', ' creating build/lib.linux-x86_64-cpython-311', ' creating build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/extras.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/errorcodes.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/__init__.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/pool.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/_json.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/_range.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/tz.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/_ipaddress.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/sql.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/_lru_cache.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/errors.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/compat.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' copying lib/extensions.py -> build/lib.linux-x86_64-cpython-311/psycopg2', ' running build_ext', " building 'psycopg2._psycopg' extension", ' creating build/temp.linux-x86_64-cpython-311', ' creating build/temp.linux-x86_64-cpython-311/psycopg', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_asis.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_asis.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_binary.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_binary.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_datetime.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_datetime.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_list.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_list.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_pboolean.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_pboolean.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_pdecimal.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_pdecimal.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_pfloat.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_pfloat.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_pint.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_pint.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/adapter_qstring.c -o build/temp.linux-x86_64-cpython-311/psycopg/adapter_qstring.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/bytes_format.c -o build/temp.linux-x86_64-cpython-311/psycopg/bytes_format.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/column_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/column_type.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/connection_int.c -o build/temp.linux-x86_64-cpython-311/psycopg/connection_int.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/connection_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/connection_type.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/conninfo_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/conninfo_type.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/cursor_int.c -o build/temp.linux-x86_64-cpython-311/psycopg/cursor_int.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/cursor_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/cursor_type.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/diagnostics_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/diagnostics_type.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/error_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/error_type.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/green.c -o build/temp.linux-x86_64-cpython-311/psycopg/green.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/libpq_support.c -o build/temp.linux-x86_64-cpython-311/psycopg/libpq_support.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/lobject_int.c -o build/temp.linux-x86_64-cpython-311/psycopg/lobject_int.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/lobject_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/lobject_type.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/microprotocols.c -o build/temp.linux-x86_64-cpython-311/psycopg/microprotocols.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/microprotocols_proto.c -o build/temp.linux-x86_64-cpython-311/psycopg/microprotocols_proto.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/notify_type.c -o build/temp.linux-x86_64-cpython-311/psycopg/notify_type.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/pqpath.c -o build/temp.linux-x86_64-cpython-311/psycopg/pqpath.o -Wdeclaration-after-statement', ' gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64)" -DPG_VERSION_NUM=140013 -DHAVE_LO64=1 -I/workspace/frappe-bench/env/include -I/opt/.pyenv/versions/3.11.0/include/python3.11 -I. -I/usr/include/postgresql -I/usr/include/postgresql/14/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-cpython-311/psycopg/psycopgmodule.o -Wdeclaration-after-statement', ' psycopg/psycopgmodule.c: In function ‘add_module_types’:', ' psycopg/psycopgmodule.c:920:36: error: lvalue required as left operand of assignment', ' 920 | Py_TYPE(typetable[i].type) = &PyType_Type;', ' | ^', ' psycopg/psycopgmodule.c: In function ‘datetime_init’:', ' psycopg/psycopgmodule.c:952:30: error: lvalue required as left operand of assignment', ' 952 | Py_TYPE(&pydatetimeType) = &PyType_Type;', ' | ^', ' psycopg/psycopgmodule.c: In function ‘PyInit__psycopg’:', ' psycopg/psycopgmodule.c:1084:28: error: lvalue required as left operand of assignment', ' 1084 | Py_TYPE(&typecastType) = &PyType_Type;', ' | ^', ' psycopg/psycopgmodule.c:1087:25: error: lvalue required as left operand of assignment', ' 1087 | Py_TYPE(&chunkType) = &PyType_Type;', ' | ^', ' psycopg/psycopgmodule.c:1090:25: error: lvalue required as left operand of assignment', ' 1090 | Py_TYPE(&errorType) = &PyType_Type;', ' | ^', " error: command '/usr/bin/gcc' failed with exit code 1", ' [end of output]', ' ', ' note: This error originates from a subprocess, and is likely not a problem with pip.', ' ERROR: Failed building wheel for psycopg2-binary', 'ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (psycopg2-binary)']' During handling of the above exception, another exception occurred: ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /home/greycubedev/.local/lib/python3.12/site-packages/frappe_manager/site_manager/site.py:200 in │ │ │ │ 197 │ │ │ richprint.print("Started bench services.") │ │ 198 │ │ │ │ │ 199 │ │ │ richprint.change_head("Creating bench and bench site.") │ │ ❱ 200 │ │ │ self.benchops.create_fm_bench() │ │ 201 │ │ │ self.sync_bench_config_configuration() │ │ 202 │ │ │ │ │ 203 │ │ │ richprint.change_head("Configuring bench workers.") │ │ │ │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │ │ │ e = AttributeError("'BenchOperationFrappeBranchChangeFailed' object has no │ │ │ │ attribute 'set_output'") │ │ │ │ is_template_bench = False │ │ │ │ self = │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/greycubedev/.local/lib/python3.12/site-packages/frappe_manager/site_manager/bench_operatio │ │ │ │ 42 │ │ │ │ 43 │ │ self.setup_supervisor(force=True) │ │ 44 │ │ │ │ ❱ 45 │ │ self.change_frappeverse_prebaked_app_branch(app="frappe", branch=self.bench.benc │ │ 46 │ │ │ │ 47 │ │ self.is_required_services_available() │ │ 48 │ │ │ │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │ │ │ common_site_config_data = { │ │ │ │ │ 'install_apps': [], │ │ │ │ │ 'db_host': 'global-db', │ │ │ │ │ 'db_port': 3306, │ │ │ │ │ 'redis_cache': 'redis://example12localhost-redis-cache:6379', │ │ │ │ │ 'redis_queue': 'redis://example12localhost-redis-queue:6379', │ │ │ │ │ 'redis_socketio': │ │ │ │ 'redis://example12localhost-redis-socketio:6379', │ │ │ │ │ 'webserver_port': 80, │ │ │ │ │ 'socketio_port': 80, │ │ │ │ │ 'restart_supervisor_on_update': 0, │ │ │ │ │ 'developer_mode': True │ │ │ │ } │ │ │ │ self = │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/greycubedev/.local/lib/python3.12/site-packages/frappe_manager/site_manager/bench_operatio │ │ │ │ 150 │ │ │ │ bench_name=self.bench.name, app=app, branch=self.bench.bench_config.frap │ │ 151 │ │ │ ) │ │ 152 │ │ │ │ │ ❱ 153 │ │ │ self.container_run(command=change_frappe_branch_command, raise_exception_obj │ │ 154 │ │ │ │ 155 │ │ richprint.print(f"Configured {app} app's branch -> {self.bench.bench_config.frap │ │ 156 │ │ │ │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │ │ │ app = 'frappe' │ │ │ │ branch = 'version-12' │ │ │ │ change_frappe_branch_command = '/opt/.pyenv/shims/bench get-app --overwrite --branch │ │ │ │ version-12 frappe' │ │ │ │ exception = BenchOperationFrappeBranchChangeFailed('[blue][bold]example1… │ │ │ │ :[/bold][/blue] Failed to change frappe app branch to │ │ │ │ version-12.') │ │ │ │ self = │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ │ │ │ /home/greycubedev/.local/lib/python3.12/site-packages/frappe_manager/site_manager/bench_operatio │ │ │ │ 132 │ │ │ │ 133 │ │ except DockerException as e: │ │ 134 │ │ │ if raise_exception_obj: │ │ ❱ 135 │ │ │ │ raise_exception_obj.set_output(e.output) │ │ 136 │ │ │ │ raise raise_exception_obj │ │ 137 │ │ │ raise e │ │ 138 │ │ │ │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │ │ │ capture_output = False │ │ │ │ command = '/opt/.pyenv/shims/bench get-app --overwrite --branch version-12 │ │ │ │ frappe' │ │ │ │ compose_project = │ │ │ │ compose_project_obj = None │ │ │ │ output = │ │ │ │ raise_exception_obj = BenchOperationFrappeBranchChangeFailed('[blue][bold]example12.localho… │ │ │ │ :[/bold][/blue] Failed to change frappe app branch to version-12.') │ │ │ │ self = │ │ │ │ service = 'frappe' │ │ │ │ user = 'frappe' │ │ │ │ workdir = '/workspace/frappe-bench' │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'BenchOperationFrappeBranchChangeFailed' object has no attribute 'set_output'