You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set_active project calls _get_user, which trys to run UUID4(self.user_id). If the user_id is not set ( and therefore is None by default), this results in "TypeError: one of the hex, bytes, bytes_le, fields, or int arguments must be given"
What I Did
Input In [76] in <module>
ph.set_active_project("li20ph")
File c:\users\julffers\git_repos\pandahub\pandahub\lib\PandaHub.py:208 in set_active_project
self.set_active_project_by_id(project_id)
File c:\users\julffers\git_repos\pandahub\pandahub\lib\PandaHub.py:211 in set_active_project_by_id
self.active_project = self._get_project_document({"_id": ObjectId(project_id)})
File c:\users\julffers\git_repos\pandahub\pandahub\lib\PandaHub.py:260 in _get_project_document
user = self._get_user()
File c:\users\julffers\git_repos\pandahub\pandahub\lib\PandaHub.py:141 in _get_user
{"id": UUID4(self.user_id)}, projection={"_id": 0, "hashed_password": 0}
File ~\miniconda3\envs\pandahub\lib\uuid.py:171 in __init__
raise TypeError('one of the hex, bytes, bytes_le, fields, '
TypeError: one of the hex, bytes, bytes_le, fields, or int arguments must be given
The text was updated successfully, but these errors were encountered:
Description
set_active project calls _get_user, which trys to run UUID4(self.user_id). If the user_id is not set ( and therefore is None by default), this results in "TypeError: one of the hex, bytes, bytes_le, fields, or int arguments must be given"
What I Did
The text was updated successfully, but these errors were encountered: