Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named compat.dj #80

Closed
colin4124 opened this issue Mar 19, 2014 · 6 comments · Fixed by #82
Closed

ImportError: No module named compat.dj #80

colin4124 opened this issue Mar 19, 2014 · 6 comments · Fixed by #82

Comments

@colin4124
Copy link

When I use "djangocms -p . my_demo", and the error ocurr.

ImportError: No module named compat.dj Traceback (most recent call last): File "./env/bin/djangocms", line 9, in load_entry_point('djangocms-installer==0.3.1', 'console_scripts', 'djangocms')() File "/home/colin4124/D/MyProject/Try/django/demo/env/local/lib/python2.7/site-packages/djangocms_installer/main.py", line 29, in execute django.setup_database(config_data) File "/home/colin4124/D/MyProject/Try/django/demo/env/local/lib/python2.7/site-packages/djangocms_installer/django/**init**.py", line 227, in setup_database "manage.py", "syncdb", "--all", "--noinput"]) File "/usr/lib/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/home/colin4124/D/MyProject/Try/django/demo/env/bin/python', '-W', 'ignore', 'manage.py', 'syncdb', '--all', '--noinput']' returned non-zero exit status 1
@yakky
Copy link
Member

yakky commented Mar 19, 2014

Can you post the packages installed in the virtualenv?

@colin4124
Copy link
Author

classytags
cms
django
Django-1.5.5-py2.7.egg-info
django_classy_tags-0.5-py2.7.egg-info
django_cms-2.4.3-py2.7.egg-info
djangocms_file
djangocms_file-0.0.1-py2.7.egg-info
djangocms_flash
djangocms_flash-0.0.2-py2.7.egg-info
djangocms_googlemap
djangocms_googlemap-0.0.4-py2.7.egg-info
djangocms_inherit
djangocms_inherit-0.0.1-py2.7.egg-info
djangocms_installer
djangocms_installer-0.3.1-py2.7.egg-info
djangocms_link
djangocms_link-1.3.4-py2.7.egg-info
djangocms_picture
djangocms_picture-0.0.2-py2.7.egg-info
djangocms_teaser
djangocms_teaser-0.0.1-py2.7.egg-info
djangocms_video
djangocms_video-0.0.1-py2.7.egg-info
django_mptt-0.5.2-py2.7.egg-info
django_reversion-1.7.1-py2.7.egg-info
django_sekizai-0.7-py2.7.egg-info
dj_database_url-0.3.0.dist-info
dj_database_url.py
dj_database_url.pyc
easy_install.py
easy_install.pyc
html5lib
html5lib-0.999-py2.7.egg-info
_markerlib
menus
mptt
PIL
Pillow-2.3.1-py2.7.egg-info
pip
pip-1.5.4.dist-info
pkg_resources.py
pkg_resources.pyc
pytz
pytz-2014.1-py2.7.egg-info
reversion
sekizai
setuptools
setuptools-2.2.dist-info
six-1.6.1.dist-info
six.py
six.pyc
south
South-0.8.4.dist-info
tests

@yakky
Copy link
Member

yakky commented Mar 19, 2014

#81 Should solve the issue.
New semi-core plugins were installed disregarding the CMS version, but many of them are not compatible with it, resulting in reported error

@digi604
Copy link
Collaborator

digi604 commented Mar 20, 2014

@digi604
Copy link
Collaborator

digi604 commented Mar 20, 2014

@yakky it seams djangocms_file is not installed but is in INSTALLED_APPS

@digi604
Copy link
Collaborator

digi604 commented Mar 20, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants