Skip to content
Advertisement

Django runserver hangs at “System check identified no issues (0 silenced).” for a while

I am not able to start manage.py runserver 0.0.0.0:8000. I am using a MySQL database and I have imported all the required modules. I am trying to run quite basic application.

I am running python 3.7.3 on windows 10. Here is the error I am getting:

System check identified no issues (0 silenced).
Unhandled exception in thread started by <function check_errors.<locals>.wrapper
 at 0x0000000005A89E18>
Traceback (most recent call last):
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangoutilsaut
oreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangocoremana
gementcommandsrunserver.py", line 120, in inner_run
    self.check_migrations()
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangocoremana
gementbase.py", line 442, in check_migrations
    executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangodbmigrat
ionsexecutor.py", line 18, in __init__
    self.loader = MigrationLoader(self.connection)
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangodbmigrat
ionsloader.py", line 49, in __init__
    self.build_graph()
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangodbmigrat
ionsloader.py", line 212, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangodbmigrat
ionsrecorder.py", line 62, in applied_migrations
    return {tuple(x) for x in self.migration_qs.values_list('app', 'name')}
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangodbmodels
query.py", line 268, in __iter__
    self._fetch_all()
  File "C:UsersflgferreDesktopwebappvenvlibsite-packagesdjangodbmodels
query.py", line 1186, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
MemoryError

I’ve seen a similar MemoryError around here, but I’m not using SQLite and I’ve already tried using DEBUG=False.

Thank you in advance for the help.

Advertisement

Answer

I have just solved my problem by checking my dependencies. I believe that the code was stuck because of some kind of incompatibility among packages.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement