#5425 ('NoneType' object has no attribute 'row2dict')
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Résumé
This can occur temporarily on a production server when the daphne process has not yet finished startup but is already answering to responses. The source code line where this happens is:
rec.update(data=rh.store.row2dict(ar, elem, fields))
Concepts sous-jacents
Commentaires
- 2 ans, 8 mois ago by Luc Saffre about #5425 ('NoneType' object has no attribute 'row2dict') : Maybe this happens systematically when the mysql server is down. Which on Jane happens every morning at 5:25 Tallinn time..
- 2 ans, 8 mois ago by Luc Saffre about #5425 ('NoneType' object has no attribute 'row2dict') : @8lurry and I should have a brainstorming about the startup workflow. We have kernel.startup_rlock, we have Site._starting_up and Site._startup_done. Maybe the Django view functions just need to test whether settings.SITE.._startup_done.
- 2 ans, 8 mois ago by Luc Saffre about #5425 ('NoneType' object has no attribute 'row2dict')
- 2 ans, 8 mois ago by Luc Saffre about #5425 ('NoneType' object has no attribute 'row2dict') : In Jane I clicked on a ticket in order to open its detail, and Jane gave me the "almost-blank error page", which says "There was an error on the server..." and a clickable text "Reinitialize".. Hitting Sh+Ctrl+R repeatedly gave me almost alternatively the expected response and the error page. The li...
- 2 ans, 8 mois ago by Luc Saffre about #5425 ('NoneType' object has no attribute 'row2dict') : Created new Ticket #5425@dev ('NoneType' object has no attribute 'row2dict').