1
Vote

Error in BasicReplBackend._repl_loop when doing django sync db

description

I did a Django Sync DB a couple of times on a brand new django project which didn't have its DATABASES set yet.

The Unhandled exception part should be investigated.
Python interactive window.  Type $help for a list of commands.
Executing manage.py syncdb
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
Unhandled exception in thread started by <bound method BasicReplBackend._repl_loop of <__main__.BasicReplBackend object at 0x01C64070>>
Traceback (most recent call last):
  File "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.0\visualstudio_py_repl.py", line 219, in _repl_loop
    _debug_write(traceback.format_exc())
  File "C:\Python27\lib\traceback.py", line 241, in format_exc
    return ''.join(format_exception(etype, value, tb, limit))
  File "C:\Python27\lib\traceback.py", line 144, in format_exception
    list = list + format_exception_only(etype, value)
  File "C:\Python27\lib\traceback.py", line 171, in format_exception_only
    isinstance(etype, types.InstanceType) or
TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types
The Python REPL process has exited
Executing manage.py syncdb
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
The Python REPL process has exited
Executing manage.py validate
0 errors found
The Python REPL process has exited
Executing manage.py syncdb
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
The Python REPL process has exited

comments