PROFESSOR-BOT icon indicating copy to clipboard operation
PROFESSOR-BOT copied to clipboard

Deployment issue with Koyeb

Open Steevebgeorge opened this issue 1 year ago • 0 comments

Im getting this issue when trying to deploy to koyeb

Instance created. Preparing to start... Starting download for registry01.prod.koyeb.com/k-986d0fc7-4249-4b8a-a38d-fd610ca541e2/afa106b1-b514-4ae3-a80e-541675182ea4:3b58b35f-28f6-4431-a992-3164c51a901d Download progress: 100% |[32m++++++++[0m| (29.3 MiB/s) Download complete for registry01.prod.koyeb.com/k-986d0fc7-4249-4b8a-a38d-fd610ca541e2/afa106b1-b514-4ae3-a80e-541675182ea4:3b58b35f-28f6-4431-a992-3164c51a901d Instance is starting... Waiting for health checks to pass. Traceback (most recent call last): File "/workspace/bot.py", line 6, in from database.ia_filterdb import Media File "/workspace/database/ia_filterdb.py", line 21, in class Media(Document): File "/workspace/database/ia_filterdb.py", line 22, in Media file_id = fields.StrField(attribute='_id') File "/workspace/.heroku/python/lib/python3.10/site-packages/umongo/abstract.py", line 135, in init self._ma_kwargs.setdefault('missing', self.default) AttributeError: 'StringField' object has no attribute 'default' Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct. Traceback (most recent call last): File "/workspace/bot.py", line 6, in from database.ia_filterdb import Media File "/workspace/database/ia_filterdb.py", line 21, in class Media(Document): File "/workspace/database/ia_filterdb.py", line 22, in Media file_id = fields.StrField(attribute='_id') File "/workspace/.heroku/python/lib/python3.10/site-packages/umongo/abstract.py", line 135, in init self._ma_kwargs.setdefault('missing', self.default) AttributeError: 'StringField' object has no attribute 'default' Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct. Instance stopped.

Steevebgeorge avatar Apr 20 '25 15:04 Steevebgeorge