Closed scattered-development closed 2 months ago
Looking deeper and adding further logs it seems to be caused by Sentry. I see that Raven is in use, which is now deprecated in favour of sentry_sdk. I have made this update and celery worker is now up and running.
I can create a PR for this and make the change, if wanted?
@scattered-development hey, thank you for finding this and absolutely make a PR.
PR Merged!
Hi
There seems to be an Issue starting Celery in generated APP . I have been unable to resolve. Seems to be related to change in URL handling between pydantic 1 and 2 (https://github.com/pydantic/pydantic/discussions/6395) , where in v1 the base class is string. The logs are below.
as mentioned in readme docs testing might not be working - there is 0% coverage of the celery worker & testing of backend is failing in user token. Full stack is not running as celery worker has exited
================================================================= short test summary info ================================================================== ERROR app/tests/api/api_v1/test_login.py::test_use_access_token - ValueError: Token mismatch between key and user. ERROR app/tests/api/api_v1/test_users.py::test_get_users_normal_user_me ========================================================= 14 passed, 4 warnings, 2 errors in 5.99s =========================================================