#23406: Migrations not found when only .pyc files are available (e.g. in a frozen environment) -------------------------------------+------------------------------------- Reporter: Daniel Menzel | Owner: Dan | Watson Type: Bug | Status: assigned Component: Migrations | Version: 1.7 Severity: Normal | Resolution: Keywords: migrations, .pyc, | Triage Stage: Ready for frozen, cx_Freeze | checkin Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham): Would you like to offer a patch that reverts 51673c146e48ff6230eace39bac18fd555607bee and makes the migration loader catch a `ImportError: bad magic number` exception and reraise it with a message that informs the user to delete pyc files? -- Ticket URL: <https://code.djangoproject.com/ticket/23406#comment:36> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/070.20af5c9018199d97ad845166737e8438%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.