Hi,

I have an app that works fine on my local machine including the local
datastore. I can upload the app without any problems. However, when I
try and upload the data with

appcfg.py upload_data --config_file=spectrum_loader.py --
filename=spectrum_data.csv --kind=Spectrum --auth_domain=forgedam.com
--url=http://speclib.forgedam.com/remote_api ./

I get the following error as if the url cannot be accessed:


E:\windows\code\python\appengine\speclib>appcfg.py upload_data --
config_file=spectrum_loader.py --filename=spectrum_data.csv --
kind=Spectrum --auth_domain=forge
dam.com --url=http://speclib.forgedam.com/remote_api ./
C:\Python25\lib\site-packages\pytz-2008cn1-py2.5-win32.egg\pytz
\__init__.py:29: UserWarning: Module pytz was already imported from C:
\Python25\lib\site-packages
\pytz-2008cn1-py2.5-win32.egg\pytz\__init__.py, but c:\python25\lib
\site-packages\matplotlib-0.98.5.2n2-py2.5-win32.egg is being added to
sys.path
Application: speclib01; version: 1.
Uploading data records.
[INFO    ] Logging to bulkloader-log-20100307.124250
[INFO    ] Throttling transfers:
[INFO    ] Bandwidth: 250000 bytes/second
[INFO    ] HTTP connections: 8/second
[INFO    ] Entities inserted/fetched/modified: 20/second
[INFO    ] Opening database: bulkloader-progress-20100307.124250.sql3
[INFO    ] Connecting to speclib.forgedam.com/remote_api
[ERROR   ] Exception during authentication
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkloader.py", line 3158, in Run
    self.request_manager.Authenticate()
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkloader.py", line 1169, in Authenticate
    remote_api_stub.MaybeInvokeAuthentication()
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\remote_api\remote_api_stub.py", line 539, in
MaybeInvokeAuthentication
    datastore_stub._server.Send(datastore_stub._path, payload=None)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\appengine_rpc.py", line 346, in Send
    f = self.opener.open(req)
  File "C:\Python25\lib\urllib2.py", line 387, in open
    response = meth(req, response)
  File "C:\Python25\lib\urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python25\lib\urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "C:\Python25\lib\urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
[INFO    ] Authentication Failed

Here is a copy of my app.yaml

application: speclib01
version: 1
runtime: python
api_version: 1

handlers:
- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  login: admin

- url: /static_files
  static_dir: static_files

- url: /.*
  script: speclib.py

I have tried a thousand permutations but cannot figure this out.

Many thanks for any help.

sjh

-- 
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-appeng...@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.

Reply via email to