[google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-03-21 Thread Ernesto Karim Oltra
of the email server that actually sends the email. anyone share similar case, or has other solution? regards, eric On 19 March 2011 00:12, Ernesto Karim Oltra ernestoka...@gmail.comwrote: Ask the user to add the e-mail from address of your e-mails to their contacts list, so your e-mails

[google-appengine] Re: Why is my handler for incoming mail not being applied?

2011-03-21 Thread Ernesto Karim Oltra
I don't know if this is your problem, but be aware the regular expression to match specific e-mails to specific handlers in .py files mut be something like this: /_ah/mail/[... what you want ...]%40[... appid ...]\.appspotmail\.com use %40 instead of @ when writing the url of the e-mail On 20

[google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-03-18 Thread Ernesto Karim Oltra
Ask the user to add the e-mail from address of your e-mails to their contacts list, so your e-mails would never been sent to spam again (for that users, at least). It's a bit hacky, but can do a great work meanwhile you find another solution. On 18 mar, 07:52, Eric Ka Ka Ng ngk...@gmail.com

[google-appengine] Re: Reduce DeadlineExceededErrors

2011-03-14 Thread Ernesto Karim Oltra
/third_party/ django-1.2/django/utils/importlib.py, line 35, in import_module __import__(name) File /base/data/home/apps/historypoint/11.348957479872960786/utils/ template_filters.py, line 7, in module __author__ = 'Ernesto Karim Oltra' On 14 mar, 04:50, Robert Kluin robert.kl...@gmail.com

[google-appengine] Re: About the usage of GAE

2011-03-14 Thread Ernesto Karim Oltra
GMail is not necessary! Users can obtain their own GOOGLE account using GMAIL or HOTMAIL or whatever url they want. Google handles the registration/confirmation/login/logout process. Google Accounts, through Users API it's the best option. On 14 mar, 14:39, Qiang Wang rurality...@gmail.com wrote:

[google-appengine] Reduce DeadlineExceededErrors

2011-03-13 Thread Ernesto Karim Oltra
Sporadically I receive a deadline error, refresh the page again and all goes well. In the logs it says it's a line containing a comment (from gdata package, so i'm sure it's not an error) or a simple import logging; things like that. So my question is, what throws this error when the instance is

[google-appengine] Re: How can i delete a column from my table from within my app engine account ?

2011-03-10 Thread Ernesto Karim Oltra
There is an old, but very useful article in google appengine docs. See section Removing properties (and the others if you want :) ) http://code.google.com/intl/en/appengine/articles/update_schema.html On 10 mar, 08:14, Daniel vedm...@gmail.com wrote: Hi I have no use in a certain column in my

[google-appengine] Re: The problem of Django run on GAE about setting 有關Django在GAE執行相關的設定問題

2011-03-07 Thread Ernesto Karim Oltra
why don't use this instead? I think is easier (and Django 1.2 is included in GAE directly, no need to upload it with your app): from google.appengine.dist import use_library Configures Django 1.2. use_library('django', '1.2') os.environ['DJANGO_SETTINGS_MODULE'] = 'conf.settings' # Force Django

[google-appengine] Re: HR Vs. Master-Slave Comparison. Is it worth extra cost?

2011-03-06 Thread Ernesto Karim Oltra
http://code.google.com/intl/en/appengine/docs/python/datastore/hr/#Comparing_the_Data_Storage_Options You can select one of two data storage options when you create your application: The Master/Slave Datastore The Master/Slave Datastore is the default for new applications. It uses a master-slave

[google-appengine] Re: Problem using Users API

2011-03-04 Thread Ernesto Karim Oltra
to the google app engine account signup? There is a another bug which you may also want to star:http://code.google.com/p/googleappengine/issues/detail?id=1781 On Thu, Mar 3, 2011 at 16:12, Ernesto Karim Oltra ernestoka...@gmail.com wrote: Hi, Some of the users of my apps didn't have

[google-appengine] Re: Attempting to guarantee a write

2011-03-03 Thread Ernesto Karim Oltra
Have you tried to implement some kind of status model in the db? Save the info in datastore. and call the tasks. Then the task could go see the data stored and check if it must confirm the bid, quit the task, send confirm e-mails, or things like that. On 3 mar, 08:52, Richard Arrano

[google-appengine] Re: appcfg.cmd update NEVER asks for authentication. Is it a security flaw?

2011-03-03 Thread Ernesto Karim Oltra
LoginCookieUtils.CookieData.html inside .\docs\testing\javadoc\com\google\appengine\api\users\dev which has no relevant details. Where to find it. -Prakhar On Thu, Mar 3, 2011 at 5:18 AM, Ernesto Karim Oltra ernestoka...@gmail.comwrote: It saves a temp file with a cookie, which saves the session

[google-appengine] Problem using Users API

2011-03-03 Thread Ernesto Karim Oltra
Hi, Some of the users of my apps didn't have an account with google yet, so when they click the Login link pointing to create_login_url() they are redirected to google login page. There, below the login form there is a link to register if you don't have an account. Most of my clients use that

[google-appengine] Re: appcfg.cmd update NEVER asks for authentication. Is it a security flaw?

2011-03-02 Thread Ernesto Karim Oltra
It saves a temp file with a cookie, which saves the session in the server, so you don't have to re-type the data over and over. In my linux, one the cookie last for one day, so each day it asks for username and password only one time. If you're using linux, for example, the file is in

[google-appengine] Re: A silly problem matching URL to handlers

2011-02-25 Thread Ernesto Karim Oltra
:      http://code.google.com/appengine/docs/python/mail/receivingmail.html Robert On Thu, Feb 24, 2011 at 17:09, Ernesto Karim Oltra ernestoka...@gmail.com wrote: I've found the solution my way. =) Google App Engine don't call str...@appid.appspot.com, but string%40appid.appspot.com

[google-appengine] A silly problem matching URL to handlers

2011-02-24 Thread Ernesto Karim Oltra
Hi, I was trying to match a handler to a URL, so I'm using this code: class HomeworkSendMail(webapp.RequestHandler): PATH = '/_ah/mail/sendhm@appid\.appspotmail\.com' def post(self): logging.debug('reached!') URLMAP = [ (HomeworkSendMail.PATH + '/?', HomeworkSendMail), ] def main():

[google-appengine] Re: A silly problem matching URL to handlers

2011-02-24 Thread Ernesto Karim Oltra
I've found the solution my way. =) Google App Engine don't call str...@appid.appspot.com, but string%40appid.appspot.com, at least in SDK. I will have to test it in production too. On 24 feb, 22:39, Ernesto Karim Oltra ernestoka...@gmail.com wrote: Hi, I was trying to match a handler to a URL

[google-appengine] Re: AppEngine seems slow to me. Is it normal?

2011-02-23 Thread Ernesto Karim Oltra
I'm using extensively this class for paginations and it goes very well:

[google-appengine] How much time does Inbound mail have?

2011-02-18 Thread Ernesto Karim Oltra
I know front request may not take longer than 30 seconds, and taskqueues and crons no more than 10 minutes. Currently I'm begining to use inbound mail service. I will not spent more than 1,5 seconds in them, but how much time does the mail handlers have? -- You received this message because you

[google-appengine] Re: Tip: [...WHERE prop = :1 AND prop :2] with accents?

2011-02-18 Thread Ernesto Karim Oltra
I will transform all words to don't use accents at all (using mybe a simple 'string'.replace() method for example when saving). Plain words only. If you have currently a lot of data you can use MapReduce, and from now use words without accents. On 18 feb, 12:16, Sahid Orentino Ferdjaoui

[google-appengine] Re: Storing word document contents in datastore(Python)

2011-02-18 Thread Ernesto Karim Oltra
,                         headers={'Content-Type': 'multipart/form- data'})                 print result.content but it gave Internal Server Error. I don't know what is wrong with it. The system seems working normally but I could not run it with urlfetch. On 17 Şubat, 17:12, Ernesto Karim Oltra ernestoka...@gmail.com

