[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-29 Thread Haisheng HU

In my case I just lost the source code of a project, although it is
not a big one. (So I didn't get it into SVN or something like that.)
It would be great to be able to download the source code from app
engine. Gasp!

Haisheng from Beijing


On Jul 23, 5:02 pm, "Nick Johnson (Google)" 
wrote:
> Hi Jungang,
>
> Using a version control system such as SVN or Git is your best bet. App
> Engine is not intended to be used as version control.
>
> -Nick Johnson
>
>
>
>
>
> On Wed, Jul 22, 2009 at 11:46 PM, Juguang XIAO  wrote:
> > This is not a usual case, but people at times may still need it.
>
> > I have two machines, one in office and one at home, working on the same GAE
> > project. My usual practice to synchronize these 2 environments is to copy
> > the files over my USB drive. As you can see this is very traditional way.  I
> > once came across the idea to use a SVN server to sync, but now I think it
> > may be the best that GAE provides such features for us. When we do
> > `appcfy.py update`, it is really a update or check-in. Why not just add
> > check-out ?
>
> > My 2 cents
>
> > Juguang
>
> > --
> > =
> > Juguang XIAO
> > Beijing, China
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047
--~--~-~--~~~---~--~~
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] How can I know if the entity is created or just updated in post call hook?

2009-07-29 Thread Takashi Matsuo

Hi,

I'm writing a capability for registering db_hook dynamically. The code
snippet follows the mail body.
It works well except my code can not distinguish newly created entity
from updated entity.

I'd like to know how can I know if the entity is created or just
updated. What is the most appropriate way?

Regards,

--
from google.appengine.api import apiproxy_stub_map
from google.appengine.api import datastore
from google.appengine.ext import db

post_save_hooks = {}

def register_post_save_hook(func, model):
  global post_save_hooks
  kind = model.kind()
  func_list = post_save_hooks.get(kind, None)
  if func_list is None:
func_list = []
  func_list.append(func)
  post_save_hooks[kind] = func_list


def execute_hooks(kind, key, entity):
  func_list = post_save_hooks.get(kind, None)
  if func_list is not None:
entity.key_.CopyFrom(key)
e = datastore.Entity._FromPb(entity)
instance = db.class_for_kind(kind).from_entity(e)
for func in func_list:
  func(instance)

def db_hook(service, call, request, response):
  if call == 'Put':
from kay.utils.db_hook import execute_hooks
for key, entity in zip(response.key_list(), request.entity_list()):
  kind = model_name_from_key(key)
  execute_hooks(kind, key, entity)

apiproxy_stub_map.apiproxy.GetPostCallHooks().Append(
  'db_hook', db_hook, 'datastore_v3')
--

-- 
Takashi Matsuo

--~--~-~--~~~---~--~~
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: Queue isEmpty() method

2009-07-29 Thread James

Absolutely agree. Introspection of the task queue would be a huge
help.

On Jul 11, 1:11 am, "Paulo V."  wrote:
> It would be extremely useful to have an isEmpty() method ontask
> queues.  An application we are building is going through hoops to
> indirectly detect when all tasks in aqueuehave completed.  The
> isEmpty() method would greatly simplify a wide class of applications
> which combine sequential phases each of which is decomposed into a
> large number of asynchronous tasks.
--~--~-~--~~~---~--~~
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: YUI widgets and GAE

2009-07-29 Thread Tim Hoffman

You may find you have different things in various caches such as the
browser cache, intervening proxies etc..

T

On Jul 30, 1:17 pm, Djaccb  wrote:
> Your suggestion is a good one to review the css and HTML in both the
> local and  GAE version. I am very puzzled there would be any
> difference because when I use the appcfg.py routine the local files
> are uploaded to GAE. There should not be any difference between the
> two sets of files.
--~--~-~--~~~---~--~~
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: YUI widgets and GAE

2009-07-29 Thread Djaccb

Your suggestion is a good one to review the css and HTML in both the
local and  GAE version. I am very puzzled there would be any
difference because when I use the appcfg.py routine the local files
are uploaded to GAE. There should not be any difference between the
two sets of files.
--~--~-~--~~~---~--~~
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: No SMS support for my country

2009-07-29 Thread G.Jara

Hi Nick,
Same issue as other people from Colombia: there is not any Colombian
mobile operator listed yet.
Could you please activate my account?

Thank you.

On Jul 29, 3:38 pm, "Nick Johnson (Google)" 
wrote:
> Hi,
>
> If you are having trouble with SMS verification, or want an additional
> account activated, please fill out the following form:
>
> http://appengine.google.com/waitlist/sms_issues
>
> (This is from the following FAQhttp://code.google.com/appengine/kb/sms
> .html#error )
>
> Once you fill out this form, you should receive access within a day or two.
>
> Happy coding,
>
> Nick Johnson
>
>
>
>
>
> On Wed, Jul 29, 2009 at 8:56 PM, G.Jara  wrote:
>
> > Hi Nick,
>
> > I'd appreciate if you can activate my account.
> > Thank you in advance.
>
> > Best regards.
>
> > On Jul 22, 7:51 am, "Nick Johnson (Google)" 
> > wrote:
> > > Hi Pilar,
>
> > > I've activated your account.
>
> > > -Nick Johnson
>
> > > On Mon, Jul 20, 2009 at 3:10 PM, Pilar Posada
>
> > > Saldarriaga wrote:
>
> > > > I'm having the same problem, I'm from Colombia.
>
> > > > Can you help me please, Nick?
>
> > > > Thank you very much.
>
> > > > On Jul 16, 9:17 am, "Nick Johnson (Google)" 
> > > > wrote:
> > > >> I've activated your account.
>
> > > >> -Nick Johnson
>
> > > >> On Thu, Jul 16, 2009 at 2:24 PM, Munkhbaatar
> > wrote:
>
> > > >> > Hello, I am from Mongolia,
>
> > > >> > I have a problem with "Verify Your Account bySMS" page. NoSMS
> > > >> > support for mycountry.
>
> > > >> > Is there any other way of verifying my account?
>
> > > >> > Thanks.
>
> > > >> --
> > > >> Nick Johnson, App Engine Developer Programs Engineer
> > > >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> > > >> Number: 368047
>
> > > --
> > > Nick Johnson, App Engine Developer Programs Engineer
> > > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> > > Number: 368047
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: DownloadError: ApplicationError: 5

2009-07-29 Thread condor


Hi, Jeff.

Thank you for your answer.

> http://spreadsheets.google.com/feeds/list/{key}/{worksheetId}/private/full/{rowId}

When I tried indicating a row_id, It was success in a little seconds.

And, I tried indicating the parameter "sq" for small feed size, then
It was success too.



On 7月30日, 午前8:42, "Jeff S (Google)"  wrote:
> Hi condor,
>
> The maximum deadline for urlfetch is 10 seconds and it might be possible
> that the spreadsheets API is taking longer than that to reply even if the
> expected feed size is small. Have you tried to fetch just a single row entry
> (instead of a feed query)
>
> http://spreadsheets.google.com/feeds/list/{key}/{worksheetId}/private/full/{rowId}
>
> Please let me know how it goes. Receiving timeouts from these APIs is
> frustrating and I'd like to be able to work through this issue with the
> Spreadsheets API.
>
> Thank you,
>
> Jeff
>
> On Tue, Jul 28, 2009 at 8:11 PM, condor  wrote:
>
> > Hi,
> > I have a same situation too.
>
> > When I requested a spreadsheet API by the method
> > gdata.spreadsheets.service.GetListFeed of python client liblary 2.0.1,
> > It's occured the DownLoadError ApplicationError 5.
>
> > File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
> > line 241, in fetch
> >    return rpc.get_result()
> >  File "/base/python_lib/versions/1/google/appengine/api/
> > apiproxy_stub_map.py", line 442, in get_result
> >    return self.__get_result_hook(self)
> >  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
> > line 331, in _get_fetch_result
> >    raise DownloadError(str(err))
> > DownloadError: ApplicationError: 5
>
> > I think the reason is not timeout, since the same error occured even
> > if I set the deadline parameter.
> > (This problem is solved  by the parameter on the SDK.)
>
> >    return HttpResponse(urlfetch.Fetch(url=str(url), payload=data_str,
> >      method=method, headers=all_headers, follow_redirects=False,
> > deadline=60))
>
> > ↑ gdata.alt.appengine.py # 145
>
> > The spreadsheets has many rows.
> > But I am sure the download size is not large, because it's set the
> > following parameter.
>
> >  row_query = gdata.spreadsheet.service.ListQuery()
> >  row_query.start_index = str(1)
> >  row_query.max_results = str(1)
>
> > Please tell me the reason of  this error on GAE.
--~--~-~--~~~---~--~~
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] 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.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] Created an application if you like to view and use, you are most welcome !!

2009-07-29 Thread Huzefa

Hi !!

Created an application if you like to view and use, you are most
welcome !!

http://general-ledger.appspot.com/
--~--~-~--~~~---~--~~
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] Datastore Design

2009-07-29 Thread Mark Jones

I'm using the AppEnginePatch to get a fairly useful Django
implementation.  The problem I've run into is that parent/child/
ancestor relationships aren't well supported.  I've found a less than
pretty workaround for the moment.

The link to this discussion is
http://groups.google.com/group/app-engine-patch/tree/browse_frm/thread/d1399dee0fe6bd08/1fcac449684ce388?rnum=1&_done=%2Fgroup%2Fapp-engine-patch%2Fbrowse_frm%2Fthread%2Fd1399dee0fe6bd08%3F#doc_1fcac449684ce388,
but here are my design thoughts.

Account:  (Parent)   one per user
  Item: (Child) 1000 or so per user

I think that to do this optimally in the appengine with 100,000,000
rows and 100,000 users is to cluster the data around the account.  So
that the Account is the parent to the Items on a per user basis.
Account is the parent/ancestor of Items that belong to that account.

Is this just over design on my part?  Will ReferenceProperties work
just as well?

I'm thinking about this from the stand point of wanting to see all the
Items from Sam's account.  I don't want to search for Sam's items
across 100,000,000 rows, I want to open up Sam's account by key, then
search across the 1000 rows that belong to Sam.

Could someone that actually understands the insides of the Datastore
tell me I'm right or wrong?


--~--~-~--~~~---~--~~
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: sendmail InvalidSenderError

2009-07-29 Thread thebrianschott

Thanks everyone for your help. I finally realized that the
only way to satisfy the gae sendmail requirements is
to make my own email address the sender address,
-- not the "user" -- because when the email is sent,
no "user" is involved.

This is not the solution I wanted, and I hope it does
not prove to be a deal breaker for potential adopters.

TellMeStraight.appspot.com
SuggenstionDrop.appspot.com

Brian in Atlanta
--~--~-~--~~~---~--~~
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: Retrieve source code from appspot

2009-07-29 Thread Mahmoud

Hi G,

See the Community FAQ here:
http://knol.google.com/k/marce/app-engine-community-faqs/vkzeph4si12v/1#

Cheers,
Mahmoud

On Jul 29, 4:14 pm, G  wrote:
> Is there any mechanism to retrieve the deployed source code from
> appspot ?
>
> I have had my laptop stolen and some of my backups are rather stale
> and in one case non-existant (I know dumbass move).
>
> I'm guessing the answer is no but you never know.
>
> Thanks
>
> G
--~--~-~--~~~---~--~~
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: YUI widgets and GAE

2009-07-29 Thread Tim Hoffman

Hi

I honestly can't see the why from  a yui point of view that the dev
server could be
any different to the prod server, unless you have slightly different
output
of the html and/or accompanying styles.

I suggest you save the css and html page as rendered on both systems
and then do a diff between them.

I am successfully using yui on sdk and prod with absolutley no
problems.

T

On Jul 30, 2:23 am, Djaccb  wrote:
> I have written a small program using the YUI data table widget and
> GAE. When I run the program locally the YUI data table widget works
> correctly. However when I load the program to GAE the scroll bars in
> the data table do not show.
>
> I am wondering if there are settings I can modify so my program works
> the same whether or not the program runs locally or hosted on the
> GAE.
>
> Are other people seeing some discrepancies between running the program
> locally and being hosted on GAE?
>
> Sincerely,
>
> Dave
--~--~-~--~~~---~--~~
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: Help on the fetchurl feature [setRequestProperty/set request header has limited length]

2009-07-29 Thread Jeff S (Google)
Hi Michael,

Hmmm, the Authorization header should be allowed. There could be a few
factors involved that I'd like to learn a bit more about. What are the
approximate sizes of the authorization header, the full request. Could you
share some of the URLs which these requests are being sent to? Also are
these requests being made to App Engine, or from App Engine (using
URLFetch)?

Thank you,

Jeff

On Tue, Jul 28, 2009 at 8:53 PM, Millton  wrote:

>
> hi all
>   I'm currently using the GAE java runtime, and when I compose a
> https request, try to set "Authorization" header, it will be filtered
> by GAE, which caused 401 error all the time, the Authorization header
> is a little longer than basic web auth info, it's used for live
> contacts REST API.
>
> so is there any solution or workarround to avoid the limitation?
> thanks!
> Michael
>
> >
>

--~--~-~--~~~---~--~~
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: DownloadError: ApplicationError: 5

2009-07-29 Thread Jeff S (Google)
Hi condor,

The maximum deadline for urlfetch is 10 seconds and it might be possible
that the spreadsheets API is taking longer than that to reply even if the
expected feed size is small. Have you tried to fetch just a single row entry
(instead of a feed query)

http://spreadsheets.google.com/feeds/list/{key}/{worksheetId}/private/full/{rowId}

Please let me know how it goes. Receiving timeouts from these APIs is
frustrating and I'd like to be able to work through this issue with the
Spreadsheets API.

Thank you,

Jeff

On Tue, Jul 28, 2009 at 8:11 PM, condor  wrote:

>
>
> Hi,
> I have a same situation too.
>
> When I requested a spreadsheet API by the method
> gdata.spreadsheets.service.GetListFeed of python client liblary 2.0.1,
> It's occured the DownLoadError ApplicationError 5.
>
> File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
> line 241, in fetch
>return rpc.get_result()
>  File "/base/python_lib/versions/1/google/appengine/api/
> apiproxy_stub_map.py", line 442, in get_result
>return self.__get_result_hook(self)
>  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
> line 331, in _get_fetch_result
>raise DownloadError(str(err))
> DownloadError: ApplicationError: 5
>
> I think the reason is not timeout, since the same error occured even
> if I set the deadline parameter.
> (This problem is solved  by the parameter on the SDK.)
>
>return HttpResponse(urlfetch.Fetch(url=str(url), payload=data_str,
>  method=method, headers=all_headers, follow_redirects=False,
> deadline=60))
>
> ↑ gdata.alt.appengine.py # 145
>
> The spreadsheets has many rows.
> But I am sure the download size is not large, because it's set the
> following parameter.
>
>  row_query = gdata.spreadsheet.service.ListQuery()
>  row_query.start_index = str(1)
>  row_query.max_results = str(1)
>
> Please tell me the reason of  this error on GAE.
>
> >
>

--~--~-~--~~~---~--~~
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: Task Queue Exception: What does it mean?

2009-07-29 Thread Jeff S (Google)
Hi Joshua,

Thanks for the feedback and apologies for the slow reply. I'd like to see if
I can get more details on what was going on in this particular case to see
if we can offer an error message which is more clear. Could you send me your
app ID and the task data which is being enqueued? Also, are you setting a
task name for these new tasks? If you want a task to be added just once, you
can choose a name which should help reduce the chances of runaway
contention. Depending on your design, this might be a good solution.

http://code.google.com/appengine/docs/python/taskqueue/overview.html#Worker_URLs_and_Task_Names

Also, what does your code look like when you retry task insertion? Do you
retry with the same task object?

Thank you,

Jeff


On Wed, Jul 29, 2009 at 10:59 AM, Joshua Smith  wrote:

>
> Am I asking this question on the right group?  The silence from google
> is deafening here!
> >
>

--~--~-~--~~~---~--~~
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] eclipse adding *.jsp file to war directory

2009-07-29 Thread ping

hello,

i have a problem with adding *.jsp files to my project.
everytime when im adding such a file eclipse marks it as faulty.
There are no concrete error tipps. it only marks the whole file.
When i run my application in debug mode everything is okay,
but im not able to deploy my application.. --> receive curious error:
cannot find javac.
when im deploying the project without jsp files.. again everything is
okay...

