Set checkboxes are not saving (e.g. "Set is checked") #30

Closed
opened 2024-12-29 12:21:32 +01:00 by ndsipapomu · 2 comments

Got this setup using the docker image and can add sets, but when clicking on the checkboxes, it does not save the state and gives this kind of error:

TypeError: The view function for 'index' did not return a valid response. The function either returned None or ended without a return statement.
[2024-12-29 11:19:58,083] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 920, in full_dispatch_request
return self.finalize_request(rv)
~~~~~~~~~~~~~~~~~~~~~^^^^
File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 939, in finalize_request
response = self.make_response(rv)
File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 1212, in make_response
raise TypeError(
...<3 lines>...
)
TypeError: The view function for 'index' did not return a valid response. The function either returned None or ended without a return statement.

Got this setup using the docker image and can add sets, but when clicking on the checkboxes, it does not save the state and gives this kind of error: TypeError: The view function for 'index' did not return a valid response. The function either returned None or ended without a return statement. [2024-12-29 11:19:58,083] ERROR in app: Exception on / [POST] Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 920, in full_dispatch_request return self.finalize_request(rv) ~~~~~~~~~~~~~~~~~~~~~^^^^ File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 939, in finalize_request response = self.make_response(rv) File "/usr/local/lib/python3.13/site-packages/flask/app.py", line 1212, in make_response raise TypeError( ...<3 lines>... ) TypeError: The view function for 'index' did not return a valid response. The function either returned None or ended without a return statement.

@ndsipapomu I pushed a fix and a new image. If you pull :latest then it should be fixed now.

@ndsipapomu I pushed a fix and a new image. If you pull `:latest` then it should be fixed now.
Author

Nice one! That's fixed it.

Nice one! That's fixed it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FrederikBaerentsen/BrickTracker#30
No description provided.