ASKBOT / askbot-devel

Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Other
1.56k stars 627 forks source link

Error when running manage.py #878

Closed teavanist closed 3 years ago

teavanist commented 3 years ago

I get the following error when running manage.py collectstatic Ubuntu 16, Python 2.7, Postgresql Installation done using pip install askbot and then accoridng to instructions in initial-configuration.rst

============== root@ubuntu:~/mydjangosite# python manage.py collectstatic Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 354, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 328, in execute django.setup() File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate app_config.import_models(all_models) File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 198, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/usr/local/lib/python2.7/dist-packages/compressor/models.py", line 1, in from compressor.conf import CompressorConf # noqa File "/usr/local/lib/python2.7/dist-packages/compressor/conf.py", line 6, in from appconf import AppConf File "/usr/local/lib/python2.7/dist-packages/appconf/init.py", line 1, in from .base import AppConf # noqa File "/usr/local/lib/python2.7/dist-packages/appconf/base.py", line 107 class AppConf(metaclass=AppConfMetaClass):

evgenyfadeev commented 3 years ago

These issues are resolved now. Try tips of any 0.7.x - 0.10.x, master branch.

Fixed in version 0.11.0, 0.10.3, 0.9.4, 0.8.3, 0.7.59.