← Back to team overview

maas-devel team mailing list archive

question on the building MAAS

 

Hi,

I've checked out the 1.2 branch:

bzr branch lp:maas/1.2

and follow the Hacking guide [1], run "make dependencies" to install all
the dependencies on Ubuntu 12.10

Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quanta

When I tried to run "make syncdb" I got the following errors. Anyone have
any idea?

[1] http://people.canonical.com/~gavin/docs/lp:maas/hacking.html

[1.2] make syncdb

                                                     16:39:30
bin/database --preserve run -- bin/maas syncdb --noinput
Traceback (most recent call last):
  File "bin/maas", line 44, in <module>
    django.core.management.execute_from_command_line()
  File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
443, in execute_from_command_line
    utility.execute()
  File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 231, in execute
    self.validate()
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 266, in validate
    num_errors = get_validation_errors(s, app)
  File
"/usr/lib/python2.7/dist-packages/django/core/management/validation.py",
line 30, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line
158, in get_app_errors
    self._populate()
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line
64, in _populate
    self.load_app(app_name, True)
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line
88, in load_app
    models = import_module('.models', app_name)
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line
35, in import_module
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/maasserver/models/__init__.py",
line 47, in <module>
    from maasserver.models.node import Node
  File "/usr/lib/python2.7/dist-packages/maasserver/models/node.py", line
73, in <module>
    from provisioningserver.tasks import (
  File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line
337, in <module>
    @task(queue=celery_config.WORKER_QUEUE_BOOT_IMAGES)
  File "/usr/lib/python2.7/dist-packages/celery/datastructures.py", line
215, in __getattr__
    self.__class__.__name__, key))
AttributeError: 'Settings' object has no attribute
'WORKER_QUEUE_BOOT_IMAGES'
make: *** [syncdb] Error 1


-bn
0216331C

Follow ups