[google-appengine] Re: Google blocked My App Engine App for My IP address!!
I can access my site via proxy sites. Also only the mapped domain has the problem.Not the appspot domain. On Thu, Aug 6, 2009 at 10:08 AM, Hrishi bakshi.hrishik...@gmail.com wrote: When I try to access http://rumaps.rutgers.edu I get redirected to http://sorry.google.com/sorry/?continue=http://rumaps.rutgers.edu/ . I can still access my App at http://live.latest.rutgersmaps.appspot.com which is the same version. Is there a way to contact Google about this? Google says We're sorry but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can't process your request right now. If you suspect that your computer or network has been infected, you might want to run a virus checker or spyware remover to make sure that your systems are free of viruses and other spurious software. Of course, I access my app many times a day to test it. -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore problem?
I am having the same issue intermittently from the last hour. Not on all tables though. On Thu, Aug 6, 2009 at 12:06 PM, Jesse Grosjean je...@hogbaysoftware.comwrote: I'm seeing lots of Datastore timeouts right now that I don't ushually see on www.writeroom.ws. Is there a known issue with the datastore now? Jesse -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Why are my plus signs disappearing?
Use encodeURIComponent() instead of escape() for encoding your POST data. This will solve your issue. http://tinyurl.com/mcbgxg On Wed, Aug 5, 2009 at 1:00 AM, Bennomatic readyass...@gmail.com wrote: OK, here's the last item on the list. I used my non-ajax form to save the data as a string as well, and now the + signs are being saved. Should I not be escaping? Should I double-escape? Should I use a content type other than application/x-www-form-urlencoded? Thanks for any guidance you can offer! On Aug 4, 9:47 pm, Bennomatic readyass...@gmail.com wrote: One other thing: I set up a form post option, so I was able to set up the output to echo the input and the + signs are still there. It only seems to be when I put those + signs into the datastore that they become spaces or disappear. Hlp! (please?) On Aug 4, 9:28 pm, readyass...@gmail.com readyass...@gmail.com wrote: I've noticed a strange bug in my application, which has an AJAX callback for saving form (textarea) content into a blob in the database. The problem is that while everything else saves fine, any '+' characters disappear. I've added an alert to the AJAX save routine so I can see that, before the save, the '+' is still in the string, and then the meat of the callback is this: http_request.open('post', xmlUrl, true); http_request.setRequestHeader(Content-Type, application/x-www- form-urlencoded); http_request.send('file_name=' + escape(file_name) + 'file_content=' + escape(ta_content)); the ta_content variable is the TextArea content that I just verified with the javascript alert. This posts against a save routine which does the following: class Save(webapp.RequestHandler): def post(self): #fn = self.request.get('file_name') fc = self.request.get('file_content') newfile = db.GqlQuery('SELECT * FROM Posts WHERE [yadda yadda]).get () if newfile is not None: newfile.content = db.Blob(str(fc)) else: newfile = Posts(content = db.Blob(str(fc)), content_type = ct) newfile.put() self.response.out.write('responseok/response') And the DB entity is as follows: class Posts(db.Model): content = db.BlobProperty() created = db.DateTimeProperty(auto_now_add=True) #content2 = db.StringProperty() So my question is, where are my '+' signs disappearing and how can I stop this? I'm encoding my data on the post. I'm converting to a string before storing to a blob on the AppEngine side. I even temporarily added a string to the entity so that I could actually see the data as it's stored in the datastore and guess what? I can see my ,,,', and everything else. Just no +. Can anyone see what I'm doing wrong here, or does AppEngine just hate me, plus signs or both? -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: User Identity
Google's cookies are different than each application on appspot.com. So each application needs to specifically log out each user. I just came to know about this. You should provide a log out link. On Wed, Aug 5, 2009 at 10:34 AM, Holger w...@arcor.de wrote: You are not wasting time - it's an important clarification. To my knowledge the logical steps are: 1. User want's to log into your application 2. You pass him to Google 3. He logs in with his Google account 4. Google returns a token with is stored as cookie 5. As long as this token exists the user module (don't know the Java name) treats the visitor as authenticiated. 5. It's your task to delete this token on user logout. -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: 404 Forb
Are you putting your own email in place of myid? Otherwise try : appcfg.py update e:\helloworld Then it will ask for credentials. On Tue, Aug 4, 2009 at 12:21 PM, Dhivya Mylsamy dhivya...@gmail.com wrote: Hello everyone, Iam getting this error when i try to upload my application.can anyone help me E:\appcfg.py -email=myid update e:\helloworld Scanning files on local disk. Initiating update. 2009-08-04 18:41:36,703 ERROR appcfg.py:1272 An unexpected error occurred. Abort ing. Traceback (most recent call last): File C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.p y, line 1250, in DoUpload missing_files = self.Begin() File C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.p y, line 1045, in Begin version=self.version, payload=self.config.ToYAML()) File C:\Program Files\Google\google_appengine\google\appengine\tools \appengin e_rpc.py, line 344, 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 403: Forbidden Error 403: -- begin server output -- You do not have permission to modify this app (app_id=u'bitstars2010'). -- end server output - app.yaml application: bitstars2010 version: 1 runtime: python api_version: 1 handlers: - url: /stylesheets static_dir: stylesheets - url: /.* script: helloworld.py -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Problems uploading to Datastore
Do: appcfg.py update mydomain each time you use the bulk upload. On Tue, Aug 4, 2009 at 12:49 PM, creativepragmatic creativepragma...@gmail.com wrote: Hello, I am new to App Engine. I know this problem has come up in other forums but none of the solutions I have tried have worked for me so far. I am trying to upload a simple CSV file with the world's countries to no avail. The very first time I tried it, I was prompted for my email address and password but the CSV still didn't upload. Since then I have been getting this error message: python appcfg.py upload_data --config_file=countryloader.py -- filename=creativepragmatic/countries.csv --kind=Country mydomain appcfg.py:40: DeprecationWarning: the sha module is deprecated; use the hashlib module instead DIR_PATH, Uploading data records. [INFO] Logging to bulkloader-log-20090804.113518 [INFO] Opening database: bulkloader-progress-20090804.113518.sql3 [INFO] Connecting to /remote_api [ERROR ] Exception during authentication Traceback (most recent call last): File /home/username/Apps/google_appengine/google/appengine/tools/ bulkloader.py, line 3644, in Run request_manager.Authenticate() File /home/username/Apps/google_appengine/google/appengine/tools/ bulkloader.py, line 1464, in Authenticate self.rpc_server.Send(self.url_path, payload=None) File /home/username/Apps/google_appengine/google/appengine/tools/ appengine_rpc.py, line 344, in Send f = self.opener.open(req) File /usr/lib/python2.6/urllib2.py, line 389, in open response = meth(req, response) File /usr/lib/python2.6/urllib2.py, line 502, in http_response 'http', request, response, code, msg, hdrs) File /usr/lib/python2.6/urllib2.py, line 427, in error return self._call_chain(*args) File /usr/lib/python2.6/urllib2.py, line 361, in _call_chain result = func(*args) File /usr/lib/python2.6/urllib2.py, line 510, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: Internal Server Error [INFO] Authentication Failed This is app.yml: application: mydomain version: 1 runtime: python api_version: 1 handlers: - url: /remote_api script: /home/username/Apps/google_appengine/google/appengine/ext/ remote_api/handler.py login: admin - url: /.* script: mydomain.py This is my models.py code: from google.appengine.ext import db class Country(db.Model): code = db.StringProperty() name = db.StringProperty() This is my countryloader.py code: import datetime from google.appengine.ext import db from google.appengine.tools import bulkloader from models import Country class CountryLoader(bulkloader.Loader): def __init__(self): bulkloader.Loader.__init__(self, 'Country', [('code', str), ('name', str), ]) loaders = [CountryLoader] I don't know if any of you experts have encountered anything similar but any help would be appreciated. Orville -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Retrieving source code from App Engine
Hi, No, i don't think there is a way of retrieving source code from App Engine. Take backups online!! Use svn :- http://www.xp-dev.com/ or for open source : http://code.google.com/hosting/ On Tue, Aug 4, 2009 at 7:06 PM, Calvin Slayden calvin.slay...@gmail.comwrote: Hello, I've suffered an unfortunate data loss incident, and my last backup is quite a bit older than the last version of the source I uploaded for my app onto App Engine. As a result, I'm wondering if I can retrieve that source somehow. I suspect not, as it appears that code running on App Engine cannot access prior versions of itself (trying to list the contents of the directory containing the earlier version yields a permission denied error). But before I despair, I figured I'd ask here. Is there some way I can retrieve the source code to the current version of an App Engine app, or am I as screwed as I think I am? Thanks. -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Upload data
App engine is made for people who love to code and learn new things on their own. Not for people who want everything coded for them. For that go to http://wordpress.com . Also app engine documentation is improving. If you want examples go here: http://code.google.com/p/google-app-engine-samples/ On Sat, Jul 25, 2009 at 6:21 AM, Holger w...@arcor.de wrote: Dear djidjadji, you do a great expert work, but sometimes experts got blind, loosing their feeling for the real world. This happened IBM when inventing the two letters p and c and being overcome my Bill. That happened to Bill when being overcome by these Google guys Shall that happen to Google too ? - Naturally writing your explanations not for your own 100,000 experts who don't really need such explanation but for these 100.000.000 mass customers Google should have in mind, that isn't possible with the abstract scientific explanation style you follow now. You really need to be creative and find better ways of explanation. What about downloadable example code working out of the box for every programming step? Would that blow up your explanations to books? - What you really need is a feeling for your customers. As long as you inwardly are laughing on your dump customers and deliver links lists http://lmgtfy.com/?q=PYTHONPATH whose second target reads: 'Please, only post meaningful and useful information.' (http://blenderartists.org/forum/showthread?t=7412 - in fact humans usually read only three lines of text, what comes later is useless.) you are in great danger to be overcome soon by somebody more clever then Google. Kind regards, Holger Dear djidjadji, you do a great expert work, but sometimes experts got blind, loosing their feeling for the real world. This happened IBM when inventing the two letters p and c and beeing overcome my Bill. That happened Bill when beeing overcome by these google guys Shall that happen Google too ? - Naturally writing your explanations not for your own 100,000 experts who don't really need such explanation but for these 100.000.000 mass customers Google should have in mind, that isn't possible with the abstract scientific explanation style you follow now. You really need to be creative and find better ways of explanation. What about downloadable example code working out of the box for every programming step? Would that blow up your explanations to books? - What you really need is a feeling for your customers. As long as you inwardly are laughing on your dump customers and deliver links lists http://lmgtfy.com/?q=PYTHONPATH whose second targed reads: 'Please, only post meaningful and useful information.' (http://blenderartists.org/forum/showthread?t=7412) you are in great danger to be overcome soon by somebody more clever then Google. Kind regards, Holger On Jul 25, 8:31 am, djidjadji djidja...@gmail.com wrote: If every GAE page was written for the python starter it would be a big book. You could follow this link http://lmgtfy.com/?q=PYTHONPATH 2009/7/25 Holger w...@arcor.de: -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Upload data
Hi Holger, During Python install on windows, there is a check box saying add path variable to system path. If you had done that you would have saved yourself some time. App Engine is new, documentation will improve. Your posting is not entirely useless. But it requires the reader to read another page and then again read your post. On Sat, Jul 25, 2009 at 12:35 PM, Holger w...@arcor.de wrote: Hi Hrishikesh Bakshi, instead of serching the sulking corner and distributing funny stars you should better think about how to improve the Upload data documentation that it doesn't need the Bill Katz article 'Remote_API Hello World' and a lot of chat requests to understand what your developers created. See my lame posting http://groups.google.de/group/google-appengine/browse_thread/thread/2969e1134d5444d1?hl=en Kind regards, Holger -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Is anybody experiencing timeout from the data store right now?
I am getting 404 error on my app right now. http://rumaps.rutgers.edu/ Even the status page is down. On Wed, Jul 22, 2009 at 10:07 AM, NervMouse mous...@gmail.com wrote: the datastore timeout lasting for about 20 minute It works well now. On 7月22日, 下午9時45分, Tonny mezz...@gmail.com wrote: All my requests seems to timeout right now -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Google App Engine Custom Domain Stopped Working
I am also facing the same issue. I have an app running on app engine at rutgersmaps.appspot.com which is added as domain rumaps.rutgers.edu. Now http://rumaps.rutgers.edu returns a 404 while http: rutgersmaps.appspot.com works. I did not change any settings and it suddenly stopped working this morning. Is this an app engine error or do we have to change some of the settings because of some upgrade? On Wed, Jul 22, 2009 at 2:50 AM, casebash walkr...@gmail.com wrote: Hi all, I am running a Google App Engine App on the domain http://www.usydunit.com . Until recently, it was working (for several months), but it suddenly stopped after my last update. However, it is still accessible at http://1.latest.casebash-temp.appspot.com/. I don't believe I have touched any settings, although I did go in and confirm that they were what they should be. Does anyone have any idea of why it might not be working? Thanks very much, Chris Thanks, -- Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---