This is a pain. After running on GAE for months I had this problem
yesterday. Lots of potential problems.

First, make sure you have created a GAE account. Then make sure you know
what the application name is on GAE. Then make sure the name of your
application in the app.yaml file is equal to the name of the application on
the host.

You have most likely done all this, I know I did.

My problem was cookies stored on my local machine. I have two gmail accounts
because I am experimenting with sending emails from my application. I login
to google using both gmail accounts which create cookies on my local
machine. Appcfg.py does not like this. 

To make a long story short, on your desktop delete the .appcfg_cookies and
.appcfg_nag files. On XP these are in,
 C:\Documents and Settings\%user%\    then try again. 

Not sure this will solve your problem it did mine.

Also if you try too many times (do not know how big too many is), appcfg.py
creates a file in your application directory on your development machine
that locks you from uploading no matter what. 

Appcfg.py simply stops running. Look for strange *.py files in your
application directory and delete the files.

SteveB

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of MarcoCanali
Sent: Friday, March 13, 2009 4:21 AM
To: Google App Engine
Subject: [google-appengine] UpLoading Problem


I try to Uploading a simple appengine application , ex Helloworld
google exemple but i receive seguent error :

C:\google_appengine\appcfg.py:40: DeprecationWarning: the sha module
is deprecated; use the hashlib
module instead
  DIR_PATH,
Scanning files on local disk.
Initiating update.
Email: [email protected]
Password for [email protected]:
2009-03-13 11:50:24,828 ERROR appcfg.py:1235 An unexpected error
occurred. Aborting.
Traceback (most recent call last):
  File "C:\google_appengine\google\appengine\tools\appcfg.py", line
1213, in DoUpload
    missing_files = self.Begin()
  File "C:\google_appengine\google\appengine\tools\appcfg.py", line
1009, in Begin
    version=self.version, payload=self.config.ToYAML())
  File "C:\google_appengine\google\appengine\tools\appengine_rpc.py",
line 303, in Send
    f = self.opener.open(req)
  File "C:\Python26\lib\urllib2.py", line 389, in open
    response = meth(req, response)
  File "C:\Python26\lib\urllib2.py", line 502, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python26\lib\urllib2.py", line 427, in error
    return self._call_chain(*args)
  File "C:\Python26\lib\urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "C:\Python26\lib\urllib2.py", line 510, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
Error 403: --- begin server output ---
You do not have permission to modify this app (app_id=u'helloworld').
--- end server output ---

I'm at first use of appengine and i don't find a solution ....
Thanks !



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to