[appengine-java] java.lang.NoClassDefFoundError: org.apache.xerces.jaxp.SAXParserFactoryImpl is a restricted class

2011-10-12 Thread Köll S . Cherizard
Hey Gang!
 
I am stumped on this one...  any idea on how to fix below error.  
 

*java.lang.NoClassDefFoundError: org.apache.xerces.jaxp.SAXParserFactoryImpl 
is a restricted class. Please see the Google App Engine developer's guide 
for more details.*

** 

It looks like a CLASSPATH based on a post I saw, but I did not do any work 
there.  Nonetheless I went in anyway and added a new jar file for Xerces, 
that did  not work.  Do you have a step by step.

 

This is also spreading to my other Apps, Apps I have not updated in great 
while.  This error loads with JSPs and HTMs.  I also ran an update of App 
Engine to see if it would pick up new jar files, that did not work either.

 

I should perhaps mention, this started happening while I was adding more JSP 
files, by copying existing ones.  I deployed the App to view my changes and 
pages were not found.

 

Köll

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/xFo-0yey8wgJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Mails got lost between appstore and gmail

2011-10-12 Thread Raphael André Bauer
On Tue, Oct 11, 2011 at 6:52 AM, Jan Schweizer
schweizer@googlemail.com wrote:
 Hi, as I tryout I did a small application for my sons school which
 ultimately resulted in some 25 mails being sent out to each a list of 4
 recipients (to) and  20 recipients BCC. One of the TO addresses has been my
 googlemail account.

 What happened is that I only received 8 of those initially sent emails but
 got responses from one of the BCC recipients in one of the other mails.

 Now I'm wondering: If the BCC recipient got that mail and I was on the TO -
 why didn't I get this email as well?

 To me it looks as if some of these mails where swallowed somewhere inside
 google (between appstore and googlemail) and I'd really like to know what I
 can do to prevent that from happening.

Guess it's a bug of GMail (call it feature). When you receive a mail
where the sender is
an address registered in your GMail account (yourn...@gmail.com or
myregisteredem...@anotherdomain.com) it will NOT show up in inbox...
Pretty strange
https://mail.google.com/support/bin/answer.py?answer=82454

Best,

Raphael

 Any suggestions on that?

 Thanks

 Jan

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine-java/-/2aS_UDoNnZoJ.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
inc: http://ars-machina.raphaelbauer.com
tech: http://ars-codia.raphaelbauer.com
web: http://raphaelbauer.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Datastore Admin

2011-10-12 Thread Shash Joshi
I cannot get the data store admin to work for last 48 hrs, does anyone knows
of any issues?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Datastore Admin

2011-10-12 Thread Shash Joshi
Never mind I figured it out, if you have multiple GoogleApps or Google
accounts then you need to go to the iframe URL directly and select the
correct account and the data-store admin shows up.

On Wed, Oct 12, 2011 at 11:02 AM, Shash Joshi sh...@perfode.com wrote:

 I cannot get the data store admin to work for last 48 hrs, does anyone
 knows of any issues?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] XG Transactions with JDO/JPA

2011-10-12 Thread Max Ross (Google)
Hi everyone,

Due to a mix-up, the JDO/JPA jars that are included in the 1.5.5 SDK do *not 
*support XG Transactions.  If you want to use XG Transactions with JDO or 
JPA in 1.5.5 you can download an updated jar 
from 
http://code.google.com/p/datanucleus-appengine/downloads/detail?name=datanucleus-appengine-1.0.10.final.jar
 
and follow the installation instructions on that page.

Please let me know if you have any problems with it.

Sorry for the trouble,
Max

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/WXNFlj2PlvwJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Crons Optimization

2011-10-12 Thread Hakim
Hi everybody,

I've an application that runs 14 crons that have the same schedule 
configuration: every 30 mins synchronized

I'm looking for a technique to desynchronise the execution of these crons, I 
don't want them to execute at the same time in order to reduce the number of 
instances used to serve them each 30 minutes

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/yEiqaj1sVEAJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: JDO/JPA Snippets That Work - Executing Batch Gets

2011-10-12 Thread Hakim
Hi guys

I'm trying to execute a JDO batch Get using the code presented by Max, but I 
still seeing several datastore_v3.Get on the appstats of my application. Is 
this normal?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/Ac-dveGt-4UJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] JAX-WS logging

2011-10-12 Thread alexh
Hi,

I am writing an application that makes use of GAE's builtin JAS-WS
classes as a SOAP client. I'd like to enable logging. I've read that
this cannot be enabled via log4j but instead by adding a system
property. Can anyone verify?

I've attempted adding the following to my appengine-web.xml but I am
not receiving any additional log output when making SOAP calls.


system-properties
property
name=com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump
value=true/
/system-properties

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Datastore Admin

2011-10-12 Thread Arun Ramanujapuram
Even I see this problem occurring - when you click on the Datastore Admin link, 
nothing shows up. I wonder if it is a bug with the URL (I can see an  
immediately after the ?): 
https://appengine.google.com/datastore/admin?app_id=XXXversion_id=XXX.

Thanks,
Arun




From: Shash Joshi sh...@perfode.com
To: google-appengine-java@googlegroups.com
Sent: Wednesday, 12 October 2011 11:40 PM
Subject: [appengine-java] Re: Datastore Admin


Never mind I figured it out, if you have multiple GoogleApps or Google accounts 
then you need to go to the iframe URL directly and select the correct account 
and the data-store admin shows up.


On Wed, Oct 12, 2011 at 11:02 AM, Shash Joshi sh...@perfode.com wrote:

I cannot get the data store admin to work for last 48 hrs, does anyone knows of 
any issues? 
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Spring or Struts with Google app engine.Is it feasible to use any of these?

2011-10-12 Thread sagar misal
Hello everyone,
I have developed and deployed an application using GAE java and
now looking forward to develop another one using the same but with
Struts or Spring framework,can anyone suggest me where to start and
whether it is feasible to do this?Or should i follow general way of
developing GAE java project ?

Thanks and Regards
 Sagar Misal

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-12 Thread Brian Quinlan
On Tue, Oct 11, 2011 at 5:24 AM, Kayode Odeyemi drey...@gmail.com wrote:
 Just echoing Raphael Nunes:

 Will Python 2.7 support multi-thread?

Yes.

Cheers,
Brian

 On Mon, Oct 10, 2011 at 7:19 PM, Deepak Singh deepaksingh...@gmail.com
 wrote:

 Hi,
 So will it be by default 60 sec for all urlfetch or do we need to
 explicitly set this deadline parameter ?
 If yes, then how to set the 60 sec timeout parameter.
 Thanks
 Deepak

 On Mon, Oct 10, 2011 at 10:59 PM, Ikai Lan (Google) ika...@google.com
 wrote:

 As far as I know you shouldn't have to change SDK versions for the new
 deadline to work.
 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 plus.ikailan.com | twitter.com/ikai


 On Wed, Oct 5, 2011 at 6:21 AM, Mathieu Clavel math.cla...@gmail.com
 wrote:

 Hi,

 For Java, We have increased the URLFetch maximum deadline from 10
 seconds to 60 seconds.
 Will the new limit be usable from previous sdk version on appengine, or
 must there be a version migration ?

 Regards,

 Mathieu CLAVEL

 --
 You received this message because you are subscribed to the Google
 Groups Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/yNIVZlSFcBYJ.
 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.

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

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



 --
 Odeyemi 'Kayode O.
 http://www.sinati.com. t: @charyorde

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


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-12 Thread Brian Quinlan
On Tue, Oct 11, 2011 at 3:17 PM, Tommy Knowlton
tknowl...@iamhisfriend.org wrote:
 Well, this n00b just got caught up in _production_ documentation describing
 the Python 2.7 support, and wasted the last half hour trying to create and
 locally test such a project, wondering why the tutorial code wasn't
 working...

Hi Tommy,

Sorry for the bad experience. Were you working through the Python 2.7 tutorial?

Cheers,
Brian

 It wasn't until I hit the appropriate google query matching the errors
 reported by the interpreter, that I found this thread and learned that the
 released (1.5.4) SDK does NOT support Python 2.7. Could never have
 discovered that from the current state of production docs.
 ~ The N00b

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/_EOYT3dai7AJ.
 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.


-- 
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 reads high because Googlebot crawls both foo.appspot.com and www.foo.com

2011-10-12 Thread MLTrim
Hi
I'm trying to optimize with memcache/instance cache/proxy cache a gae
web application to stay in the free 0.05 Datastore reads range without
success.
The culprit? Googlebot.
Checking the application logs I see that googlebot is fetching both
foo.appspot.com and www.foo.com doubling the traffic of the crawling
requests that implies double datastore reads (that I would like to
limit).
I'm already serving via application a 301 status on every get to
foo.appspot.com redirecting the traffic to www.foo.com but googlebot
still insist to crawl on appspot.

From Webdeveloper tools is not even possible to alert google that your
application is moved to another URL because that options is limited
just for the root level domains.

Do you have any solution to suggest?

Cross-post on Webmaster central:
http://www.google.com/support/forum/p/Webmasters/thread?tid=21913d25c29aa2cehl=enfid=21913d25c29aa2ce0004af152a88c076

thanks
Michele
[systempuntoout]
http://www.gaecupboard.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] Re: Full text search status

2011-10-12 Thread Kristaps Rāts
No reply = not going too well?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



RE: [google-appengine] Datastore reads high because Googlebot crawls both foo.appspot.com and www.foo.com

2011-10-12 Thread Brandon Wirtz
Set your app to know the URL and not work at the appspot.com address.  I did
this so that things wouldn't get indexed there, or use a robots.txt that
varies by Domain.


-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of MLTrim
Sent: Wednesday, October 12, 2011 1:08 AM
To: Google App Engine
Subject: [google-appengine] Datastore reads high because Googlebot crawls
both foo.appspot.com and www.foo.com

Hi
I'm trying to optimize with memcache/instance cache/proxy cache a gae web
application to stay in the free 0.05 Datastore reads range without success.
The culprit? Googlebot.
Checking the application logs I see that googlebot is fetching both
foo.appspot.com and www.foo.com doubling the traffic of the crawling
requests that implies double datastore reads (that I would like to limit).
I'm already serving via application a 301 status on every get to
foo.appspot.com redirecting the traffic to www.foo.com but googlebot still
insist to crawl on appspot.

From Webdeveloper tools is not even possible to alert google that your
application is moved to another URL because that options is limited just for
the root level domains.

Do you have any solution to suggest?

Cross-post on Webmaster central:
http://www.google.com/support/forum/p/Webmasters/thread?tid=21913d25c29aa2ce
hl=enfid=21913d25c29aa2ce0004af152a88c076

thanks
Michele
[systempuntoout]
http://www.gaecupboard.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.


-- 
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: App Engine SDK 1.5.5 released!

2011-10-12 Thread NG
What about mapreduce? 
It does not seem to be webapp2/python27 compliant.

Besides that, thank your for python27 (:

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/w1wcnALG27IJ.
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: Integration tests with Robot framework and Google App engine - problem with async nature of GAE

2011-10-12 Thread andrew
A common test strategy for results that may vary (e.g. more used when
measuring timings etc) would be:
- discard the most unreliable result (first read, last read etc)
- read the result a number of times and then look at the majority
result, or allow a maximum number of failure results for a given
number of tries.
- repeat the test case a number of times, and depending on the known
logic of failures, decide the outcome (e.g. have a maximum number/% of
fails or a minimum number/% of successes)

But obviously better would be to find a way to fore the eventual
consistency of the data store. I am not yet familiar with HRD, but
maybe you can perform one read, discard that result, wait a short time
and then perform the read that decides test case pass/fail?

Maybe a second write to the same entity would force it? Need to check
details on HRD and eventual consistency to come up with a foolproof
method

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Datastore reads high because Googlebot crawls both foo.appspot.com and www.foo.com

2011-10-12 Thread MLTrim
Do you mean returning a 404 instead of a 301?

Uhm, I will give a try to the robots.txt approach .

Thanks
Michele

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Zm-4z1lrttkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Integration tests with Robot framework and Google App engine - problem with async nature of GAE

2011-10-12 Thread Matthew Jaggard
The question is, how are you getting past the issue in the real
application? You might be able to make your tests pass in the same
way.

For example, do your users not care that their data doesn't appear
straight away? If so, your test might not care either?
If they do care, maybe you should use the memcache to store the data
as well as the datastore, in which case you can test that the data
appears - even if it's from the memcache.

Then perhaps write a test later on in your plan to make sure that all
data appears in the datastore eventually? I'm not sure how long this
needs to be - perhaps someone can tell us how long the datastores
(both development and production) take to make the data appear. I'm
guessing that the development one has a fixed maximum time whereas the
production one will have an average time and someone might have data
for standard deviations from this or maximum times seen in real life?

On 12 October 2011 10:41, andrew andrew.macken...@bcntouch.com wrote:
 A common test strategy for results that may vary (e.g. more used when
 measuring timings etc) would be:
 - discard the most unreliable result (first read, last read etc)
 - read the result a number of times and then look at the majority
 result, or allow a maximum number of failure results for a given
 number of tries.
 - repeat the test case a number of times, and depending on the known
 logic of failures, decide the outcome (e.g. have a maximum number/% of
 fails or a minimum number/% of successes)

 But obviously better would be to find a way to fore the eventual
 consistency of the data store. I am not yet familiar with HRD, but
 maybe you can perform one read, discard that result, wait a short time
 and then perform the read that decides test case pass/fail?

 Maybe a second write to the same entity would force it? Need to check
 details on HRD and eventual consistency to come up with a foolproof
 method

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



-- 
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] A couple of 1.5.5 errors (ImportError: Module use of python25.dll conflicts with this version of Python) (No module named webapp2)

2011-10-12 Thread roberto.cr
I've just installed 1.5.5 and I'm getting this:
type 'exceptions.ImportError': No module named webapp2
  args = ('No module named webapp2',)
  message = 'No module named webapp2'

plus, I've noticed the following error when using Python27\pythonw.exe
as the python executable for the Launcher (as I expected it would be)
ImportError: Module use of python25.dll conflicts with this version of
Python

I've tried reinstalling 1.5.5 but it's of no use. What have I done
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: App Engine SDK 1.5.5 released!

2011-10-12 Thread NG
I'm a bit confused...
Is the SDK actually capable of running apps using the python27 runtime?
Because I'm not ready to deploy  and would like to test locally.

 - I had to manually download and include webapp2
 - No module named jinja2
 - Not able to declare WSGI handlers as script: file_name.wsgi_app_name
 - No visible changes inside the google_appengine directory (no webapp2, 
none of the libraries, etc..) (yes i checked my version)

Or am I doing something wrong?
Thank you 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ULrFBoZXhQwJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] A couple of 1.5.5 errors (ImportError: Module use of python25.dll conflicts with this version of Python) (No module named webapp2)

2011-10-12 Thread Brian Quinlan
The dev_appserver does not yet support Python 2.7.

Cheers,
Brian

On Wed, Oct 12, 2011 at 9:27 PM, roberto.cr roberto...@gmail.com wrote:
 I've just installed 1.5.5 and I'm getting this:
 type 'exceptions.ImportError': No module named webapp2
      args = ('No module named webapp2',)
      message = 'No module named webapp2'

 plus, I've noticed the following error when using Python27\pythonw.exe
 as the python executable for the Launcher (as I expected it would be)
 ImportError: Module use of python25.dll conflicts with this version of
 Python

 I've tried reinstalling 1.5.5 but it's of no use. What have I done
 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.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: App Engine SDK 1.5.5 released!

2011-10-12 Thread Brian Quinlan
On Wed, Oct 12, 2011 at 9:37 PM, NG nikolas.goe...@googlemail.com wrote:
 I'm a bit confused...
 Is the SDK actually capable of running apps using the python27 runtime?

No, it's not.

 Because I'm not ready to deploy  and would like to test locally.

If you can't deploy in order to test then you'll have to wait until
the SDK is made compatible with Python 2.7.

Cheers,
Brian

  - I had to manually download and include webapp2
  - No module named jinja2
  - Not able to declare WSGI handlers as script: file_name.wsgi_app_name
  - No visible changes inside the google_appengine directory (no webapp2,
 none of the libraries, etc..) (yes i checked my version)
 Or am I doing something wrong?
 Thank you

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/ULrFBoZXhQwJ.
 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.


-- 
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: App Engine SDK 1.5.5 released!

2011-10-12 Thread NG
ok thank you for clarification :)

Is there a way to deploy but not make the app available to the public?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/1XkOVQxGWa8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: App Engine SDK 1.5.5 released!

2011-10-12 Thread Timofey Koolin
For example you can use version dafiufasdfs489536sed in app.yaml and don't
make it default.

2011/10/12 NG nikolas.goe...@googlemail.com

 ok thank you for clarification :)

 Is there a way to deploy but not make the app available to the public?

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/1XkOVQxGWa8J.

 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.




-- 
С уважением,
Кулин Тимофей.

Телефон: +7 (4852) 974793
ICQ: 114902104
email: timo...@koolin.ru
Blog: http://timofey.koolin.ru

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: App Engine SDK 1.5.5 released!

2011-10-12 Thread NG
I thank you very much :)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/E32IRAk-Ql0J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-12 Thread Mathieu Clavel
Nice, I'm going to test that now that version 1.5.5 is out.

Mathieu

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/2hHj7HtC8TEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-12 Thread Mathieu Clavel
Hi,

Here's how to do it in java :
// given you have an URL url :
URLConnection conn = url.openConnection();
conn.setConnectTimeout(6); // 6ms = 60s

Mathieu

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/7zbmTqNxrzYJ.
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] New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-12 Thread Emlyn
I've been testing this hypothesis:

Hypothesis: Ignoring the 15 minute cost for spinning up new instances,
the price we pay is the moment by moment minimum of (total instances)
and (active instances + Max Idle Instances). If Max Idle Instances is
set to Automatic, then we pay for the moment by moment total
instances.

It holds. That is, if you leave the default Max Idle Instances setting
(Automatic), you'll be billed for every bit of instance time the
scheduler chooses to run. If you set it to a fixed number, you'll have
a fixed cost cap based on the actual work you are doing (a lot more
like cpu time), in most cases a lot lower.

Here are a couple of posts in detail, with graphs, billing numbers, pictures!

The Spiny Norman Test
http://appenginedevelopment.blogspot.com/2011/10/spiny-norman-test.html

Go Spiny Norman, Go
http://appenginedevelopment.blogspot.com/2011/10/go-spiny-norman-go.html

-- 
Emlyn

http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google
Buzz posts,
comments and all.
http://point7.wordpress.com - My blog
Find me on Facebook and Buzz

-- 
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] Google App Engine reachable from China

2011-10-12 Thread Francois Masurel
GAE seem to be reachable from China today.

Is it just a day of luck or will it last ?  I would enjoy getting rid of our 
proxy servers.

If some Googlers have some information to share about it, it would be 
greatly appreciated.

François

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/g02AlFJvybYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-12 Thread Tommy Knowlton
Yes, although after I found the forum post stating that 2.7 was not yet 
supported, I went back and worked through the 2.5 tutorial.

I am excited about the new stuff, but was frustrated to realize that the online 
documentation had led me down a path I wasn't prepared to see through to the 
end. I'll try again tonight with the 1.5.5 SDK now that it's officially 
released - hadn't been able to get the prerelease SDK to work locally with 2.7 
for development.

Thanks for the really cool free software for us devs. Sorry I was crabby about 
the docs.

~Tommy K

On Oct 12, 2011, at 12:28 AM, Brian Quinlan wrote:

 On Tue, Oct 11, 2011 at 3:17 PM, Tommy Knowlton
 tknowl...@iamhisfriend.org wrote:
 Well, this n00b just got caught up in _production_ documentation describing
 the Python 2.7 support, and wasted the last half hour trying to create and
 locally test such a project, wondering why the tutorial code wasn't
 working...
 
 Hi Tommy,
 
 Sorry for the bad experience. Were you working through the Python 2.7 
 tutorial?
 
 Cheers,
 Brian
 
 It wasn't until I hit the appropriate google query matching the errors
 reported by the interpreter, that I found this thread and learned that the
 released (1.5.4) SDK does NOT support Python 2.7. Could never have
 discovered that from the current state of production docs.
 ~ The N00b
 
 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/_EOYT3dai7AJ.
 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.
 
 
 -- 
 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.
 

-- 
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: App Engine SDK 1.5.5 released!

2011-10-12 Thread Jairo Vasquez
Two questions:

- Does the Cross Group (XG) transactions functionality available just for 
High Replication Datastore? What about Master/Slave?
- When will be the MS to HR migration tool officially available?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/-gZTquyPP-8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-12 Thread Matthew Jaggard
Tommy - Just to save you some time, I believe that the local server
doesn't support 2.7 still.

On 12 October 2011 16:08, Tommy Knowlton tknowl...@iamhisfriend.org wrote:
 Yes, although after I found the forum post stating that 2.7 was not yet 
 supported, I went back and worked through the 2.5 tutorial.

 I am excited about the new stuff, but was frustrated to realize that the 
 online documentation had led me down a path I wasn't prepared to see through 
 to the end. I'll try again tonight with the 1.5.5 SDK now that it's 
 officially released - hadn't been able to get the prerelease SDK to work 
 locally with 2.7 for development.

 Thanks for the really cool free software for us devs. Sorry I was crabby 
 about the docs.

 ~Tommy K

 On Oct 12, 2011, at 12:28 AM, Brian Quinlan wrote:

 On Tue, Oct 11, 2011 at 3:17 PM, Tommy Knowlton
 tknowl...@iamhisfriend.org wrote:
 Well, this n00b just got caught up in _production_ documentation describing
 the Python 2.7 support, and wasted the last half hour trying to create and
 locally test such a project, wondering why the tutorial code wasn't
 working...

 Hi Tommy,

 Sorry for the bad experience. Were you working through the Python 2.7 
 tutorial?

 Cheers,
 Brian

 It wasn't until I hit the appropriate google query matching the errors
 reported by the interpreter, that I found this thread and learned that the
 released (1.5.4) SDK does NOT support Python 2.7. Could never have
 discovered that from the current state of production docs.
 ~ The N00b

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/_EOYT3dai7AJ.
 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.


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


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



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] App Engine Weekly Community Update #11

2011-10-12 Thread Johan Euphrosine
Hi,

Thanks a lot both for your feedback, I think this topic deserve a proper
article covering all the view / technique about caching, based on what you
said I started to draft one here:
https://docs.google.com/document/d/16OEn3-7pWBv6PopKjk9Onk9cF1B0PtOQcyDd3q6YAc0/edit?hl=en_US


Feel free to contribute or add comments.

On Sun, Oct 9, 2011 at 12:35 AM, Brandon Wirtz drak...@digerat.com wrote:

 It also doesn't talk about using Instance memory, which is a HUGE part of
 my
 caching strategy.  Even from a beginners guide I'm not sure this is an
 article I would promote, I think more people will be unhappy with this
 solution than will benefit from it.


 -Original Message-
 From: google-appengine@googlegroups.com
 [mailto:google-appengine@googlegroups.com] On Behalf Of Jeff Schnitzer
 Sent: Saturday, October 08, 2011 2:21 PM
 To: google-appengine@googlegroups.com
 Subject: Re: [google-appengine] App Engine Weekly Community Update #11

 On Sat, Oct 8, 2011 at 5:16 AM, Johan Euphrosine pro...@google.com
 wrote:
 
  Nice Article about caching strategies for App Engine apps by +Chris
  Bunch
  http://www.byzantinereality.com/2011/8/Two-Caching-Strategies-for-App-
  Engine-apps

 That page doesn't seem to allow comments, so I'll have to rant here:

 This caching strategy is a terrible idea.  Trust me, it's taken a long time
 to work out the kinks in Objectify's transparent memcache.  This caching
 strategy will go out of sync under contention.  You need to use CAS
 operations to avoid race conditions.

 Jeff

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


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




-- 
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Google App Engine reachable from China

2011-10-12 Thread Brian Davenport
Reading my feeds today and I found this,
http://androidcommunity.com/android-market-avaiable-in-china-once-again-20111012/

Coincidence?


*Brian Davenport*


On Wed, Oct 12, 2011 at 11:09, Francois Masurel f.masu...@gmail.com wrote:

 GAE seem to be reachable from China today.

 Is it just a day of luck or will it last ?  I would enjoy getting rid of
 our proxy servers.

 If some Googlers have some information to share about it, it would be
 greatly appreciated.

 François

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/g02AlFJvybYJ.
 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.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Google App Engine reachable from China

2011-10-12 Thread yinhm
On Wed, Oct 12, 2011 at 11:09 PM, Francois Masurel f.masu...@gmail.com wrote:
 GAE seem to be reachable from China today.
 Is it just a day of luck or will it last ?  I would enjoy getting rid of our
 proxy servers.
 If some Googlers have some information to share about it, it would be
 greatly appreciated.
 François


It will never the last.

It reachable depends on your location and the request domain, eg:

 * your domain CNAMEd to ghs may reachable sometimes
 * subdomain of appspot.com most likely GFWed.

It never gets uptime  99.9%, don't even think about it.
Face the reality, stick to front proxy.

-- 
Regards,
twitter:@yinhm
有微码头:http://yinhm.appspot.com
github: https://github.com/yinhm

-- 
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] Over quota exception even though plenty of quota is available?

2011-10-12 Thread Daniel Florey
Hi,
why do I get a lot of these exception:

...
Caused by: com.google.apphosting.api.ApiProxy$OverQuotaException: The API 
call datastore_v3.Put() required more quota than is available.

even though I have a lot of quota left?
Will these exception be counted again the SLA uptime guarantee once the 
premium accounts are enabled?

Daniel

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/k9vWIyYOly8J.
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 to determine datastore reads?

2011-10-12 Thread Gerald Tan
Are you using a lot of COUNT or OFFSET/LIMIT queries?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/N0jm_KE7lHEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] App Engine Weekly Community Update #11

2011-10-12 Thread Jeff Schnitzer
I can't seem to edit or comment in any way.

Jeff

On Wed, Oct 12, 2011 at 8:18 AM, Johan Euphrosine pro...@google.com wrote:
 Hi,
 Thanks a lot both for your feedback, I think this topic deserve a proper
 article covering all the view / technique about caching, based on what you
 said I started to draft one here:
 https://docs.google.com/document/d/16OEn3-7pWBv6PopKjk9Onk9cF1B0PtOQcyDd3q6YAc0/edit?hl=en_US
 Feel free to contribute or add comments.
 On Sun, Oct 9, 2011 at 12:35 AM, Brandon Wirtz drak...@digerat.com wrote:

 It also doesn't talk about using Instance memory, which is a HUGE part of
 my
 caching strategy.  Even from a beginners guide I'm not sure this is an
 article I would promote, I think more people will be unhappy with this
 solution than will benefit from it.


 -Original Message-
 From: google-appengine@googlegroups.com
 [mailto:google-appengine@googlegroups.com] On Behalf Of Jeff Schnitzer
 Sent: Saturday, October 08, 2011 2:21 PM
 To: google-appengine@googlegroups.com
 Subject: Re: [google-appengine] App Engine Weekly Community Update #11

 On Sat, Oct 8, 2011 at 5:16 AM, Johan Euphrosine pro...@google.com
 wrote:
 
  Nice Article about caching strategies for App Engine apps by +Chris
  Bunch
  http://www.byzantinereality.com/2011/8/Two-Caching-Strategies-for-App-
  Engine-apps

 That page doesn't seem to allow comments, so I'll have to rant here:

 This caching strategy is a terrible idea.  Trust me, it's taken a long
 time
 to work out the kinks in Objectify's transparent memcache.  This caching
 strategy will go out of sync under contention.  You need to use CAS
 operations to avoid race conditions.

 Jeff

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


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




 --
 Johan Euphrosine (proppy)
 Developer Programs Engineer
 Google Developer Relations

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


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Datastore update without read

2011-10-12 Thread Tomas
Thanks guys, it really helps!

I didn't know about protobuf - thought that u have massive key/value
map (so it would be possible to just touch one key). Now it all make
sense :)

On Oct 12, 1:22 pm, Ikai Lan (Google) ika...@google.com wrote:
 Thanks Murph. That explanation was dead-on and I couldn't have written a
 better one myself!

 You can't just update one column. You're still thinking in RDBMS mode.
 There is no concept of a column, since to update a property, we need to read
 the entire entity, deserialize it (it's serialized as protobuf; at its
 lowest layer BigTable is a key-value store), change the property,
 reserialize the entire entity and write it.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 plus.ikailan.com | twitter.com/ikai







 On Tue, Oct 11, 2011 at 2:38 PM, Murph paul.j.mu...@googlemail.com wrote:
  You can't update just a single property/attribute of an entity unless you
  already know the values for all of the others.  If it's frequently updated,
  careful use of memcache may allow you to avoid the db.get, but otherwise you
  have to read it first.

  An alternative, if you just have say 1 property/attribute which changes
  often would be to split the entity into two separate entity models, one with
  the relatively static data, and the other with the frequently changing
  data.  The downside there, of course, is that you're going to have 2 db.get
  operations when you need all of it, instead of 1.

  Internally, the datastore is entirely composed of (key, value) pairs, with
  a single (key,value) per entity (not counting indices, metadata, etc), and
  the SDK encodes/decodes those values into your entity models for you.  They
  are actually encoded as protobufs, but there's nothing in the datastore's
  API to modify that data without reading it first.

   --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/e6JrqffTES4J.

  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.

-- 
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] App Engine Status

2011-10-12 Thread Tomas
Hi,

I am experiencing task queue issues in my app (I can't see any error
in my logs but obviously tasks are not being added to my queues) -
after checking http://code.google.com/status/appengine/ I can see
everything is fine just under the column Now x Taskqueue I can see
Elevated. So what that does mean? Is there an issue with tasks or
its not?

Cheers!

-- 
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] file.Create() API not working right now

2011-10-12 Thread blackpawn
Since about 30 minutes ago this API is never returning within 30
seconds causing:
The API call file.Create() took too long to respond and was
cancelled.

This is killing my site right now :(

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] App Engine Weekly Community Update #11

2011-10-12 Thread Johan Euphrosine
This should now be fixed, let me know if it works.

On Wed, Oct 12, 2011 at 8:09 PM, Jeff Schnitzer j...@infohazard.org wrote:

 I can't seem to edit or comment in any way.

 Jeff

 On Wed, Oct 12, 2011 at 8:18 AM, Johan Euphrosine pro...@google.com
 wrote:
  Hi,
  Thanks a lot both for your feedback, I think this topic deserve a proper
  article covering all the view / technique about caching, based on what
 you
  said I started to draft one here:
 
 https://docs.google.com/document/d/16OEn3-7pWBv6PopKjk9Onk9cF1B0PtOQcyDd3q6YAc0/edit?hl=en_US
  Feel free to contribute or add comments.
  On Sun, Oct 9, 2011 at 12:35 AM, Brandon Wirtz drak...@digerat.com
 wrote:
 
  It also doesn't talk about using Instance memory, which is a HUGE part
 of
  my
  caching strategy.  Even from a beginners guide I'm not sure this is an
  article I would promote, I think more people will be unhappy with this
  solution than will benefit from it.
 
 
  -Original Message-
  From: google-appengine@googlegroups.com
  [mailto:google-appengine@googlegroups.com] On Behalf Of Jeff Schnitzer
  Sent: Saturday, October 08, 2011 2:21 PM
  To: google-appengine@googlegroups.com
  Subject: Re: [google-appengine] App Engine Weekly Community Update #11
 
  On Sat, Oct 8, 2011 at 5:16 AM, Johan Euphrosine pro...@google.com
  wrote:
  
   Nice Article about caching strategies for App Engine apps by +Chris
   Bunch
  
 http://www.byzantinereality.com/2011/8/Two-Caching-Strategies-for-App-
   Engine-apps
 
  That page doesn't seem to allow comments, so I'll have to rant here:
 
  This caching strategy is a terrible idea.  Trust me, it's taken a long
  time
  to work out the kinks in Objectify's transparent memcache.  This caching
  strategy will go out of sync under contention.  You need to use CAS
  operations to avoid race conditions.
 
  Jeff
 
  --
  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.
 
 
  --
  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.
 
 
 
 
  --
  Johan Euphrosine (proppy)
  Developer Programs Engineer
  Google Developer Relations
 
  --
  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.
 

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




-- 
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

-- 
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: Over quota exception even though plenty of quota is available?

2011-10-12 Thread Simon Knott
How big is the entity?  Could it be over the 1MB-per-entity limit?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/hsAdl0vqifkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-12 Thread Brian Quinlan
On Thu, Oct 13, 2011 at 2:15 AM, Matthew Jaggard matt...@jaggard.org.uk wrote:
 Tommy - Just to save you some time, I believe that the local server
 doesn't support 2.7 still.

That's correct.

Cheers,
Brian

 On 12 October 2011 16:08, Tommy Knowlton tknowl...@iamhisfriend.org wrote:
 Yes, although after I found the forum post stating that 2.7 was not yet 
 supported, I went back and worked through the 2.5 tutorial.

 I am excited about the new stuff, but was frustrated to realize that the 
 online documentation had led me down a path I wasn't prepared to see through 
 to the end. I'll try again tonight with the 1.5.5 SDK now that it's 
 officially released - hadn't been able to get the prerelease SDK to work 
 locally with 2.7 for development.

 Thanks for the really cool free software for us devs. Sorry I was crabby 
 about the docs.

 ~Tommy K

 On Oct 12, 2011, at 12:28 AM, Brian Quinlan wrote:

 On Tue, Oct 11, 2011 at 3:17 PM, Tommy Knowlton
 tknowl...@iamhisfriend.org wrote:
 Well, this n00b just got caught up in _production_ documentation describing
 the Python 2.7 support, and wasted the last half hour trying to create and
 locally test such a project, wondering why the tutorial code wasn't
 working...

 Hi Tommy,

 Sorry for the bad experience. Were you working through the Python 2.7 
 tutorial?

 Cheers,
 Brian

 It wasn't until I hit the appropriate google query matching the errors
 reported by the interpreter, that I found this thread and learned that the
 released (1.5.4) SDK does NOT support Python 2.7. Could never have
 discovered that from the current state of production docs.
 ~ The N00b

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/_EOYT3dai7AJ.
 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.


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


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



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



-- 
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: file.Create() API not working right now

2011-10-12 Thread blackpawn
This is using the experimental blobstore file APIs so maybe they're
being removed or phased out or something?  I'm rewriting again to back
to the indirect create_upload_url and urlfetch method I had before the
file API was introduced - hopefully that will still work nicely.

On Oct 12, 12:01 pm, blackpawn pharmapsycho...@gmail.com wrote:
 Since about 30 minutes ago this API is never returning within 30
 seconds causing:
     The API call file.Create() took too long to respond and was
 cancelled.

 This is killing my site right now :(

-- 
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] date value out of range exception while committing transaction

2011-10-12 Thread Pol
Hi,

I just saw some cases of run_in_transaction() throwing an exception
date value out of range. What does this mean and how do I prevent
this?

Thanks,

- Pol

-- 
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] Getting lots of Exception sending Rollback in the log

2011-10-12 Thread Pol
Hi,

I'm used to the transaction collision warnings, but it seems we're
getting more and Exception sending Rollback exception reports in the
log. What triggers these exceptions and what is the consequence if any
regarding the data consistency in the HRD?

Exception sending Rollback:
Traceback (most recent call last):
  File /base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py, line 2505, in _DoOneTry
new_connection.rollback()
  File /base/python_runtime/python_lib/versions/1/google/appengine/
datastore/datastore_rpc.py, line 1985, in rollback
return rpc.get_result()
  File /base/python_runtime/python_lib/versions/1/google/appengine/
api/apiproxy_stub_map.py, line 592, in get_result
return self.__get_result_hook(self)
  File /base/python_runtime/python_lib/versions/1/google/appengine/
datastore/datastore_rpc.py, line 2007, in __rollback_hook
self.check_rpc_success(rpc)
  File /base/python_runtime/python_lib/versions/1/google/appengine/
datastore/datastore_rpc.py, line 1182, in check_rpc_success
raise _ToDatastoreError(err)
BadRequestError: The referenced transaction has expired or is no
longer valid.

- Pol

-- 
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: file.Create() API not working right now

2011-10-12 Thread blackpawn
High latencies with random APIs come and go like weather fronts some
days. xD  After I switched over a bunch of code the Blobstore file
APIs are again behaving.  Oh well.  Do the status page latency graphs
also cover the BlobStore?

-- 
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: App Engine SDK 1.5.5 released!

2011-10-12 Thread Claudiu Apetrei
Hello,

Downloaded the 1.5.5.

When i do the python2.7 example I get  type 'exceptions.ImportError': No 
module named webapp2 , Shouldn't import webapp2 work on 1.5.5 development 
server (python2.7 ../google_appengine/dev_appserver.py ./).

If I upload it to appengine, the application works.

10x,
Claudiu

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/4_W1YWkL4KkJ.
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 GWT deploy problem

2011-10-12 Thread Mazzi
Hi all,

Could somebody help me please.
I did everything to deploy my application online with GWT.
But i get everything the same error.

Invalid Token.
Can please tell somebody what i am doing wrong ?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/z_bazoA3gwYJ.
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] Reading and Writing files using App Engine

2011-10-12 Thread henry
Hi,

Please let me know if this is possible with google app engine.

I basically have an executable file that takes in 2 input files and
spits out 4 output files when finished. Can I run this using app
engine? I am worried about reading and writing file features using App
engine because I'm not sure which directory I will need to specify my
output file to write to.

Also, is the number of nodes allocated handled automatically? Like in
amazon you specify number of nodes so here all the parallelization is
done automatically?

thanks,
Henry

-- 
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] Cron jobs doesn't write to datastore

2011-10-12 Thread O
I have some cronjobs defined, their job is to update the datastore on
a regular basis.
- What I notice is that the cron jobs report to run fine according to
AppEngine, but no data is to be found in the datastore.
- If I navigate to the cronjob url manually in my webbrowser the
datastore is updated as it should.
- In my local development environment the local datastore is updated
as it should when I launch the webapp using the local development
server (using Eclipse with GWT plugin)

/cronjobs/cron.html?apikey=XXuserid=XXrequest=servers
Update the server list daily every day 00:00 (UTC)
2011/10/12 00:00:00 on time Success

/cronjobs/cron.html?apikey=XXuserid=XXrequest=static/strings
Update the server list daily every day 00:10 (UTC)
2011/10/12 00:10:00 on time Success



Where should I start looking ? It's kinda hard to debug since this
only fails on the automated chron jobs :/




-- 
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] Live editing of an appspot instance's files

2011-10-12 Thread vation
Hi there, I'm in a fairly tricky position, and I'd like some advice.
In a nutshell, due to constraints I won't mention in this post, I am
not in a position to develop a frontend JavaScript application
independently of the rest of an appengine application, and the
appengine application only functions when deployed to appspot, so my
development is coupled to a cloud deployment. Right now it looks like
everytime I make a modification to the JavaScript application, I have
to redeploy the entire application to the cloud in order to test.
Obviously, this is a time sink.

Is there any way at all that I can live edit files deployed to
appspot, or if not, edit files in a local project and sync them
individually with the deployed application? Localhost development is
not an option in this particular case I'm afraid.

Thanks a million

-- 
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: ereporter error under py27

2011-10-12 Thread Sam McNally
Use google.appengine.ext.ereporter.report_generator.application as the 
handler.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Y-QSQbSzE0EJ.
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] BulkUploader

2011-10-12 Thread Kb
I am using GWT+GAE for app .

How can i use Bulkuploader to upload data .

Where to start ?

-- 
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] Python 2.7 threadsafe: true running on local

2011-10-12 Thread ivan starkov
Does anybody could run the base sample for Python 2.7
http://code.google.com/appengine/docs/python/gettingstartedpython27/helloworld.html
on* local machine* with  parameter threadsafe: true in yaml
This sample generate error: Could not find module helloworld.app 

the only way this sample works on my computer
is to change this line script: helloworld.app
to this script: helloworld.py.app
and add
def main():
app.run();

if __name__ == __main__:
main()
to helloworld.py

And also what is official way to add webapp2 and jinja2 on local computer
i know two working solutions:
1) Add webapp2 jinja2 dirs to my app folder and exlude them in app.yaml

2) Add this libs to GAPP lib folder and change dev_appserver.py adding this 
lines 
os.path.join(DIR_PATH,'lib','jinja2'), 
os.path.join(DIR_PATH,'lib','webapp2') to EXTRA_PATHS list

Is any elegant solution to make webapp2 and jinja2 work locally?






-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/qFolbjU1WSIJ.
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: Designing data model and caching strategy for new pricing model

2011-10-12 Thread dennis
The legality issues that Brandon brings up might be a problem but I
don't think you're going to have a billing problem until you have a
lot of schools using the application.

The current free quota for writes is 50,000/day that's a lot of grades
to enter in a single 24 hour period. Obviously this won't be your only
write to the Datastore but should be most of them.

I would also recommend doing your puts in batches from JavaScript and
implementing a hook for window close that checks if everything has
been written to the Datastore. If it hasn't you can show a friendly
dialog saying We're still saving your data Please wait a couple
seconds to close the window. or you can even try to send the ajax
request in your hook for any unsaved data and only return from the
hook once you have received a confirmation that your ajax post to the
server has succeeded.

After that is all done and you set your Idle Instances to 1 you should
be running free without a problem.

In theory the following should work but I haven't tested it:

script type=text/javascript
  var pending_writes = [];
  window.onbeforeunload = function() {
if(pending_writes.length  0) {
  // do whatever you have to do before returning from this hook.
  // my understanding is that if you return a string here it will
  // show that string in a dialog to the user giving them an
option
  // to either stay on the page or navigate away from it.
}
  }
/script

I'm sure there's browser compatibility issues with the JavaScript I
put in here and it will take some hackery to make sure it works
everywhere, but I hope this helps you out.

-- 
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] GAE 1.5.5 - Trouble with Tribbles (jinja2)

2011-10-12 Thread bmh
GAE 1.5.5 looks to have awesome features. They're not working for me
yet. Below are some of the issues I'm having.

Here's roughly my app.yaml (which has been altered for privacy
reasons, as is example code below).

 app.yaml 
application: AAA # mystical creation.
version: alpha-1
runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /media
  static_dir: media/

- url: /favicon.ico
  static_files: media/images/favicon.ico
  upload: media/images/favicon.ico

- url: /crossdomain.xml
  static_files: media/crossdomain.xml
  upload: media/crossdomain.xml

- url: /admin
  script: AAA.app
  login: admin

- url: /.*
  script: AAA.app

skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?.*\.bak$
- ^local.*$
- ^var.*$

libraries:
- name: django
  version: 1.2
- name: jinja2
  version: latest
- name: yaml
  version: latest
 End app.yaml 

I'm on Mac OS X Lion (10.7.1).

I hypothesize that I am not actually using the Python 2.7 runtime, in
spite of the declaration in app.yaml to use it. I've not validated
this theory, but the errors I've encountered are consistent with it.


==
Python Path
==

When Google App Engine's Python Path is not set, the app engine runs
using Python 2.6.6.

To fix this I set Python Path to /usr/bin/python2.7 in the Google App
Engine preferences.


=
WSGI
=

I get the following error:

 /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py in
GetParentPackage(self=google.appengine.tools.dev_appserver.HardenedModulesHook
object, fullname='AAA.app')
   2334
   2335   if self.find_module(fullname) is None:
= 2336 raise ImportError('Could not find module %s' %
fullname)
   2337
   2338   return self._module_dict[parent_module_fullname]
builtin ImportError = type 'exceptions.ImportError', fullname =
'AAA.app'
type 'exceptions.ImportError': Could not find module AAA.app
  args = ('Could not find module AAA.app',)
  message = 'Could not find module AAA.app'

Where I've tried AAA.app as:

AAA.py:
   from google.appengine.dist import use_library
  use_library('django', '1.2') # otherwise we still get django 0.96
  from AAA.initialize import Initializer
  Initializer.run() # do stuff to init (logs, etc.)
  from django.core.handlers import wsgi
  app = wsgi.WSGIHandler()

AAA/__init__.py
   # same content as above

AAA/AAA.py
   # same content as above

Note that I can continue to run CGI with app.yaml and AAA.py modified,
mutatis mutandis. However doing so results in the errors below:

=
Jinja2
=

When I run `import jinja2` I get an ImportError.


===
Django2
===

Without:
   from google.appengine.dist import use_library
   use_library('django', '1.2')

I end up with Django 0.96.

==
Theory
==

Given the following:
 -  http://code.google.com/appengine/docs/python/tools/libraries27.html
states The use_library() function provided by the
google.appengine.dist package is unavailable in Python 2.7.
- use_library works for me
- use_library is required because the libraries: {django: {...,
version: 1.2}} declaration does not set the django version to 1.2
- Only Django 1.2 is included in the Python 2.7 runtime (per the
libraries27.html link above)
- I have to manually specify Python 2.7 in the Python Path in order
for GAE to use Python 2.7
- WSGI doesn't load the application properly
- Jinja2 cannot be imported
I believe I am not really using the Python 2.7 GAE runtime (i.e. the
app.yaml declaration is being ignored).

I hope the above is helpful, and I am available to contact directly
for any further information.

-- 
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] Gae and visualization api

2011-10-12 Thread uover82
Hi All,

I'm developing an application using app engine and the google
visualization api using java. It currently uses a static file (csv)
located in war as a datasource. My app works fine in my local
development server but fails with errors like the following after
uploading:

java.io.IOException: Could not fetch URL: http://localhost:8080/ ...
csv path/filename

Any ideas/thoughts on this?

Let me know - thanks

John

-- 
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] Storing date format in dd-mm-yyyy in datastore

2011-10-12 Thread Rohit
I am developing an online booking application on Google app engine in
python using web2py framework where I am storing the date  using the
date type of web2py, which stores the date in -mm-dd format.I need
to store the data in dd-mm- format in the datastore.

For this I tried to use this :
date.requires = IS_DATE(format=T('%d-%m-%Y'))

Though it takes the date in dd-mm- format it does not store in the
dd-mm- format.It still
stores in -mm-dd format.

Please provide suggestion

Thanks
Rohit

-- 
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: ereporter error under py27

2011-10-12 Thread chachan
You should point the script to the app (global scope) instead of a .py 
script

http://code.google.com/appengine/docs/python/gettingstartedpython27/helloworld.html

for example, if your application id is guestbook you should use something 
like this in .yaml (look at the script extension):

handlers:
- url: /.*
  script: guestbook.default

and something like this in your handler:

default = webapp2.WSGIApplication([('/', MainPage)],
  debug=True)

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/f_uX5-PfZ98J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Prerelease SDK 1.5.5 available for download!

2011-10-12 Thread chachan
I'm having the same issue, did you fix it?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/K9Zihqyy_FcJ.
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] bulkloader performance in development

2011-10-12 Thread mikeee
Hi all -

I posted in the python app-engine group earlier but haven't heard
back.  Basically just trying to determine if there is anyway to use
the bulk uploader via appcfg.py  against my localhost SDK (Mac OS X
1.5.4) and have it process even a reasonably fast amount of inserts.
I'm using SQLite as the backing store and I have a CSV file with 100K
rows in it and it  processes about 1000 rows an hour..

Is there any particular way to speed this up?I have other data
sets I want to import as well that are much larger .   I know SQLite
can easily handle a ton of data (I've inserted millions of rows into
SQLite databases on past non-GAE projects).

Thanks for any tips.

ME

-- 
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: 1.5.5

2011-10-12 Thread Michael Shafrir
I'm getting the same error:

Cloned 100 files.
Cloned 200 files.
Cloned 300 files.
Cloned 400 files.
Cloning 167 application files.
Cloned 100 files.
Compilation starting.
Error 503: --- begin server output ---

Try Again (503)
An unexpected failure has occurred. Please try again.
--- end server output ---
Precompilation failed. Your app can still serve but may have reduced
startup performance. You can retry the update later to retry the
precompilation step.
Starting deployment.
Checking if deployment succeeded.
Will check again in 1 seconds.
Checking if deployment succeeded.
Will check again in 2 seconds.
Checking if deployment succeeded.
Deployment successful.
Checking if updated app version is serving.
Will check again in 1 seconds.
Checking if updated app version is serving.
Will check again in 1 seconds.
Checking if updated app version is serving.
Completed update of app: xxx, version: 1
Uploading index definitions.
Uploading cron entries.
Uploading task queue entries.
Password for xxx: If deploy fails you might need to 'rollback'
manually.
The Make Symlinks... menu option can help with command-line work.
*** appcfg.py has finished with exit code 0 ***

On Oct 11, 11:08 am, JH ja...@mhztech.com wrote:
 just got 1.5.5 and on deploy I get:

 Compilation starting.
 Error 503: --- begin server output ---

 Try Again (503)
 An unexpected failure has occurred. Please try again.
 --- end server output ---

-- 
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 to create something similar to Zoho Creator

2011-10-12 Thread Marc
With a few drag'n'drop, Zoho creator lets you create a simple records 
management system i.e. create a few tables, a few forms, and you can 
add/edit/delete records in forms, search in list... all without any coding. 
They used to export to GAE but it looks like it's gone.

I'd like to know if there is a product that would do the same for GAE or 
maybe create the boilerplate code. I need to create a dozen forms, add CRUD 
capabilities to each form, have fields in the forms with auto-complete 
drop-down controls pointing to other tables and provide lists with 
sort/search/pagination.
I've looked at GWT libraries like SmartGWT and it helps with the UI but 
there's still a fair bit of code to go through to create all the CRUD 
service to the datastore. I'm also very bad CSS/HTML so what I got running 
looked pretty bad. :)

Ideas?

Thanks 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/OqLXcP2FuOMJ.
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] Error creating new GAE application. Now App-ID seems to be permanently inaccessible

2011-10-12 Thread Jacob G
Hi,
A while back, I tried to create a new GAE application in the dashboard with 
my company's name as App-ID. There was some GAE server error when I 
submitted, and ever since then, the App-ID is not accessible to create as a 
new application. It looks it was put in a permanent reserved state, even 
though the application was never created.

How do I recover this App-ID?

Thanks, Jacob

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/4q_0hgaov6cJ.
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: App Engine SDK 1.5.5 released!

2011-10-12 Thread David Gay
On Oct 12, 8:14 am, Jairo Vasquez jairo.vasq...@gmail.com wrote:
 - Does the Cross Group (XG) transactions functionality available just for
 High Replication Datastore? What about Master/Slave?

Just for the High Replication Datastore.

--
David Gay
d...@google.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.



Re: [google-appengine] Re: App Engine SDK 1.5.5 released!

2011-10-12 Thread Steve Sherrie
The 2.7 specific libraries do not seem to be included in the SDK as yet, 
but you can just download them yourself and put them in the root SDK 
directory, which is by default added to sys.path.


