Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - Attempted relative import in non-package Zappa with django #260

Closed
fernbach opened this issue Aug 18, 2016 · 3 comments
Closed

Error - Attempted relative import in non-package Zappa with django #260

fernbach opened this issue Aug 18, 2016 · 3 comments

Comments

@fernbach
Copy link

Hi,

I'm trying to deploy a django app using zappa (not zappa-django).
while the app work with runserver, and zappa successfully deploy.

Lambda logs module initialization error: Attempted relative import in non-package

Attached my Zappa setting and django settings

settings.txt
zappa_settings.txt

Thanks.

@Miserlou
Copy link
Owner

You'll need to post the full traceback please.

@fernbach
Copy link
Author

fernbach commented Aug 21, 2016

This is all the output I get from the lambda function.
I've used "log_level": "DEBUG"

[1471765755066] module initialization error: Attempted relative import in non-package
[1471765815221] module initialization error: Attempted relative import in non-package
[1471765836921] module initialization error: Attempted relative import in non-package
[1471765848913] module initialization error: Attempted relative import in non-package
[1471765850298] module initialization error: Attempted relative import in non-package
[1471765887338] module initialization error: Attempted relative import in non-package

@fernbach fernbach reopened this Aug 21, 2016
@Miserlou
Copy link
Owner

..?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants