Thank you very much for the 3.3.1 Indico update. Now we like to work with the new check-in app/webpage, unfortuantely, it doesn’t like to scan the qr-codes of our events.
Please give me some advice on what we can do.
Thank you in advance,
Barbara
There are no errores, it just don’t work. I open the link for the new check-in page and the iPad camera, but it won’t do something. It’s with both, the setup code and the ticket code.
Just with the iPad. I tried it with my private cellphone (Android) for fun and it worked well. But it’s important that is workes with the institute’s iPads.
I looks like the issue shows up only at one of our iPads. The other two are working now. I started an update if the one that doesn’t work and wait…
But on the other two iPads, when I click on any participant, I got the following information: Something went wrong when updating participantResponse status: 500
How can we solve this?
Can you please get the error from indico.log? If anything in the regform can cause a 500 error that’s a bug we want to fix, but right now we have no idea what’s causing it. The error message and traceback would help A LOT.
Edit: Thanks for sending me the traceback privately. Just for completeness, here’s the same traceback when reproducing it on my own instance:
File "/home/adrian/dev/indico/py3/src/indico/modules/events/registration/controllers/api/checkin.py", line 106, in _process_GET
return CheckinRegistrationSchema().jsonify(self.registration)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adrian/dev/indico/py3/env-312/lib/python3.12/site-packages/flask_marshmallow/schema.py", line 40, in jsonify
data = self.dump(obj, many=many)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adrian/dev/indico/py3/env-312/lib/python3.12/site-packages/marshmallow/schema.py", line 549, in dump
result = self._serialize(processed_obj, many=many)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adrian/dev/indico/py3/env-312/lib/python3.12/site-packages/marshmallow/schema.py", line 517, in _serialize
value = field_obj.serialize(attr_name, obj, accessor=self.get_attribute)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adrian/dev/indico/py3/env-312/lib/python3.12/site-packages/marshmallow/fields.py", line 340, in serialize
return self._serialize(value, attr, obj, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adrian/dev/indico/py3/env-312/lib/python3.12/site-packages/marshmallow/fields.py", line 1983, in _serialize
return self._serialize_method(obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adrian/dev/indico/py3/src/indico/modules/events/registration/schemas.py", line 115, in _get_registration_data
'data': reg_data[field['htmlName']],
^^^^^^^^^^^^^^^^^^^
KeyError: 'htmlName'
Thank you very much for your quick reply.
I will revise our registration forms for the events until end of this year. I think, we can live without the labels and replace other text fields for example.
A big thank you to you and Adrian for your always good advice and help.
I think if you do it for events within the next few weeks it’s fine. The fix is already merged and will be included in the v3.3.3 release (which I expect to happen later this month), or your system admin could easily backport it to your current version.