[google-appengine] Re: Storing word document contents in datastore(Python)

2011-02-17 Thread Ernesto Karim Oltra
Taskqueues, that's what I'm using now. To update a word document of about ten pages, it takes more or less 1500ms average (at least for me =) ). And this have a big advantage, you can take control of retries if docs is temporaly unavailable. Another useful option would be to store a cache in

[google-appengine] Re: Storing word document contents in datastore(Python)

2011-02-16 Thread Ernesto Karim Oltra
Well, maybe it's not a viable solution, but Word document is a ZIP file with a lot of plain text files inside, so if you know the format, you can store the words the document contains. The option I will implement would be sending the document, storing it in datastore, enqueue a task to re-send it

[google-appengine] Re: Missing Dashboard Graph Data

2011-02-08 Thread Ernesto Karim Oltra
me too +1. I can't see it. But I don't need it especially, I use Google Analytic, it's better. On 8 feb, 08:53, master outside masterouts...@gmail.com wrote: I am missing all data on the dashboard for before the maintenance today. I see this on all my app. I often will look back 30 days to see

[google-appengine] Re: The documentation about accessing gdata in GAE (python)

2011-02-07 Thread Ernesto Karim Oltra
I'm currently using Gdata v3, and OAuth for authentication. This code will get a previously stored in datastore document and update its title according to a new string passed to the handler. download = # I get my model from datastore here token =

