Closed mircealungu closed 1 month ago
it was crashing my exercises with the following log:
[Wed Oct 02 15:34:55.373064 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] ^^^^^^^^^^^^^^^^^^^^^ [Wed Oct 02 15:34:55.373385 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] File "/Zeeguu-API/zeeguu/api/endpoints/exercises.py", line 197, in similar_words_api [Wed Oct 02 15:34:55.378190 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] similar_words(bookmark.origin.word, bookmark.origin.language, user) [Wed Oct 02 15:34:55.396946 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] File "/Zeeguu-API/zeeguu/core/exercises/similar_words.py", line 8, in similar_words [Wed Oct 02 15:34:55.398937 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] words_the_user_must_study = user.scheduled_bookmarks(10) [Wed Oct 02 15:34:55.403047 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Wed Oct 02 15:34:55.403929 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] File "/Zeeguu-API/zeeguu/core/model/user.py", line 283, in scheduled_bookmarks [Wed Oct 02 15:34:55.404553 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] word_for_study = BasicSRSchedule.bookmarks_to_study(self, bookmark_count, scheduled_only=True) [Wed Oct 02 15:34:55.404559 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [Wed Oct 02 15:34:55.405125 2024] [wsgi:error] [pid 22:tid 139934219138752] [remote 172.18.0.1:40268] TypeError: BasicSRSchedule.bookmarks_to_study() got an unexpected keyword argument 'scheduled_only'
it's hotfixed for now this way on the server.
although now I get another exception during exercises:
and i have to go for now. let's hope it's only my user!
this is the thing that's undefined:
it was crashing my exercises with the following log:
it's hotfixed for now this way on the server.