#30352: Error al ejecutar python manage.py sin sealizar cambios
-------------------------------------+-------------------------------------
     Reporter:  irv-ro-j             |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Core (System         |                  Version:  2.2
  checks)                            |
     Severity:  Normal               |               Resolution:
     Keywords:  Reload Django        |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by tengqm):

 * status:  closed => new
 * resolution:  needsinfo =>


Comment:

 There is no resolution for this issue yet. The issue is still there and
 cannot be easily reproduced.

 [INFO] 2019-08-15 09:43:46,548 django.utils.autoreload (autoreload.py:597)
 - Watching for file changes with StatReloader
 Performing system checks...
 Exception in thread django-main-thread:
 Traceback (most recent call last):
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/template/utils.py", line 66, in __getitem__
     return self._engines[alias]
 KeyError: 'django'
 During handling of the above exception, another exception occurred:
 Traceback (most recent call last):
   File "/opt/python/3.6.7/lib/python3.6/threading.py", line 916, in
 _bootstrap_inner
     self.run()
   File "/opt/python/3.6.7/lib/python3.6/threading.py", line 864, in run
     self._target(*self._args, **self._kwargs)
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/utils/autoreload.py", line 54, in wrapper
     fn(*args, **kwargs)
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/core/management/commands/runserver.py", line 117, in
 inner_run
     self.check(display_num_errors=True)
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/core/management/base.py", line 390, in check
     include_deployment_checks=include_deployment_checks,
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/core/management/base.py", line 377, in _run_checks
     return checks.run_checks(**kwargs)
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/core/checks/registry.py", line 72, in run_checks
     new_errors = check(app_configs=app_configs)
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/contrib/admin/checks.py", line 79, in check_dependencies
     for engine in engines.all():
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/template/utils.py", line 90, in all
     return [self[alias] for alias in self]
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/template/utils.py", line 90, in <listcomp>
     return [self[alias] for alias in self]
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/template/utils.py", line 81, in __getitem__
     engine = engine_cls(params)
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/template/backends/django.py", line 25, in __init__
     options['libraries'] = self.get_templatetag_libraries(libraries)
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/template/backends/django.py", line 43, in
 get_templatetag_libraries
     libraries = get_installed_libraries()
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/template/backends/django.py", line 108, in
 get_installed_libraries
     for name in get_package_libraries(pkg):
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/template/backends/django.py", line 121, in
 get_package_libraries
     module = import_module(entry[1])
   File
 "/home/travis/virtualenv/python3.6.7/lib/python3.6/importlib/__init__.py",
 line 126, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File "<frozen importlib._bootstrap>", line 994, in _gcd_import
   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
   File "<frozen importlib._bootstrap>", line 955, in
 _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 678, in exec_module
   File "<frozen importlib._bootstrap>", line 219, in
 _call_with_frames_removed
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/rest_framework/templatetags/rest_framework.py", line 12, in
 <module>
     from rest_framework.renderers import HTMLFormRenderer
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/rest_framework/renderers.py", line 19, in <module>
     from django.test.client import encode_multipart
   File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-
 packages/django/test/client.py", line 23, in <module>
     from django.test import signals
   File "<frozen importlib._bootstrap>", line 968, in _find_and_load
   File "<frozen importlib._bootstrap>", line 149, in __enter__
   File "<frozen importlib._bootstrap>", line 94, in acquire
 _frozen_importlib._DeadlockError: deadlock detected by
 _ModuleLock('django.test.signals') at 139722400476576

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30352#comment:10>
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/066.2643ba451810e5f203623fa2b2b3f35a%40djangoproject.com.

Reply via email to