so why does eclipse not wanting my jsp files? i have no clue :(


--~--~-~--~~~---~--~~
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] Cloud Computing / Python / Django opportunity with NASA in CA

2009-07-29 Thread Mehdi H

Hello Dev Enthusiasts,

My name is Mehdi Hanbali and I’m a technical recruiter with
TEKsystems.  We’re a partner with NASA and they’re currently working
to build a Cloud Computer Infrastructure here in Mountain View, CA at
NASA Ames Research.  It’s a really cool project because of its high
visibility and breaking into Cloud Computing at the government level.
It is backed by the government and the goal is to have this as the
model and standard for cloud computer, which makes it even cooler.

The main technologies are Python and Django.

Thanks!
Mehdi

--~--~-~--~~~---~--~~
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] Retrieve source code from appspot

2009-07-29 Thread G

Is there any mechanism to retrieve the deployed source code from
appspot ?

I have had my laptop stolen and some of my backups are rather stale
and in one case non-existant (I know dumbass move).

I'm guessing the answer is no but you never know.

Thanks

G

--~--~-~--~~~---~--~~
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: Noob web programmer seeks Jedi guru

2009-07-29 Thread Mark Essel

Sorry to be slow getting back to you Jeff. I had borked the callback
to redirect to the authorize handler.
I swapped my emails to be daily and must have missed your reply in the
deluge, my apologies.
I sincerely appreciate the offer of help!

You wouldn't happen to know of a handy scala oauth GAE friendly public
lib would you?
(been working with Python but I'm a sucker for tabs or messed up
spacing)

On Jul 27, 5:06 pm, "Jeff S (Google)"  wrote:
> Hi Mark,
>
> Would you mind sharing the URL of your app along with your app ID? Seeing
> these redirects in action would be very helpful, as these redirects could
> come from several different sources. If you could share relevant sections of
> your source code as well it should greatly improve our ability to get to the
> bottom of this :-)
>
> Thank you,
>
> Jeff
>
>
>
> On Mon, Jul 27, 2009 at 5:12 AM, Mark Essel  wrote:
>
> > Doing some simpe oauth stuff on the GAE and having a redirect merry go
> > round (doesn't happen with localhost).
>
> > Warning, just began using php a month ago, and dove into scala/lift/
> > java/python/GAE
> > please speak in simple words, a if you were explaining it to a child
> > (galaxy quest fans)
>
> > thanks ladies and gents in advance.
> > You'll be rewarded with the wonders of the virtual currency known as
> > gratitude
--~--~-~--~~~---~--~~
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: No SMS support for my country

2009-07-29 Thread Nick Johnson (Google)
Hi,

If you are having trouble with SMS verification, or want an additional
account activated, please fill out the following form:

http://appengine.google.com/waitlist/sms_issues

(This is from the following FAQ http://code.google.com/appengine/kb/sms
.html#error )

Once you fill out this form, you should receive access within a day or two.

Happy coding,

Nick Johnson



On Wed, Jul 29, 2009 at 8:56 PM, G.Jara  wrote:

>
> Hi Nick,
>
> I'd appreciate if you can activate my account.
> Thank you in advance.
>
> Best regards.
>
> On Jul 22, 7:51 am, "Nick Johnson (Google)" 
> wrote:
> > Hi Pilar,
> >
> > I've activated your account.
> >
> > -Nick Johnson
> >
> > On Mon, Jul 20, 2009 at 3:10 PM, Pilar Posada
> >
> >
> >
> > Saldarriaga wrote:
> >
> > > I'm having the same problem, I'm from Colombia.
> >
> > > Can you help me please, Nick?
> >
> > > Thank you very much.
> >
> > > On Jul 16, 9:17 am, "Nick Johnson (Google)" 
> > > wrote:
> > >> I've activated your account.
> >
> > >> -Nick Johnson
> >
> > >> On Thu, Jul 16, 2009 at 2:24 PM, Munkhbaatar
> wrote:
> >
> > >> > Hello, I am from Mongolia,
> >
> > >> > I have a problem with "Verify Your Account bySMS" page. NoSMS
> > >> > support for mycountry.
> >
> > >> > Is there any other way of verifying my account?
> >
> > >> > Thanks.
> >
> > >> --
> > >> Nick Johnson, App Engine Developer Programs Engineer
> > >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> > >> Number: 368047
> >
> > --
> > Nick Johnson, App Engine Developer Programs Engineer
> > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> > Number: 368047
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
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: No SMS support for my country

2009-07-29 Thread G.Jara

Hi Nick,

I'd appreciate if you can activate my account.
Thank you in advance.

Best regards.

On Jul 22, 7:51 am, "Nick Johnson (Google)" 
wrote:
> Hi Pilar,
>
> I've activated your account.
>
> -Nick Johnson
>
> On Mon, Jul 20, 2009 at 3:10 PM, Pilar Posada
>
>
>
> Saldarriaga wrote:
>
> > I'm having the same problem, I'm from Colombia.
>
> > Can you help me please, Nick?
>
> > Thank you very much.
>
> > On Jul 16, 9:17 am, "Nick Johnson (Google)" 
> > wrote:
> >> I've activated your account.
>
> >> -Nick Johnson
>
> >> On Thu, Jul 16, 2009 at 2:24 PM, Munkhbaatar 
> >> wrote:
>
> >> > Hello, I am from Mongolia,
>
> >> > I have a problem with "Verify Your Account bySMS" page. NoSMS
> >> > support for mycountry.
>
> >> > Is there any other way of verifying my account?
>
> >> > Thanks.
>
> >> --
> >> Nick Johnson, App Engine Developer Programs Engineer
> >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> >> Number: 368047
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> Number: 368047

--~--~-~--~~~---~--~~
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: YUI widgets and GAE

2009-07-29 Thread Daniel Rhoden

If its not too far committed, you might entertain using jQuery instead  
of YUI.  There is a plugin for just about everything.

Here is a blog entry I found regarding a guy who evaluated YUI and  
then ended up with jQuery.
http://henritersteeg.wordpress.com/2009/03/11/user-interface-widgets-from-yui-to-jquery-ui/

In my limited use of jQuery I've found it incredibly easy to use.  I  
love how many options there are for any one widget.  The variety gives  
me a better chance of using the thing right out of the box.

On Jul 29, 2009, at 1:23 PM, Djaccb wrote:

>
> I have written a small program using the YUI data table widget and
> GAE. When I run the program locally the YUI data table widget works
> correctly. However when I load the program to GAE the scroll bars in
> the data table do not show.
>
> I am wondering if there are settings I can modify so my program works
> the same whether or not the program runs locally or hosted on the
> GAE.
>
> Are other people seeing some discrepancies between running the program
> locally and being hosted on GAE?
>
> Sincerely,
>
> Dave
>
> >


--~--~-~--~~~---~--~~
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] YUI widgets and GAE

2009-07-29 Thread Djaccb

I have written a small program using the YUI data table widget and
GAE. When I run the program locally the YUI data table widget works
correctly. However when I load the program to GAE the scroll bars in
the data table do not show.

I am wondering if there are settings I can modify so my program works
the same whether or not the program runs locally or hosted on the
GAE.

Are other people seeing some discrepancies between running the program
locally and being hosted on GAE?

Sincerely,

Dave

--~--~-~--~~~---~--~~
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] Problem with sending email

2009-07-29 Thread Stephan

I am using the code described at 
http://code.google.com/appengine/docs/java/mail/usingjavamail.html
and still getting the following exception when sending email:

Nested in javax.servlet.ServletException:
java.lang.NoClassDefFoundError: java.net.InetAddress is a restricted
class.

Is this because I uploaded my own javamail.jar? Any clue is welcome.

Thanks,
-Stephan

--~--~-~--~~~---~--~~
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] IP Range and URL Fetch

2009-07-29 Thread r3k

Hi there,

One of the providers I'm working with requires that I provide them
with an IP range that my requests will be coming from.

Does App Engine provide this?

Thanks,

Allen

--~--~-~--~~~---~--~~
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] Logs query

2009-07-29 Thread jc

Is it possible to add an option which can filter by cpu time, that
will help on performance analytics.

--~--~-~--~~~---~--~~
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: Anything better than naked domains?

2009-07-29 Thread Peter Petrov

How about using SRV records, instead of CNAME? I don't know if the
popular browsers support them, but if yes, they are a perfectly valid
solution.

On Jul 29, 7:40 pm, "Nick Johnson (Google)" 
wrote:
> On Wed, Jul 29, 2009 at 5:37 PM, Barry Hunter
> wrote:
>
>
>
> > 2009/7/29 Nick Johnson (Google) :
> > > Hi Daniel,
>
> > > We don't support 'naked' domains due to issues with the way DNS works
> > (you
> > > can't CNAME a 'naked' domain). We are actively looking for a way to
> > resolve
> > > this.
>
> > It is possible to create a CNAME for a naked domain. Its not widely
> > supported by all DNS hosts though. It does however have the side
> > effect of breaking MX records - so email will not function on the
> > domain.
>
> It is in violation of the DNS RFC to create a CNAME record on a name that
> has any other records - that includes an A record for the 'www' subdomain.
> Some clients may be lenient enough to accept it, but it's not something to
> rely on.
>
>
>
> > Example:
>
> >http://centralops.net/co/NsLookup.aspx?domain=vacation-tours.co.uk&ty...
>
> > Alas cant make this work with AppEngine, because Google Apps says
> > "Required field must not be blank", when trying to associate it :(
>
> > This is what the 123-reg.co.uk admin has to say about it:
> > "Warning - If you have an @ record set to a CNAME, all other @ records
> > (including MX) will be ignored and set to the same domain to which it
> > points."
>
> > > There's no limitation on what subdomain(s) you can map your app to,
> > however
> > > - it doesn't have to be 'mydomain' or anything else. Most people map
> > their
> > > app to 'www', and use a service that sends 302 redirects to the www alias
> > > for any requests made to the naked domain.
>
> > > -Nick Johnson
>
> > > On Wed, Jul 29, 2009 at 3:08 PM, Daniel Rhoden 
> > wrote:
>
> > >> At any of the paid levels or free, is there any better support of
> > >> private domains than just naked domains, mapping  to http://
> > >> .yourdomain.com ?
>
> > >> For example, lets say I have domain 'mydomain.com' and I registered
> > >> 'mydomain' on App Engine.  It would be pretty silly having people go
> > >> to 'http://mydomain.mydomain.com/'
>
> > >> So I'm wanting to know, is there a way I can have 'mydomain.com' BE my
> > >> domain for my app?
>
> > >> Thanks.
>
> > >> Also, will there be any DNS offerings?
>
> > >> --Daniel Rhoden
> > >> Guntersville, Alabama
>
> > --
> > Barry
>
> > -www.nearby.org.uk-www.geograph.org.uk-
--~--~-~--~~~---~--~~
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: Deployment Limit?

2009-07-29 Thread Jeff S (Google)
Hi Jeremy,

Could you send me the app ID for this app? I imagine the quota limit is not
an issue today, but I'd still like to take a look. How frequently were the
new versions being uploaded?

Cheers,

Jeff

On Mon, Jul 27, 2009 at 10:41 PM, JeremyT  wrote:

>
> Hello all!
>
> Today I reached ~105 deployments.  It says my daily limit is 250, but
> it's saying I've reached my limit and won't let me deploy anymore for
> that specific ID.  I know the day is almost over and it will reset
> then, but it's still kind of annoying when that happens... I expected
> another ~150 for today ;P
>
> Any idea why this is happening?
>
> >
>

--~--~-~--~~~---~--~~
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: Task Queue Exception: What does it mean?

2009-07-29 Thread Joshua Smith

Am I asking this question on the right group?  The silence from google
is deafening here!
--~--~-~--~~~---~--~~
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: Unable to Deploy New Version

2009-07-29 Thread Nick Johnson (Google)
Hi Daniel,

Versions are strings, not integers. I believe decimal points are prohibited,
however.

-Nick Johnson

On Wed, Jul 29, 2009 at 6:10 PM, Daniel Rhoden  wrote:

>
> I did the same thing and learned that you can't do decimal version
> number, only integers.  (oh the waisted time)
>
>
> On Jul 29, 2009, at 11:53 AM, Joshua Smith wrote:
>
> >
> > Figured it out.  There was a syntax error in my .py file, and I was
> > getting this weird error, instead of the usual stack trace syntax
> > errors usually produce.  That's what I get for deploying a "trivial"
> > change without running it locally first! :)
> > >
>
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
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: Unable to Deploy New Version

2009-07-29 Thread Daniel Rhoden

I did the same thing and learned that you can't do decimal version  
number, only integers.  (oh the waisted time)


On Jul 29, 2009, at 11:53 AM, Joshua Smith wrote:

>
> Figured it out.  There was a syntax error in my .py file, and I was
> getting this weird error, instead of the usual stack trace syntax
> errors usually produce.  That's what I get for deploying a "trivial"
> change without running it locally first! :)
> >


--~--~-~--~~~---~--~~
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: Registered app not showing

2009-07-29 Thread Daniel Rhoden
Dag-nabit.  I just discovered that I never registered the account 
cleanslateso...@gmail.com 
.  I did some Googling and found out that account was used at one  
point by a similar entity (what are the odds??)

So sorry for the confusion.  I hope this doesn't mess anything up by  
activating that gmail account for the app.


On Jul 29, 2009, at 11:39 AM, Nick Johnson (Google) wrote:

> Hi Daniel,
>
> Signing up with an additional account is fine, as long as you don't  
> use it to create apps that attempt to evade the free quota limits by  
> distributing your traffic across multiple apps. I'll activate your  
> gmail account so you can use it to create the app. Once you've done  
> so, you can add your other address as an administrator on the app,  
> so you don't have to manage two separate accounts.
>
> -Nick Johnson
>
> On Wed, Jul 29, 2009 at 5:31 PM, Daniel Rhoden   
> wrote:
> Thanks so much!  I DO have that account.
>
> If I sign up with that account as well, wouldn't I be in violation  
> of having more than one App Engine Account?  Is that ok now?
>
>
> On Jul 29, 2009, at 11:10 AM, Nick Johnson (Google) wrote:
>
>> Hi Daniel,
>>
>> The app id you mention doesn't exist. It will show up as in use if  
>> a gmail account exists with that username. If that's your gmail  
>> account, you can sign in with it and use it to create the app.
>>
>> -Nick Johnson
>>
>> On Wed, Jul 29, 2009 at 3:46 AM, Daniel Rhoden   
>> wrote:
>> What can I do about an app name I registered but doesn't appear in  
>> my app list, nor can I register for it now because App Engine  
>> thinks it's taken.
>>
>> Who else would really want 'cleanslatesoaps'?
>>
>> Thanks,
>>
>> Daniel
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
> >


--~--~-~--~~~---~--~~
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: Anything better than naked domains?

2009-07-29 Thread Barry Hunter

