First time here? Check out the FAQ!

Revision history  [back]

I got the error while i am using the command line collectstatic

Hi i git the error while i am using the command line collectstatic

root@aksbot:~/home/pintraj# 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/askbot/models/__init__.py", line 2, in startup_procedures.run() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", line 1086, in run run_startup_tests() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", line 1012, in run_startup_tests test_modules() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", line 289, in test_modules try_import(mod_name, pip_path) File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", line 209, in try_import load_module(module_name) File "/usr/local/lib/python2.7/dist-packages/askbot/utils/loading.py", line 23, in load_module return __import__(mod_path, globals(), locals(), [], -1) File "/usr/local/lib/python2.7/dist-packages/picklefield/__init__.py", line 5, in from picklefield.fields import PickledObjectField # reexport File "/usr/local/lib/python2.7/dist-packages/picklefield/fields.py", line 79, in class PickledObjectField(_get_subfield_superclass()): File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/subclassing.py", line 24, in __new__ new_class = super(SubfieldBase, cls).__new__(cls, name, bases, attrs) TypeError: Error when calling the metaclass bases metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

what i have to do now

I got the error while i am using the command line collectstatic

Hi i git the error while i am using the command line collectstatic

root@aksbot:~/home/pintraj# python python manage.py collectstatic Traceback collectstatic Traceback (most recent call last): File 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",
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", utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 328, in execute django.setup() 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", 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",
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",
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/askbot/models/__init__.py", __import__(name) File "/usr/local/lib/python2.7/dist-packages/askbot/models/__init__.py", line 2, in startup_procedures.run() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", startup_procedures.run() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", line 1086, in run run_startup_tests() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", run_startup_tests() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", line 1012, in run_startup_tests test_modules() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", test_modules() File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", line 289, in test_modules try_import(mod_name, pip_path) File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", pip_path) File "/usr/local/lib/python2.7/dist-packages/askbot/startup_procedures.py", line 209, in try_import load_module(module_name) File "/usr/local/lib/python2.7/dist-packages/askbot/utils/loading.py", load_module(module_name) File "/usr/local/lib/python2.7/dist-packages/askbot/utils/loading.py", line 23, in load_module return __import__(mod_path, globals(), locals(), [], -1) File "/usr/local/lib/python2.7/dist-packages/picklefield/__init__.py", -1) File "/usr/local/lib/python2.7/dist-packages/picklefield/__init__.py", line 5, in from picklefield.fields import PickledObjectField # reexport File "/usr/local/lib/python2.7/dist-packages/picklefield/fields.py", reexport File "/usr/local/lib/python2.7/dist-packages/picklefield/fields.py", line 79, in class PickledObjectField(_get_subfield_superclass()): File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/subclassing.py", File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/subclassing.py", line 24, in __new__ new_class = super(SubfieldBase, cls).__new__(cls, name, bases, attrs) TypeError: Error when calling the the metaclass bases metaclass conflict: the metaclass of a derived class must be a a (non-strict) subclass of the the metaclasses of all its bases

bases what i have to do now