-
Notifications
You must be signed in to change notification settings - Fork 194
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
ZeroDivisionError in render function #89
Comments
Thanks! Fixed in v0.7.2. It will be published to Docker Hub shortly. Let me know if you run into any issues. |
Hi @milesmcc Your fix appears to not have actually fixed my error. Maybe a try/except would work better? I am now getting:
|
A try/except could work, except I'd rather solve the root issue. In this case, I think a try/catch would only mask other issues (and would be bad style). Datetimes shouldn't be running through |
I'm having trouble replicating this error. I see from your original error report that this is happening on |
I am also very confused about why this error is occuring, but I have setup a shynet instance around August 2020 and the error just manifested itself. I think it may be an issue with the some database data, but it has obviously occured by itself over time. Additionally, the error only occurs for one of the users in my shynet instance, making me think it is related to one of their sites. Can this issue be re-opened? |
I am happy to run modifications to my local shynet repo, with the existing database, to help debug the issue. I will change my |
Same issue here, running on docker |
For now, I've just added a try/catch as @Soneji mentioned. I'd like to change this in the future once I isolate the issue, but it should fix things for now. |
Thank you @milesmcc |
@milesmcc I'm not sure what caused it, I have 3 sites running that I had set up a few weeks ago, and yesterday the dashboard just stopped working for me. Your last change did fix it. |
Got it. @zmiguel -- would you mind sending a (redacted, if necessary) photo of the dashboard? Thanks! Specifically, I'm curious if any of the net change indicators have |
@milesmcc you mean like that on the first one? |
Cool, got it. I'm going to reopen this issue now so that it stays on my mind to fix! |
Hi
I am having an issue with shynet for only one of my accounts. Is there any way to fix this or put it into a try/except? Maybe have a value this expression defaults to if there is an error?
Thank you
The text was updated successfully, but these errors were encountered: