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

Upgrade to 1.3.6 stops the cluster from working #565

Closed
michaelbartz opened this issue May 25, 2021 · 4 comments · Fixed by #569
Closed

Upgrade to 1.3.6 stops the cluster from working #565

michaelbartz opened this issue May 25, 2021 · 4 comments · Fixed by #569

Comments

@michaelbartz
Copy link

We upgraded from 1.3.5 to 1.3.6 and our cluster and scheduled jobs quit working. The error logs are filled with this message:

ERROR localtime() cannot be applied to a naive datetime

@michaelbartz
Copy link
Author

this is broken on multiple OS's, Linux, Mac, and Ubuntu. Running Python 3.9.0 to 3.9.5.

@Koed00
Copy link
Owner

Koed00 commented May 26, 2021

My guess would be that you have timezone support disabled in Django. All the tests are being done with USE_TZ = True
We'll need to add some check for this before we call localtime, cause this has fixed a bunch of issues for other people.

Will try to make time for this, but any help is appreciated.

@michaelbartz
Copy link
Author

michaelbartz commented May 26, 2021 via email

@Koed00
Copy link
Owner

Koed00 commented May 30, 2021

@michaelbartz could you give the master branch a whirl? I think this should fix it.

@Koed00 Koed00 reopened this May 30, 2021
@Koed00 Koed00 closed this as completed Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants