#30364: Django 2.2 check fails under sourceless project
-------------------------------------+-------------------------------------
     Reporter:  Sascha P.            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Uncategorized        |                  Version:  2.2
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  compileall, Django   |             Triage Stage:
  2.2, encoding                      |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Bell):

 The deprecation check for settings.FILE_CHARSET added in #29817 uses
 `traceback.extract_stack()` to find out where the setting is being
 accessed from. When a project's .py files have been deleted, leaving only
 the .pyc files, `extract_stack()` throws an exception as it tries to read
 the .pyc file.

 Running `manage.py check` will tickle this "bug" when it checks the
 template engines.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30364#comment:2>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.13e565882934326798e1bd72acf24cf7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to