Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive operation triggers exception in mscolab #2476

Closed
joernu76 opened this issue Aug 22, 2024 · 0 comments · Fixed by #2477
Closed

archive operation triggers exception in mscolab #2476

joernu76 opened this issue Aug 22, 2024 · 0 comments · Fixed by #2477
Assignees
Labels
bug Something isn't working minor
Milestone

Comments

@joernu76
Copy link
Member

joernu76 commented Aug 22, 2024

due to a too large value. The days needs to be significantly smaller to not trigger an error in a) conversion to timedelta and b) addition to "now".

File "/home/mss-mscolab/Miniforge/envs/mssenv/lib/python3.10/site-packages/mslib/mscolab/server.py", line 551, in set_last_used
    datetime.datetime.now(tz=datetime.timezone.utc) - datetime.timedelta(days=days_ago),
OverflowError: Python int too large to convert to C int

and

  File "/home/mss-mscolab/Miniforge/envs/mssenv/lib/python3.10/site-packages/mslib/mscolab/server.py", line 551, in set_last_used
    datetime.datetime.now(tz=datetime.timezone.utc) - datetime.timedelta(days=days_ago),
OverflowError: date value out of range
@joernu76 joernu76 added bug Something isn't working minor labels Aug 22, 2024
@joernu76 joernu76 added this to the 9.2.0 milestone Aug 22, 2024
@joernu76 joernu76 self-assigned this Aug 22, 2024
joernu76 added a commit that referenced this issue Aug 22, 2024
@joernu76 joernu76 mentioned this issue Aug 22, 2024
joernu76 added a commit that referenced this issue Aug 22, 2024
@ReimarBauer ReimarBauer modified the milestones: 9.2.0, 10.0.0 Aug 22, 2024
joernu76 added a commit that referenced this issue Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants