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* ERROR The 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 <
> [email protected] <javascript:>> 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 [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>.
>> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.