[google-appengine] Are there any data recovery mechanisms for google app engine database?

2009-07-29 Thread DiveIntoGAE
If I delete some important datas by mistake, how can I recover them? --~--~-~--~~~---~--~~ 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.co

[google-appengine] Does any company use Google app engine to built website for themself?

2009-02-26 Thread DiveIntoGAE
I found that many programers have written some interesting small applications using Google App enigne, but i wonder how many company have choosen Google App engine to built there websites?Are there a lot? --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] what is the budget to use google app engine for one year?

2009-02-28 Thread DiveIntoGAE
Suppose i have a company that has 500 people, and i want to built a website using google app engine for the people in my company, how can i estimate the one year budget using google app engine?Can anybody give the detailed process to work out the results?You can suppose some datas when dealing wit

[google-appengine] problem occurs when i read chinese character from app engine database

2009-03-11 Thread DiveIntoGAE
the data in my app engine database was english characters. today i directly use admin cosole to change them to chinese charactors, but they just show "none" in the web page.what is wrong? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[google-appengine] A dilemma of reading data from and saving data into app engine database!

2009-03-11 Thread DiveIntoGAE
If we don't use decode("utf-8"), we can insert data into app engine database easily, but the problem will occur when reading these data from your database, some strings may show "None" in web pages. if we use decode("utf-8"), some character can't insert into the database,the error may similar to

[google-appengine] write the requested data into app engine database

2009-03-25 Thread DiveIntoGAE
the code is below: person.FAMILY_NAME = self.request.get('FAMILY_NAME').encode ('utf-8') this code will cause the below error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in range(128) I have # -*- coding: utf-8 -*- in my .py file,and i also

[google-appengine] why can`t equal:{% i fequal myDB.USERNAME "エデュケーション " %}selected{% endifequal %}

2009-03-26 Thread DiveIntoGAE
エデュケーション myDB.USERNAME is "エデュケーション" in the app engine database,but they can`t equal in the html page,why? My html page and .py file are all utf-8. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine

[google-appengine] app engine:read a database model and make every attribute to utf-8

2009-03-26 Thread DiveIntoGAE
the datas read from app engine are unicode, i want to make them to utf-8. i can make them to utf-8 attribute by attribute, but it should deal with every attribute.It is too slowly. is there a faster way? --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] how to make the date that read from google app engine database to utf-8?

2009-04-05 Thread DiveIntoGAE
i want to read strings from google app engine database and make them to utf-8,how can i do that?The strings in my html page are utf-8, if i compare the string from databse with them,i should make the string from databse to utf-8. --~--~-~--~~~---~--~~ You received t

[google-appengine] this cause an error ,why?

2009-04-08 Thread DiveIntoGAE
deptId = self.request.get('deptId','0100') deptIdBig = deptId.replace('00','99') personsInfoQuery = db.Query(BS_EMPLOYEE_BASEINFO) PersonsInfo = personsInfoQuery.filter('DEPT_ID >=', deptId).filter('DEPT_ID <', deptIdBig).fetch(100,offset=0) --~--~-~--

[google-appengine] Re: how to make the date that read from google app engine database to utf-8?

2009-04-08 Thread DiveIntoGAE
f8String = unicodeString.encode('utf-8') > > On Mon, Apr 6, 2009 at 8:21 AM, DiveIntoGAE wrote: > > > i want to read strings from google app engine database and make them > > to utf-8,how can i do that?The strings in my html page are utf-8, if i > > compare the string from databs

[google-appengine] Re: this cause an error ,why?

2009-04-08 Thread DiveIntoGAE
you are right,but this is not the main problem.this query exceeds time, and that is the problem On 4月8日, 午後3:52, djidjadji wrote: > When there are no '00' in deptId then deptId and deptIdBig are equal. > > How can something be >=x AND > 2009/4/8 DiveIntoGAE

[google-appengine] ajax problem in gae.any people help me?

2009-04-16 Thread DiveIntoGAE
when i change the customerId select, the departmentId select and the contactorName Select will also change,but the following code can't do that.can anybody points out the problem? The code is belowing: - v

[google-appengine] how to use json string in guest side?

2009-04-17 Thread DiveIntoGAE
server side: result = '["e",{"pluribus":"unum"}]' self.response.out.write(simplejson.dumps(result)) guest side: var jsonResponse = JSON.parse(response); alert(jsonResponse); the result turns out to be: e,[Object Object] why? how can i get the

[google-appengine] db.Query(BS_EMPLOYEE_BASEINFO).filter('DEPT_ID >=', deptId).filter('DEPT_ID <', deptIdBig)

2009-05-12 Thread DiveIntoGAE
The code is below, it is always timeout, why? how can i improve it?: deptId = self.request.get('deptId','0100') deptIdBig = deptId.replace('00','99') personsInfoQuery = db.Query(BS_EMPLOYEE_BASEINFO).filter('DEPT_ID >=', deptId).filter('DEPT_ID <', deptIdBig) --~--~-~--~~--

[google-appengine] is it a bug of python 2.5?----remove elements from list in for cycle

2009-06-01 Thread DiveIntoGAE
>>> a=["b","c","t","y","b","b","b","b"] >>> a ['b', 'c', 't', 'y', 'b', 'b', 'b', 'b'] >>> for i in a: a.remove("b") # why can't i remove all the "b" from list a? >>> a ['c', 't', 'y', 'b'] # this is the result after the for cycle >>> a.remove("b") >>> a ['c', 't', 'y']

[google-appengine] How to search key word "c++" or "c#" from database using app engine?

2009-06-01 Thread DiveIntoGAE
when you search key word "c++" or "c#" from database ,you get nothing.how can i solve this problem? code: query.filter('PROGLANG_USED =', language) if the language=="c++", there will be no results returning. i know it is the problem of special character of "+" and "#", but how to deal with th

[google-appengine] Can Google App Engine read CSV file and show the content in the web page?

2009-06-04 Thread DiveIntoGAE
Can Google App Engine read CSV file and show the content in the web page? Can anybody give me a example? --~--~-~--~~~---~--~~ 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] google.appengine.tools.bulkloader.FileExistsError :data.csv:output file exists

2009-06-10 Thread DiveIntoGAE
I got this problem when uploading a csv file using bulkloader. How can i solve this problem? --~--~-~--~~~---~--~~ 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-appen