Skip to content

Instantly share code, notes, and snippets.

@andyparsons
Created February 19, 2014 18:24
Show Gist options
  • Save andyparsons/9098237 to your computer and use it in GitHub Desktop.
Save andyparsons/9098237 to your computer and use it in GitHub Desktop.
(edx)[edx-platform] ./manage.py lms --settings dev syncdb --traceback 13:15:58 ☁ master ☀
Traceback (most recent call last):
File "./manage.py", line 90, in <module>
startup = importlib.import_module(edx_args.startup)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/Users/andyparsons/code/academy/mcka/edx-platform/lms/startup.py", line 8, in <module>
settings.INSTALLED_APPS # pylint: disable=W0104
File "/Users/andyparsons/.virtualenvs/edx/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
self._setup(name)
File "/Users/andyparsons/.virtualenvs/edx/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/Users/andyparsons/.virtualenvs/edx/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__
% (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'lms.envs.dev' (Is it on sys.path? Is there an import error in the settings file?): No module named xmodule.modulestore.inheritance
(edx)[edx-platform] 13:16:01 ☁ master ☀
(edx)[edx-platform] ipython 13:16:02 ☁ master ☀
WARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
Python 2.7.6 (default, Feb 12 2014, 17:54:39)
Type "copyright", "credits" or "license" for more information.
IPython 0.13.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import xmodule.modulestore.inheritance
In [2]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment