sdk-for-cli icon indicating copy to clipboard operation
sdk-for-cli copied to clipboard

🐛 Bug Report: Python 3.9 - 3.11 function runtime not working

Open leonelamatos opened this issue 1 year ago • 4 comments

👟 Reproduction steps

Download appwrite function with appwrite cli > appwrite pull function that run the python 3.9 or 3.11 runtime Run command > appwrite run function Select function running python 3.9 - 3.11 runtime Wait for runtime build process to finish

👍 Expected behavior

Function container should run while developing the function locally and the function endpoint address should be accessible through a web browser.

👎 Actual Behavior

Container is deleted/stop after the build process has finished and the run command still running

Image Image

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Linux Ubuntu 24.04 LTS Linux Ubuntu 22.04 LTS Client: Docker Engine - Community Version: 27.3.1

Windows 10 Pro 22H2 Docker for Windows v4.34.3

👀 Have you spent some time to check if this issue has been raised before?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

leonelamatos avatar Oct 23 '24 17:10 leonelamatos

Can you try a workaround from appwrite/appwrite/issues/8902 ?

kamarkiewicz avatar Nov 23 '24 10:11 kamarkiewicz

I tried the workaround of v4 to v3 but it did not work for me although others have reported it works. Please provide a fix.

pbk0 avatar Jan 06 '25 02:01 pbk0

I was able to run a python function locally fine. Do you have any other info to help us reproduce this problem? Maybe you can run docker ps -a to see any other details about the exited containers?

stnguyen90 avatar Mar 28 '25 17:03 stnguyen90

the issue has been resolved since the last cli release. All is good now.

I should close this.

Thanks you though.

I was able to run a python function locally fine. Do you have any other info to help us reproduce this problem? Maybe you can run docker ps -a to see any other details about the exited containers?

leonelamatos avatar Mar 28 '25 17:03 leonelamatos