Steve

On 11-10-12 03:09 AM, Claudiu Apetrei wrote:

Hello,

Downloaded the 1.5.5.

When i do the python2.7 example I get  type 
'exceptions.ImportError': No module named webapp2 , Shouldn't 
import webapp2 work on 1.5.5 development server (python2.7 
../google_appengine/dev_appserver.py ./).


If I upload it to appengine, the application works.

10x,
Claudiu
--
You received this message because you are subscribed to the Google 
Groups Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/4_W1YWkL4KkJ.

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.


--
You received this message because you are subscribed to the Google Groups Google 
App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Python 2.7 threadsafe: true running on local

2011-10-12 Thread Steve Sherrie
No, it looks like the dev_appserver is not yet capable of using 
'threadsafe: yes'. However, with 'threadsafe: no', and your handler 
setup like 'script: main.py', you *can* dev locally, and then make those 
2 changes before deploying.


I know that doesn't help if you're testing multithreading features, but 
I think we're gonna have to wait 'til 1.5.6, or whenever the 2.7 runtime 
leaves experimental status, before we get that upgrade.



Steve

On 11-10-11 07:02 PM, ivan starkov wrote:

Does anybody could run the base sample for Python 2.7
http://code.google.com/appengine/docs/python/gettingstartedpython27/helloworld.html
on*local machine* with  parameter threadsafe: true in yaml
This sample generate error: Could not find module helloworld.app

the only way this sample works on my computer
is to change this line script:helloworld.app
to this script:helloworld.py.app
and add
def main():
app.run();

if __name__ == __main__:
main()
to helloworld.py

And also what is official way to add webapp2 and jinja2 on local computer
i know two working solutions:
1) Add webapp2 jinja2 dirs to my app folder and exlude them in app.yaml

2) Add this libs to GAPP lib folder and change dev_appserver.py adding 
this lines

os.path.join(DIR_PATH,'lib','jinja2'),
os.path.join(DIR_PATH,'lib','webapp2') to EXTRA_PATHS list

Is any elegant solution to make webapp2 and jinja2 work locally?






--
You received this message because you are subscribed to the Google 
Groups Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/qFolbjU1WSIJ.

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.


--
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] My site no longer working

2011-10-12 Thread Kate
I haven't touched a thing, yet suddenly my site throws an error when
the url does not contain the filename.

e.g.
http://www.coolabah.com gives a server error while
http://www.coolabah.com/index.htm works fine.

Can anyone help me!

The error is
The website cannot display the page
 HTTP 500
   Most likely causes:
•The website is under maintenance.
•The website has a programming error.

-- 
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] Anybody else having troubles with their own domain?

2011-10-12 Thread jay
I use Google Apps to point players visiting my domain to my App Engine
Apps. I have been see all kinds of problems just in the last few
weeks. Lot of reports from users that the sites appear to be down.

I don't believe this is an app engine issues as accessing the site
from myappname.appspot.com seems to work fine.

Anybody know what might be going wrong?

I haven't had a problem with this for years and haven't changed
anything.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Python 2.7 threadsafe: true running on local

2011-10-12 Thread Tim Hoffman
I don't believe the dev server is supported with 2.7 at all.  That was the 
position during the trusted testers phase
and all of the recent posts here by google indicate that is still the case.

Rgds

Tim

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/56Nybt3kj2EJ.
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: GAE 1.5.5 - Trouble with Tribbles (jinja2)

2011-10-12 Thread bmh
It looks like GAE won't run on the local SDK.

See e.g. 
http://stackoverflow.com/questions/7740319/gae-1-5-5-fails-to-run-in-python2-7-runtime-on-mac-os-x-10-7-1

It would have been much appreciated for this to have been explicitly
noted in the 1.5.5 Release Notes (and saved me quite a bit of time
wondering what might be wrong).

GAE 1.5.5 looks amazing; great progress.

Cheers,
Brian

On Oct 11, 9:44 pm, bmh brianmh...@gmail.com wrote:
 GAE 1.5.5 looks to have awesome features. They're not working for me
 yet. Below are some of the issues I'm having.

 Here's roughly my app.yaml (which has been altered for privacy
 reasons, as is example code below).

  app.yaml 
 application: AAA # mystical creation.
 version: alpha-1
 runtime: python27
 api_version: 1
 threadsafe: true

 handlers:
 - url: /media
   static_dir: media/

 - url: /favicon.ico
   static_files: media/images/favicon.ico
   upload: media/images/favicon.ico

 - url: /crossdomain.xml
   static_files: media/crossdomain.xml
   upload: media/crossdomain.xml

 - url: /admin
   script: AAA.app
   login: admin

 - url: /.*
   script: AAA.app

 skip_files:
 - ^(.*/)?app\.yaml
 - ^(.*/)?app\.yml
 - ^(.*/)?index\.yaml
 - ^(.*/)?index\.yml
 - ^(.*/)?#.*#
 - ^(.*/)?.*~
 - ^(.*/)?.*\.py[co]
 - ^(.*/)?.*/RCS/.*
 - ^(.*/)?\..*
 - ^(.*/)?.*\.bak$
 - ^local.*$
 - ^var.*$

 libraries:
 - name: django
   version: 1.2
 - name: jinja2
   version: latest
 - name: yaml
   version: latest
  End app.yaml 

 I'm on Mac OS X Lion (10.7.1).

 I hypothesize that I am not actually using the Python 2.7 runtime, in
 spite of the declaration in app.yaml to use it. I've not validated
 this theory, but the errors I've encountered are consistent with it.

 ==
 Python Path
 ==

 When Google App Engine's Python Path is not set, the app engine runs
 using Python 2.6.6.

 To fix this I set Python Path to /usr/bin/python2.7 in the Google App
 Engine preferences.

 =
 WSGI
 =

 I get the following error:

  /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/tools/dev_appserver.py in
 GetParentPackage(self=google.appengine.tools.dev_appserver.HardenedModules 
 Hook
 object, fullname='AAA.app')
    2334
    2335       if self.find_module(fullname) is None:
 = 2336         raise ImportError('Could not find module %s' %
 fullname)
    2337
    2338       return self._module_dict[parent_module_fullname]
 builtin ImportError = type 'exceptions.ImportError', fullname =
 'AAA.app'
 type 'exceptions.ImportError': Could not find module AAA.app
       args = ('Could not find module AAA.app',)
       message = 'Could not find module AAA.app'

 Where I've tried AAA.app as:

 AAA.py:
    from google.appengine.dist import use_library
   use_library('django', '1.2') # otherwise we still get django 0.96
   from AAA.initialize import Initializer
   Initializer.run() # do stuff to init (logs, etc.)
   from django.core.handlers import wsgi
   app = wsgi.WSGIHandler()

 AAA/__init__.py
    # same content as above

 AAA/AAA.py
    # same content as above

 Note that I can continue to run CGI with app.yaml and AAA.py modified,
 mutatis mutandis. However doing so results in the errors below:

 =
 Jinja2
 =

 When I run `import jinja2` I get an ImportError.

 ===
 Django2
 ===

 Without:
    from google.appengine.dist import use_library
    use_library('django', '1.2')

 I end up with Django 0.96.

 ==
 Theory
 ==

 Given the following:
  -  http://code.google.com/appengine/docs/python/tools/libraries27.html
 states The use_library() function provided by the
 google.appengine.dist package is unavailable in Python 2.7.
 - use_library works for me
 - use_library is required because the libraries: {django: {...,
 version: 1.2}} declaration does not set the django version to 1.2
 - Only Django 1.2 is included in the Python 2.7 runtime (per the
 libraries27.html link above)
 - I have to manually specify Python 2.7 in the Python Path in order
 for GAE to use Python 2.7
 - WSGI doesn't load the application properly
 - Jinja2 cannot be imported
 I believe I am not really using the Python 2.7 GAE runtime (i.e. the
 app.yaml declaration is being ignored).

 I hope the above is helpful, and I am available to contact directly
 for any further information.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] My site no longer working

2011-10-12 Thread Nick Johnson
Hi Kate,

Your app appears to be returning a 500 server error (with no text in the
body) when fetching the base URL (/) of your app. It's impossible to say why
this is without seeing your code and logs. Have you checked the logs in the
App Engine admin console to see what is being logged for these requests?

-Nick Johnson

On Thu, Oct 13, 2011 at 10:42 AM, Kate mss.ka...@gmail.com wrote:

 I haven't touched a thing, yet suddenly my site throws an error when
 the url does not contain the filename.

 e.g.
 http://www.coolabah.com gives a server error while
 http://www.coolabah.com/index.htm works fine.

 Can anyone help me!

 The error is
 The website cannot display the page
  HTTP 500
   Most likely causes:
 •The website is under maintenance.
 •The website has a programming error.

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




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



Re: [google-appengine] Gae and visualization api

2011-10-12 Thread Nick Johnson
Hi,

It sounds like you've embedded the URL of your development environment into
your code somewhere. Naturally, when deployed, your browser (or the
Visualization API) can't access files stored on your local machine.

Instead of hard-coding URLs, you should determine the host header from the
current request -  exactly how to do so depends on your framework - and use
that. Alternately, you can use relative URLs if the Visualization API
supports that.

-Nick Johnson

On Thu, Oct 13, 2011 at 5:39 AM, uover82 uove...@gmail.com wrote:

 Hi All,

 I'm developing an application using app engine and the google
 visualization api using java. It currently uses a static file (csv)
 located in war as a datasource. My app works fine in my local
 development server but fails with errors like the following after
 uploading:

 java.io.IOException: Could not fetch URL: http://localhost:8080/ ...
 csv path/filename

 Any ideas/thoughts on this?

 Let me know - thanks

 John

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




-- 
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: My site no longer working

2011-10-12 Thread Kate
This is what I am getting.

Traceback (most recent call last):
  File C:\google_appengine\google\appengine\ext\webapp\_webapp25.py,
line 701, in __call__
handler.get(*groups)
  File C:\wwwhome\aussieclouds\index.py, line 396, in get
doRender(self,'index.htm')


I read the blogs and found that a new version of the SDK was deployed
yesterday. So I downloaded the new version to help me troubleshoot but
it was of no help.

I do not have any idea as to how to proceed with this!


On Oct 12, 8:25 pm, Nick Johnson nickjohn...@google.com wrote:
 Hi Kate,

 Your app appears to be returning a 500 server error (with no text in the
 body) when fetching the base URL (/) of your app. It's impossible to say why
 this is without seeing your code and logs. Have you checked the logs in the
 App Engine admin console to see what is being logged for these requests?

 -Nick Johnson



 On Thu, Oct 13, 2011 at 10:42 AM, Kate mss.ka...@gmail.com wrote:
  I haven't touched a thing, yet suddenly my site throws an error when
  the url does not contain the filename.

  e.g.
 http://www.coolabah.comgives a server error while
 http://www.coolabah.com/index.htmworks fine.

  Can anyone help me!

  The error is
  The website cannot display the page
   HTTP 500
    Most likely causes:
  •The website is under maintenance.
  •The website has a programming error.

  --
  You received this message because you are subscribed to theGoogleGroups
  GoogleApp Engine group.
  To post to this group, send email togoogle-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

 --
 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: My site no longer working

2011-10-12 Thread Kate
This is the code that now fails - though it has worked for
18months

class MainHandler(webapp.RequestHandler):
  def get(self):

path = self.request.path
isgeneric=path.rfind('generic')
isinformation=path.rfind('information')
isexpat=path.rfind('expat')
temp = os.path.join (
  os.path.dirname(__file__),
'templates' + path)

if doRender(self,path):
return
doRender(self,'index.htm')


On Oct 12, 8:25 pm, Nick Johnson nickjohn...@google.com wrote:
 Hi Kate,

 Your app appears to be returning a 500 server error (with no text in the
 body) when fetching the base URL (/) of your app. It's impossible to say why
 this is without seeing your code and logs. Have you checked the logs in the
 App Engine admin console to see what is being logged for these requests?

 -Nick Johnson



 On Thu, Oct 13, 2011 at 10:42 AM, Kate mss.ka...@gmail.com wrote:
  I haven't touched a thing, yet suddenly my site throws an error when
  the url does not contain the filename.

  e.g.
 http://www.coolabah.comgives a server error while
 http://www.coolabah.com/index.htmworks fine.

  Can anyone help me!

  The error is
  The website cannot display the page
   HTTP 500
    Most likely causes:
  •The website is under maintenance.
  •The website has a programming error.

  --
  You received this message because you are subscribed to theGoogleGroups
  GoogleApp Engine group.
  To post to this group, send email togoogle-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

 --
 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: My site no longer working

2011-10-12 Thread Kate
This is the code that now fails - though it has worked for
18months

class MainHandler(webapp.RequestHandler):
  def get(self):

path = self.request.path
isgeneric=path.rfind('generic')
isinformation=path.rfind('information')
isexpat=path.rfind('expat')
temp = os.path.join (
  os.path.dirname(__file__),
'templates' + path)

if doRender(self,path):
return
doRender(self,'index.htm')


On Oct 12, 8:25 pm, Nick Johnson nickjohn...@google.com wrote:
 Hi Kate,

 Your app appears to be returning a 500 server error (with no text in the
 body) when fetching the base URL (/) of your app. It's impossible to say why
 this is without seeing your code and logs. Have you checked the logs in the
 App Engine admin console to see what is being logged for these requests?

 -Nick Johnson



 On Thu, Oct 13, 2011 at 10:42 AM, Kate mss.ka...@gmail.com wrote:
  I haven't touched a thing, yet suddenly my site throws an error when
  the url does not contain the filename.

  e.g.
 http://www.coolabah.comgives a server error while
 http://www.coolabah.com/index.htmworks fine.

  Can anyone help me!

  The error is
  The website cannot display the page
   HTTP 500
    Most likely causes:
  •The website is under maintenance.
  •The website has a programming error.

  --
  You received this message because you are subscribed to theGoogleGroups
  GoogleApp Engine group.
  To post to this group, send email togoogle-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] Re: My site no longer working

2011-10-12 Thread Nick Johnson
Hi Kate,

You haven't included the complete stacktrace, including the all important
last line that tells us what actually went wrong. Can you paste the whole
thing, please?

-Nick Johnson


On Thu, Oct 13, 2011 at 11:35 AM, Kate mss.ka...@gmail.com wrote:

 This is what I am getting.

 Traceback (most recent call last):
  File C:\google_appengine\google\appengine\ext\webapp\_webapp25.py,
 line 701, in __call__
handler.get(*groups)
  File C:\wwwhome\aussieclouds\index.py, line 396, in get
doRender(self,'index.htm')


 I read the blogs and found that a new version of the SDK was deployed
 yesterday. So I downloaded the new version to help me troubleshoot but
 it was of no help.

 I do not have any idea as to how to proceed with this!


 On Oct 12, 8:25 pm, Nick Johnson nickjohn...@google.com wrote:
  Hi Kate,
 
  Your app appears to be returning a 500 server error (with no text in the
  body) when fetching the base URL (/) of your app. It's impossible to say
 why
  this is without seeing your code and logs. Have you checked the logs in
 the
  App Engine admin console to see what is being logged for these requests?
 
  -Nick Johnson
 
 
 
  On Thu, Oct 13, 2011 at 10:42 AM, Kate mss.ka...@gmail.com wrote:
   I haven't touched a thing, yet suddenly my site throws an error when
   the url does not contain the filename.
 
   e.g.
  http://www.coolabah.comgives a server error while
  http://www.coolabah.com/index.htmworks fine.
 
   Can anyone help me!
 
   The error is
   The website cannot display the page
HTTP 500
 Most likely causes:
   •The website is under maintenance.
   •The website has a programming error.
 
   --
   You received this message because you are subscribed to theGoogleGroups
   GoogleApp Engine group.
   To post to this group, send email togoogle-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.com.
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.
 
  --
  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.




-- 
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] HTTPSession - set and get not working ... cannot get object in the next request

2011-10-12 Thread Muneer Malik
I am using session.setAttribute and session.getAttribute but my object
is NOT available in the next request.

also noticed the session.getID() is also different for each request.

my object implements Serializable

code snippet as follows:

public String intercept(ActionInvocation actionInvocation) throws Exception {
// TODO Auto-generated method stub
final ActionContext context = 
actionInvocation.getInvocationContext ();
HttpServletRequest request = (HttpServletRequest)
context.get(StrutsStatics.HTTP_REQUEST);
HttpServletResponse response =  (HttpServletResponse)
context.get(StrutsStatics.HTTP_RESPONSE);
HttpSession session = request.getSession();
logger.info(session id + session.getId());
StoreProfile storeProfile = null;
if (session != null) {
storeProfile = (StoreProfile) 
session.getAttribute(STOREPROFILE);
}else {
session = request.getSession(true);
logger.info(Creating new session);
}

if (storeProfile == null) {
logger.info(Store Interceptor - First time);
List StoreStoreList = null;
GaeUser user = null;
user = 
(GaeUser)SecurityContextHolder.getContext().getAuthentication().getPrincipal();
StoreList = storeService.getStores(user.getUserKey().getName());
storeProfile = new StoreProfile();
storeProfile.setStoreList(StoreList);
session.setAttribute(STOREPROFILE, storeProfile);
logger.info(Store Interceptor--- + 
storeProfile.getStoreList().size());

}





// now get the StoreProfile from session
//StoreProfile storeProfile = (StoreProfile)
session.getAttribute(STOREPROFILE);
Action action = (Action) actionInvocation.getAction();

// put this object in the action to be used if needed
if (action instanceof IStoreAware) {

((IStoreAware)action).setStoreProfile(storeProfile);
 }
return actionInvocation.invoke();

}


}



-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.

-- 
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: New Billing: Absolutely make sure you set Max Idle Instances to a fixed value

2011-10-12 Thread vlad
Thanks! That is a good information. Still why does it takes an IQ of  200 
to understand GAE new billing?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/azltc6wl7HIJ.
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: My site no longer working

2011-10-12 Thread Kate
Nick,

thanks for the quick reply. Here is the log of when I run it locally.
2011-10-12 20:04:27 Running command: ['C:\\Python27\\pythonw.exe', 'C:
\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
port=8080', u'C:\\wwwhome\\aussieclouds']
Warning: You are using a Python runtime (2.7) that is more recent than
the production runtime environment (2.5). Your application may use
features that are not available in the production environment and may
not work correctly when deployed to production.
INFO 2011-10-13 00:04:35,358 rdbms_sqlite.py:58] Connecting to
SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
\dev_appserver.rdbms'
WARNING  2011-10-13 00:04:35,578 dev_appserver.py:4648] Could not
initialize images API; you are likely missing the Python PIL module.
ImportError: No module named _imaging
INFO 2011-10-13 00:04:35,967 dev_appserver_multiprocess.py:637]
Running application aussieclouds on port 8080: http://localhost:8080
WARNING  2011-10-13 00:05:21,046 __init__.py:97] You are using the
default Django version (0.96). The default Django version will change
in an App Engine release in the near future. Please call use_library()
to explicitly select a Django version. For more information see
http://code.google.com/appengine/docs/python/tools/libraries.html#Django
ERROR2011-10-13 00:05:23,390 _webapp25.py:464] no element found:
line 1, column 0
Traceback (most recent call last):
  File C:\google_appengine\google\appengine\ext\webapp\_webapp25.py,
line 701, in __call__
handler.get(*groups)
  File C:\wwwhome\aussieclouds\index.py, line 396, in get
doRender(self,'index.htm')
  File C:\wwwhome\aussieclouds\index.py, line 111, in doRender
theevents=frontpage.getevents()
  File C:\wwwhome\aussieclouds\frontpage.py, line 240, in getevents
dom = parse(http://www.gumnut.com/clouds/getevents.cfm;)
  File C:\wwwhome\aussieclouds\frontpage.py, line 229, in parse
return minidom.parseString(r.content)
  File C:\Python27\lib\xml\dom\minidom.py, line 1924, in parseString
return expatbuilder.parseString(string)
  File C:\Python27\lib\xml\dom\expatbuilder.py, line 940, in
parseString
return builder.parseString(string)
  File C:\Python27\lib\xml\dom\expatbuilder.py, line 223, in
parseString
parser.Parse(string, True)
ExpatError: no element found: line 1, column 0
INFO 2011-10-13 00:05:23,405 dev_appserver.py:4143] GET / HTTP/
1.1 500 -
INFO 2011-10-13 00:05:23,421 dev_appserver_index.py:255] Updating
C:\wwwhome\aussieclouds\index.yaml
INFO 2011-10-13 00:07:26,358 dev_appserver.py:4143] GET /_ah/
admin HTTP/1.1 302 -
INFO 2011-10-13 00:07:26,500 dev_appserver.py:4143] GET /_ah/
admin/datastore HTTP/1.1 200 -
INFO 2011-10-13 00:07:26,515 dev_appserver_index.py:255] Updating
C:\wwwhome\aussieclouds\index.yaml
INFO 2011-10-13 00:07:26,703 dev_appserver.py:4143] GET /_ah/
admin/images/google.gif HTTP/1.1 200 -
2011-10-12 20:09:43 (Process exited with code -1)

2011-10-12 20:09:47 Running command: ['C:\\Python27\\pythonw.exe', 'C:
\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
port=8080', u'C:\\wwwhome\\aussieclouds']
Warning: You are using a Python runtime (2.7) that is more recent than
the production runtime environment (2.5). Your application may use
features that are not available in the production environment and may
not work correctly when deployed to production.
INFO 2011-10-13 00:09:50,842 rdbms_sqlite.py:58] Connecting to
SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
\dev_appserver.rdbms'
WARNING  2011-10-13 00:09:50,905 dev_appserver.py:4648] Could not
initialize images API; you are likely missing the Python PIL module.
ImportError: No module named _imaging
INFO 2011-10-13 00:09:50,983 dev_appserver_multiprocess.py:637]
Running application aussieclouds on port 8080: http://localhost:8080
WARNING  2011-10-13 00:10:32,078 __init__.py:97] You are using the
default Django version (0.96). The default Django version will change
in an App Engine release in the near future. Please call use_library()
to explicitly select a Django version. For more information see
http://code.google.com/appengine/docs/python/tools/libraries.html#Django
INFO 2011-10-13 00:10:32,203 dev_appserver.py:4143] GET /_ah/
admin HTTP/1.1 302 -
INFO 2011-10-13 00:10:32,203 dev_appserver_index.py:255] Updating
C:\wwwhome\aussieclouds\index.yaml
INFO 2011-10-13 00:10:32,250 dev_appserver.py:4143] GET /_ah/
admin HTTP/1.1 302 -
INFO 2011-10-13 00:10:32,328 dev_appserver.py:4143] GET /_ah/
admin/datastore HTTP/1.1 200 -
INFO 2011-10-13 00:10:32,342 dev_appserver_index.py:255] Updating
C:\wwwhome\aussieclouds\index.yaml
INFO 2011-10-13 00:10:32,437 dev_appserver.py:4143] GET /_ah/
admin/datastore HTTP/1.1 200 -
INFO 2011-10-13 00:10:32,562 dev_appserver.py:4143] GET /_ah/
admin/images/google.gif HTTP/1.1 200 -


BUT this is using the newest SDK for Python.

Last time I deployed 

[google-appengine] Re: HTTPSession - set and get not working ... cannot get object in the next request

2011-10-12 Thread Muneer Malik
resending it ..

On Wed, Oct 12, 2011 at 7:42 PM, Muneer Malik tutti...@gmail.com wrote:

 I am using session.setAttribute and session.getAttribute but my object is NOT 
 available in the next request.

 also noticed the session.getID() is also different for each request.

 my object implements Serializable

 code snippet as follows:

 public String intercept(ActionInvocation actionInvocation) throws Exception {
   // TODO Auto-generated method stub
   final ActionContext context = 
 actionInvocation.getInvocationContext ();
   HttpServletRequest request = (HttpServletRequest) 
 context.get(StrutsStatics.HTTP_REQUEST);
   HttpServletResponse response =  (HttpServletResponse) 
 context.get(StrutsStatics.HTTP_RESPONSE);
   HttpSession session = request.getSession();
   logger.info(session id + session.getId());
   StoreProfile storeProfile = null;
   if (session != null) {
   storeProfile = (StoreProfile) 
 session.getAttribute(STOREPROFILE);
   }else {
   session = request.getSession(true);
   logger.info(Creating new session);
   }
   
   if (storeProfile == null) {
   logger.info(Store Interceptor - First time);
   List StoreStoreList = null;
   GaeUser user = null;
   user = 
 (GaeUser)SecurityContextHolder.getContext().getAuthentication().getPrincipal();
   StoreList = storeService.getStores(user.getUserKey().getName());
   storeProfile = new StoreProfile();
   storeProfile.setStoreList(StoreList);
   session.setAttribute(STOREPROFILE, storeProfile);
   logger.info(Store Interceptor--- + 
 storeProfile.getStoreList().size());
   
   }
   
   
   
   
   
   // now get the StoreProfile from session
   //StoreProfile storeProfile = (StoreProfile) 
 session.getAttribute(STOREPROFILE);
   Action action = (Action) actionInvocation.getAction();
   
   // put this object in the action to be used if needed
   if (action instanceof IStoreAware) {
   
 ((IStoreAware)action).setStoreProfile(storeProfile);
}
   return actionInvocation.invoke();
   
   }
   
   
   }



 --
 Confidentiality Notice
 ---


 THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
 CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
 DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
 THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
 INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
 DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
 HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
 tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


 THANK YOU.




-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: My site no longer working

2011-10-12 Thread Nick Johnson
Hi Kate,

