Open programlich opened 1 month ago
If the assignment is done directly in codespace, then the devcontainer.json file needs to be modified by adding information such as your aws api. Indeed, operating directly in codespace may lead to configuration issues sometimes.
A simpler solution: you can try to clone the job locally, edit and test the code locally, which avoids the container error problem. When you're done, you can push the modified code back to GitHub and run or check it out in codespace.
I did develop the code locally now and to me it seemed to work all fine. Communication between the Pi and the mongodb, my laptop and the mongodb respectively worked out fine via the AWS Gateway and the Lampda function. However, I could not run the tests in codespace, as pytest itself seems to fail.
There have been some issues with the devcontainers. We'll need to check it out on our side. Thanks for the logs!
I have updated the assignment instructions. If that doesn't solve it, there are several options to consider to simplify this assignment:
I am currently in the assignment for 1.6 and there the same error comes up. Do you need the logs? Also I am in the AC office today, so we can debug together, if that´s of any help to you
Container for codespaces seems to have a problem. Here is the log: