The logs you printed show that something is missing from your database configuration, but do not show what *is* in the configuration. You might want to insert a print statement into code or into your settings.py to show the full contents.
hth - Tom On Apr 21, 2015, at 8:26 AM, Flavio Barros <[email protected]> wrote: > I saw the comments, but the problem persists. I printed the logs in the last > email. > > > > Flavio Barros > Doutorando, Unicamp > w:www.flaviobarros.net > > Meu Blog Handwritten digit recognition – Part1 > "When i die i would rather be remembered for my accomplishments not my > personality" - Kenneth waters Jr > Get a signature like this: Click here! > > > On Tue, Apr 21, 2015 at 12:17 PM, Tom Lockhart <[email protected]> > wrote: > DATABASES[“default”] is not what you hope it is. > > The tutorial you reference has a comment thread addressing the same issue. > > Can you try printing the contents of DATABASES into a log or something? > > hth > > - Tom > > > On Apr 20, 2015, at 7:59 AM, Flavio Barros <[email protected]> wrote: > >> I'm following this tutorial: >> http://www.benhavilland.com/blog/deploying-mezzanine-on-heroku/#rating-6 >> >> but i'm getting a strange error: >> >> 14:54:39 web.1 | started with pid 14 >> 14:54:40 web.1 | Traceback (most recent call last): >> 14:54:40 web.1 | File "manage.py", line 10, in <module> >> 14:54:40 web.1 | from settings import PROJECT_ROOT, PROJECT_DIRNAME >> 14:54:40 web.1 | File "/app/settings.py", line 424, in <module> >> 14:54:40 web.1 | set_dynamic_settings(globals()) >> 14:54:40 web.1 | File >> "/app/.heroku/python/lib/python2.7/site-packages/mezzanine/utils/conf.py", >> line 222, in set_dynamic_settings >> 14:54:40 web.1 | shortname = db["ENGINE"].split(".")[-1] >> 14:54:40 web.1 | KeyError: u'ENGINE' >> 14:54:40 web.1 | exited with code 1 >> 14:54:40 system | sending SIGTERM to all processes >> >> What is this KeyError:u'Engine' ? >> >> >> >> Flavio Barros >> Doutorando, Unicamp >> w:www.flaviobarros.net >> >> Meu Blog Handwritten digit recognition – Part1 >> "The tragedy of life is not that it ends so soon, but that we wait so long >> to begin it." - W. M. Lewis >> Get a signature like this: Click here! >> >> >> -- >> 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. > > > -- > 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. > > > -- > 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. -- 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.
