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

something is upset about not getting a numeric value back. #62

Open
kami-nashi opened this issue Dec 30, 2021 · 1 comment
Open

something is upset about not getting a numeric value back. #62

kami-nashi opened this issue Dec 30, 2021 · 1 comment

Comments

@kami-nashi
Copy link
Owner

Dec 30 04:21:22 kn-multi01 gunicorn[22871]: File "/opt/apps/skatetrax/app/app.py", line 139, in wrap
Dec 30 04:21:22 kn-multi01 gunicorn[22871]: return f(*args, **kwargs)
Dec 30 04:21:22 kn-multi01 gunicorn[22871]: File "/opt/apps/skatetrax/app/app.py", line 335, in monthlyPieCost
Dec 30 04:21:22 kn-multi01 gunicorn[22871]: JSONsession = json.loads(lj.monthlyPieCost(g.sessID))
Dec 30 04:21:22 kn-multi01 gunicorn[22871]: File "/opt/apps/skatetrax/app/lib/logic_json.py", line 41, in monthlyPieCost
Dec 30 04:21:22 kn-multi01 gunicorn[22871]: mcIce = math.ceil(float(st.monthlyIceTime(vTUP)[0]['ice_cost'])*4)/4
Dec 30 04:21:22 kn-multi01 gunicorn[22871]: TypeError: float() argument must be a string or a number, not 'NoneType'

@kami-nashi
Copy link
Owner Author

File "/home/asyoung/git/github/SkateTrax/skatetrax/app/lib/logic_json.py", line 41, in monthlyPieCost
mcIce = math.ceil(float(st.monthlyIceTime(vTUP)[0]['ice_cost'])*4)/4

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

No branches or pull requests

1 participant