Julian, Thanks for the response, I've checked the local HACKING.txt and follow that. I've also forgot to mentioned I ran "make test" before make syncdb which should included make build, running make again reports "make: Nothing to be done for `build'."
Following the above I'm still getting the same message below. Any other suggestions? 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 On Wed, Apr 10, 2013 at 5:27 PM, Julian Edwards < julian.edwa...@canonical.com> wrote: > On 11/04/13 10:14, Bao Nguyen wrote: > > 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 > > I would follow the HACKING.txt doc in the tree rather than that, it > could be out of date. > > Try a "make" before make syncdb. > > > -- > Mailing list: https://launchpad.net/~maas-devel > Post to : maas-devel@lists.launchpad.net > Unsubscribe : https://launchpad.net/~maas-devel > More help : https://help.launchpad.net/ListHelp >
-- Mailing list: https://launchpad.net/~maas-devel Post to : maas-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~maas-devel More help : https://help.launchpad.net/ListHelp