Spaces:
Sleeping
Sleeping
Download logs/error_20260221.log from umarwaqar/full-stack-todo: direct link, hf CLI and curl.
- Browser
- Download file 124 kB
-
https://huggingface.co/spaces/umarwaqar/full-stack-todo/resolve/main/logs/error_20260221.log
- Command line
-
hf download hf://spaces/umarwaqar/full-stack-todo/logs/error_20260221.log
-
curl -L -o error_20260221.log https://huggingface.co/spaces/umarwaqar/full-stack-todo/resolve/main/logs/error_20260221.log
124 kB
2026-02-21 01:47:34 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 01:48:12 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 01:50:02 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 01:50:41 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 01:53:21 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 01:54:09 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 01:56:15 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 06:26:41 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
# Create new user
^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 06:36:50 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
# Create new user
^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 11:34:28 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 11:35:15 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 11:36:13 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 11:37:07 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 11:41:39 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 44, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 18, in get_password_hash
return pwd_context.hash(password_bytes.decode('utf-8', errors='ignore'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 11:43:05 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 44, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 18, in get_password_hash
return pwd_context.hash(password_bytes.decode('utf-8', errors='ignore'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 13:15:26 - todo_app - ERROR - Error in register: Could not determine join condition between parent/child tables on relationship User.tasks - there are no foreign keys linking these tables. Ensure that referencing columns are associated with a ForeignKey or ForeignKeyConstraint, or specify a 'primaryjoin' expression.
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 2434, in _determine_joins
self.primaryjoin = join_condition(
^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\util.py", line 121, in join_condition
return Join._join_condition(
^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\selectable.py", line 1453, in _join_condition
raise exc.NoForeignKeysError(
sqlalchemy.exc.NoForeignKeysError: Can't find any foreign key relationships between 'users' and 'tasks'.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 69, in register
existing_user = UserService.get_user_by_email(db, user.email)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 64, in get_user_by_email
return db.exec(statement).first()
^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlmodel\orm\session.py", line 68, in exec
results = super().execute(
^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\session.py", line 2351, in execute
return self._execute_internal(
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\session.py", line 2249, in _execute_internal
result: Result[Any] = compile_state_cls.orm_execute_statement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 306, in orm_execute_statement
result = conn.execute(
^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\engine\base.py", line 1419, in execute
return meth(
^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 527, in _execute_on_connection
return connection._execute_clauseelement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\engine\base.py", line 1633, in _execute_clauseelement
compiled_sql, extracted_params, cache_hit = elem._compile_w_cache(
^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 716, in _compile_w_cache
compiled_sql = self._compiler(
^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 324, in _compiler
return dialect.statement_compiler(dialect, self, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 1448, in __init__
Compiled.__init__(self, dialect, statement, **kwargs)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 888, in __init__
self.string = self.process(self.statement, **compile_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 934, in process
return obj._compiler_dispatch(self, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\visitors.py", line 138, in _compiler_dispatch
return meth(self, **kw) # type: ignore # noqa: E501
^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 4783, in visit_select
compile_state = select_stmt._compile_state_factory(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\base.py", line 701, in create_for_statement
return klass.create_for_statement(statement, compiler, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 447, in create_for_statement
return cls._create_orm_context(
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 1175, in _create_orm_context
_QueryEntity.to_compile_state(
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 2628, in to_compile_state
_MapperEntity(
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 2708, in __init__
entity._post_inspect
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\util\langhelpers.py", line 1338, in __get__
obj.__dict__[self.__name__] = result = self.fget(obj)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 2733, in _post_inspect
self._check_configure()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 2410, in _check_configure
_configure_registries({self.registry}, cascade=True)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 4227, in _configure_registries
_do_configure_registries(registries, cascade)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 4268, in _do_configure_registries
mapper._post_configure_properties()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 2427, in _post_configure_properties
prop.init()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\interfaces.py", line 595, in init
self.do_init()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 1657, in do_init
self._setup_join_conditions()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 1895, in _setup_join_conditions
self._join_condition = jc = JoinCondition(
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 2321, in __init__
self._determine_joins()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 2455, in _determine_joins
raise sa_exc.NoForeignKeysError(
sqlalchemy.exc.NoForeignKeysError: Could not determine join condition between parent/child tables on relationship User.tasks - there are no foreign keys linking these tables. Ensure that referencing columns are associated with a ForeignKey or ForeignKeyConstraint, or specify a 'primaryjoin' expression.
2026-02-21 13:15:27 - todo_app - ERROR - Error in login: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'Mapper[User(users)]'. Original exception was: Could not determine join condition between parent/child tables on relationship User.tasks - there are no foreign keys linking these tables. Ensure that referencing columns are associated with a ForeignKey or ForeignKeyConstraint, or specify a 'primaryjoin' expression.
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 112, in login
user = UserService.authenticate_user(db, login_data.email, login_data.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 82, in authenticate_user
user = cls.get_user_by_email(db, email)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 64, in get_user_by_email
return db.exec(statement).first()
^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlmodel\orm\session.py", line 68, in exec
results = super().execute(
^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\session.py", line 2351, in execute
return self._execute_internal(
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\session.py", line 2249, in _execute_internal
result: Result[Any] = compile_state_cls.orm_execute_statement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 306, in orm_execute_statement
result = conn.execute(
^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\engine\base.py", line 1419, in execute
return meth(
^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 527, in _execute_on_connection
return connection._execute_clauseelement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\engine\base.py", line 1633, in _execute_clauseelement
compiled_sql, extracted_params, cache_hit = elem._compile_w_cache(
^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 716, in _compile_w_cache
compiled_sql = self._compiler(
^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 324, in _compiler
return dialect.statement_compiler(dialect, self, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 1448, in __init__
Compiled.__init__(self, dialect, statement, **kwargs)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 888, in __init__
self.string = self.process(self.statement, **compile_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 934, in process
return obj._compiler_dispatch(self, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\visitors.py", line 138, in _compiler_dispatch
return meth(self, **kw) # type: ignore # noqa: E501
^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 4783, in visit_select
compile_state = select_stmt._compile_state_factory(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\base.py", line 701, in create_for_statement
return klass.create_for_statement(statement, compiler, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 447, in create_for_statement
return cls._create_orm_context(
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 1175, in _create_orm_context
_QueryEntity.to_compile_state(
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 2628, in to_compile_state
_MapperEntity(
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 2708, in __init__
entity._post_inspect
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\util\langhelpers.py", line 1338, in __get__
obj.__dict__[self.__name__] = result = self.fget(obj)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 2733, in _post_inspect
self._check_configure()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 2410, in _check_configure
_configure_registries({self.registry}, cascade=True)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 4227, in _configure_registries
_do_configure_registries(registries, cascade)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 4264, in _do_configure_registries
raise e
sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'Mapper[User(users)]'. Original exception was: Could not determine join condition between parent/child tables on relationship User.tasks - there are no foreign keys linking these tables. Ensure that referencing columns are associated with a ForeignKey or ForeignKeyConstraint, or specify a 'primaryjoin' expression.
2026-02-21 13:34:56 - todo_app - ERROR - Error in register: Could not determine join condition between parent/child tables on relationship User.tasks - there are no foreign keys linking these tables. Ensure that referencing columns are associated with a ForeignKey or ForeignKeyConstraint, or specify a 'primaryjoin' expression.
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 2434, in _determine_joins
self.primaryjoin = join_condition(
^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\util.py", line 121, in join_condition
return Join._join_condition(
^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\selectable.py", line 1453, in _join_condition
raise exc.NoForeignKeysError(
sqlalchemy.exc.NoForeignKeysError: Can't find any foreign key relationships between 'users' and 'tasks'.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 69, in register
existing_user = UserService.get_user_by_email(db, user.email)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 64, in get_user_by_email
return db.exec(statement).first()
^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlmodel\orm\session.py", line 68, in exec
results = super().execute(
^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\session.py", line 2351, in execute
return self._execute_internal(
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\session.py", line 2249, in _execute_internal
result: Result[Any] = compile_state_cls.orm_execute_statement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 306, in orm_execute_statement
result = conn.execute(
^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\engine\base.py", line 1419, in execute
return meth(
^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 527, in _execute_on_connection
return connection._execute_clauseelement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\engine\base.py", line 1633, in _execute_clauseelement
compiled_sql, extracted_params, cache_hit = elem._compile_w_cache(
^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 716, in _compile_w_cache
compiled_sql = self._compiler(
^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\elements.py", line 324, in _compiler
return dialect.statement_compiler(dialect, self, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 1448, in __init__
Compiled.__init__(self, dialect, statement, **kwargs)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 888, in __init__
self.string = self.process(self.statement, **compile_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 934, in process
return obj._compiler_dispatch(self, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\visitors.py", line 138, in _compiler_dispatch
return meth(self, **kw) # type: ignore # noqa: E501
^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\compiler.py", line 4783, in visit_select
compile_state = select_stmt._compile_state_factory(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\sql\base.py", line 701, in create_for_statement
return klass.create_for_statement(statement, compiler, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 447, in create_for_statement
return cls._create_orm_context(
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 1175, in _create_orm_context
_QueryEntity.to_compile_state(
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 2628, in to_compile_state
_MapperEntity(
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\context.py", line 2708, in __init__
entity._post_inspect
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\util\langhelpers.py", line 1338, in __get__
obj.__dict__[self.__name__] = result = self.fget(obj)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 2733, in _post_inspect
self._check_configure()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 2410, in _check_configure
_configure_registries({self.registry}, cascade=True)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 4227, in _configure_registries
_do_configure_registries(registries, cascade)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 4268, in _do_configure_registries
mapper._post_configure_properties()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\mapper.py", line 2427, in _post_configure_properties
prop.init()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\interfaces.py", line 595, in init
self.do_init()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 1657, in do_init
self._setup_join_conditions()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 1895, in _setup_join_conditions
self._join_condition = jc = JoinCondition(
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 2321, in __init__
self._determine_joins()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\sqlalchemy\orm\relationships.py", line 2455, in _determine_joins
raise sa_exc.NoForeignKeysError(
sqlalchemy.exc.NoForeignKeysError: Could not determine join condition between parent/child tables on relationship User.tasks - there are no foreign keys linking these tables. Ensure that referencing columns are associated with a ForeignKey or ForeignKeyConstraint, or specify a 'primaryjoin' expression.
2026-02-21 14:01:55 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 46, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 18, in get_password_hash
return pwd_context.hash(truncated_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:03:53 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 46, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 18, in get_password_hash
return pwd_context.hash(truncated_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:06:18 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 46, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 18, in get_password_hash
return pwd_context.hash(truncated_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:06:38 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 46, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 18, in get_password_hash
return pwd_context.hash(truncated_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:10:19 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 86, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 46, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 18, in get_password_hash
return pwd_context.hash(truncated_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:11:01 - todo_app - ERROR - Error in login: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 112, in login
user = UserService.authenticate_user(db, login_data.email, login_data.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 83, in authenticate_user
if not user or not cls.verify_password(password, user.password_hash):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 25, in verify_password
return pwd_context.verify(truncated_password, hashed_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2347, in verify
return record.verify(secret, hash, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:12:18 - todo_app - ERROR - Error in login: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 112, in login
user = UserService.authenticate_user(db, login_data.email, login_data.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 83, in authenticate_user
if not user or not cls.verify_password(password, user.password_hash):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 25, in verify_password
return pwd_context.verify(truncated_password, hashed_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2347, in verify
return record.verify(secret, hash, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:12:47 - todo_app - ERROR - Error in login: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 112, in login
user = UserService.authenticate_user(db, login_data.email, login_data.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 83, in authenticate_user
if not user or not cls.verify_password(password, user.password_hash):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 25, in verify_password
return pwd_context.verify(truncated_password, hashed_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2347, in verify
return record.verify(secret, hash, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:13:56 - todo_app - ERROR - Error in login: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 112, in login
user = UserService.authenticate_user(db, login_data.email, login_data.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 83, in authenticate_user
if not user or not cls.verify_password(password, user.password_hash):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 25, in verify_password
return pwd_context.verify(truncated_password, hashed_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2347, in verify
return record.verify(secret, hash, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 14:14:39 - todo_app - ERROR - Error in login: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 112, in login
user = UserService.authenticate_user(db, login_data.email, login_data.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 83, in authenticate_user
if not user or not cls.verify_password(password, user.password_hash):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 25, in verify_password
return pwd_context.verify(truncated_password, hashed_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2347, in verify
return record.verify(secret, hash, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 01:47:34 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
2026-02-21 01:48:12 - todo_app - ERROR - Error in register: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])
Traceback (most recent call last):
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\api\auth_router.py", line 85, in register
db_user = UserService.create_user(db, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 42, in create_user
hashed_password = cls.get_password_hash(user.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\src\services\user_service.py", line 16, in get_password_hash
return pwd_context.hash(password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\context.py", line 2258, in hash
return record.hash(secret, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 779, in hash
self.checksum = self._calc_checksum(secret)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 591, in _calc_checksum
self._stub_requires_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2254, in _stub_requires_backend
cls.set_backend()
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2156, in set_backend
return owner.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2163, in set_backend
return cls.set_backend(name, dryrun=dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2188, in set_backend
cls._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2311, in _set_backend
super(SubclassBackendMixin, cls)._set_backend(name, dryrun)
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 2224, in _set_backend
ok = loader(**kwds)
^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 626, in _load_backend_mixin
return mixin_cls._finalize_backend_mixin(name, dryrun)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 421, in _finalize_backend_mixin
if detect_wrap_bug(IDENT_2A):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 380, in detect_wrap_bug
if verify(secret, bug_hash):
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\utils\handlers.py", line 792, in verify
return consteq(self._calc_checksum(secret), chk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\GIAIC\hackathon-2-phase-2\hackathon-2-phase-2\backend\venv\Lib\site-packages\passlib\handlers\bcrypt.py", line 655, in _calc_checksum
hash = _bcrypt.hashpw(secret, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: password cannot be longer than 72 bytes, truncate manually if necessary (e.g. my_password[:72])