From the stacktrace, it looks like you're trying to parse an XML file you
get from an external URL, and your XML parser is encountering a parse error,
which you're not catching.

You can see the logs for your live app by going to the admin console for
your app and clicking on 'logs'.

-Nick Johnson

On Thu, Oct 13, 2011 at 11:46 AM, Kate mss.ka...@gmail.com wrote:

 Nick,

 thanks for the quick reply. Here is the log of when I run it locally.
 2011-10-12 20:04:27 Running command: ['C:\\Python27\\pythonw.exe', 'C:
 \\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
 port=8080', u'C:\\wwwhome\\aussieclouds']
 Warning: You are using a Python runtime (2.7) that is more recent than
 the production runtime environment (2.5). Your application may use
 features that are not available in the production environment and may
 not work correctly when deployed to production.
 INFO 2011-10-13 00:04:35,358 rdbms_sqlite.py:58] Connecting to
 SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
 \dev_appserver.rdbms'
 WARNING  2011-10-13 00:04:35,578 dev_appserver.py:4648] Could not
 initialize images API; you are likely missing the Python PIL module.
 ImportError: No module named _imaging
 INFO 2011-10-13 00:04:35,967 dev_appserver_multiprocess.py:637]
 Running application aussieclouds on port 8080: http://localhost:8080
 WARNING  2011-10-13 00:05:21,046 __init__.py:97] You are using the
 default Django version (0.96). The default Django version will change
 in an App Engine release in the near future. Please call use_library()
 to explicitly select a Django version. For more information see
 http://code.google.com/appengine/docs/python/tools/libraries.html#Django
 ERROR2011-10-13 00:05:23,390 _webapp25.py:464] no element found:
 line 1, column 0
 Traceback (most recent call last):
  File C:\google_appengine\google\appengine\ext\webapp\_webapp25.py,
 line 701, in __call__
handler.get(*groups)
  File C:\wwwhome\aussieclouds\index.py, line 396, in get
doRender(self,'index.htm')
   File C:\wwwhome\aussieclouds\index.py, line 111, in doRender
theevents=frontpage.getevents()
  File C:\wwwhome\aussieclouds\frontpage.py, line 240, in getevents
dom = parse(http://www.gumnut.com/clouds/getevents.cfm;)
  File C:\wwwhome\aussieclouds\frontpage.py, line 229, in parse
return minidom.parseString(r.content)
  File C:\Python27\lib\xml\dom\minidom.py, line 1924, in parseString
return expatbuilder.parseString(string)
  File C:\Python27\lib\xml\dom\expatbuilder.py, line 940, in
 parseString
return builder.parseString(string)
  File C:\Python27\lib\xml\dom\expatbuilder.py, line 223, in
 parseString
parser.Parse(string, True)
 ExpatError: no element found: line 1, column 0
 INFO 2011-10-13 00:05:23,405 dev_appserver.py:4143] GET / HTTP/
 1.1 500 -
 INFO 2011-10-13 00:05:23,421 dev_appserver_index.py:255] Updating
 C:\wwwhome\aussieclouds\index.yaml
 INFO 2011-10-13 00:07:26,358 dev_appserver.py:4143] GET /_ah/
 admin HTTP/1.1 302 -
 INFO 2011-10-13 00:07:26,500 dev_appserver.py:4143] GET /_ah/
 admin/datastore HTTP/1.1 200 -
 INFO 2011-10-13 00:07:26,515 dev_appserver_index.py:255] Updating
 C:\wwwhome\aussieclouds\index.yaml
 INFO 2011-10-13 00:07:26,703 dev_appserver.py:4143] GET /_ah/
 admin/images/google.gif HTTP/1.1 200 -
 2011-10-12 20:09:43 (Process exited with code -1)

 2011-10-12 20:09:47 Running command: ['C:\\Python27\\pythonw.exe', 'C:
 \\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
 port=8080', u'C:\\wwwhome\\aussieclouds']
 Warning: You are using a Python runtime (2.7) that is more recent than
 the production runtime environment (2.5). Your application may use
 features that are not available in the production environment and may
 not work correctly when deployed to production.
 INFO 2011-10-13 00:09:50,842 rdbms_sqlite.py:58] Connecting to
 SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
 \dev_appserver.rdbms'
 WARNING  2011-10-13 00:09:50,905 dev_appserver.py:4648] Could not
 initialize images API; you are likely missing the Python PIL module.
 ImportError: No module named _imaging
 INFO 2011-10-13 00:09:50,983 dev_appserver_multiprocess.py:637]
 Running application aussieclouds on port 8080: http://localhost:8080
 WARNING  2011-10-13 00:10:32,078 __init__.py:97] You are using the
 default Django version (0.96). The default Django version will change
 in an App Engine release in the near future. Please call use_library()
 to explicitly select a Django version. For more information see
 http://code.google.com/appengine/docs/python/tools/libraries.html#Django
 INFO 2011-10-13 00:10:32,203 dev_appserver.py:4143] GET /_ah/
 admin HTTP/1.1 302 -
 INFO 2011-10-13 00:10:32,203 dev_appserver_index.py:255] Updating
 C:\wwwhome\aussieclouds\index.yaml
 INFO 2011-10-13 00:10:32,250 dev_appserver.py:4143] GET /_ah/
 admin HTTP/1.1 302 -
 INFO 2011-10-13 

[google-appengine] Re: My site no longer working

2011-10-12 Thread Kate
Nick,

thanks for the quick reply. Here is the log of when I run it locally.
2011-10-12 20:04:27 Running command: ['C:\\Python27\\pythonw.exe', 'C:
\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
port=8080', u'C:\\wwwhome\\aussieclouds']
Warning: You are using a Python runtime (2.7) that is more recent than
the production runtime environment (2.5). Your application may use
features that are not available in the production environment and may
not work correctly when deployed to production.
INFO 2011-10-13 00:04:35,358 rdbms_sqlite.py:58] Connecting to
SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
\dev_appserver.rdbms'
WARNING  2011-10-13 00:04:35,578 dev_appserver.py:4648] Could not
initialize images API; you are likely missing the Python PIL module.
ImportError: No module named _imaging
INFO 2011-10-13 00:04:35,967 dev_appserver_multiprocess.py:637]
Running application aussieclouds on port 8080: http://localhost:8080
WARNING  2011-10-13 00:05:21,046 __init__.py:97] You are using the
default Django version (0.96). The default Django version will change
in an App Engine release in the near future. Please call use_library()
to explicitly select a Django version. For more information see
http://code.google.com/appengine/docs/python/tools/libraries.html#Django
ERROR2011-10-13 00:05:23,390 _webapp25.py:464] no element found:
line 1, column 0
Traceback (most recent call last):
  File C:\google_appengine\google\appengine\ext\webapp\_webapp25.py,
line 701, in __call__
handler.get(*groups)
  File C:\wwwhome\aussieclouds\index.py, line 396, in get
doRender(self,'index.htm')
  File C:\wwwhome\aussieclouds\index.py, line 111, in doRender
theevents=frontpage.getevents()
  File C:\wwwhome\aussieclouds\frontpage.py, line 240, in getevents
dom = parse(http://www.gumnut.com/clouds/getevents.cfm;)
  File C:\wwwhome\aussieclouds\frontpage.py, line 229, in parse
return minidom.parseString(r.content)
  File C:\Python27\lib\xml\dom\minidom.py, line 1924, in parseString
return expatbuilder.parseString(string)
  File C:\Python27\lib\xml\dom\expatbuilder.py, line 940, in
parseString
return builder.parseString(string)
  File C:\Python27\lib\xml\dom\expatbuilder.py, line 223, in
parseString
parser.Parse(string, True)
ExpatError: no element found: line 1, column 0
INFO 2011-10-13 00:05:23,405 dev_appserver.py:4143] GET / HTTP/
1.1 500 -
INFO 2011-10-13 00:05:23,421 dev_appserver_index.py:255] Updating
C:\wwwhome\aussieclouds\index.yaml
INFO 2011-10-13 00:07:26,358 dev_appserver.py:4143] GET /_ah/
admin HTTP/1.1 302 -
INFO 2011-10-13 00:07:26,500 dev_appserver.py:4143] GET /_ah/
admin/datastore HTTP/1.1 200 -
INFO 2011-10-13 00:07:26,515 dev_appserver_index.py:255] Updating
C:\wwwhome\aussieclouds\index.yaml
INFO 2011-10-13 00:07:26,703 dev_appserver.py:4143] GET /_ah/
admin/images/google.gif HTTP/1.1 200 -
2011-10-12 20:09:43 (Process exited with code -1)

2011-10-12 20:09:47 Running command: ['C:\\Python27\\pythonw.exe', 'C:
\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
port=8080', u'C:\\wwwhome\\aussieclouds']
Warning: You are using a Python runtime (2.7) that is more recent than
the production runtime environment (2.5). Your application may use
features that are not available in the production environment and may
not work correctly when deployed to production.
INFO 2011-10-13 00:09:50,842 rdbms_sqlite.py:58] Connecting to
SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
\dev_appserver.rdbms'
WARNING  2011-10-13 00:09:50,905 dev_appserver.py:4648] Could not
initialize images API; you are likely missing the Python PIL module.
ImportError: No module named _imaging
INFO 2011-10-13 00:09:50,983 dev_appserver_multiprocess.py:637]
Running application aussieclouds on port 8080: http://localhost:8080
WARNING  2011-10-13 00:10:32,078 __init__.py:97] You are using the
default Django version (0.96). The default Django version will change
in an App Engine release in the near future. Please call use_library()
to explicitly select a Django version. For more information see
http://code.google.com/appengine/docs/python/tools/libraries.html#Django
INFO 2011-10-13 00:10:32,203 dev_appserver.py:4143] GET /_ah/
admin HTTP/1.1 302 -
INFO 2011-10-13 00:10:32,203 dev_appserver_index.py:255] Updating
C:\wwwhome\aussieclouds\index.yaml
INFO 2011-10-13 00:10:32,250 dev_appserver.py:4143] GET /_ah/
admin HTTP/1.1 302 -
INFO 2011-10-13 00:10:32,328 dev_appserver.py:4143] GET /_ah/
admin/datastore HTTP/1.1 200 -
INFO 2011-10-13 00:10:32,342 dev_appserver_index.py:255] Updating
C:\wwwhome\aussieclouds\index.yaml
INFO 2011-10-13 00:10:32,437 dev_appserver.py:4143] GET /_ah/
admin/datastore HTTP/1.1 200 -
INFO 2011-10-13 00:10:32,562 dev_appserver.py:4143] GET /_ah/
admin/images/google.gif HTTP/1.1 200 -


BUT this is using the newest SDK for Python.

Last time I deployed 

[google-appengine] Re: My site no longer working

2011-10-12 Thread Kate
Nick,

I have my site up now - thank you. However I cannot see WHICH line was
causing the problem. Can you point it out to me? I only got it working
by deleting all XML calls. All of them appeared to be fine, but I
couldn't take a chance. It would really help me if you could let me
know how you zeroed in on the problem!