2009/7/29 Nick Johnson (Google) :
> On Wed, Jul 29, 2009 at 5:37 PM, Barry Hunter 
> wrote:
>>
>> 2009/7/29 Nick Johnson (Google) :
>> > Hi Daniel,
>> >
>> > We don't support 'naked' domains due to issues with the way DNS works
>> > (you
>> > can't CNAME a 'naked' domain). We are actively looking for a way to
>> > resolve
>> > this.
>>
>> It is possible to create a CNAME for a naked domain. Its not widely
>> supported by all DNS hosts though. It does however have the side
>> effect of breaking MX records - so email will not function on the
>> domain.
>
> It is in violation of the DNS RFC to create a CNAME record on a name that
> has any other records - that includes an A record for the 'www' subdomain.
> Some clients may be lenient enough to accept it, but it's not something to
> rely on.

The A record itself is fine as far as I aware, but because you cant
have the NS records on the naked domain - its unlikely to function
reliably.

So its an all or nothing. the naked domain and nothing else, or no
naked domain and other services as required. (or use a third party
redirect or proxy, that can be accessed by a simple A record)


>
>>
>>
>> Example:
>>
>> http://centralops.net/co/NsLookup.aspx?domain=vacation-tours.co.uk&type=255&server=ns.hosteurope.com&class=1&port=53&timeout=5000
>>
>> Alas cant make this work with AppEngine, because Google Apps says
>> "Required field must not be blank", when trying to associate it :(
>>
>> This is what the 123-reg.co.uk admin has to say about it:
>> "Warning - If you have an @ record set to a CNAME, all other @ records
>> (including MX) will be ignored and set to the same domain to which it
>> points."
>>
>>
>>
>>
>> >
>> > There's no limitation on what subdomain(s) you can map your app to,
>> > however
>> > - it doesn't have to be 'mydomain' or anything else. Most people map
>> > their
>> > app to 'www', and use a service that sends 302 redirects to the www
>> > alias
>> > for any requests made to the naked domain.
>> >
>> > -Nick Johnson
>> >
>> > On Wed, Jul 29, 2009 at 3:08 PM, Daniel Rhoden 
>> > wrote:
>> >>
>> >> At any of the paid levels or free, is there any better support of
>> >> private domains than just naked domains, mapping  to http://
>> >> .yourdomain.com ?
>> >>
>> >> For example, lets say I have domain 'mydomain.com' and I registered
>> >> 'mydomain' on App Engine.  It would be pretty silly having people go
>> >> to 'http://mydomain.mydomain.com/'
>> >>
>> >> So I'm wanting to know, is there a way I can have 'mydomain.com' BE my
>> >> domain for my app?
>> >>
>> >> Thanks.
>> >>
>> >> Also, will there be any DNS offerings?
>> >>
>> >> --Daniel Rhoden
>> >> Guntersville, Alabama
>> >>
>> >>
>> >
>> >
>> > >
>> >
>>
>>
>>

>>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Unable to Deploy New Version

2009-07-29 Thread Joshua Smith

Figured it out.  There was a syntax error in my .py file, and I was
getting this weird error, instead of the usual stack trace syntax
errors usually produce.  That's what I get for deploying a "trivial"
change without running it locally first! :)
--~--~-~--~~~---~--~~
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: Anything better than naked domains?

2009-07-29 Thread Nick Johnson (Google)
On Wed, Jul 29, 2009 at 5:37 PM, Barry Hunter
wrote:

>
> 2009/7/29 Nick Johnson (Google) :
> > Hi Daniel,
> >
> > We don't support 'naked' domains due to issues with the way DNS works
> (you
> > can't CNAME a 'naked' domain). We are actively looking for a way to
> resolve
> > this.
>
> It is possible to create a CNAME for a naked domain. Its not widely
> supported by all DNS hosts though. It does however have the side
> effect of breaking MX records - so email will not function on the
> domain.


It is in violation of the DNS RFC to create a CNAME record on a name that
has any other records - that includes an A record for the 'www' subdomain.
Some clients may be lenient enough to accept it, but it's not something to
rely on.


>
>
> Example:
>
> http://centralops.net/co/NsLookup.aspx?domain=vacation-tours.co.uk&type=255&server=ns.hosteurope.com&class=1&port=53&timeout=5000
>
> Alas cant make this work with AppEngine, because Google Apps says
> "Required field must not be blank", when trying to associate it :(
>
> This is what the 123-reg.co.uk admin has to say about it:
> "Warning - If you have an @ record set to a CNAME, all other @ records
> (including MX) will be ignored and set to the same domain to which it
> points."
>
>
>
>
> >
> > There's no limitation on what subdomain(s) you can map your app to,
> however
> > - it doesn't have to be 'mydomain' or anything else. Most people map
> their
> > app to 'www', and use a service that sends 302 redirects to the www alias
> > for any requests made to the naked domain.
> >
> > -Nick Johnson
> >
> > On Wed, Jul 29, 2009 at 3:08 PM, Daniel Rhoden 
> wrote:
> >>
> >> At any of the paid levels or free, is there any better support of
> >> private domains than just naked domains, mapping  to http://
> >> .yourdomain.com ?
> >>
> >> For example, lets say I have domain 'mydomain.com' and I registered
> >> 'mydomain' on App Engine.  It would be pretty silly having people go
> >> to 'http://mydomain.mydomain.com/'
> >>
> >> So I'm wanting to know, is there a way I can have 'mydomain.com' BE my
> >> domain for my app?
> >>
> >> Thanks.
> >>
> >> Also, will there be any DNS offerings?
> >>
> >> --Daniel Rhoden
> >> Guntersville, Alabama
> >>
> >>
> >
> >
> > >
> >
>
>
>
> --
> Barry
>
> - www.nearby.org.uk - www.geograph.org.uk -
>
> >
>

--~--~-~--~~~---~--~~
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: Registered app not showing

2009-07-29 Thread Nick Johnson (Google)
Hi Daniel,

Signing up with an additional account is fine, as long as you don't use it
to create apps that attempt to evade the free quota limits by distributing
your traffic across multiple apps. I'll activate your gmail account so you
can use it to create the app. Once you've done so, you can add your other
address as an administrator on the app, so you don't have to manage two
separate accounts.

-Nick Johnson

On Wed, Jul 29, 2009 at 5:31 PM, Daniel Rhoden  wrote:

> Thanks so much!  I DO have that account.
> If I sign up with that account as well, wouldn't I be in violation of
> having more than one App Engine Account?  Is that ok now?
>
>
> On Jul 29, 2009, at 11:10 AM, Nick Johnson (Google) wrote:
>
> Hi Daniel,
>
> The app id you mention doesn't exist. It will show up as in use if a gmail
> account exists with that username. If that's your gmail account, you can
> sign in with it and use it to create the app.
>
> -Nick Johnson
>
> On Wed, Jul 29, 2009 at 3:46 AM, Daniel Rhoden  wrote:
>
>> What can I do about an app name I registered but doesn't appear in my app
>> list, nor can I register for it now because App Engine thinks it's taken.
>>
>> Who else would really want 'cleanslatesoaps'?
>>
>> Thanks,
>>
>> Daniel
>>
>>
>>
>>
>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Anything better than naked domains?

2009-07-29 Thread Barry Hunter

2009/7/29 Nick Johnson (Google) :
> Hi Daniel,
>
> We don't support 'naked' domains due to issues with the way DNS works (you
> can't CNAME a 'naked' domain). We are actively looking for a way to resolve
> this.

It is possible to create a CNAME for a naked domain. Its not widely
supported by all DNS hosts though. It does however have the side
effect of breaking MX records - so email will not function on the
domain.

Example:
http://centralops.net/co/NsLookup.aspx?domain=vacation-tours.co.uk&type=255&server=ns.hosteurope.com&class=1&port=53&timeout=5000

Alas cant make this work with AppEngine, because Google Apps says
"Required field must not be blank", when trying to associate it :(

This is what the 123-reg.co.uk admin has to say about it:
"Warning - If you have an @ record set to a CNAME, all other @ records
(including MX) will be ignored and set to the same domain to which it
points."




>
> There's no limitation on what subdomain(s) you can map your app to, however
> - it doesn't have to be 'mydomain' or anything else. Most people map their
> app to 'www', and use a service that sends 302 redirects to the www alias
> for any requests made to the naked domain.
>
> -Nick Johnson
>
> On Wed, Jul 29, 2009 at 3:08 PM, Daniel Rhoden  wrote:
>>
>> At any of the paid levels or free, is there any better support of
>> private domains than just naked domains, mapping  to http://
>> .yourdomain.com ?
>>
>> For example, lets say I have domain 'mydomain.com' and I registered
>> 'mydomain' on App Engine.  It would be pretty silly having people go
>> to 'http://mydomain.mydomain.com/'
>>
>> So I'm wanting to know, is there a way I can have 'mydomain.com' BE my
>> domain for my app?
>>
>> Thanks.
>>
>> Also, will there be any DNS offerings?
>>
>> --Daniel Rhoden
>> Guntersville, Alabama
>>
>>
>
>
> >
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~-~--~~~---~--~~
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: Anything better than naked domains?

2009-07-29 Thread Paul Kinlan
If you have the server, it is possible to quickly set up a reverse proxy
using nginx that will forward the requests (and change the host header from
domain.com to www.domain.com) to the app engine, obviously there are
latencies and a single point of failure involved.
Paul

2009/7/29 Nick Johnson (Google) 

> Hi Daniel,
>
> We don't support 'naked' domains due to issues with the way DNS works (you
> can't CNAME a 'naked' domain). We are actively looking for a way to resolve
> this.
>
> There's no limitation on what subdomain(s) you can map your app to, however
> - it doesn't have to be 'mydomain' or anything else. Most people map their
> app to 'www', and use a service that sends 302 redirects to the www alias
> for any requests made to the naked domain.
>
> -Nick Johnson
>
>
> On Wed, Jul 29, 2009 at 3:08 PM, Daniel Rhoden  wrote:
>
>>
>> At any of the paid levels or free, is there any better support of
>> private domains than just naked domains, mapping  to http://
>> .yourdomain.com ?
>>
>> For example, lets say I have domain 'mydomain.com' and I registered
>> 'mydomain' on App Engine.  It would be pretty silly having people go
>> to 'http://mydomain.mydomain.com/'
>>
>> So I'm wanting to know, is there a way I can have 'mydomain.com' BE my
>> domain for my app?
>>
>> Thanks.
>>
>> Also, will there be any DNS offerings?
>>
>> --Daniel Rhoden
>> Guntersville, Alabama
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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: Registered app not showing

2009-07-29 Thread Daniel Rhoden
Thanks so much!  I DO have that account.

If I sign up with that account as well, wouldn't I be in violation of  
having more than one App Engine Account?  Is that ok now?


On Jul 29, 2009, at 11:10 AM, Nick Johnson (Google) wrote:

> Hi Daniel,
>
> The app id you mention doesn't exist. It will show up as in use if a  
> gmail account exists with that username. If that's your gmail  
> account, you can sign in with it and use it to create the app.
>
> -Nick Johnson
>
> On Wed, Jul 29, 2009 at 3:46 AM, Daniel Rhoden   
> wrote:
> What can I do about an app name I registered but doesn't appear in  
> my app list, nor can I register for it now because App Engine thinks  
> it's taken.
>
> Who else would really want 'cleanslatesoaps'?
>
> Thanks,
>
> Daniel
>
>
>
>
>
> >


--~--~-~--~~~---~--~~
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] Unable to Deploy New Version

2009-07-29 Thread Joshua Smith

I changed the version: attribute in my application, and updated the
server.  When I try to view the new version, I'm getting:

Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this
error message and the query that caused it.

The currently-deployed version is still working just fine.  My new app
is still under-the-radar, so I'd rather not post a link to it here.
But if you can help me figure it out, I'll send you a link to the app
that is not working.

Thanks!

-Joshua

--~--~-~--~~~---~--~~
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: Help on limiation of Authorization header in fetchurl function

2009-07-29 Thread Nick Johnson (Google)
Hi Millton,

Are you able to give more details? What is the service, and what
authentication method does it use? How did you determine that App Engine was
not forwarding the Authorization header?

-Nick Johnson

On Wed, Jul 29, 2009 at 7:50 AM, Millton  wrote:

>
> Hi all
>   I've been using the GAE for a while and there is one feature which
> fetch a https page from live contact portal , and need a
> "Authorization" header,
>  the problem is that the header has a long token as the value, such
> as"Authoization: Delegated Tokeb dt="xxx...", which was always
> blocked by GAE environment, so I always got "401" Error.
>
>  is there any solution for this or workarround?
> Thanks!
> Michael
>
> >
>

--~--~-~--~~~---~--~~
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: Registered app not showing

2009-07-29 Thread Nick Johnson (Google)
Hi Daniel,

The app id you mention doesn't exist. It will show up as in use if a gmail
account exists with that username. If that's your gmail account, you can
sign in with it and use it to create the app.

-Nick Johnson

On Wed, Jul 29, 2009 at 3:46 AM, Daniel Rhoden  wrote:

> What can I do about an app name I registered but doesn't appear in my app
> list, nor can I register for it now because App Engine thinks it's taken.
>
> Who else would really want 'cleanslatesoaps'?
>
> Thanks,
>
> Daniel
>
>
> >
>

--~--~-~--~~~---~--~~
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: Anything better than naked domains?

2009-07-29 Thread Nick Johnson (Google)
Hi Daniel,

We don't support 'naked' domains due to issues with the way DNS works (you
can't CNAME a 'naked' domain). We are actively looking for a way to resolve
this.

There's no limitation on what subdomain(s) you can map your app to, however
- it doesn't have to be 'mydomain' or anything else. Most people map their
app to 'www', and use a service that sends 302 redirects to the www alias
for any requests made to the naked domain.

-Nick Johnson

On Wed, Jul 29, 2009 at 3:08 PM, Daniel Rhoden  wrote:

>
> At any of the paid levels or free, is there any better support of
> private domains than just naked domains, mapping  to http://
> .yourdomain.com ?
>
> For example, lets say I have domain 'mydomain.com' and I registered
> 'mydomain' on App Engine.  It would be pretty silly having people go
> to 'http://mydomain.mydomain.com/'
>
> So I'm wanting to know, is there a way I can have 'mydomain.com' BE my
> domain for my app?
>
> Thanks.
>
> Also, will there be any DNS offerings?
>
> --Daniel Rhoden
> Guntersville, Alabama
>
> >
>

--~--~-~--~~~---~--~~
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: Setting sender's name using MAIL API

2009-07-29 Thread Nick Johnson (Google)
Hi to,

This is a known issue:
http://code.google.com/p/googleappengine/issues/detail?id=677 . We're
working on it.

-Nick Johnson*
*
On Wed, Jul 29, 2009 at 8:52 AM, to  wrote:

>
> Hi,
>
> while sending emails through Mail API i've noticed, that even though I
> set the full sender's name, i.e. "Average Joe ", the
> email gets sent with only aver...@joe.com as the sender. Is it
> possible to send emails with full - name and email - sender's
> credentials?
>
> aver...@joe.com is a developer of an application.
> Python is being used to develop an app.
>
> cheers,
> to
>
> >
>

--~--~-~--~~~---~--~~
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] Anything better than naked domains?

2009-07-29 Thread Daniel Rhoden

At any of the paid levels or free, is there any better support of  
private domains than just naked domains, mapping  to http:// 
.yourdomain.com ?

For example, lets say I have domain 'mydomain.com' and I registered  
'mydomain' on App Engine.  It would be pretty silly having people go  
to 'http://mydomain.mydomain.com/'

So I'm wanting to know, is there a way I can have 'mydomain.com' BE my  
domain for my app?

Thanks.

Also, will there be any DNS offerings?

--Daniel Rhoden
Guntersville, Alabama

--~--~-~--~~~---~--~~
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] Registered app not showing

2009-07-29 Thread Daniel Rhoden
What can I do about an app name I registered but doesn't appear in my  
app list, nor can I register for it now because App Engine thinks it's  
taken.

Who else would really want 'cleanslatesoaps'?

Thanks,

Daniel


--~--~-~--~~~---~--~~
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: Type for any types of proprety?

2009-07-29 Thread Daniel Rhoden

A String can go a long way as well.  Hopefully your property table has  
some sane restrictions as to what can go in it.

On Jul 29, 2009, at 3:00 AM, Tobias wrote:

>
> You may want to use an expando as described here
> http://code.google.com/appengine/docs/python/datastore/expandoclass.html
>
> On Jul 29, 5:03 am, Juguang XIAO  wrote:
>> Hello.
>>
>> In datastore, I want to create a misc "table" to store dynamic  
>> properties
>> which is not in the defined model. For example
>>
>> class Account_base(db.Model):
>>   account_id =  db.StringProperty()
>>   password   = db.StringProperty()
>>
>> class Account_extension(db.Model):
>>   base_key = db.StringProperty() # refer to base's key
>>   prop_name = db.StringProperty() # property name
>>   prop_value = db.StringProperty() # property value - this is where  
>> I want
>> to want make it dymanic typed, often TextProperty or  
>> IntegerProperty!!
>>
>> What should I define the type of Account_extension.prop_value, so  
>> that I can
>> possibly assign it any type of values?
>>
>> Many thanks.
>>
>> Juguang
>>
>> --
>> =
>> Juguang XIAO
>> Beijing, China
> >


--~--~-~--~~~---~--~~
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: How do you pass variables through a link (url)?

2009-07-29 Thread raamam

Does anyone help me do that in java? Thanks in advance

On Jul 23, 1:12 am, Ben  wrote:
> Matt you will use the request class to retrieve the variable assigned
> in theurl.  
> Reference:http://code.google.com/appengine/docs/python/tools/webapp/requestclas...
>
> the code would be something as simple as:
> parent = self.request.get("targetId")
>
> Note that all variables returned via the request are returned as astring, so 
> in your particular case you may need to convert 'parent' to
> a key object.
>
> -ben
>
> On Jul 21, 7:29 pm, Matt  wrote:
>
>
>
> > Hi -
>
> > Okay, so I'm totally missing the boat on this one.  How do I pass an
> > argument through aURL?  So on page one I list a bunch of links which
> > correspond to "parent" entities in my datastore.  When a user clicks
> > on a link, I want toquerythe datastore for all "sub-entities" that
> > are associated with the "parent" entity and populate page two with
> > information about those "sub-entities".
>
> > So on page one, I generate links like this:
>
> > {{ targetsite.name|
> > escape }}
>
> > which produces a link that looks something like this:
>
> >http://localhost:8080/linklist?targetId=agtsaW5rdHJhY2tlcnIQCxIKVGFyZ...
>
> > But I'm not sure how to access 'targetId' on page two, so I can pass
> > it on to regenerate the page if needed.
>
> > Any help would be appreciated.
>
> > Thanks in advanced.
>
> > Matt

--~--~-~--~~~---~--~~
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] Setting sender's name using MAIL API

2009-07-29 Thread to

Hi,

while sending emails through Mail API i've noticed, that even though I
set the full sender's name, i.e. "Average Joe ", the
email gets sent with only aver...@joe.com as the sender. Is it
possible to send emails with full - name and email - sender's
credentials?

aver...@joe.com is a developer of an application.
Python is being used to develop an app.

cheers,
to

--~--~-~--~~~---~--~~
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] Help on limiation of Authorization header in fetchurl function

2009-07-29 Thread Millton

Hi all
   I've been using the GAE for a while and there is one feature which
fetch a https page from live contact portal , and need a
"Authorization" header,
  the problem is that the header has a long token as the value, such
as"Authoization: Delegated Tokeb dt="xxx...", which was always
blocked by GAE environment, so I always got "401" Error.

  is there any solution for this or workarround?
Thanks!
Michael

--~--~-~--~~~---~--~~
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] Help on the fetchurl feature [setRequestProperty/set request header has limited length]

2009-07-29 Thread Millton

hi all
   I'm currently using the GAE java runtime, and when I compose a
https request, try to set "Authorization" header, it will be filtered
by GAE, which caused 401 error all the time, the Authorization header
is a little longer than basic web auth info, it's used for live
contacts REST API.

so is there any solution or workarround to avoid the limitation?
thanks!
Michael

