[google-appengine] UpLoading Problem

2009-03-13 Thread MarcoCanali

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.can...@gmail.com
Password for marco.can...@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 !

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: [google-appengine] UpLoading Problem

2016-03-02 Thread 'Mohab' via Google App Engine
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. 

On Friday, March 13, 2009 at 12:36:11 PM UTC-4, Steve Brockway wrote:
>
> 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: google-appengine@googlegroups.com 
> [mailto:google-appengine@googlegroups.com] 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: marco.can...@gmail.com 
> Password for marco.can...@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 ! 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9d43a86f-e06d-4080-8e6d-72413bbd4208%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Uploading problem: some of the edited files not updated

2009-11-30 Thread djidjadji
I have a problem with uploading a new version.

I have edited a few files.
Changes work on development server.
Uploaded to a different version then the default one, to test if it
works on the production server.
appcfg.py tells me that a number of files are uploaded.
If I try this alternate version I notice that not all the changes have
been uploaded.
The value of some strings in the code where not updated.
I delete this alternate version.
Uploading again: appcfg.py only Clones the files. From where? I have
deleted the version and the edited files are not part of the default
version, and the new files are also not part of the default version.
I see the same wrong output.

What is causing this behavior?
Until now no problem with this method of uploading and testing.

--

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.