Example of a Mezzanine project.
mezzanine-example's Introduction
mezzanine-example's People
Forkers
qiong arglucas fpp shankardevy doctorwidget rogerscuall jeffbyrd-fathom simodalla coolcloud jyore veziak turtlecoder ezlee wilcus cutmail prvn16 mugabits evenstine shishujuan rachmatowicz vinisbad blancheta soniafernandez b1u3c1ph3r cmaloun enterstudio tyouno1 tholep ww1998 ilovelili minsok-che thegippygeek knight76 kykkk scastellanosm zhuzhidong q-uest thesanedenis caqp13 tangxr heunsig bmitesh1 devaspitmezzanine-example's Issues
ImportError: No module named utils
Hi, I'm following the example of the chapter 6 of the ansible-up-and-running book and I got an error in the task sync the database, apply migrations, collect static content
.
I tried ssh into the vagrant machine and execute the command by myself and this is what i got:
(mezzanine-example)vagrant@vagrant-ubuntu-trusty-64:~/mezzanine-example/project$ ./manage.py syncdb --noinput
Traceback (most recent call last):
File "./manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/core/management/base.py", line 284, in execute
self.validate()
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/core/management/base.py", line 310, in validate
num_errors = get_validation_errors(s, app)
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/core/management/validation.py", line 34, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/db/models/loading.py", line 196, in get_app_errors
self._populate()
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/db/models/loading.py", line 78, in _populate
self.load_app(app_name)
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/db/models/loading.py", line 99, in load_app
models = import_module('%s.models' % app_name)
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/compressor/models.py", line 1, in <module>
from compressor.conf import CompressorConf # noqa
File "/home/vagrant/mezzanine-example/local/lib/python2.7/site-packages/compressor/conf.py", line 5, in <module>
from django.template.utils import InvalidTemplateEngineError
ImportError: No module named utils
Can you give me some support to fix this?
postgresql_user error when ran ch06 case in the ansible-up-and running book
Hi: Lorin
I have been learning your book ansible-up-and-running. And tried the case in the ch06.
But in my enviroment , the task "create a user" is fail.
The ansible showes the error:
fatal: [web]: FAILED! => {"changed": false, "failed": true, "invocation": {"mo dule_args": {"db": "", "encrypted": false, "expires": null, "fail_on_user": tr ue, "login_host": "", "login_password": "", "login_unix_socket": "", "login_us er": "postgres", "name": "mezzanine-example", "no_password_changes": false, "p assword": "e79c9761d0b54698a83ff3f93769e309", "port": "5432", "priv": null, "r ole_attr_flags": "", "state": "present", "user": "mezzanine-example"}, "module _name": "postgresql_user"}, "msg": "unable to connect to database: could not c onnect to server: No such file or directory\n\tIs the server running locally a nd accepting\n\tconnections on Unix domain socket "/var/run/postgresql/.s.PGS QL.5432"?\n"}
can you give some hints on how to solve this issue?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.