Hello Thanks for posting. I followed the instruction to deploy but got this 
error from running "fab deploy":

....

[localhost] local: sh manage.sh collectstatic --noinput
/home/cweng/workspace/env/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:51:
 
UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django 
1.5 requires. Will fall back to the domains configured as sites.
  warn("You haven't defined the ALLOWED_HOSTS settings, which "
/home/cweng/workspace/env/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:59:
 
UserWarning: TIME_ZONE setting is not set, using closest match: 
Asia/Hong_Kong
  warn("TIME_ZONE setting is not set, using closest match: %s" % tz)
ImportError: cannot import name dev_appserver

Fatal error: local() encountered an error (return code 1) while executing 
'sh manage.sh collectstatic --noinput'

Aborting.

*Running "sh manage.sh cloudsyncdb" also gives me the similar import error: 
what gives??*

(webapp)cweng@autotest-ThinkCentre-Edge92 ~/workspace $ > sh manage.sh 
cloudsyncdb
/home/cweng/workspace/env/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:51:
 
UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django 
1.5 requires. Will fall back to the domains configured as sites.
  warn("You haven't defined the ALLOWED_HOSTS settings, which "
/home/cweng/workspace/env/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:59:
 
UserWarning: TIME_ZONE setting is not set, using closest match: 
Asia/Hong_Kong
  warn("TIME_ZONE setting is not set, using closest match: %s" % tz)
Traceback (most recent call last):
  File "webapp/manage.py", line 29, in <module>
    execute_from_command_line(sys.argv)
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/core/management/__init__.py",
 
line 443, in execute_from_command_line
    utility.execute()
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/core/management/__init__.py",
 
line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/core/management/base.py", 
line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/core/management/base.py", 
line 231, in execute
    self.validate()
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/core/management/base.py", 
line 266, in validate
    num_errors = get_validation_errors(s, app)
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/core/management/validation.py",
 
line 30, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/db/models/loading.py", 
line 158, in get_app_errors
    self._populate()
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/db/models/loading.py", 
line 64, in _populate
    self.load_app(app_name, True)
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/db/models/loading.py", 
line 86, in load_app
    app_module = import_module(app_name)
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/utils/importlib.py", 
line 35, in import_module
    __import__(name)
  File 
"/home/cweng/workspace/env/local/lib/python2.7/site-packages/mezzanine/conf/__init__.py",
 
line 195, in <module>
    module = import_module(app)
  File 
"/home/cweng/google_appengine/lib/django-1.4/django/utils/importlib.py", 
line 35, in import_module
    __import__(name)
  File 
"/home/cweng/workspace/env/local/lib/python2.7/site-packages/rocket_engine/__init__.py",
 
line 92, in <module>
    path_appendine_sdk()
  File 
"/home/cweng/workspace/env/local/lib/python2.7/site-packages/rocket_engine/__init__.py",
 
line 66, in path_appendine_sdk
    from google.appengine.tools import dev_appserver
ImportError: cannot import name dev_appserver



-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to