nhandled exception in thread started by <function wrapper at 0x035BA3F0>

来源:互联网 发布:java贪吃蛇大作战源码 编辑:程序博客网 时间:2024/05/22 14:57
System check identified no issues (0 silenced).Unhandled exception in thread started by <function wrapper at 0x035BA3F0>Traceback (most recent call last):  File "D:\Program Files (x86)\Python27\lib\site-packages\django\utils\autoreload.py", line 222, in wrapper    fn(*args, **kwargs)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\core\management\commands\runserver.py", line 107, in inner_run    self.check_migrations()  File "D:\Program Files (x86)\Python27\lib\site-packages\django\core\management\commands\runserver.py", line 159, in check_migrations    executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\migrations\executor.py", line 17, in __init__    self.loader = MigrationLoader(self.connection)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\migrations\loader.py", line 48, in __init__    self.build_graph()  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\migrations\loader.py", line 183, in build_graph    self.applied_migrations = recorder.applied_migrations()  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\migrations\recorder.py", line 59, in applied_migrations    self.ensure_schema()  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\migrations\recorder.py", line 53, in ensure_schema    editor.create_model(self.Migration)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\backends\schema.py", line 262, in create_model    self.execute(sql, params)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\backends\schema.py", line 103, in execute    cursor.execute(sql, params)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\backends\utils.py", line 81, in execute    return super(CursorDebugWrapper, self).execute(sql, params)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\backends\utils.py", line 65, in execute    return self.cursor.execute(sql, params)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\utils.py", line 94, in __exit__    six.reraise(dj_exc_type, dj_exc_value, traceback)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\backends\utils.py", line 65, in execute    return self.cursor.execute(sql, params)  File "D:\Program Files (x86)\Python27\lib\site-packages\django\db\backends\oracle\base.py", line 916, in execute    return self.cursor.execute(query, self._param_generator(params))django.db.utils.DatabaseError: ORA-01031: insufficient privileges
这个问题是因为用户权限问题.
0 0