This is a re-post, revised for readability. 0 dev_appserver.py (release: 1.1.2 timestamp:1219264385) appears to mishandle one of my app.yaml handlers. 1 2 See and compare these lines in the sections below: 3 4 index.py: 20 - 21 5 app.yaml: 57 - 63 6 dev_appserver.py log: 108 - 111
* Note the misspellings of "blueprint", etc. * 7 8 Certainly I'll make my own work-around, but is it me or is this a bug? 9 10 - DocDay 11 12 #--------------------------------------------------------# 13 index.py output html: 14 #---------------------------------------------------------# 15 16 <html> 17 <head> 18 <meta http-equiv="Content-Type" content="text/ html;charset=utf-8" > 19 <title>docday-gae-report-20080901-01</title> 20 <link rel="stylesheet" href="/css/blueprint/screen.css" type="text/css" media="screen, projection"> 21 <link rel="stylesheet" href="/css/blueprint/print.css" type="text/css" media="print"> 22 <link rel="stylesheet" href="/static/css/my.css" type="text/css" media="screen, projection"> 23 </head> 24 <body> 25 <p>This is docday-gae-report-20080901-01</p> 26 </body> 27 </html> 28 29 #--------------------------------------------------------# 30 app.yaml: 31 #---------------------------------------------------------# 32 33 application: docday-gae-report-20080901-01 34 version: 0 35 runtime: python 36 api_version: 1 37 38 default_expiration: "1s" 39 40 handlers: 41 42 # 43 # The following match just fine: 44 # 45 46 - url: /static/css 47 static_dir: static/css 48 49 - url: /css/blueprint/print\.css 50 static_files: static/css/blueprint/print.css 51 upload: static/css/blueprint/print\.css 52 53 # 54 # The following matches, but with unexpected results: 55 # 56 57 - url: /css/blueprint 58 static_dir: static/css/blueprint 59 60 # 61 # See dev_appserver.py log lines 108-111 below. 62 # Note that "blueprint" and surrounding words are mangled. 63 # Is it me or is this a bug? 64 # 65 66 - url: /.* 67 script: index.py 68 69 #--------------------------------------------------------# 70 dev_appserver.py log: (release: "1.1.2" timestamp: 1219264385) 71 #--------------------------------------------------------# 72 73 GAE local server is starting in D:\Documents and Settings\Richard\My Documents\ My Websites\docday-gae-report-20080901-01... 74 75 INFO 2008-09-01 09:28:06,328 appcfg.py] Server: appengine.google.com 76 WARNING 2008-09-01 09:28:06,342 datastore_file_stub.py] Could not read datastore data from D:\Documents and Settings\Richard\My Documents\ My Websites\docday-gae-report-20080901-01\Here\ private\dev_appserver\datastore 77 WARNING 2008-09-01 09:28:06,342 datastore_file_stub.py] Could not read datastore data from D:\Documents and Settings\Richard\My Documents\ My Websites\docday-gae-report-20080901-01\Here\ private\dev_appserver\datastore.history 78 WARNING 2008-09-01 09:28:06,405 dev_appserver.py] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named PIL 79 INFO 2008-09-01 09:28:06,437 dev_appserver_main.py] Running application docday-gae-report-20080901-01 on port 8080: http://localhost:8080 80 DEBUG 2008-09-01 09:28:10,828 dev_appserver.py] Matched "/" to CGI dispatcher with path index.py 81 DEBUG 2008-09-01 09:28:10,828 dev_appserver.py] Executing CGI with env: 82 {'APPLICATION_ID': 'docday-gae-report-20080901-01', 83 'AUTH_DOMAIN': 'gmail.com', 84 'CONTENT_LENGTH': '', 85 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 86 'CURRENT_VERSION_ID': '0.1', 87 'GATEWAY_INTERFACE': 'CGI/1.1', 88 'HTTP_ACCEPT': '*/*', 89 'HTTP_ACCEPT_LANGUAGE': 'en-us', 90 'HTTP_HOST': 'localhost:8080', 91 'HTTP_PROXY_CONNECTION': 'Keep-Alive', 92 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)', 93 'PATH_INFO': '/', 94 'PATH_TRANSLATED': 'D:\\Documents and Settings\\Richard\\ My Documents\\My Websites\\docday-gae-report-20080901-01\\ Here\\public\\index.py', 95 'QUERY_STRING': '', 96 'REMOTE_ADDR': '127.0.0.1', 97 'REQUEST_METHOD': 'GET', 98 'SCRIPT_NAME': '', 99 'SERVER_NAME': 'localhost', 100 'SERVER_PORT': '8080', 101 'SERVER_PROTOCOL': 'HTTP/1.0', 102 'SERVER_SOFTWARE': 'Development/1.0', 103 'TZ': 'UTC', 104 'USER_EMAIL': ''} 105 INFO 2008-09-01 09:28:12,312 dev_appserver.py] "GET / HTTP/ 1.0" 200 - 106 INFO 2008-09-01 09:28:12,328 dev_appserver_index.py] Updating D:\Documents and Settings\Richard\ My Documents\My Websites\ docday-gae-report-20080901-01\Here\public\index.yaml 107 108 DEBUG 2008-09-01 09:28:12,421 dev_appserver.py] Matched "/css/blueprint/screen.css" to File dispatcher with path static\cslueprint\screen.css 109 ERROR 2008-09-01 09:28:12,421 dev_appserver.py] Error encountered reading file "D:\Documents and Settings\Richard\My Documents\ My Websites\docday-gae-report-20080901-01\Here\public\ static\cslueprint\screen.css": 110 [Errno 2] No such file or directory: 'D:\\Documents and Settings\\Richard\\My Documents\\ My Websites\\docday-gae-report-20080901-01\\Here\\ public\\static\\css\x08lueprint\\screen.css' 111 INFO 2008-09-01 09:28:12,437 dev_appserver.py] "GET /css/blueprint/screen.css HTTP/1.0" 404 - 112 DEBUG 2008-09-01 09:28:12,437 dev_appserver_index.py] No need to update index.yaml 113 114 DEBUG 2008-09-01 09:28:12,467 dev_appserver.py] Matched "/css/blueprint/print.css" to File dispatcher with path static/css/blueprint/print.css 115 INFO 2008-09-01 09:28:12,483 dev_appserver.py] "GET /css/blueprint/print.css HTTP/1.0" 200 - 116 DEBUG 2008-09-01 09:28:12,483 dev_appserver_index.py] No need to update index.yaml 117 118 DEBUG 2008-09-01 09:28:12,530 dev_appserver.py] Matched "/static/css/my.css" to File dispatcher with path static\css\my.css 119 INFO 2008-09-01 09:28:12,530 dev_appserver.py] "GET /static/css/my.css HTTP/1.0" 200 - 120 DEBUG 2008-09-01 09:28:12,546 dev_appserver_index.py] No need to update index.yaml 121 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---