UpLoading Problem

972 views
Skip to first unread message

MarcoCanali

unread,
Mar 13, 2009, 7:21:09 AM3/13/09
to Google App Engine
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: marco....@gmail.com
Password for marco....@gmail.com:
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 !

Steve Brockway

unread,
Mar 13, 2009, 12:36:11 PM3/13/09
to google-a...@googlegroups.com
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

Wooble

unread,
Mar 13, 2009, 2:46:28 PM3/13/09
to Google App Engine


On Mar 13, 7:21 am, MarcoCanali <Marco.Can...@gmail.com> wrote:
> 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 need to put your own application ID in app.yaml. It's very
unlikely you managed to register "helloworld".

David MacQuigg

unread,
Mar 17, 2009, 9:23:10 PM3/17/09
to Google App Engine
and I did modify my app.yaml file:

application: registry-xm
version: 1
runtime: python
api_version: 1

handlers:
- url: /.*
script: registry-xm.py

David MacQuigg

unread,
Mar 17, 2009, 9:21:21 PM3/17/09
to Google App Engine
Oops. I forgot to say .. I did delete the .appcfg files before
running the test. The .appcfg_cookies file was re-created by the test.

David MacQuigg

unread,
Mar 17, 2009, 9:18:00 PM3/17/09
to Google App Engine
I'm having a similar problem trying to upload a new application. I
have uploaded to another application where I am an admin, but not the
owner, and everything works nicely. I am now trying for the first
time to create an application in my own account. Here are the steps:

1) Wrote a simple app, following the 'helloworld' tutorial at
http://code.google.com/appengine/docs/python/gettingstarted/helloworld.html
but naming the project 'registry-xm' instead of 'helloworld'.

Everything works on the local dev_appserver.

2) Set up an appengine account at http://appengine.google.com/permissions/smssend.
Got the verification code on my cellphone, entered it in the
registration form, and registered the project 'registry-xm'. No signs
of trouble, but I didn't see any confirmation email.

3) Tried to upload the project with this command:

> appcfg.py update registry-xm/

Scanning files on local disk.
Initiating update.
- - -
HTTPError: HTTP Error 403: Forbidden
Error 403: --- begin server output ---
You do not have permission to modify this app (app_id=u'registry-xm').

4) Look at project with Dashboard

http://appengine.google.com/ signed in as macquigg <at> box67.com
Applications:
py-bat
pywhip
registry-xm is missing!!

5) Try to re-create it.
Asked again to verify account by SMS.
Cannot do that. It says my account is already verified!!!

Help will be greatly appreciated.

-- Dave

David MacQuigg

unread,
Mar 18, 2009, 10:17:49 PM3/18/09
to Google App Engine
I've found the problem, or at least narrowed it down. I verified my
account a second time, using a friend's cellphone, set up a new app
'xm-registry', and now everything seems to work. Seems like the
previous Verify Account got stuck, and was not allowing me to access
the app 'registry-xm' or start over. Seems like creating an new app
should be an all-or-nothing "transaction". I'll start another thread
on this when I get some time.

-- Dave

Mohab

unread,
Mar 2, 2016, 11:26:20 AM3/2/16
to Google App Engine, st...@str8line.com
You can find the cookies files in ~/  (if you are using Mac) and delete them. Since the workaround here was given only for Windows, I wanted to highlight how this is done on Mac. 
Reply all
Reply to author
Forward
0 new messages