--~--~-~--~~~---~--~~
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] Registered app not showing

2009-07-29 Thread Daniel Rhoden
What can I do about an app name I registered but doesn't appear in my  
app list, nor can I register for it now because App Engine thinks it's  
taken.

Who else would really want 'cleanslatesoaps'?

Thanks,

Daniel


--~--~-~--~~~---~--~~
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: 2 questions about using google data api from within appengine

2009-07-29 Thread Nick Johnson (Google)
On Wed, Jul 29, 2009 at 4:02 PM, Dave  wrote:

>
> I'm trying out the basic Google Data API examples within my AppEngine
> application. I had a couple questions
>
> 1) I tried a simple example of requesting a list of a user's documents
> from within a simple python script on my computer, like this:
>
>  import gdata.docs.service
>
>  # Create a client class which will make HTTP requests with
> Google Docs server.
>  client = gdata.docs.service.DocsService()
>  # Authenticate using your Google Docs email address and
> password.
>  client.ClientLogin('userxxx', 'passxxx')
>
>  # Query the server for an Atom feed containing a list of your
> documents.
>  documents_feed = client.GetDocumentListFeed()
>  # Loop through the feed and extract each document entry.
>  for document_entry in documents_feed.entry:
>  # Display the title of the document on the command line.
> print document_entry.title.text
>
> When I do this, will the traffic for this be encrypted or cleartext
> over the internet? How about when/if I do it within the context of an
> app in the AppEngine? If not, how do I make it secure/encrypted? (I
> know that the password here is sent cleartext. What I'm interested in
> knowing is if the reply from Google, containing the data about the
> docs, is cleartext or not).


The password is not sent plaintext - it uses ClientLogin, which doesn't
transmit the password in plaintext.

The response will use HTTP (plaintext) - but in this case, given that the
API is hosted at Google, as is your App Engine app, the opportunity for
anyone to intercept that plaintext is pretty minimal.


>
> 2) How do I port this code into my app? I tried adding the first line
> of code into a working app on AppEngine, and get:
>   NameError: global name 'gdata' is not defined
>
>  If I try to add "import gdata.docs.service, then I get the error:


You need to include the gdata library in your app - it's not supplied as
part of the SDK.

-Nick Johnson


>
>
>  The server encountered an error and could not complete your request.
>
>
> >
>

--~--~-~--~~~---~--~~
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: Need input: developers and Azure VS GAE

2009-07-29 Thread NealWalters

Feel free to contact me about contracting.  My website on my profile
will lead to my phone.
You can see my activity on the Google Python forum for the past few
months:
http://groups.google.com/group/google-appengine-python/search?group=google-appengine-python&q=nealwalters&qt_g=Search+this+group

Neal

--~--~-~--~~~---~--~~
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] 2 questions about using google data api from within appengine

2009-07-29 Thread Dave

I'm trying out the basic Google Data API examples within my AppEngine
application. I had a couple questions

1) I tried a simple example of requesting a list of a user's documents
from within a simple python script on my computer, like this:

  import gdata.docs.service

  # Create a client class which will make HTTP requests with
Google Docs server.
  client = gdata.docs.service.DocsService()
  # Authenticate using your Google Docs email address and
password.
  client.ClientLogin('userxxx', 'passxxx')

  # Query the server for an Atom feed containing a list of your
documents.
  documents_feed = client.GetDocumentListFeed()
  # Loop through the feed and extract each document entry.
  for document_entry in documents_feed.entry:
  # Display the title of the document on the command line.
 print document_entry.title.text

When I do this, will the traffic for this be encrypted or cleartext
over the internet? How about when/if I do it within the context of an
app in the AppEngine? If not, how do I make it secure/encrypted? (I
know that the password here is sent cleartext. What I'm interested in
knowing is if the reply from Google, containing the data about the
docs, is cleartext or not).

2) How do I port this code into my app? I tried adding the first line
of code into a working app on AppEngine, and get:
   NameError: global name 'gdata' is not defined

  If I try to add "import gdata.docs.service, then I get the error:

  The server encountered an error and could not complete your request.


--~--~-~--~~~---~--~~
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: Getting around joins/in queries

2009-07-29 Thread Mahmoud

Hi Taylor,

In our application, we had to solve a similar problem. Basically, we
needed to answer the question: "what are my friends doing today?". Our
initial solution was (pseudo code):
events = []
for friend in friends:
friend_events = friend.what_are_you_doing_today()
events.extend(friend_events)

Obviously, this code is executed serially. So for a list of 200
friends, it was taking about 8 seconds to execute! unacceptable.

So to make it faster, we figured we need to execute this code in
*parallel*. Note that db.get(keys) and db.get_by_key_name(key_names)
are parallelized by the datastore ...

So first, we made a new entity that stores what a friend is doing on a
given day. Something like (I'm using your pseudo code to describe the
data structure):
EventsForDay{
Key userKey;
Key[] events;
DateTime day;
}
This is updates whenever a user attends/unattends an event. I'm not
sure why you're looping through friends and writing stuff 

The trick is we also gave each of those entities a key_name:
_. Now, to get stuff quickly, we do:
1. Calculate all the key-names for the EventsForDay entities for the
current user's friends. Easy.
2. db.get_by_key_name(key_names)  <= this happens quite fast.
3. To kick things up a notch, use memcache in #2. For entities not
found in memcache, retrieve them from the datastore.

Now for a list of 200 friends, this executes in less than 400ms!

Cheers,
-Mahmoud


