Re: Django setup with elsatic beanstalk
i gave up and create a machine on AWS and deployed everything. it's not that complex, u can find tutorial online . On Sat, Jul 12, 2014 at 1:24 AM, Robwrote: > gmail.com> writes: > > > > > > > I'm having a similar problem - I don't see errors from the > EB console - but django is not loaded I > still get the standard AWS EB page.I have tried editing settings.py > and app.config according to this > tutorial:http://docs.aws.amazon.com/elasticbeanstalk > /latest/dg/create_deploy_Python_django.htmla > nd have tried many variations. If anyone has > gotten this working from a windows machine - I would > appreciate the help.ThxOn Monday, October 8, > 2012 7:22:51 PM UTC+2, shlomi oberman wrote: > > I'm trying without succes to setup a simple > application using django with elastic beanstalk from my > windows machine.Does anyone have any > expreience with this? I am currently getting the following > error from the EB console: "Your > WSGIPath refers to a file that does not exist." > > > > > > > > > > > > > Did you ever solve this problem? I'm experiencing the same thing. > I know the thread is a little old now. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/qzTomPSNK7c/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/loom.20140712T012206-551%40post.gmane.org > . > For more options, visit https://groups.google.com/d/optout. > -- Stefano -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPQ1%3DkB%2B1XxqZeTRLD7NB7QBa6ver3E7uH492vPAovvw74vDOQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Django setup with elsatic beanstalk
gmail.com> writes: > > > I'm having a similar problem - I don't see errors from the EB console - but django is not loaded I still get the standard AWS EB page.I have tried editing settings.py and app.config according to this tutorial:http://docs.aws.amazon.com/elasticbeanstalk /latest/dg/create_deploy_Python_django.htmla nd have tried many variations. If anyone has gotten this working from a windows machine - I would appreciate the help.ThxOn Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: > I'm trying without succes to setup a simple application using django with elastic beanstalk from my windows machine.Does anyone have any expreience with this? I am currently getting the following error from the EB console: "Your WSGIPath refers to a file that does not exist." > > > > > Did you ever solve this problem? I'm experiencing the same thing. I know the thread is a little old now. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/loom.20140712T012206-551%40post.gmane.org. For more options, visit https://groups.google.com/d/optout.
Re: Django setup with elsatic beanstalk
I'm having a similar problem - I don't see errors from the EB console - but django is not loaded I still get the standard AWS EB page. I have tried editing settings.py and app.config according to this tutorial: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_django.html and have tried many variations. If anyone has gotten this working from a windows machine - I would appreciate the help. Thx On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: > > I'm trying without succes to setup a simple application using django with > elastic beanstalk from my windows machine. > Does anyone have any expreience with this? I am currently getting the > following error from the EB console: > "Your WSGIPath refers to a file that does not exist." > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Django setup with elsatic beanstalk
i give up after a while. every time it was a mess. and AWS is free for 12 months. i switched to appfog, which actually runs for you stuff on AWS. quite easy to set up and put code. basically you need the requirements.txt (as for AWS). and change a bit the setting.py ciao On Thu, Nov 29, 2012 at 3:29 AM, David Seeligwrote: > Did the eb update work? I ran into this same issue; seems like when > creating the first instance it works, but the second time are problems: > https://github.com/boto/boto/issues/1087 > > According to that thread, if you delete the WSGIPath line and then create > a new environment, you might have better luck.. > -D > > > On Tuesday, October 30, 2012 7:43:29 AM UTC-7, Stefano Tranquillini wrote: >> >> Well >> i was able to play with it only right now. >> there's a thing i can't understand. what's the application.py? >> i've back this error >> >> >> 2012-10-30 14:28:42,890 [INFO] (26110 MainThread) >> [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output >> from script: 2012-10-30 14:28:42,875 ERRORThe specified WSGIPath of >> "application.py" was not found in the source bundle >> >> >> >> and i don't have any application.py file in my folder . >> this application.py i s specified in the .elasticbeanstalk/optionse** >> ttings >> >> Il giorno mercoledì 24 ottobre 2012 14:06:52 UTC+2, Stefano Tranquillini >> ha scritto: >>> >>> thx. >>> later i try both yr suggestions. i haven;t been notified of the previous >>> reply. >>> thx >>> >>> On Wednesday, October 24, 2012 12:06:13 AM UTC+2, Andrzej Winnicki wrote: Try also to change settings in .elasticbeanstalk/**optionsettings. [aws:elasticbeanstalk:**application:environment] DJANGO_SETTINGS_MODULE = PARAM1 = PARAM2 = PARAM4 = PARAM3 = PARAM5 = [aws:elasticbeanstalk:**container:python] WSGIPath = application.py NumProcesses = 1 StaticFiles = /static= NumThreads = 15 [aws:elasticbeanstalk:**container:python:staticfiles] /static = Then type eb update and trick should work. On Friday, 12 October 2012 11:54:37 UTC+2, Stefano Tranquillini wrote: > > Mmm. seems that i missing something. > > this is the log > > 2012-10-12 09:36:51,352 [INFO] (24716 MainThread) > [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output > from script: 2012-10-12 09:36:51,331* ERRORThe specified WSGIPath > of "application.py" was not found in the source bundle* > > 2012-10-12 09:36:51,353 [INFO] (24716 MainThread) > [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script > succeeded. > 2012-10-12 09:36:51,443 [INFO] (24641 MainThread) [command.py-126] > [root command execute] Command returned: (code: 0, stdout: , stderr: None) > 2012-10-12 09:36:51,449 [INFO] (24641 MainThread) [command.py-118] > [root command execute] Executing command: Infra-EmbeddedPostBuild - > AWSEBAutoScalingGroup > 2012-10-12 09:36:52,621 [INFO] (24641 MainThread) [command.py-126] > [root command execute] Command returned: (code: 1, stdout: Error occurred > during build: Command 01_syncdb failed > , stderr: None) > 2012-10-12 09:36:52,623 [DEBUG] (24641 MainThread) > [commandWrapper.py-60] [root commandWrapper main] Command result: > {'status': 'FAILURE', 'results': [{'status': 'SUCCESS', 'config_set': > u'Hook-PreAppDeploy', 'events': [*{'msg': 'Your WSGIPath refers to a > file that does not exist.', 'timestamp': 1350034611, 'severity': 'ERROR'}] > *}, {'status': 'FAILURE', 'config_set': u'Infra-EmbeddedPostBuild', > 'returncode': 1, 'events': [], 'msg': 'Error occurred during build: > Command > 01_syncdb failed\n'}], 'api_version': '1.0'} > > what's is this application.py (it's not mentioned in the tutorial) ? > idea about the WSGIPath? > > this is the directory tree: > > . > |.ebextensions > | |config > |.elasticbeanstalk > | |config > | |optionsettings > |manage.py > |mysites > | |.DS_Store > | |__init__.py > | |__init__.pyc > | |settings.py > | |settings.pyc > | |urls.py > | |urls.pyc > | |wsgi.py > | |wsgi.pyc > |requirements.txt > > > > two things. tutorial says that config file should be .config . it > sounds strange. > is it correct? > where the requirements.txt should be located? > > > > On Thu, Oct 11, 2012 at 6:47 PM, Stefano Tranquillini < > stefano.tr...@gmail.com> wrote: > >> same problem, did you solve it? >> >> >> On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: >>> >>> I'm trying without succes to setup a simple application using django >>> with elastic beanstalk from my windows
Re: Django setup with elsatic beanstalk
Did the eb update work? I ran into this same issue; seems like when creating the first instance it works, but the second time are problems: https://github.com/boto/boto/issues/1087 According to that thread, if you delete the WSGIPath line and then create a new environment, you might have better luck.. -D On Tuesday, October 30, 2012 7:43:29 AM UTC-7, Stefano Tranquillini wrote: > > Well > i was able to play with it only right now. > there's a thing i can't understand. what's the application.py? > i've back this error > > 2012-10-30 14:28:42,890 [INFO] (26110 MainThread) > [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from > script: 2012-10-30 14:28:42,875 ERRORThe specified WSGIPath of > "application.py" was not found in the source bundle > > > > and i don't have any application.py file in my folder . > this application.py i s specified in the .elasticbeanstalk/optionsettings > > Il giorno mercoledì 24 ottobre 2012 14:06:52 UTC+2, Stefano Tranquillini > ha scritto: >> >> thx. >> later i try both yr suggestions. i haven;t been notified of the previous >> reply. >> thx >> >> On Wednesday, October 24, 2012 12:06:13 AM UTC+2, Andrzej Winnicki wrote: >>> >>> Try also to change settings in .elasticbeanstalk/optionsettings. >>> >>> >>> [aws:elasticbeanstalk:application:environment] >>> DJANGO_SETTINGS_MODULE = >>> PARAM1 = >>> PARAM2 = >>> PARAM4 = >>> PARAM3 = >>> PARAM5 = >>> >>> [aws:elasticbeanstalk:container:python] >>> WSGIPath = application.py >>> NumProcesses = 1 >>> StaticFiles = /static= >>> NumThreads = 15 >>> >>> [aws:elasticbeanstalk:container:python:staticfiles] >>> /static = >>> >>> >>> Then type eb update and trick should work. >>> >>> >>> On Friday, 12 October 2012 11:54:37 UTC+2, Stefano Tranquillini wrote: Mmm. seems that i missing something. this is the log 2012-10-12 09:36:51,352 [INFO] (24716 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script: 2012-10-12 09:36:51,331* ERRORThe specified WSGIPath of "application.py" was not found in the source bundle* 2012-10-12 09:36:51,353 [INFO] (24716 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded. 2012-10-12 09:36:51,443 [INFO] (24641 MainThread) [command.py-126] [root command execute] Command returned: (code: 0, stdout: , stderr: None) 2012-10-12 09:36:51,449 [INFO] (24641 MainThread) [command.py-118] [root command execute] Executing command: Infra-EmbeddedPostBuild - AWSEBAutoScalingGroup 2012-10-12 09:36:52,621 [INFO] (24641 MainThread) [command.py-126] [root command execute] Command returned: (code: 1, stdout: Error occurred during build: Command 01_syncdb failed , stderr: None) 2012-10-12 09:36:52,623 [DEBUG] (24641 MainThread) [commandWrapper.py-60] [root commandWrapper main] Command result: {'status': 'FAILURE', 'results': [{'status': 'SUCCESS', 'config_set': u'Hook-PreAppDeploy', 'events': [*{'msg': 'Your WSGIPath refers to a file that does not exist.', 'timestamp': 1350034611, 'severity': 'ERROR'}] *}, {'status': 'FAILURE', 'config_set': u'Infra-EmbeddedPostBuild', 'returncode': 1, 'events': [], 'msg': 'Error occurred during build: Command 01_syncdb failed\n'}], 'api_version': '1.0'} what's is this application.py (it's not mentioned in the tutorial) ? idea about the WSGIPath? this is the directory tree: . |.ebextensions | |config |.elasticbeanstalk | |config | |optionsettings |manage.py |mysites | |.DS_Store | |__init__.py | |__init__.pyc | |settings.py | |settings.pyc | |urls.py | |urls.pyc | |wsgi.py | |wsgi.pyc |requirements.txt two things. tutorial says that config file should be .config . it sounds strange. is it correct? where the requirements.txt should be located? On Thu, Oct 11, 2012 at 6:47 PM, Stefano Tranquillini < stefano.tr...@gmail.com> wrote: > same problem, did you solve it? > > > On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: >> >> I'm trying without succes to setup a simple application using django >> with elastic beanstalk from my windows machine. >> Does anyone have any expreience with this? I am currently getting the >> following error from the EB console: >> "Your WSGIPath refers to a file that does not exist." >> >> -- > You received this message because you are subscribed to the Google > Groups "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/WiWZ2EApeWUJ. > > To post to this group, send email
Re: Django setup with elsatic beanstalk
Well i was able to play with it only right now. there's a thing i can't understand. what's the application.py? i've back this error 2012-10-30 14:28:42,890 [INFO] (26110 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script: 2012-10-30 14:28:42,875 ERRORThe specified WSGIPath of "application.py" was not found in the source bundle and i don't have any application.py file in my folder . this application.py i s specified in the .elasticbeanstalk/optionsettings Il giorno mercoledì 24 ottobre 2012 14:06:52 UTC+2, Stefano Tranquillini ha scritto: > > thx. > later i try both yr suggestions. i haven;t been notified of the previous > reply. > thx > > On Wednesday, October 24, 2012 12:06:13 AM UTC+2, Andrzej Winnicki wrote: >> >> Try also to change settings in .elasticbeanstalk/optionsettings. >> >> >> [aws:elasticbeanstalk:application:environment] >> DJANGO_SETTINGS_MODULE = >> PARAM1 = >> PARAM2 = >> PARAM4 = >> PARAM3 = >> PARAM5 = >> >> [aws:elasticbeanstalk:container:python] >> WSGIPath = application.py >> NumProcesses = 1 >> StaticFiles = /static= >> NumThreads = 15 >> >> [aws:elasticbeanstalk:container:python:staticfiles] >> /static = >> >> >> Then type eb update and trick should work. >> >> >> On Friday, 12 October 2012 11:54:37 UTC+2, Stefano Tranquillini wrote: >>> >>> Mmm. seems that i missing something. >>> >>> this is the log >>> >>> 2012-10-12 09:36:51,352 [INFO] (24716 MainThread) >>> [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output >>> from script: 2012-10-12 09:36:51,331* ERRORThe specified WSGIPath >>> of "application.py" was not found in the source bundle* >>> >>> 2012-10-12 09:36:51,353 [INFO] (24716 MainThread) >>> [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script >>> succeeded. >>> 2012-10-12 09:36:51,443 [INFO] (24641 MainThread) [command.py-126] [root >>> command execute] Command returned: (code: 0, stdout: , stderr: None) >>> 2012-10-12 09:36:51,449 [INFO] (24641 MainThread) [command.py-118] [root >>> command execute] Executing command: Infra-EmbeddedPostBuild - >>> AWSEBAutoScalingGroup >>> 2012-10-12 09:36:52,621 [INFO] (24641 MainThread) [command.py-126] [root >>> command execute] Command returned: (code: 1, stdout: Error occurred during >>> build: Command 01_syncdb failed >>> , stderr: None) >>> 2012-10-12 09:36:52,623 [DEBUG] (24641 MainThread) >>> [commandWrapper.py-60] [root commandWrapper main] Command result: >>> {'status': 'FAILURE', 'results': [{'status': 'SUCCESS', 'config_set': >>> u'Hook-PreAppDeploy', 'events': [*{'msg': 'Your WSGIPath refers to a >>> file that does not exist.', 'timestamp': 1350034611, 'severity': 'ERROR'}] >>> *}, {'status': 'FAILURE', 'config_set': u'Infra-EmbeddedPostBuild', >>> 'returncode': 1, 'events': [], 'msg': 'Error occurred during build: Command >>> 01_syncdb failed\n'}], 'api_version': '1.0'} >>> >>> what's is this application.py (it's not mentioned in the tutorial) ? >>> idea about the WSGIPath? >>> >>> this is the directory tree: >>> >>> . >>> |.ebextensions >>> | |config >>> |.elasticbeanstalk >>> | |config >>> | |optionsettings >>> |manage.py >>> |mysites >>> | |.DS_Store >>> | |__init__.py >>> | |__init__.pyc >>> | |settings.py >>> | |settings.pyc >>> | |urls.py >>> | |urls.pyc >>> | |wsgi.py >>> | |wsgi.pyc >>> |requirements.txt >>> >>> >>> >>> two things. tutorial says that config file should be .config . it sounds >>> strange. >>> is it correct? >>> where the requirements.txt should be located? >>> >>> >>> >>> On Thu, Oct 11, 2012 at 6:47 PM, Stefano Tranquillini < >>> stefano.tr...@gmail.com> wrote: >>> same problem, did you solve it? On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: > > I'm trying without succes to setup a simple application using django > with elastic beanstalk from my windows machine. > Does anyone have any expreience with this? I am currently getting the > following error from the EB console: > "Your WSGIPath refers to a file that does not exist." > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/WiWZ2EApeWUJ. To post to this group, send email to django...@googlegroups.com. To unsubscribe from this group, send email to django-users...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. >>> >>> >>> >>> -- >>> Stefano >>> >> -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/6JaBPH_feDYJ. To post to this group, send email to django-users@googlegroups.com.
Re: Django setup with elsatic beanstalk
thx. later i try both yr suggestions. i haven;t been notified of the previous reply. thx On Wednesday, October 24, 2012 12:06:13 AM UTC+2, Andrzej Winnicki wrote: > > Try also to change settings in .elasticbeanstalk/optionsettings. > > > [aws:elasticbeanstalk:application:environment] > DJANGO_SETTINGS_MODULE = > PARAM1 = > PARAM2 = > PARAM4 = > PARAM3 = > PARAM5 = > > [aws:elasticbeanstalk:container:python] > WSGIPath = application.py > NumProcesses = 1 > StaticFiles = /static= > NumThreads = 15 > > [aws:elasticbeanstalk:container:python:staticfiles] > /static = > > > Then type eb update and trick should work. > > > On Friday, 12 October 2012 11:54:37 UTC+2, Stefano Tranquillini wrote: >> >> Mmm. seems that i missing something. >> >> this is the log >> >> 2012-10-12 09:36:51,352 [INFO] (24716 MainThread) >> [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output >> from script: 2012-10-12 09:36:51,331* ERRORThe specified WSGIPath of >> "application.py" was not found in the source bundle* >> >> 2012-10-12 09:36:51,353 [INFO] (24716 MainThread) >> [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script >> succeeded. >> 2012-10-12 09:36:51,443 [INFO] (24641 MainThread) [command.py-126] [root >> command execute] Command returned: (code: 0, stdout: , stderr: None) >> 2012-10-12 09:36:51,449 [INFO] (24641 MainThread) [command.py-118] [root >> command execute] Executing command: Infra-EmbeddedPostBuild - >> AWSEBAutoScalingGroup >> 2012-10-12 09:36:52,621 [INFO] (24641 MainThread) [command.py-126] [root >> command execute] Command returned: (code: 1, stdout: Error occurred during >> build: Command 01_syncdb failed >> , stderr: None) >> 2012-10-12 09:36:52,623 [DEBUG] (24641 MainThread) [commandWrapper.py-60] >> [root commandWrapper main] Command result: {'status': 'FAILURE', 'results': >> [{'status': 'SUCCESS', 'config_set': u'Hook-PreAppDeploy', 'events': >> [*{'msg': >> 'Your WSGIPath refers to a file that does not exist.', 'timestamp': >> 1350034611, 'severity': 'ERROR'}]*}, {'status': 'FAILURE', 'config_set': >> u'Infra-EmbeddedPostBuild', 'returncode': 1, 'events': [], 'msg': 'Error >> occurred during build: Command 01_syncdb failed\n'}], 'api_version': '1.0'} >> >> what's is this application.py (it's not mentioned in the tutorial) ? idea >> about the WSGIPath? >> >> this is the directory tree: >> >> . >> |.ebextensions >> | |config >> |.elasticbeanstalk >> | |config >> | |optionsettings >> |manage.py >> |mysites >> | |.DS_Store >> | |__init__.py >> | |__init__.pyc >> | |settings.py >> | |settings.pyc >> | |urls.py >> | |urls.pyc >> | |wsgi.py >> | |wsgi.pyc >> |requirements.txt >> >> >> >> two things. tutorial says that config file should be .config . it sounds >> strange. >> is it correct? >> where the requirements.txt should be located? >> >> >> >> On Thu, Oct 11, 2012 at 6:47 PM, Stefano Tranquillini < >> stefano.tr...@gmail.com> wrote: >> >>> same problem, did you solve it? >>> >>> >>> On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: I'm trying without succes to setup a simple application using django with elastic beanstalk from my windows machine. Does anyone have any expreience with this? I am currently getting the following error from the EB console: "Your WSGIPath refers to a file that does not exist." -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/django-users/-/WiWZ2EApeWUJ. >>> >>> To post to this group, send email to django...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> django-users...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/django-users?hl=en. >>> >> >> >> >> -- >> Stefano >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/CrszrQwUHzAJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django setup with elsatic beanstalk
Try with python.config instead of simple .config file (this is just an file extension, not file name). Requirements.txt should be at 'top-level directory of your source bundle'. More info here: http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/create_deploy_Python_custom_container.html On Friday, 12 October 2012 11:54:37 UTC+2, Stefano Tranquillini wrote: > > Mmm. seems that i missing something. > > this is the log > > 2012-10-12 09:36:51,352 [INFO] (24716 MainThread) > [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output > from script: 2012-10-12 09:36:51,331* ERRORThe specified WSGIPath of > "application.py" was not found in the source bundle* > > 2012-10-12 09:36:51,353 [INFO] (24716 MainThread) > [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script > succeeded. > 2012-10-12 09:36:51,443 [INFO] (24641 MainThread) [command.py-126] [root > command execute] Command returned: (code: 0, stdout: , stderr: None) > 2012-10-12 09:36:51,449 [INFO] (24641 MainThread) [command.py-118] [root > command execute] Executing command: Infra-EmbeddedPostBuild - > AWSEBAutoScalingGroup > 2012-10-12 09:36:52,621 [INFO] (24641 MainThread) [command.py-126] [root > command execute] Command returned: (code: 1, stdout: Error occurred during > build: Command 01_syncdb failed > , stderr: None) > 2012-10-12 09:36:52,623 [DEBUG] (24641 MainThread) [commandWrapper.py-60] > [root commandWrapper main] Command result: {'status': 'FAILURE', 'results': > [{'status': 'SUCCESS', 'config_set': u'Hook-PreAppDeploy', 'events': > [*{'msg': > 'Your WSGIPath refers to a file that does not exist.', 'timestamp': > 1350034611, 'severity': 'ERROR'}]*}, {'status': 'FAILURE', 'config_set': > u'Infra-EmbeddedPostBuild', 'returncode': 1, 'events': [], 'msg': 'Error > occurred during build: Command 01_syncdb failed\n'}], 'api_version': '1.0'} > > what's is this application.py (it's not mentioned in the tutorial) ? idea > about the WSGIPath? > > this is the directory tree: > > . > |.ebextensions > | |config > |.elasticbeanstalk > | |config > | |optionsettings > |manage.py > |mysites > | |.DS_Store > | |__init__.py > | |__init__.pyc > | |settings.py > | |settings.pyc > | |urls.py > | |urls.pyc > | |wsgi.py > | |wsgi.pyc > |requirements.txt > > > > two things. tutorial says that config file should be .config . it sounds > strange. > is it correct? > where the requirements.txt should be located? > > > > On Thu, Oct 11, 2012 at 6:47 PM, Stefano Tranquillini < > stefano.tr...@gmail.com > wrote: > >> same problem, did you solve it? >> >> >> On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: >>> >>> I'm trying without succes to setup a simple application using django >>> with elastic beanstalk from my windows machine. >>> Does anyone have any expreience with this? I am currently getting the >>> following error from the EB console: >>> "Your WSGIPath refers to a file that does not exist." >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/WiWZ2EApeWUJ. >> >> To post to this group, send email to django...@googlegroups.com >> . >> To unsubscribe from this group, send email to >> django-users...@googlegroups.com . >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > > > -- > Stefano > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Qmf9OrOrtxsJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django setup with elsatic beanstalk
Try also to change settings in .elasticbeanstalk/optionsettings. [aws:elasticbeanstalk:application:environment] DJANGO_SETTINGS_MODULE = PARAM1 = PARAM2 = PARAM4 = PARAM3 = PARAM5 = [aws:elasticbeanstalk:container:python] WSGIPath = application.py NumProcesses = 1 StaticFiles = /static= NumThreads = 15 [aws:elasticbeanstalk:container:python:staticfiles] /static = Then type eb update and trick should work. On Friday, 12 October 2012 11:54:37 UTC+2, Stefano Tranquillini wrote: > > Mmm. seems that i missing something. > > this is the log > > 2012-10-12 09:36:51,352 [INFO] (24716 MainThread) > [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output > from script: 2012-10-12 09:36:51,331* ERRORThe specified WSGIPath of > "application.py" was not found in the source bundle* > > 2012-10-12 09:36:51,353 [INFO] (24716 MainThread) > [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script > succeeded. > 2012-10-12 09:36:51,443 [INFO] (24641 MainThread) [command.py-126] [root > command execute] Command returned: (code: 0, stdout: , stderr: None) > 2012-10-12 09:36:51,449 [INFO] (24641 MainThread) [command.py-118] [root > command execute] Executing command: Infra-EmbeddedPostBuild - > AWSEBAutoScalingGroup > 2012-10-12 09:36:52,621 [INFO] (24641 MainThread) [command.py-126] [root > command execute] Command returned: (code: 1, stdout: Error occurred during > build: Command 01_syncdb failed > , stderr: None) > 2012-10-12 09:36:52,623 [DEBUG] (24641 MainThread) [commandWrapper.py-60] > [root commandWrapper main] Command result: {'status': 'FAILURE', 'results': > [{'status': 'SUCCESS', 'config_set': u'Hook-PreAppDeploy', 'events': > [*{'msg': > 'Your WSGIPath refers to a file that does not exist.', 'timestamp': > 1350034611, 'severity': 'ERROR'}]*}, {'status': 'FAILURE', 'config_set': > u'Infra-EmbeddedPostBuild', 'returncode': 1, 'events': [], 'msg': 'Error > occurred during build: Command 01_syncdb failed\n'}], 'api_version': '1.0'} > > what's is this application.py (it's not mentioned in the tutorial) ? idea > about the WSGIPath? > > this is the directory tree: > > . > |.ebextensions > | |config > |.elasticbeanstalk > | |config > | |optionsettings > |manage.py > |mysites > | |.DS_Store > | |__init__.py > | |__init__.pyc > | |settings.py > | |settings.pyc > | |urls.py > | |urls.pyc > | |wsgi.py > | |wsgi.pyc > |requirements.txt > > > > two things. tutorial says that config file should be .config . it sounds > strange. > is it correct? > where the requirements.txt should be located? > > > > On Thu, Oct 11, 2012 at 6:47 PM, Stefano Tranquillini < > stefano.tr...@gmail.com > wrote: > >> same problem, did you solve it? >> >> >> On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: >>> >>> I'm trying without succes to setup a simple application using django >>> with elastic beanstalk from my windows machine. >>> Does anyone have any expreience with this? I am currently getting the >>> following error from the EB console: >>> "Your WSGIPath refers to a file that does not exist." >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/WiWZ2EApeWUJ. >> >> To post to this group, send email to django...@googlegroups.com >> . >> To unsubscribe from this group, send email to >> django-users...@googlegroups.com . >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > > > -- > Stefano > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/pucwiubVwFEJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django setup with elsatic beanstalk
Mmm. seems that i missing something. this is the log 2012-10-12 09:36:51,352 [INFO] (24716 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Output from script: 2012-10-12 09:36:51,331* ERRORThe specified WSGIPath of "application.py" was not found in the source bundle* 2012-10-12 09:36:51,353 [INFO] (24716 MainThread) [directoryHooksExecutor.py-28] [root directoryHooksExecutor info] Script succeeded. 2012-10-12 09:36:51,443 [INFO] (24641 MainThread) [command.py-126] [root command execute] Command returned: (code: 0, stdout: , stderr: None) 2012-10-12 09:36:51,449 [INFO] (24641 MainThread) [command.py-118] [root command execute] Executing command: Infra-EmbeddedPostBuild - AWSEBAutoScalingGroup 2012-10-12 09:36:52,621 [INFO] (24641 MainThread) [command.py-126] [root command execute] Command returned: (code: 1, stdout: Error occurred during build: Command 01_syncdb failed , stderr: None) 2012-10-12 09:36:52,623 [DEBUG] (24641 MainThread) [commandWrapper.py-60] [root commandWrapper main] Command result: {'status': 'FAILURE', 'results': [{'status': 'SUCCESS', 'config_set': u'Hook-PreAppDeploy', 'events': [*{'msg': 'Your WSGIPath refers to a file that does not exist.', 'timestamp': 1350034611, 'severity': 'ERROR'}]*}, {'status': 'FAILURE', 'config_set': u'Infra-EmbeddedPostBuild', 'returncode': 1, 'events': [], 'msg': 'Error occurred during build: Command 01_syncdb failed\n'}], 'api_version': '1.0'} what's is this application.py (it's not mentioned in the tutorial) ? idea about the WSGIPath? this is the directory tree: . |.ebextensions | |config |.elasticbeanstalk | |config | |optionsettings |manage.py |mysites | |.DS_Store | |__init__.py | |__init__.pyc | |settings.py | |settings.pyc | |urls.py | |urls.pyc | |wsgi.py | |wsgi.pyc |requirements.txt two things. tutorial says that config file should be .config . it sounds strange. is it correct? where the requirements.txt should be located? On Thu, Oct 11, 2012 at 6:47 PM, Stefano Tranquillini < stefano.tranquill...@gmail.com> wrote: > same problem, did you solve it? > > > On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: >> >> I'm trying without succes to setup a simple application using django with >> elastic beanstalk from my windows machine. >> Does anyone have any expreience with this? I am currently getting the >> following error from the EB console: >> "Your WSGIPath refers to a file that does not exist." >> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/WiWZ2EApeWUJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Stefano -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django setup with elsatic beanstalk
same problem, did you solve it? On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote: > > I'm trying without succes to setup a simple application using django with > elastic beanstalk from my windows machine. > Does anyone have any expreience with this? I am currently getting the > following error from the EB console: > "Your WSGIPath refers to a file that does not exist." > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/WiWZ2EApeWUJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django setup with elsatic beanstalk
If you name your top-level wsgi file to "application.py", does it do any better? -seth On Monday, October 8, 2012 10:22:51 AM UTC-7, shlomi oberman wrote: > > I'm trying without succes to setup a simple application using django with > elastic beanstalk from my windows machine. > Does anyone have any expreience with this? I am currently getting the > following error from the EB console: > "Your WSGIPath refers to a file that does not exist." > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/USBE7D0SkkgJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Django setup with elsatic beanstalk
I'm trying without succes to setup a simple application using django with elastic beanstalk from my windows machine. Does anyone have any expreience with this? I am currently getting the following error from the EB console: "Your WSGIPath refers to a file that does not exist." -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/84Ye3UmF6LgJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.