- Works with 2.5 or 2.7 python versions.
- Sometimes python path is not saved, just execute command to set a python path:
defaults write com.google.GoogleAppEngineLauncher Python "YOUR_PATH"
- Application name should be conformed with regex
'^(?:[a-z\d\-]{1,100}\~)?(?:(?!\-)[a-z\d\-\.]{1,100}:)?(?!-)[a-z\d\-]{1,100}$'
This is an example error for a project with capital letters in the name:
*** Running dev_appserver with the following flags --admin_console_server= --port=8088
Python command: /usr/bin/python2.5
This is an example error for a project with capital letters in the name:
*** Running dev_appserver with the following flags --admin_console_server= --port=8088
Python command: /usr/bin/python2.5
WARNING 2012-04-30 11:39:22,839 urlfetch_stub.py:111] No ssl package found. urlfetch
will not be able to validate SSL certificates.
will not be able to validate SSL certificates.
WARNING 2012-04-30 11:39:23,686 rdbms_mysqldb.py:74] The rdbms API is not available
because the MySQLdb library could not be loaded.
because the MySQLdb library could not be loaded.
ERROR 2012-04-30 11:39:24,296 dev_appserver_main.py:580] Fatal error when loading
application configuration:
application configuration:
Unable to assign value 'Test' to attribute 'application':
Value 'Test' for application does not match expression '^(?:[a-z\d\-]{1,100}\~)?(?:(?!\-)[a-z\d\-\.]{1,100}:)?(?!-)[a-z\d\-]{1,100}$'
in "/Users/MYNAME/Test/app.yaml", line 1, column 14
Sample app.yaml
application: simply-should-work
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: .*
script: main.app
libraries:
- name: webapp2
version: "latest"
Sample app.yaml
application: simply-should-work
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: .*
script: main.app
libraries:
- name: webapp2
version: "latest"
0 коммент.:
Post a Comment