On Jul 27, 3:10 pm, Taylor  wrote:
> Hi,
>
> I have a facebook app that naturally would like to perform set
> operations on a logged in user's friends against the data in the
> application (stored in app engine).  This presents a particular
> challenge, suppose for example that in my application a logged in user
> can subscribe to a particular event, we then have some classes like
> this:
>
> User {
>    Long key;
>    Long facebookId;
>    // etc...
>
> }
>
> Event {
>   Long key;
>   String name;
>   // etc...
>
> }
>
> Subscribed {
>   Long userKey;
>   Long eventKey;
>   Long start;
>   Long end;
>   //etc...
>
> }
>
> Now, if I have a particular user logged in, who has a set of friends,
> I want to know which events that set of friends have subscribed to.
> A normal query would be "SELECT * from SUBSCRIBED where userkey in
> (  )"
>
> By now, I know that there are no conditional OR operations, joins, or
> in queries allowed in app engine.
>
> My initial attempt to solve this problem has resulted in writing out
> the intersection at subscription time using an additional table,
> something like:
>
> FriendSubscribed extends Subscribed {
>   Long friendKey;
>   // etc...
>
> }
>
> // for every friend of the logged in user, write a record so the query
> can simply pick up
> // all records for that friend
> void persistForFriends(Collection friends, Subscribed
> subscribed) {
>   for (Long id : friends) {
>     pm.persist(new FriendSubscribed(id, subscribed));
>   }
>
> }
>
> Now I have shifted the query burden to the write side and I can do a
> simple query on the FriendSubscribed table for a particular user which
> is nice and fast: "SELECT * from FRIENDSUBSCRIBED where friendkey =
> ".  This returns all the subscriptions that the logged in
> user's friends have made (with some slight gotchas, e.g. if the user
> adds a new friend, then any subscriptions that the new friend already
> has will not be seen - this is tolerable)
>
> So, what's the problem?  On facebook, a user typically has order 100
> friends.  And I suspect many will have 500 and a few will have 1000+.
>
> Even for order 100 friends, at the current write speed (5/s) I can
> expect a write operation to take approx. 20s!!  This is rather long
> for a web operation, and gets worse as you increase the number of
> friends.
>
> I am curious if anyone has any ideas for solutions?  I have a few
> thoughts, but wanted to see what people thought before moving on to
> the next optimization.  Here are my thoughts:
>
> 1) Queue the friend write operation - it's not critical to the core
> write operation that all the "join" data be written out, it can always
> be re-computed at any point in time by analyzing the Subscribed
> records and current friend list for each friend.  Only problem is I am
> using Java and the scheduled tasks API is not yet supported.
> Furthermore, it still seems like a lot of work to go through if we
> imagine thousands or hundreds of thousands of users making
> subscriptions as each write operation they do gets multiplied by a
> factor of 100-1000.
>
> 2) Make an owned relationship from Events to Subscribed. Something
> like:
>
> Event {
>   Long key;
>   String name;
>
>   Set subscribed;
> // etc...
>
> }
>
> Now reading an event records gives precisely the information I want
> and simply has to be culled down (the intersection of the logged in
> user's friends and the Event subscribed list is the list of friends
> that are subscribed to that event).  The problem I see with this
> implementation is high contention.  

[google-appengine] Re: Using another SMTP Server

2009-07-29 Thread Nick Johnson (Google)
Hi Ray,

There's no way to directly connect to an SMTP server in App Engine - you'll
need to use a web service to send emails, and call it from App Engine.

-Nick Johnson

On Tue, Jul 28, 2009 at 6:33 PM, Ray Malone  wrote:

>
> We would like to send out news letters to our customers and the
> current email API is a little limiting.  We are looking to use another
> service provider, but they require the server to connect via SMTP and
> use authinication.  Is there any way to use this within App Engine?
> >
>

--~--~-~--~~~---~--~~
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: use C++ and Google App Engine to design application ,,, It can do it?

2009-07-29 Thread Nick Johnson (Google)
Hi,

App Engine only supports apps written in Python or Java at the moment.

-Nick Johnson

On Tue, Jul 28, 2009 at 7:11 AM, heralds...@netease.com <
heralds...@netease.com> wrote:

>
> i read more document of Google App Engine
> I feeling this tool use for website design
>
> if i will use it make some internet application ,use C++ and Google
> App Engine  to design this application
> It can do it?
>
> ===
> from chinese wangwei
>
> >
>

--~--~-~--~~~---~--~~
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: UserProperty and bulk uploader

2009-07-29 Thread Nick Johnson (Google)
Hi Tom,

All you need to do is provide a conversion function that converts a string
to the desired field type. In the case of a User object, that's simply the
users.User constructor, which takes an email string.

class FooLoader(bulkloader.Loader):

  def __init__(self):
bulkloader.Loader.__init__(self, 'Foo',

   [('user', users.User)])

-Nick Johnson

On Tue, Jul 28, 2009 at 3:03 AM, Tom Miller  wrote:

>
> Hello,
>
> Is there a way to use the bulkloader module to load and export a
> UserProperty?
>
> 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
-~--~~~~--~~--~--~---



[google-appengine] Re: Username as Application Identifier already taken, intended?

2009-07-29 Thread Nick Johnson (Google)
Hi,

Initially, we didn't support claiming your own gmail username as an app ID -
that feature was added later. Try again now and you should be able to claim
that ID for an app.

-Nick Johnson

On Tue, Jul 28, 2009 at 12:22 AM, Cafebabe  wrote:

>
> Right after Google App Engine started and was free for everybody I try
> to register an Application Identifier. I was surprised to find out
> that I could not take the name of my two Google accounts. This is
> strage because I though that my username is always reserved as an
> Application Identifier only I can use. The second thing is, that I use
> my company name as an account name and this is a registered trademark
> in Germany. Do I have any claim on this name?
>
> Thanks, Chris
>
> >
>

--~--~-~--~~~---~--~~
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] Auth options for accessing Reader data

2009-07-29 Thread Dooferlad

Hi,

I would like to get access to Google Reader data for use in my web
app. It looks like I can't use AuthSub (or if I can I am doing it
wrong). Does anyone know what my options are? I can't find any
documentation on which authentication mechanisms work with which
google applications.

Thanks,

James
--~--~-~--~~~---~--~~
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: Type for any types of proprety?

2009-07-29 Thread Tobias

You may want to use an expando as described here
http://code.google.com/appengine/docs/python/datastore/expandoclass.html

On Jul 29, 5:03 am, Juguang XIAO  wrote:
> Hello.
>
> In datastore, I want to create a misc "table" to store dynamic properties
> which is not in the defined model. For example
>
> class Account_base(db.Model):
>   account_id =  db.StringProperty()
>   password   = db.StringProperty()
>
> class Account_extension(db.Model):
>   base_key = db.StringProperty() # refer to base's key
>   prop_name = db.StringProperty() # property name
>   prop_value = db.StringProperty() # property value - this is where I want
> to want make it dymanic typed, often TextProperty or IntegerProperty!!
>
> What should I define the type of Account_extension.prop_value, so that I can
> possibly assign it any type of values?
>
> Many thanks.
>
> Juguang
>
> --
> =
> Juguang XIAO
> Beijing, China
--~--~-~--~~~---~--~~
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: appcfg.py upload_data authentication failure

2009-07-29 Thread jamesM

Nick,

thanks a lot for your help! (though the real bug was a mystic one,
probably even as lame as changing the code, not uploading it to the
server and working with the server as if it had the new code already:)
anyway, now it all works flawlessly!

have a good day,
james

On Jul 28, 1:10 pm, "Nick Johnson (Google)" 
wrote:
> Hi James,
>
> Did you set up the remote_api handler as detailed in the instructions, and
> upload a new version of your app? If you did, you also need to make sure
> that the remote_api handler comes _before_ any ".*" catch-all handler.
>
> -Nick Johnson
>
> On Mon, Jul 27, 2009 at 7:41 PM, james.mackenzi...@googlemail.com <
>
>
>
> james.mackenzi...@googlemail.com> wrote:
>
> > Hi everyone,
>
> > while trying to follow the
> >http://code.google.com/appengine/docs/python/tools/uploadingdata.html
> > guide on uploading csv data to datastore, i've came across some
> > problems.
>
> > appcfg.py upload_data --config_file=loader.py --filename=data.csv --
> > kind=Album  bulk_upload_demo/
>
> > ends up with error:http://pastebin.com/m1955cde8(both two appengine
> > cookies are deleted, the no_cookies command doesn't help either).
>
> > trying to upload localy
> > appcfg.py upload_data --config_file=loader.py --filename=data.csv --
> > kind=Album --url=http://localhost:8080/remoteapibulk_upload_demo/
>
> > asks me for username/password, i do enter my gmail account used to
> > connect to the app engine account and password, still it ends up
> > almost similarly:
> >http://pastebin.com/m1204789d.
>
> > Please, if u do have any ideas for the possible reasons of the
> > mentioned error, share them with me :)
>
> > all the best,
> > jm
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---