On Oct 12, 9:04 pm, Kate mss.ka...@gmail.com wrote:
 Nick,

 thanks for the quick reply. Here is the log of when I run it locally.
 2011-10-12 20:04:27 Running command: ['C:\\Python27\\pythonw.exe', 'C:
 \\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
 port=8080', u'C:\\wwwhome\\aussieclouds']
 Warning: You are using a Python runtime (2.7) that is more recent than
 the production runtime environment (2.5). Your application may use
 features that are not available in the production environment and may
 not work correctly when deployed to production.
 INFO     2011-10-13 00:04:35,358 rdbms_sqlite.py:58] Connecting to
 SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
 \dev_appserver.rdbms'
 WARNING  2011-10-13 00:04:35,578 dev_appserver.py:4648] Could not
 initialize images API; you are likely missing the Python PIL module.
 ImportError: No module named _imaging
 INFO     2011-10-13 00:04:35,967 dev_appserver_multiprocess.py:637]
 Running application aussieclouds on port 8080:http://localhost:8080
 WARNING  2011-10-13 00:05:21,046 __init__.py:97] You are using the
 default Django version (0.96). The default Django version will change
 in an App Engine release in the near future. Please call use_library()
 to explicitly select a Django version. For more information 
 seehttp://code.google.com/appengine/docs/python/tools/libraries.html#Django
 ERROR    2011-10-13 00:05:23,390 _webapp25.py:464] no element found:
 line 1, column 0
 Traceback (most recent call last):
   File C:\google_appengine\google\appengine\ext\webapp\_webapp25.py,
 line 701, in __call__
     handler.get(*groups)
   File C:\wwwhome\aussieclouds\index.py, line 396, in get
     doRender(self,'index.htm')
   File C:\wwwhome\aussieclouds\index.py, line 111, in doRender
     theevents=frontpage.getevents()
   File C:\wwwhome\aussieclouds\frontpage.py, line 240, in getevents
     dom = parse(http://www.gumnut.com/clouds/getevents.cfm;)
   File C:\wwwhome\aussieclouds\frontpage.py, line 229, in parse
     return minidom.parseString(r.content)
   File C:\Python27\lib\xml\dom\minidom.py, line 1924, in parseString
     return expatbuilder.parseString(string)
   File C:\Python27\lib\xml\dom\expatbuilder.py, line 940, in
 parseString
     return builder.parseString(string)
   File C:\Python27\lib\xml\dom\expatbuilder.py, line 223, in
 parseString
     parser.Parse(string, True)
 ExpatError: no element found: line 1, column 0
 INFO     2011-10-13 00:05:23,405 dev_appserver.py:4143] GET / HTTP/
 1.1 500 -
 INFO     2011-10-13 00:05:23,421 dev_appserver_index.py:255] Updating
 C:\wwwhome\aussieclouds\index.yaml
 INFO     2011-10-13 00:07:26,358 dev_appserver.py:4143] GET /_ah/
 admin HTTP/1.1 302 -
 INFO     2011-10-13 00:07:26,500 dev_appserver.py:4143] GET /_ah/
 admin/datastore HTTP/1.1 200 -
 INFO     2011-10-13 00:07:26,515 dev_appserver_index.py:255] Updating
 C:\wwwhome\aussieclouds\index.yaml
 INFO     2011-10-13 00:07:26,703 dev_appserver.py:4143] GET /_ah/
 admin/images/google.gif HTTP/1.1 200 -
 2011-10-12 20:09:43 (Process exited with code -1)

 2011-10-12 20:09:47 Running command: ['C:\\Python27\\pythonw.exe', 'C:
 \\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
 port=8080', u'C:\\wwwhome\\aussieclouds']
 Warning: You are using a Python runtime (2.7) that is more recent than
 the production runtime environment (2.5). Your application may use
 features that are not available in the production environment and may
 not work correctly when deployed to production.
 INFO     2011-10-13 00:09:50,842 rdbms_sqlite.py:58] Connecting to
 SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
 \dev_appserver.rdbms'
 WARNING  2011-10-13 00:09:50,905 dev_appserver.py:4648] Could not
 initialize images API; you are likely missing the Python PIL module.
 ImportError: No module named _imaging
 INFO     2011-10-13 00:09:50,983 dev_appserver_multiprocess.py:637]
 Running application aussieclouds on port 8080:http://localhost:8080
 WARNING  2011-10-13 00:10:32,078 __init__.py:97] You are using the
 default Django version (0.96). The default Django version will change
 in an App Engine release in the near future. Please call use_library()
 to explicitly select a Django version. For more information 
 seehttp://code.google.com/appengine/docs/python/tools/libraries.html#Django
 INFO     2011-10-13 00:10:32,203 dev_appserver.py:4143] GET /_ah/
 admin HTTP/1.1 302 -
 INFO     2011-10-13 00:10:32,203 dev_appserver_index.py:255] Updating
 C:\wwwhome\aussieclouds\index.yaml
 INFO     2011-10-13 00:10:32,250 dev_appserver.py:4143] GET /_ah/
 admin HTTP/1.1 302 -
 INFO     

Re: [google-appengine] Re: My site no longer working

2011-10-12 Thread Nick Johnson
Hi Kate,

You can see the problem by examining the stacktrace line-by-line.
Specifically, this bit, which shows the part of your code that has the
problem:

   File C:\wwwhome\aussieclouds\index.py, line 396, in get
 doRender(self,'index.htm')
   File C:\wwwhome\aussieclouds\index.py, line 111, in doRender
 theevents=frontpage.getevents()
   File C:\wwwhome\aussieclouds\frontpage.py, line 240, in getevents
 dom = parse(http://www.gumnut.com/clouds/getevents.cfm;)

-Nick

On Thu, Oct 13, 2011 at 12:31 PM, Kate mss.ka...@gmail.com wrote:

 Nick,

 I have my site up now - thank you. However I cannot see WHICH line was
 causing the problem. Can you point it out to me? I only got it working
 by deleting all XML calls. All of them appeared to be fine, but I
 couldn't take a chance. It would really help me if you could let me
 know how you zeroed in on the problem!





 On Oct 12, 9:04 pm, Kate mss.ka...@gmail.com wrote:
  Nick,
 
  thanks for the quick reply. Here is the log of when I run it locally.
  2011-10-12 20:04:27 Running command: ['C:\\Python27\\pythonw.exe', 'C:
  \\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
  port=8080', u'C:\\wwwhome\\aussieclouds']
  Warning: You are using a Python runtime (2.7) that is more recent than
  the production runtime environment (2.5). Your application may use
  features that are not available in the production environment and may
  not work correctly when deployed to production.
  INFO 2011-10-13 00:04:35,358 rdbms_sqlite.py:58] Connecting to
  SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
  \dev_appserver.rdbms'
  WARNING  2011-10-13 00:04:35,578 dev_appserver.py:4648] Could not
  initialize images API; you are likely missing the Python PIL module.
  ImportError: No module named _imaging
  INFO 2011-10-13 00:04:35,967 dev_appserver_multiprocess.py:637]
  Running application aussieclouds on port 8080:http://localhost:8080
  WARNING  2011-10-13 00:05:21,046 __init__.py:97] You are using the
  default Django version (0.96). The default Django version will change
  in an App Engine release in the near future. Please call use_library()
  to explicitly select a Django version. For more information seehttp://
 code.google.com/appengine/docs/python/tools/libraries.html#Django
  ERROR2011-10-13 00:05:23,390 _webapp25.py:464] no element found:
  line 1, column 0
  Traceback (most recent call last):
File C:\google_appengine\google\appengine\ext\webapp\_webapp25.py,
  line 701, in __call__
  handler.get(*groups)
File C:\wwwhome\aussieclouds\index.py, line 396, in get
  doRender(self,'index.htm')
File C:\wwwhome\aussieclouds\index.py, line 111, in doRender
  theevents=frontpage.getevents()
File C:\wwwhome\aussieclouds\frontpage.py, line 240, in getevents
  dom = parse(http://www.gumnut.com/clouds/getevents.cfm;)
File C:\wwwhome\aussieclouds\frontpage.py, line 229, in parse
  return minidom.parseString(r.content)
File C:\Python27\lib\xml\dom\minidom.py, line 1924, in parseString
  return expatbuilder.parseString(string)
File C:\Python27\lib\xml\dom\expatbuilder.py, line 940, in
  parseString
  return builder.parseString(string)
File C:\Python27\lib\xml\dom\expatbuilder.py, line 223, in
  parseString
  parser.Parse(string, True)
  ExpatError: no element found: line 1, column 0
  INFO 2011-10-13 00:05:23,405 dev_appserver.py:4143] GET / HTTP/
  1.1 500 -
  INFO 2011-10-13 00:05:23,421 dev_appserver_index.py:255] Updating
  C:\wwwhome\aussieclouds\index.yaml
  INFO 2011-10-13 00:07:26,358 dev_appserver.py:4143] GET /_ah/
  admin HTTP/1.1 302 -
  INFO 2011-10-13 00:07:26,500 dev_appserver.py:4143] GET /_ah/
  admin/datastore HTTP/1.1 200 -
  INFO 2011-10-13 00:07:26,515 dev_appserver_index.py:255] Updating
  C:\wwwhome\aussieclouds\index.yaml
  INFO 2011-10-13 00:07:26,703 dev_appserver.py:4143] GET /_ah/
  admin/images/google.gif HTTP/1.1 200 -
  2011-10-12 20:09:43 (Process exited with code -1)
 
  2011-10-12 20:09:47 Running command: ['C:\\Python27\\pythonw.exe', 'C:
  \\google_appengine\\dev_appserver.py', '--admin_console_server=', '--
  port=8080', u'C:\\wwwhome\\aussieclouds']
  Warning: You are using a Python runtime (2.7) that is more recent than
  the production runtime environment (2.5). Your application may use
  features that are not available in the production environment and may
  not work correctly when deployed to production.
  INFO 2011-10-13 00:09:50,842 rdbms_sqlite.py:58] Connecting to
  SQLite database '' with file 'c:\\docume~1\\kjuliff\\locals~1\\temp\
  \dev_appserver.rdbms'
  WARNING  2011-10-13 00:09:50,905 dev_appserver.py:4648] Could not
  initialize images API; you are likely missing the Python PIL module.
  ImportError: No module named _imaging
  INFO 2011-10-13 00:09:50,983 dev_appserver_multiprocess.py:637]
  Running application aussieclouds on port 8080:http://localhost:8080
  WARNING  

Re: [google-appengine] Python 2.7 threadsafe: true running on local

2011-10-12 Thread Brian Quinlan
On Thu, Oct 13, 2011 at 11:19 AM, Tim Hoffman zutes...@gmail.com wrote:
 I don't believe the dev server is supported with 2.7 at all.  That was the
 position during the trusted testers phase
 and all of the recent posts here by google indicate that is still the case.

That's correct - the dev appserver doesn't support Python 2.7 at all.

Cheers,
Brian

 Rgds
 Tim

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/56Nybt3kj2EJ.
 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.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Python 2.7 threadsafe: true running on local

2011-10-12 Thread Tim Hoffman
HI Brian

You should put that fact in a prominent position in the 1.5.5 release notes.

Tim

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/KmKduPKYPWAJ.
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 to determine datastore reads?

2011-10-12 Thread J
Not really.  I have one COUNT query that is run during the aforementioned 
cron job (which runs once every 60 minutes now).  But the # of entities for 
that type is very low, typically between 1-10, so I wouldn't think the COUNT 
query would add too many reads.

Is there something about COUNT queries that I should be aware of?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/pbvWQjpMw2wJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] How to create something similar to Zoho Creator

2011-10-12 Thread Rajkumar Radhakrishnan
Hi,

You should see if iFreeTools Creator http://creator.ifreetools.com,
the online database app builder built from the ground up for hosting over
Google App Engine, can meet your requirements.

You can define Entities (tables) and Attributes (columns or fields) to
create your own custom database app up and running in few minutes. Forms 
Views (lists, charts, calendar views) are automatically generated based on
access privileges, which can be defined up to field level.

System level features available in iFreeTools Creator include :

   - User Management
   - Automated Audit of all write operations
   - Custom Views for filtering data based on criteria
   - Custom Actions for single-click record modifications
   - Bulk Import / Export in CSV format
   - Authorization Profiles for access control up to field level
   - Re-branding with your logo
   - Sub-domain mapping http://app.yourdomain.com (requires Google Apps)

Integrates with the following Google services currently :

   - Google Contacts (import contacts to any custom database table having an
   email-id fields, after defining a field mapping and uploading of contacts).
   - Google Docs (attach documents to any database record)
   - Google Maps (mark geographic locations on maps and search records based
   on nearness to that location)
   - Google Apps (supports login using Google Apps user accounts, using
   Google App Engine's federated login feature, and mapping to sub-domain from
   Google Apps dashboard).

All features listed above are available in free version. More features are
in the works.

You can also have the iFreeTools deployed to your own Google App Engine
account for which the rates start at $99/year (~$8.25/month) for 25 users,
going up to $297/year for unlimited users.

*User Guide* : http://help.creator.ifreetools.com

Hope you find the app useful. Feedback welcome.

Thanks  Regards,
Raj



On Wed, Oct 12, 2011 at 4:58 PM, Marc m...@snoopyaustralia.com wrote:

 With a few drag'n'drop, Zoho creator lets you create a simple records
 management system i.e. create a few tables, a few forms, and you can
 add/edit/delete records in forms, search in list... all without any coding.
 They used to export to GAE but it looks like it's gone.

 I'd like to know if there is a product that would do the same for GAE or
 maybe create the boilerplate code. I need to create a dozen forms, add CRUD
 capabilities to each form, have fields in the forms with auto-complete
 drop-down controls pointing to other tables and provide lists with
 sort/search/pagination.
 I've looked at GWT libraries like SmartGWT and it helps with the UI but
 there's still a fair bit of code to go through to create all the CRUD
 service to the datastore. I'm also very bad CSS/HTML so what I got running
 looked pretty bad. :)

 Ideas?

 Thanks

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/OqLXcP2FuOMJ.
 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.




-- 
~~
Build online database applications, over Google App Engine.
iFreeTools Creator - http://creator.ifreetools.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.



Re: [google-appengine] Python 2.7 threadsafe: true running on local

2011-10-12 Thread Brian Quinlan
I can't change the e-mails that we've already sent out but I've
updated the release notes of the code site and I'll add a notice in
the docs.

Cheers,
Brian

On Thu, Oct 13, 2011 at 1:44 PM, Tim Hoffman zutes...@gmail.com wrote:
 HI Brian
 You should put that fact in a prominent position in the 1.5.5 release notes.
 Tim

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/KmKduPKYPWAJ.
 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.


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