I am trying to use python 3.9 as runtime in my functions, however very few exemple works and when it fails, I don't have feedback in logs. I have only Internal Runtime Error (fig.1). If I read logs of appwrite-executor, I see that some works and others don't (fig.2). In order to print logs in the appwrite web interface, what should I do ? Documentation is talking about 'context' var (here :https://appwrite.io/docs/functions-develop) but I never succeed to make it works. If I put some 'print', I have nothing.
It is two days I try to make functions works. I am quite confused.
Thank you in advance
what version of appwrite?
according to my docker-compose, appwrtie version 1.3.4
what's your function code and how did you deploy it?
I deploy it with 'appwrite deploy function'
for instance this code does not work: Internal runtine error
however, this one seems to run in the appwrite web interface, I have the response.
this is the code for appwrite version 1.4
yes, this is correct for appwrite 1.3
Good to know that. Thank you. It would be nice to mention it in the tutorial .
Recommended threads
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...