#19820: Make loaddata error messages less cryptic -------------------------------------+------------------------------------- Reporter: bigfudge | Owner: nobody Type: | Status: closed Cleanup/optimization | Version: master Component: Core | Resolution: needsinfo (Serialization) | Triage Stage: Severity: Normal | Unreviewed Keywords: | Needs documentation: 0 Has patch: 0 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by Naddiseo): If there is, for example, an initialiser for `auth.Permission` with a content_type that does not exist, the DeserializationError is raised: django.core.serializers.base.DeserializationError: Problem installing fixture 'testapp/initial_data/testing_data.json': ContentType matching query does not exist. This is a problem with big files, since it doesn't tell you where in the file the error occurred. (Reproduced on 1.7c3) -- Ticket URL: <https://code.djangoproject.com/ticket/19820#comment:3> 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/066.b63eb6f21074897c953ae7aa9f907f4b%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.