[google-appengine] Re: Storage: alternatives to Blobstore

2011-02-06 Thread Ernesto Karim Oltra
I use Google Docs currently in my projects to give my clients the control over their files: list, rename, delete, move, etc. I programmed a synchronisation cron every hour or so to cache data localy in datastore. The advantage is I haven't got to programme all that boring ui: remove, rename, etc.

[google-appengine] Re: Why there are no easy to understand example in documentation for pagination with cursor?

2011-02-06 Thread Ernesto Karim Oltra
Well, I'm using this recipe(1) because cursor it's only a bookmark for datastore. If I want prev,next feature you will need something more than a cursor. (storing it in memcache? or things like that). You can build something like Twitter, with his button More tweets or something like that and to

[google-appengine] Re: Why there are no easy to understand example in documentation for pagination with cursor?

2011-02-06 Thread Ernesto Karim Oltra
But as you can see, no option to put a Back link, because queries must be exactly identical, the order can't change, the filters can't change, nothing can change. So the only possible solution I can think of is storing it somewhere, like using AJAX for paging and storing it in Javascript, or

[google-appengine] Google Docs rejects queries from app engine

2011-02-04 Thread Ernesto Karim Oltra
All google docs queries return an error page giving me a sorry message because i'm sending automated queries. One request an hour is not so much. RequestError: Server responded with: 503, htmlheadmeta http- equiv=content-type content=text/html; charset=utf-8/ titleSorry.../titlestyle body {

[google-appengine] Re: Google Docs rejects queries from app engine

2011-02-04 Thread Ernesto Karim Oltra
Well, now working, but this error has been raised three or four periods of time since yesterday. On 4 feb, 18:05, Ernesto Karim Oltra ernestoka...@gmail.com wrote: All google docs queries return an error page giving me a sorry message because i'm sending automated queries. One request an hour

[google-appengine] Re: Sitemaps structure for large GAE site

2011-01-31 Thread Ernesto Karim Oltra
Take care there is a limit in the number of files you can upload to GAE. I have seen it somewhere in the documentation. The best solution would be Barry's one, store the info in the datastore. On 28 ene, 22:05, Ana Belén Ramón anabe...@gmail.com wrote: Hi! I'm thinking on the best way to

[google-appengine] Red/Yellow warnings for offline requests

2011-01-27 Thread Ernesto Karim Oltra
Hi, I've read crons and tasks have a deadline of 10 minutes, so I'm using more than one second in the requests, but the logs page colurise them as if they were a normal, online request. 952cpu_ms 672api_cpu_ms - orange (it's a cron!! It has 10 minutes * 60 seconds * 1000 ms, isn't it?)

[google-appengine] Red/Yellow warnings for offline requests

2011-01-27 Thread Ernesto Karim Oltra
Hi, I've read crons and tasks have a deadline of 10 minutes, so I'm using more than one second in the requests, but the logs page colurise them as if they were a normal, online request. 952cpu_ms 672api_cpu_ms - orange (it's a cron!! It has 10 minutes * 60 seconds * 1000 ms, isn't it?)

[google-appengine] Re: The links in my application navigate me to an empty page

2011-01-24 Thread Ernesto Karim Oltra
The problem isn't the links. The problem is the page. Have you seen your logs searching for 403/404 (Page not found, etc.) errors? Use some tool like Firebug or the Developer Tools of Chrome to see what code the server returns so yo can address more precisely the source of your error (or give a

[google-appengine] Re: Help Using Accounts API on a Python App

2011-01-24 Thread Ernesto Karim Oltra
Wow! I think you mixing static files with dinamic handlers. I've tested it now and static files seems cannot been restricted by adding login: required to app.yaml. So you have two ways. One would be to restrict only handlers (python). the static resources could be read by anyone in the web. The

[google-appengine] Appstats throws a warning during loading

2011-01-23 Thread Ernesto Karim Oltra
Each time a new instance is created in the production server, or a I requested the first page after start the SDK server, the file /google/ appengine/ext/api/lib_config.py throws this exception: Configuration webapp_add_wsgi_middleware not recognized I suppose it refers to the function I've

