[Django] #21014: MigrationLoader gobbles ImportError despite trying not to.

2 views
Skip to first unread message

Django

unread,
Sep 1, 2013, 2:05:16 PM9/1/13
to django-...@googlegroups.com
#21014: MigrationLoader gobbles ImportError despite trying not to.
----------------------------+--------------------
Reporter: loic84 | Owner:
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------
{{{
File "/Users/loic/Dev/django/django/db/migrations/loader.py", line 75,
in load_disk
directory = os.path.dirname(module.__file__)
UnboundLocalError: local variable 'module' referenced before assignment
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21014>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 1, 2013, 2:16:02 PM9/1/13
to django-...@googlegroups.com
#21014: MigrationLoader gobbles ImportError despite trying not to.
----------------------------+--------------------------------------

Reporter: loic84 | Owner:
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------------------------
Changes (by loic84):

* needs_better_patch: => 0
* has_patch: 0 => 1
* needs_tests: => 0
* needs_docs: => 0


Comment:

PR https://github.com/django/django/pull/1541.

--
Ticket URL: <https://code.djangoproject.com/ticket/21014#comment:1>

Django

unread,
Sep 4, 2013, 3:20:55 PM9/4/13
to django-...@googlegroups.com
#21014: MigrationLoader gobbles ImportError despite trying not to.
----------------------------+------------------------------------

Reporter: loic84 | Owner:
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------
Changes (by timo):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/21014#comment:2>

Django

unread,
Sep 6, 2013, 8:49:42 AM9/6/13
to django-...@googlegroups.com
#21014: MigrationLoader gobbles ImportError despite trying not to.
-------------------------------------+-------------------------------------
Reporter: loic84 | Owner: Tim
Type: Bug | Graham <timograham@…>
Component: Migrations | Status: closed
Severity: Normal | Version: master
Keywords: | Resolution: fixed
Has patch: 1 | Triage Stage: Accepted
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* owner: => Tim Graham <timograham@…>
* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"82bbb9fe812ac2a575bf1291055093adfb9b8fff"]:
{{{
#!CommitTicketReference repository=""
revision="82bbb9fe812ac2a575bf1291055093adfb9b8fff"
Fixed #21014 -- Fixed gobbled ImportError in MigrationLoader.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21014#comment:3>

Reply all
Reply to author
Forward
0 new messages