#6453 (django.db.utils.OperationalError: no such table: actors_partnertype)
by Luc Saffre · in Developers
Summary
Children
Comments
- 11 months, 3 weeks ago by Luc Saffre about #6453 (django.db.utils.OperationalError: no such table: actors_partnertype) : I fixed the immediate issue by extending the get_actor_label() in the actors demo project to catch DatabaseError. So I close this ticket, and I reopen #6404 (Inconsistent dataKey in LightWeightContainer values) to reconsider our fix.
def get_actor_label(cls): ... try: pt = rt.models.actors.PartnerType.objects.get(id=cls.partn... - 11 months, 3 weeks ago by Luc Saffre about #6453 (django.db.utils.OperationalError: no such table: actors_partnertype) : How to reproduce: go actors; rm default.db; pm prep
This regression has come in when we fixed #6404 (Inconsistent dataKey in LightWeightContainer values) by adding the following lines to kernel startup:
for a in actors.actors_list: if a.get_handle_name is None and not a.is_abstract(): # print("20251007", a) ... - 11 months, 3 weeks ago by Luc Saffre about #6453 (django.db.utils.OperationalError: no such table: actors_partnertype) : It took me a while to reproduce gitlab.com/lino-framework/book/-/jobs/11911543859 on my computer.
- 11 months, 3 weeks ago by Luc Saffre about #6453 (django.db.utils.OperationalError: no such table: actors_partnertype) : Created new Ticket #6453 (django.db.utils.OperationalError: no such table: actors_partnertype).