I got same issue but it was fixed after I deployed my project with - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin
On Mar 8, 10:29 am, Pavel Byles <pavelby...@gmail.com> wrote: > When I follow the article > from:http://code.google.com/appengine/articles/bulkload.html > I get this error: > > INFO 2009-03-08 11:22:39,197 bulkload_client.py] Starting import; > maximum 10 entities per post > INFO 2009-03-08 11:22:39,210 bulkload_client.py] Importing 2 > entities in 28 bytes > ERROR 2009-03-08 11:22:42,421 bulkload_client.py] An error occurred > while importing: Received code 404: Not Found > > <html><head> > <meta http-equiv="content-type" content="text/html;charset=utf-8"> > <title>404 Not Found</title> > </head> > <body text=#000000 bgcolor=#ffffff> > <h1>Error: Not Found</h1> > <h2>The requested URL <code>/load</code> was not found on this > server.</h2> > <h2></h2> > </body></html> > > ERROR 2009-03-08 11:22:42,421 bulkload_client.py] Import failed > > And dev_appserver.py gives this error: > INFO 2009-03-08 16:27:22,004 dev_appserver.py] "POST /load HTTP/ > 1.1" 404 - > > Any help would be appreciated. > > On Mar 6, 3:54 pm, Pavel Byles <pavelby...@gmail.com> wrote: > > > I have no idea why I'm getting errors when I do: > > > >>> import helloworld > > >>> from google.appengine.ext import db > > >>> entries = helloworld.Greeting.all().order("-date").fetch(10) > > > and my app.yaml contains: > > - url: /remote_api > > script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py > > login: admin > > > The dev_appserver gives this error: > > INFO 2009-03-06 20:51:38,287 dev_appserver_index.py] Updating / > > home/wikid/Code/google_appengine_v2/caribbeanvisit/index.yaml > > INFO 2009-03-06 20:51:50,570 dev_appserver.py] "POST /remote_api? > > HTTP/1.1" 404 - > > > Here's the error: > > Traceback (most recent call last): > > File "<console>", line 1, in <module> > > File "/home/wikid/Code/google_appengine_v2/google/appengine/ext/db/ > > __init__.py", line 1390, in fetch > > raw = self._get_query().Get(limit, offset) > > File "/home/wikid/Code/google_appengine_v2/google/appengine/api/ > > datastore.py", line 942, in Get > > return self._Run(limit, offset)._Next(limit) > > File "/home/wikid/Code/google_appengine_v2/google/appengine/api/ > > datastore.py", line 1536, in _Next > > apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Next', req, > > result) > > File "/home/wikid/Code/google_appengine_v2/google/appengine/api/ > > apiproxy_stub_map.py", line 68, in MakeSyncCall > > apiproxy.MakeSyncCall(service, call, request, response) > > File "/home/wikid/Code/google_appengine_v2/google/appengine/api/ > > apiproxy_stub_map.py", line 240, in MakeSyncCall > > stub.MakeSyncCall(service, call, request, response) > > File "/home/wikid/Code/google_appengine_v2/google/appengine/ext/ > > remote_api/remote_api_stub.py", line 169, in MakeSyncCall > > handler(request, response) > > File "/home/wikid/Code/google_appengine_v2/google/appengine/ext/ > > remote_api/remote_api_stub.py", line 207, in _Dynamic_Next > > 'remote_datastore', 'RunQuery', request, query_result) > > File "/home/wikid/Code/google_appengine_v2/google/appengine/ext/ > > remote_api/remote_api_stub.py", line 135, in MakeSyncCall > > request_pb.Encode())) > > File "/home/wikid/Code/google_appengine_v2/google/appengine/tools/ > > appengine_rpc.py", line 303, in Send > > f = self.opener.open(req) > > File "/usr/lib/python2.5/urllib2.py", line 387, in open > > response = meth(req, response) > > File "/usr/lib/python2.5/urllib2.py", line 498, in http_response > > 'http', request, response, code, msg, hdrs) > > File "/usr/lib/python2.5/urllib2.py", line 425, in error > > return self._call_chain(*args) > > File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain > > result = func(*args) > > File "/usr/lib/python2.5/urllib2.py", line 506, in > > http_error_default > > raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) > > HTTPError: HTTP Error 404: Not Found > > > On Mar 4, 9:18 am, Nick Johnson <arach...@notdot.net> wrote: > > > > You can do what you want with remote_api and a little custom code. See > > > the article here:http://code.google.com/appengine/articles/remote_api.html > > > > -Nick Johnson > > > > On Mar 4, 3:04 am, Pavel Byles <pavelby...@gmail.com> wrote: > > > > > Is there a way to initialize thedatastorewith binary data to be stored > > > > in > > > > a blob field (without using a form)? > > > > > I have tried putting the data into a CSV file and uploading it using > > > > bulkloader, but that didn't seem to work. > > > > > Any help would be appreciated. > > > > -- > > > > -Pav --~--~---------~--~----~------------~-------~--~----~ 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 google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---