#26214: Better error message for RuntimeError: populate() isn't reentrant
-------------------------------------+-------------------------------------
     Reporter:  Thomas Güttler       |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Core (Other)         |                  Version:  1.9
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Thomas Güttler):

 5 years later, running Python 3.8 I come across the same error again. On
 the Python command line it works, there I see the real error:
 `ModuleNotFoundError: No module named 'psycopg2'`

 But if I run this via PyCharm "execute file". I get the meaningless error
 message.

 Here is an answer to see the real error message, if you don't see it:
 https://stackoverflow.com/a/55929118/633961 (replace the exection in
 registry.py with `self.app_configs = {}`)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/26214#comment:6>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.fea8575b7812364faeb360ec33377379%40djangoproject.com.

Reply via email to