· 8 years ago · Aug 06, 2018, 10:18 PM
1
2<body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> -->
3<body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> -->
4</font> </font> </font> </script> </object> </blockquote> </pre>
5</table> </table> </table> </table> </table> </font> </font> </font><body bgcolor="#f0f0f8">
6<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
7<tr bgcolor="#6622aa">
8<td valign=bottom> <br>
9<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><class 'google.appengine.api.datastore_errors.BadRequestError'></strong></big></big></font></td
10><td align=right valign=bottom
11><font color="#ffffff" face="helvetica, arial">Python 2.7.2: C:\Python27\python.exe<br>Tue May 08 00:32:03 2012</font></td></tr></table>
12
13<p>A problem occurred in a Python script. Here is the sequence of
14function calls leading up to the error, in the order they occurred.</p>
15<table width="100%" cellspacing=0 cellpadding=0 border=0>
16<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py</a> in <strong>_HandleRequest</strong>(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance>)</td></tr>
17<tr><td><font color="#909090"><tt> <small> 2779</small> outfile = cStringIO.StringIO()<br>
18</tt></font></td></tr>
19<tr><td><font color="#909090"><tt> <small> 2780</small> try:<br>
20</tt></font></td></tr>
21<tr><td bgcolor="#ffccee"><tt>=><small> 2781</small> self._Dispatch(dispatcher, self.rfile, outfile, env_dict)<br>
22</tt></td></tr>
23<tr><td><font color="#909090"><tt> <small> 2782</small> finally:<br>
24</tt></font></td></tr>
25<tr><td><font color="#909090"><tt> <small> 2783</small> self.module_manager.UpdateModuleFileModificationTimes()<br>
26</tt></font></td></tr>
27<tr><td><small><font color="#909090"><strong>self</strong> = <google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance>, self.<strong>_Dispatch</strong> = <bound method DevAppServerRequestHandler._Dispat...v_appserver.DevAppServerRequestHandler instance>>, <strong>dispatcher</strong> = <google.appengine.tools.dev_appserver.MatcherDispatcher object>, self.<strong>rfile</strong> = <socket._fileobject object>, <strong>outfile</strong> = <cStringIO.StringO object>, <strong>env_dict</strong> = {'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_ID_HASH': '7D7116E2', 'REQUEST_METHOD': 'POST', 'SDK_VERSION': '1.6.5', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', ...}</font></small></td></tr></table>
28<table width="100%" cellspacing=0 cellpadding=0 border=0>
29<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py</a> in <strong>_Dispatch</strong>(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance>, dispatcher=<google.appengine.tools.dev_appserver.MatcherDispatcher object>, socket_infile=<socket._fileobject object>, outfile=<cStringIO.StringO object>, env_dict={'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_ID_HASH': '7D7116E2', 'REQUEST_METHOD': 'POST', 'SDK_VERSION': '1.6.5', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', ...})</td></tr>
30<tr><td><font color="#909090"><tt> <small> 2667</small> dispatcher.Dispatch(app_server_request,<br>
31</tt></font></td></tr>
32<tr><td><font color="#909090"><tt> <small> 2668</small> outfile,<br>
33</tt></font></td></tr>
34<tr><td bgcolor="#ffccee"><tt>=><small> 2669</small> base_env_dict=env_dict)<br>
35</tt></td></tr>
36<tr><td><font color="#909090"><tt> <small> 2670</small> finally:<br>
37</tt></font></td></tr>
38<tr><td><font color="#909090"><tt> <small> 2671</small> request_file.close()<br>
39</tt></font></td></tr>
40<tr><td><small><font color="#909090">base_env_dict <em>undefined</em>, <strong>env_dict</strong> = {'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_ID_HASH': '7D7116E2', 'REQUEST_METHOD': 'POST', 'SDK_VERSION': '1.6.5', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', ...}</font></small></td></tr></table>
41<table width="100%" cellspacing=0 cellpadding=0 border=0>
42<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py</a> in <strong>Dispatch</strong>(self=<google.appengine.tools.dev_appserver.MatcherDispatcher object>, request=<AppServerRequest relative_url: / path: hellowor...e 'rb' at 0x0000000005D39B70> force_admin: False>, outfile=<cStringIO.StringO object>, base_env_dict={'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_ID_HASH': '7D7116E2', 'REQUEST_METHOD': 'POST', 'SDK_VERSION': '1.6.5', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', ...})</td></tr>
43<tr><td><font color="#909090"><tt> <small> 690</small> forward_request = dispatcher.Dispatch(request,<br>
44</tt></font></td></tr>
45<tr><td><font color="#909090"><tt> <small> 691</small> outfile,<br>
46</tt></font></td></tr>
47<tr><td bgcolor="#ffccee"><tt>=><small> 692</small> base_env_dict=base_env_dict)<br>
48</tt></td></tr>
49<tr><td><font color="#909090"><tt> <small> 693</small> <br>
50</tt></font></td></tr>
51<tr><td><font color="#909090"><tt> <small> 694</small> if forward_request:<br>
52</tt></font></td></tr>
53<tr><td><small><font color="#909090"><strong>base_env_dict</strong> = {'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_ID_HASH': '7D7116E2', 'REQUEST_METHOD': 'POST', 'SDK_VERSION': '1.6.5', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', ...}</font></small></td></tr></table>
54<table width="100%" cellspacing=0 cellpadding=0 border=0>
55<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py</a> in <strong>Dispatch</strong>(self=<google.appengine.tools.dev_appserver.CGIDispatcher object>, request=<AppServerRequest relative_url: / path: hellowor...e 'rb' at 0x0000000005D39B70> force_admin: False>, outfile=<cStringIO.StringO object>, base_env_dict={'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_ID_HASH': '7D7116E2', 'REQUEST_METHOD': 'POST', 'SDK_VERSION': '1.6.5', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL': 'HTTP/1.0', ...})</td></tr>
56<tr><td><font color="#909090"><tt> <small> 1729</small> memory_file,<br>
57</tt></font></td></tr>
58<tr><td><font color="#909090"><tt> <small> 1730</small> outfile,<br>
59</tt></font></td></tr>
60<tr><td bgcolor="#ffccee"><tt>=><small> 1731</small> self._module_dict)<br>
61</tt></td></tr>
62<tr><td><font color="#909090"><tt> <small> 1732</small> finally:<br>
63</tt></font></td></tr>
64<tr><td><font color="#909090"><tt> <small> 1733</small> logging.root.level = before_level<br>
65</tt></font></td></tr>
66<tr><td><small><font color="#909090"><strong>self</strong> = <google.appengine.tools.dev_appserver.CGIDispatcher object>, self.<strong>_module_dict</strong> = {'Cookie': <module 'Cookie' from 'C:\Python27\lib\Cookie.pyc'>, 'StringIO': <module 'StringIO' from 'C:\Python27\lib\StringIO.pyc'>, 'UserDict': <module 'UserDict' from 'C:\Python27\lib\UserDict.pyc'>, '__builtin__': <module '__builtin__' (built-in)>, '__future__': <module '__future__' from 'C:\Python27\lib\__future__.pyc'>, '__main__': <module 'helloworld' from 'C:\Users\thinkpad20\workspace\poooop\src\helloworld.py'>, '_abcoll': <module '_abcoll' from 'C:\Python27\lib\_abcoll.pyc'>, '_bisect': <module '_bisect' (built-in)>, '_collections': <module '_collections' (built-in)>, '_functools': <module '_functools' (built-in)>, ...}</font></small></td></tr></table>
67<table width="100%" cellspacing=0 cellpadding=0 border=0>
68<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py</a> in <strong>ExecuteCGI</strong>(config=<AppInfoExternal
69 error_handlers=None
70 b...one
71 api_version=1
72 api_config=None
73 >, root_path=r'C:\Users\thinkpad20\workspace\poooop\src', handler_path='helloworld.py', cgi_path=r'C:\Users\thinkpad20\workspace\poooop\src\helloworld.py', env={'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '24', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CURRENT_VERSION_ID': '1.1', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', ...}, infile=<cStringIO.StringO object>, outfile=<cStringIO.StringO object>, module_dict={'Cookie': <module 'Cookie' from 'C:\Python27\lib\Cookie.pyc'>, 'StringIO': <module 'StringIO' from 'C:\Python27\lib\StringIO.pyc'>, 'UserDict': <module 'UserDict' from 'C:\Python27\lib\UserDict.pyc'>, '__builtin__': <module '__builtin__' (built-in)>, '__future__': <module '__future__' from 'C:\Python27\lib\__future__.pyc'>, '__main__': <module 'helloworld' from 'C:\Users\thinkpad20\workspace\poooop\src\helloworld.py'>, '_abcoll': <module '_abcoll' from 'C:\Python27\lib\_abcoll.pyc'>, '_bisect': <module '_bisect' (built-in)>, '_collections': <module '_collections' (built-in)>, '_functools': <module '_functools' (built-in)>, ...}, exec_script=<function ExecuteOrImportScript>, exec_py27_handler=<function ExecutePy27Handler>)</td></tr>
74<tr><td><font color="#909090"><tt> <small> 1629</small> reset_modules = exec_py27_handler(config, handler_path, cgi_path, hook)<br>
75</tt></font></td></tr>
76<tr><td><font color="#909090"><tt> <small> 1630</small> else:<br>
77</tt></font></td></tr>
78<tr><td bgcolor="#ffccee"><tt>=><small> 1631</small> reset_modules = exec_script(config, handler_path, cgi_path, hook)<br>
79</tt></td></tr>
80<tr><td><font color="#909090"><tt> <small> 1632</small> except SystemExit, e:<br>
81</tt></font></td></tr>
82<tr><td><font color="#909090"><tt> <small> 1633</small> logging.debug('CGI exited with status: %s', e)<br>
83</tt></font></td></tr>
84<tr><td><small><font color="#909090"><strong>reset_modules</strong> = True, <strong>exec_script</strong> = <function ExecuteOrImportScript>, <strong>config</strong> = <AppInfoExternal
85 error_handlers=None
86 b...one
87 api_version=1
88 api_config=None
89 >, <strong>handler_path</strong> = 'helloworld.py', <strong>cgi_path</strong> = r'C:\Users\thinkpad20\workspace\poooop\src\helloworld.py', <strong>hook</strong> = <google.appengine.tools.dev_appserver_import_hook.HardenedModulesHook object></font></small></td></tr></table>
90<table width="100%" cellspacing=0 cellpadding=0 border=0>
91<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py</a> in <strong>ExecuteOrImportScript</strong>(config=<AppInfoExternal
92 error_handlers=None
93 b...one
94 api_version=1
95 api_config=None
96 >, handler_path='helloworld.py', cgi_path=r'C:\Users\thinkpad20\workspace\poooop\src\helloworld.py', import_hook=<google.appengine.tools.dev_appserver_import_hook.HardenedModulesHook object>)</td></tr>
97<tr><td><font color="#909090"><tt> <small> 1319</small> exec module_code in script_module.__dict__<br>
98</tt></font></td></tr>
99<tr><td><font color="#909090"><tt> <small> 1320</small> else:<br>
100</tt></font></td></tr>
101<tr><td bgcolor="#ffccee"><tt>=><small> 1321</small> script_module.main()<br>
102</tt></td></tr>
103<tr><td><font color="#909090"><tt> <small> 1322</small> <br>
104</tt></font></td></tr>
105<tr><td><font color="#909090"><tt> <small> 1323</small> <br>
106</tt></font></td></tr>
107<tr><td><small><font color="#909090"><strong>script_module</strong> = <module 'helloworld' from 'C:\Users\thinkpad20\workspace\poooop\src\helloworld.py'>, script_module.<strong>main</strong> = <function main></font></small></td></tr></table>
108<table width="100%" cellspacing=0 cellpadding=0 border=0>
109<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Users\thinkpad20\workspace\poooop\src\helloworld.py">C:\Users\thinkpad20\workspace\poooop\src\helloworld.py</a> in <strong>main</strong>()</td></tr>
110<tr><td><font color="#909090"><tt> <small> 72</small> <br>
111</tt></font></td></tr>
112<tr><td><font color="#909090"><tt> <small> 73</small> def main():<br>
113</tt></font></td></tr>
114<tr><td bgcolor="#ffccee"><tt>=><small> 74</small> run_wsgi_app(application)<br>
115</tt></td></tr>
116<tr><td><font color="#909090"><tt> <small> 75</small> <br>
117</tt></font></td></tr>
118<tr><td><font color="#909090"><tt> <small> 76</small> if __name__ == "__main__":<br>
119</tt></font></td></tr>
120<tr><td><small><font color="#909090"><em>global</em> <strong>run_wsgi_app</strong> = <function run_wsgi_app>, <em>global</em> <strong>application</strong> = <google.appengine.ext.webapp._webapp25.WSGIApplication object></font></small></td></tr></table>
121<table width="100%" cellspacing=0 cellpadding=0 border=0>
122<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\util.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\util.py</a> in <strong>run_wsgi_app</strong>(application=<google.appengine.ext.webapp._webapp25.WSGIApplication object>)</td></tr>
123<tr><td><font color="#909090"><tt> <small> 96</small> the function is not found, no WSGI middleware is added.<br>
124</tt></font></td></tr>
125<tr><td><font color="#909090"><tt> <small> 97</small> """<br>
126</tt></font></td></tr>
127<tr><td bgcolor="#ffccee"><tt>=><small> 98</small> run_bare_wsgi_app(add_wsgi_middleware(application))<br>
128</tt></td></tr>
129<tr><td><font color="#909090"><tt> <small> 99</small> <br>
130</tt></font></td></tr>
131<tr><td><font color="#909090"><tt> <small> 100</small> <br>
132</tt></font></td></tr>
133<tr><td><small><font color="#909090"><em>global</em> <strong>run_bare_wsgi_app</strong> = <function run_bare_wsgi_app>, <em>global</em> <strong>add_wsgi_middleware</strong> = <function add_wsgi_middleware>, <strong>application</strong> = <google.appengine.ext.webapp._webapp25.WSGIApplication object></font></small></td></tr></table>
134<table width="100%" cellspacing=0 cellpadding=0 border=0>
135<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\util.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\util.py</a> in <strong>run_bare_wsgi_app</strong>(application=<google.appengine.ext.webapp._webapp25.WSGIApplication object>)</td></tr>
136<tr><td><font color="#909090"><tt> <small> 114</small> env["wsgi.multithread"] = False<br>
137</tt></font></td></tr>
138<tr><td><font color="#909090"><tt> <small> 115</small> env["wsgi.multiprocess"] = False<br>
139</tt></font></td></tr>
140<tr><td bgcolor="#ffccee"><tt>=><small> 116</small> result = application(env, _start_response)<br>
141</tt></td></tr>
142<tr><td><font color="#909090"><tt> <small> 117</small> if result is not None:<br>
143</tt></font></td></tr>
144<tr><td><font color="#909090"><tt> <small> 118</small> for data in result:<br>
145</tt></font></td></tr>
146<tr><td><small><font color="#909090">result <em>undefined</em>, <strong>application</strong> = <google.appengine.ext.webapp._webapp25.WSGIApplication object>, <strong>env</strong> = {'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '-1', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CURRENT_VERSION_ID': '1.1', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', ...}, <em>global</em> <strong>_start_response</strong> = <function _start_response></font></small></td></tr></table>
147<table width="100%" cellspacing=0 cellpadding=0 border=0>
148<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\_webapp25.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\_webapp25.py</a> in <strong>__call__</strong>(self=<google.appengine.ext.webapp._webapp25.WSGIApplication object>, environ={'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '-1', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CURRENT_VERSION_ID': '1.1', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', ...}, start_response=<function _start_response>)</td></tr>
149<tr><td><font color="#909090"><tt> <small> 715</small> handler.error(501)<br>
150</tt></font></td></tr>
151<tr><td><font color="#909090"><tt> <small> 716</small> except Exception, e:<br>
152</tt></font></td></tr>
153<tr><td bgcolor="#ffccee"><tt>=><small> 717</small> handler.handle_exception(e, self.__debug)<br>
154</tt></td></tr>
155<tr><td><font color="#909090"><tt> <small> 718</small> else:<br>
156</tt></font></td></tr>
157<tr><td><font color="#909090"><tt> <small> 719</small> response.set_status(404)<br>
158</tt></font></td></tr>
159<tr><td><small><font color="#909090"><strong>handler</strong> = <__main__.MainPage object>, handler.<strong>handle_exception</strong> = <bound method MainPage.handle_exception of <__main__.MainPage object>>, <strong>e</strong> = BadRequestError('app "dev~lets-get-crunky" cannot access app "dev~design-analyze"\'s data',), <strong>self</strong> = <google.appengine.ext.webapp._webapp25.WSGIApplication object>, self.__debug <em>undefined</em></font></small></td></tr></table>
160<table width="100%" cellspacing=0 cellpadding=0 border=0>
161<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\_webapp25.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\_webapp25.py</a> in <strong>__call__</strong>(self=<google.appengine.ext.webapp._webapp25.WSGIApplication object>, environ={'APPENGINE_RUNTIME': 'python', 'APPLICATION_ID': 'dev~design-analyze', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '-1', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CURRENT_VERSION_ID': '1.1', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', ...}, start_response=<function _start_response>)</td></tr>
162<tr><td><font color="#909090"><tt> <small> 701</small> handler.get(*groups)<br>
163</tt></font></td></tr>
164<tr><td><font color="#909090"><tt> <small> 702</small> elif method == 'POST':<br>
165</tt></font></td></tr>
166<tr><td bgcolor="#ffccee"><tt>=><small> 703</small> handler.post(*groups)<br>
167</tt></td></tr>
168<tr><td><font color="#909090"><tt> <small> 704</small> elif method == 'HEAD':<br>
169</tt></font></td></tr>
170<tr><td><font color="#909090"><tt> <small> 705</small> handler.head(*groups)<br>
171</tt></font></td></tr>
172<tr><td><small><font color="#909090"><strong>handler</strong> = <__main__.MainPage object>, handler.<strong>post</strong> = <bound method MainPage.post of <__main__.MainPage object>>, <strong>groups</strong> = ()</font></small></td></tr></table>
173<table width="100%" cellspacing=0 cellpadding=0 border=0>
174<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Users\thinkpad20\workspace\poooop\src\helloworld.py">C:\Users\thinkpad20\workspace\poooop\src\helloworld.py</a> in <strong>post</strong>(self=<__main__.MainPage object>)</td></tr>
175<tr><td><font color="#909090"><tt> <small> 59</small> if title and art:<br>
176</tt></font></td></tr>
177<tr><td><font color="#909090"><tt> <small> 60</small> a = Art(title = title, art = art)<br>
178</tt></font></td></tr>
179<tr><td bgcolor="#ffccee"><tt>=><small> 61</small> a.put()<br>
180</tt></td></tr>
181<tr><td><font color="#909090"><tt> <small> 62</small> <br>
182</tt></font></td></tr>
183<tr><td><font color="#909090"><tt> <small> 63</small> self.redirect("/")<br>
184</tt></font></td></tr>
185<tr><td><small><font color="#909090"><strong>a</strong> = <__main__.Art object>, a.<strong>put</strong> = <bound method Art.put of <__main__.Art object>></font></small></td></tr></table>
186<table width="100%" cellspacing=0 cellpadding=0 border=0>
187<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\db\__init__.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\db\__init__.py</a> in <strong>put</strong>(self=<__main__.Art object>, **kwargs={})</td></tr>
188<tr><td><font color="#909090"><tt> <small> 1071</small> """<br>
189</tt></font></td></tr>
190<tr><td><font color="#909090"><tt> <small> 1072</small> self._populate_internal_entity()<br>
191</tt></font></td></tr>
192<tr><td bgcolor="#ffccee"><tt>=><small> 1073</small> return datastore.Put(self._entity, **kwargs)<br>
193</tt></td></tr>
194<tr><td><font color="#909090"><tt> <small> 1074</small> <br>
195</tt></font></td></tr>
196<tr><td><font color="#909090"><tt> <small> 1075</small> <br>
197</tt></font></td></tr>
198<tr><td><small><font color="#909090"><em>global</em> <strong>datastore</strong> = <module 'google.appengine.api.datastore' from 'C...gle_appengine\google\appengine\api\datastore.py'>, datastore.<strong>Put</strong> = <function Put>, <strong>self</strong> = <__main__.Art object>, self.<strong>_entity</strong> = {'title': u'smiley', 'art': u':-)', 'created': datetime.datetime(2012, 5, 8, 0, 32, 3, 769000)}, <strong>kwargs</strong> = {}</font></small></td></tr></table>
199<table width="100%" cellspacing=0 cellpadding=0 border=0>
200<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\api\datastore.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\api\datastore.py</a> in <strong>Put</strong>(entities={'title': u'smiley', 'art': u':-)', 'created': datetime.datetime(2012, 5, 8, 0, 32, 3, 769000)}, **kwargs={})</td></tr>
201<tr><td><font color="#909090"><tt> <small> 577</small> TransactionFailedError, if the Put could not be committed.<br>
202</tt></font></td></tr>
203<tr><td><font color="#909090"><tt> <small> 578</small> """<br>
204</tt></font></td></tr>
205<tr><td bgcolor="#ffccee"><tt>=><small> 579</small> return PutAsync(entities, **kwargs).get_result()<br>
206</tt></td></tr>
207<tr><td><font color="#909090"><tt> <small> 580</small> <br>
208</tt></font></td></tr>
209<tr><td><font color="#909090"><tt> <small> 581</small> <br>
210</tt></font></td></tr>
211<tr><td><small><font color="#909090"><em>global</em> <strong>PutAsync</strong> = <function PutAsync>, <strong>entities</strong> = {'title': u'smiley', 'art': u':-)', 'created': datetime.datetime(2012, 5, 8, 0, 32, 3, 769000)}, <strong>kwargs</strong> = {}, ).get_result <em>undefined</em></font></small></td></tr></table>
212<table width="100%" cellspacing=0 cellpadding=0 border=0>
213<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\api\apiproxy_stub_map.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\api\apiproxy_stub_map.py</a> in <strong>get_result</strong>(self=<google.appengine.api.apiproxy_stub_map.UserRPC object>)</td></tr>
214<tr><td><font color="#909090"><tt> <small> 590</small> return None<br>
215</tt></font></td></tr>
216<tr><td><font color="#909090"><tt> <small> 591</small> else:<br>
217</tt></font></td></tr>
218<tr><td bgcolor="#ffccee"><tt>=><small> 592</small> return self.__get_result_hook(self)<br>
219</tt></td></tr>
220<tr><td><font color="#909090"><tt> <small> 593</small> <br>
221</tt></font></td></tr>
222<tr><td><font color="#909090"><tt> <small> 594</small> @classmethod<br>
223</tt></font></td></tr>
224<tr><td><small><font color="#909090"><strong>self</strong> = <google.appengine.api.apiproxy_stub_map.UserRPC object>, self.__get_result_hook <em>undefined</em></font></small></td></tr></table>
225<table width="100%" cellspacing=0 cellpadding=0 border=0>
226<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py</a> in <strong>__put_hook</strong>(self=<google.appengine.datastore.datastore_rpc.Connection object>, rpc=<google.appengine.api.apiproxy_stub_map.UserRPC object>)</td></tr>
227<tr><td><font color="#909090"><tt> <small> 1575</small> def __put_hook(self, rpc):<br>
228</tt></font></td></tr>
229<tr><td><font color="#909090"><tt> <small> 1576</small> """Internal method used as get_result_hook for Put operation."""<br>
230</tt></font></td></tr>
231<tr><td bgcolor="#ffccee"><tt>=><small> 1577</small> self.check_rpc_success(rpc)<br>
232</tt></td></tr>
233<tr><td><font color="#909090"><tt> <small> 1578</small> keys = [self.__adapter.pb_to_key(pb)<br>
234</tt></font></td></tr>
235<tr><td><font color="#909090"><tt> <small> 1579</small> for pb in rpc.response.key_list()]<br>
236</tt></font></td></tr>
237<tr><td><small><font color="#909090"><strong>self</strong> = <google.appengine.datastore.datastore_rpc.Connection object>, self.<strong>check_rpc_success</strong> = <bound method Connection.check_rpc_success of <g...ngine.datastore.datastore_rpc.Connection object>>, <strong>rpc</strong> = <google.appengine.api.apiproxy_stub_map.UserRPC object></font></small></td></tr></table>
238<table width="100%" cellspacing=0 cellpadding=0 border=0>
239<tr><td bgcolor="#d8bbff"><big> </big><a href="file://C:\Program Files (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py">C:\Program Files (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py</a> in <strong>check_rpc_success</strong>(self=<google.appengine.datastore.datastore_rpc.Connection object>, rpc=<google.appengine.api.apiproxy_stub_map.UserRPC object>)</td></tr>
240<tr><td><font color="#909090"><tt> <small> 1212</small> rpc.check_success()<br>
241</tt></font></td></tr>
242<tr><td><font color="#909090"><tt> <small> 1213</small> except apiproxy_errors.ApplicationError, err:<br>
243</tt></font></td></tr>
244<tr><td bgcolor="#ffccee"><tt>=><small> 1214</small> raise _ToDatastoreError(err)<br>
245</tt></td></tr>
246<tr><td><font color="#909090"><tt> <small> 1215</small> <br>
247</tt></font></td></tr>
248<tr><td><font color="#909090"><tt> <small> 1216</small> <br>
249</tt></font></td></tr>
250<tr><td><small><font color="#909090"><em>global</em> <strong>_ToDatastoreError</strong> = <function _ToDatastoreError>, <strong>err</strong> = ApplicationError(1,)</font></small></td></tr></table><p><strong><class 'google.appengine.api.datastore_errors.BadRequestError'></strong>: app "dev~lets-get-crunky" cannot access app "dev~design-analyze"'s data
251<br><tt><small> </small> </tt>args =
252('app "dev~lets-get-crunky" cannot access app "dev~design-analyze"<font color="#c040c0">\'</font>s data',)
253<br><tt><small> </small> </tt>message =
254'app "dev~lets-get-crunky" cannot access app "dev~design-analyze"<font color="#c040c0">\'</font>s data'
255
256
257<!-- The above is a description of an error in a Python program, formatted
258 for a Web browser because the 'cgitb' module was enabled. In case you
259 are not reading this in a Web browser, here is the original traceback:
260
261Traceback (most recent call last):
262 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 2781, in _HandleRequest
263 self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
264 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 2669, in _Dispatch
265 base_env_dict=env_dict)
266 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 692, in Dispatch
267 base_env_dict=base_env_dict)
268 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1731, in Dispatch
269 self._module_dict)
270 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1631, in ExecuteCGI
271 reset_modules = exec_script(config, handler_path, cgi_path, hook)
272 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 1321, in ExecuteOrImportScript
273 script_module.main()
274 File "C:\Users\thinkpad20\workspace\poooop\src\helloworld.py", line 74, in main
275 run_wsgi_app(application)
276 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\util.py", line 98, in run_wsgi_app
277 run_bare_wsgi_app(add_wsgi_middleware(application))
278 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\util.py", line 116, in run_bare_wsgi_app
279 result = application(env, _start_response)
280 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\_webapp25.py", line 717, in __call__
281 handler.handle_exception(e, self.__debug)
282 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp\_webapp25.py", line 703, in __call__
283 handler.post(*groups)
284 File "C:\Users\thinkpad20\workspace\poooop\src\helloworld.py", line 61, in post
285 a.put()
286 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\db\__init__.py", line 1073, in put
287 return datastore.Put(self._entity, **kwargs)
288 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\datastore.py", line 579, in Put
289 return PutAsync(entities, **kwargs).get_result()
290 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\apiproxy_stub_map.py", line 592, in get_result
291 return self.__get_result_hook(self)
292 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py", line 1577, in __put_hook
293 self.check_rpc_success(rpc)
294 File "C:\Program Files (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py", line 1214, in check_rpc_success
295 raise _ToDatastoreError(err)
296BadRequestError: app "dev~lets-get-crunky" cannot access app "dev~design-analyze"'s data
297
298-->