Indico.flask - ERROR errors.py:96 -- 'NoneType' object has no attribute 'id'

Template is there.

Did you upgrade from 1.9.11 at some point in the past? That could explain why you do not have a default ticket template but just a default badge template.

Anyway, easy solution: Create a new template on the link above, make sure to add the ticket qr code placeholder to it, and then, after saving it, mark it as the default ticket template.

is posible…I have upgrading this instance from more than 10 year ago.
I have a couple of doubs. I can only choose between poster or badge (supose budge), but i do not undertand the “ticket qr code placeholder to it,”

You create a badge template, and then edit it. In the badge editor itself you can add various placeholders - and one of them is the “Ticket QR Code”.

The Ticket error is solved…but the form doesn’t work yet:
angular.js:6349 Error: Template must have exactly one root element. was: <form novalidate

May be i should askthe creator to removed and create a new one form, in order to remove the garbage at the end of the file.

It is not related to the event. This is a static file, that’s served directly from disk. Does your reverse proxy cache anything by any chance? If yes, try purging that cache.

As you can see in the file’s URL, it has no reference to any particular event.

Nop there is no cache.If i can tomorrow i will try to run this instance directly from IP without a proxy. I you need some other debug please let me know.

Regards, I

What does

md5sum /opt/indico/.venv/lib/python2.7/site-packages/indico/web/static/dist/mod_assets/_/_/_/modules/events/registration/client/js/form/tpls/registrationform.tpl.html

give you? It should be df825f2635633a09ddc01e2c3f1860da.

yes that’s the md5sum:

df825f2635633a09ddc01e2c3f1860da /opt/indico/.venv/lib/python2.7/site-packages/indico/web/static/dist/mod_assets///_/modules/events/registration/client/js/form/tpls/registrationform.tpl.html

Then there must be something wrong when the data gets sent… Maybe try restarting everything (nginx/apache, uwsgi) just in case that helps…

I just restart everything.
nginx, at proxy with this configuration:

location / {
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_pass https://indico;              (same behaviour with complete fqdn)
   }

apache, uwsgi, celery at indico VM (USE_PROXY= True)

indico_error.log (5.6 KB)
and empty the cache,but the problem still continue

I don’t think anyone here can help you with that issue… Somehow ranndom garbage shows up at the end of that file when retrieving it from your server…

Dear,
Seems to be a problem with:
proxy-(nginx)-----indico (apache/uwsgi)

Out of the proxy works fine.
Thanks a lot!! for your help on this issue
regards, I

My guess would be that the proxy has some kind of caching enabled and that cache got corrupted…