[google-appengine] Re: WYSIWYG JavaScript text editor

2011-01-22 Thread Ernesto Karim Oltra
You have said that in the title. JAVASCRIPT text editor, not GAE/ PYTHON/DJANGO text editor, so only the user navigator matters. I've used both TinyMCE and CKEditor; how Brian have said copy the files to your static directory and called them from the HTML. If you refer to how get the contents in

[google-appengine] Re: How to use the same variable in two handlers?

2011-01-22 Thread Ernesto Karim Oltra
Hi, render is a common word meaning build the form. You are sending the user a page, with the form. How do you build that page or how do you print the HTML you've written? PD: Have you seen the Python tutorial? http://code.google.com/intl/en/appengine/docs/python/gettingstarted/ On 22 ene,

[google-appengine] Re: How get link text

2011-01-20 Thread Ernesto Karim Oltra
mmm first. Navigators nevers send the text of the link, so you cannot get it anyway. Second, you're using literals instead of variables. This line: items.filter(type =, merchandise_type) must be: items.filter(type =, merchandise_type) There are a great difference between the string

[google-appengine] Re: Night processing for map-reduce?

2011-01-18 Thread Ernesto Karim Oltra
I suppose it depends on the rates of your app. See the graph in the dashboard, it will help to find free hours. On 18 ene, 15:26, NealWalters nealwalt...@nealwalters.com wrote: Is there any concept of night processing within GAE?  I realize that if a system is world-wide, it is 24x7 and it is

[google-appengine] What design has better perfomance?

2011-01-18 Thread Ernesto Karim Oltra
Actually I'm using key_names intensively in my app, instead of using ReferenceProperty. I store them in StringProperty when indexes needed, and TextProperty otherwise; so I am not worried about indexes. My handlers works with them in URLs, example: /profiles/[key name of the account]/edit

[google-appengine] Re: App Engine Stalling on Windows XP

2011-01-18 Thread Ernesto Karim Oltra
I known some users have problems with Chrome, because it uses parallel downloads to finish quicker, but the local server is only one thread, so from time to time, again only sometimes, hangs until it is refreshed. But not that high rate. Try cleaning the navigator cache. PD: It would be useful to

[google-appengine] Re: How to implement 'Mark All Read' feature in appengine

2011-01-09 Thread Ernesto Karim Oltra
Maybe you need to re-think your database models. This message may help: http://groups.google.com/group/google-appengine/browse_thread/thread/52d44bde94f2e8b8?pli=1 On 9 ene, 17:57, nischalshetty nischalshett...@gmail.com wrote: Say a user selects 5000 unread messages (each message is an entity)

[google-appengine] Channel disconnect messages

2010-12-23 Thread Ernesto Karim Oltra
Is the appengine team working on implementing the disconnection message of the Channel API? If so, when they have planned to released it? I'm currently working in a kind of chat, and this feature will be very useful, better that continuously send request to check the presence of the client. --

[google-appengine] Re: Deploy app to several appengines at the same time..?

2010-12-21 Thread Ernesto Karim Oltra
Have you tried a shell script? Or anything that runs on your client? On 21 dic, 08:18, Dieter Krachtus dieter.krach...@googlemail.com wrote: Hi, For different testing purposes I want to deploy the same app to 3 different appengines and make the new version the default version. So far I

[google-appengine] Re: Pagination used in dashboard

2010-12-11 Thread Ernesto Karim Oltra
://twitter.com/app_engine On Fri, Dec 10, 2010 at 3:49 PM, Ernesto Karim Oltra ernestoka...@gmail.com wrote: I don't know exactly the code behind the app engine dashboard, but I notice they use two variables, offset and limit to paginate through the results in the admin logs. I wonder if they use

[google-appengine] Pagination used in dashboard

2010-12-10 Thread Ernesto Karim Oltra
I don't know exactly the code behind the app engine dashboard, but I notice they use two variables, offset and limit to paginate through the results in the admin logs. I wonder if they use some kind of efficient implementation, or only the dirty one, by using fetch(offset, limit). -- You

[google-appengine] Does batch get in App Engine cache repeated keys?

2010-10-13 Thread Ernesto Karim Oltra
I'm fetching a list of threads for a forum, and some of them may have been written by the same user. I get all the user keys with a for loop and then I get all them at the same time. So, my question is, if the user key is repeated, it will be cached or it will count as if it was another user? If