[google-appengine] Re: Support for Firestore Client on App Engine Standard?

2018-08-15 Thread Joel Fernandes
Our application is built on top of Firebase and its services, including 
Firestore. Although Cloud Datastore provides identical functionalities, I'm 
not if it can be or should be integrated with Firebase, when Firestore is 
an option that is readily available. 

However, it seems like the SDK libraries are supported 

 
by the Python 3.7 runtime on GAE standard. That's something I need to test 
now. 


On Tuesday, 14 August 2018 22:04:30 UTC+5:30, George (Cloud Platform 
Support) wrote:
>
> What is the special use-case requiring the specific use of Firestore on 
> App Engine Standard? In that environment, identical functionality is 
> provided by Cloud Datastore . 
> There doesn't seem to be any specific need for Firestore in place of 
> Datastore, at first glance. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f126d206-4e4e-491b-9c93-142ab90ab02a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Support for Firestore Client on App Engine Standard?

2018-08-14 Thread Joel Fernandes


This is with regard to #179 
 on Firebase 
Admin Python SDK.


Is there a workaround, or any updates on the timeline on when support for 
Firestore client will be added on App Engine Standard?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/236c2028-43f4-401b-ab9d-37c3a8919fa0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App engine app stopped functioning

2017-10-26 Thread Roku Joel
Thanks!

 - Joel 

On Thursday, October 26, 2017 at 2:42:47 PM UTC-7, Jun (Cloud Platform 
Support) wrote:
>
> Hello Joel,
>
>
> Google Groups is meant for general product discussions and not for 
> technical support.
>
>  
>
> It is recommended you open a Public Issue Tracker 
> <https://cloud.google.com/support/docs/issue-trackers> report with more 
> information such as your project-id, app.yaml/appengine-web.xml 
> configuration file, information about the timestamps of when this issue 
> occurred. 
>
>
> On Thursday, October 26, 2017 at 4:27:14 PM UTC-4, Roku Joel wrote:
>>
>> my app which was a simple oauth handler for three applications ceased 
>> functioning for some reason. My email had some things about needing to 
>> migrate to python 2.7.9 but actually it was developed with 2.7.10 - which 
>> as far as I can tell is a newer version - on my other laptop I have 2.7.14. 
>> Regardless, the app stopped working. I saw something about datastore_admin 
>> being deprecated and how to turn it back on, so I did that, redeployed the 
>> app using the 2.7.14 and it is still not working. 
>>
>> The app is access by going to 
>> http://appname.appspot.com/getRegCode?deviceID==
>> _token===imageservice.
>>  
>>
>> What i'm getting looks like:
>> The requested 
>> URL/getRegCode?deviceID==_token===imageservice
>>
>> was not found on this server. 
>>
>> Any ideas? 
>>
>>  - Joel 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ba7077c9-b2f1-4024-b290-37c0f2237e32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine app stopped functioning

2017-10-26 Thread Roku Joel
my app which was a simple oauth handler for three applications ceased 
functioning for some reason. My email had some things about needing to 
migrate to python 2.7.9 but actually it was developed with 2.7.10 - which 
as far as I can tell is a newer version - on my other laptop I have 2.7.14. 
Regardless, the app stopped working. I saw something about datastore_admin 
being deprecated and how to turn it back on, so I did that, redeployed the 
app using the 2.7.14 and it is still not working. 

The app is access by going to 
http://appname.appspot.com/getRegCode?deviceID==_token===imageservice.
 

What i'm getting looks like:
The requested 
URL/getRegCode?deviceID==_token===imageservice

was not found on this server. 

Any ideas? 

 - Joel 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/120ed30f-7ca1-48e0-a0e3-5b1180b5a6ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Avoiding races when using memcache to back datastore queries

2016-03-19 Thread Joel Holveck
I'm working on a bit of an app that can receive requests for the same query 
several times in rapid succession, and it's almost always the same in a 
short timespan.  Rather than doing datastore queries each time, I'd like to 
cache the information in memcache.

I first thought I'd model my mechanism on how ndb uses memcache.  If I'm 
reading the docs right 
at https://cloud.google.com/appengine/docs/python/ndb/cache#memcache , ndb 
will delete a memcache key prior to a .put() and expect the first .get() to 
populate the memcache.  But it sounds like this could cause a race if 
instance 1 is performing a put at the same time as instance 2 is performing 
a put, and that the stale data could be cached.


   1. Instance 1 determines it needs to put changes to an object into the 
   datastore.
   2. Instance 2 determines it needs to get the same object from datastore.
   3. Instance 1 deletes the memcache key.
   4. Instance 2 queries the memcache, and finds it empty.
   5. Instance 2 loads the old version from the datastore.
   6. Instance 1 puts the new version in the datastore.
   7. Instance 2 puts the old version's data into memcache.
   8. Much later, Instance 3 queries the memstore for the object, and gets 
   the old version.


In this case, this is only using methods that are supposed to have strong 
consistency guarantees, but the way they're composed means that ndb's 
"fetch by key" would not be strongly consistent.

I suspect the docs are simplifying the actual consistency protocol used by 
ndb, but this seems like a problem that needs to be solved pretty 
frequently.  Anybody have insights to share?

As I mentioned, my ultimate goal is to build a mechanism to cache a 
particular query in memcache, but I'm looking at just a get_by_id 
operation's caching to get ideas of how to do this well.

Thanks,
Piquan

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/90dfc15b-e4c0-45c8-906f-21f5cc01f68a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Avoiding races when using memcache to back datastore queries

2016-03-19 Thread Joel Holveck
By the way, feel free to say this should be on Stack Overflow if that's 
more appropriate.  I still don't have a good feel for what should be posted 
here vs. elsewhere.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0e1f0ab9-83d9-432e-9c5f-fe0962b060e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Avoiding races when using memcache to back datastore queries

2016-03-18 Thread Joel Holveck
Thanks for the help!

It looks like if memcache evicts the _LOCKED sentinel between steps 3 and 4 
of Greg's sequence (for example, resets the shard in a maintenance or 
migration event), this algorithm could still cache stale data.  Greg, you 
mentioned that it uses CAS to prevent problems with memcache failures; I'm 
trying to think about how the instance could prevent this with judicious 
use of CAS, but nothing springs to mind.

To Nick's question about the specific circumstances I'm looking at, I'll 
try to put it in a nutshell.

I'm writing a user notification service.  The idea is that a computer (like 
a workstation or an Arduino) can post a message that will be transmitted to 
the user, even if they're on a different computer or mobile device.  The 
basic functionality is just pushing a notification through GCM, but there's 
extra features: for instance, notifications can be staged over time so that 
it's sent to less intrusive clients (like a notification center pop-up) 
before more intrusive ones (like a noisy phone push).  Also, when a 
notification is acknowledged on one client it's cleared from others, so you 
don't pick up your phone and see a lot of messages that you've already 
dealt with.  (There's a few other features that aren't germane to this 
discussion.)

On the web UI, there's a list of recent notifications, updated in realtime. 
 This is surprisingly tricky to get right, and I'm still working on the 
design.  It first loads the notification list from the server and displays 
it.  Then, it establishes a channel (using the Channel API), and reloads 
the notification list.  It does this little dance so that it can give the 
user a quick initial display (since establishing the channel is slow, in 
page load terms), but still be guaranteed not to drop messages between the 
initial load and when the channel is established.

Since the reload is almost always the same as the initial load, I'm 
experimenting with caching the notification list in memcache.  While I was 
designing the cache flow, I was having a hard time coming up with a correct 
algorithm.  I figured I'd start by considering how ndb caches objects, and 
realized that the documented algorithm admits the race condition I 
described.

As a separate issue, I'm still trying to decide if I can use a non-ancestor 
query and still have a live list of notifications, subject only to indexing 
and propagation delays, but that's a separate concern.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5b5541b7-aaa1-4ef3-b842-5d00949467df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] 500 server error on App Engine when using OpenID Users API on custom domain

2014-07-29 Thread Joel E
I posted the details of this issue on StackOverflow here 
http://stackoverflow.com/questions/24498646/500-server-error-on-app-engine-when-using-openid-users-api-on-custom-domain
 
but basically the Users API is crashing when accessed by an app running on 
a custom domain. I have not been able to get any help with this issue and 
it would be great to get an answer from someone at Google as this seems to 
be an issue with App Engine's internal code. I'd be happy for any 
suggestions or help at this point though.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 500 server error on App Engine when using OpenID Users API on custom domain

2014-07-29 Thread Joel E
Could you explain what you mean by the callback/redirect URL? I didn't read 
anything about that in the documentation. Also, nothing from the error 
appears in the logs since the crash happens in app engine's internal code.

Thanks!

On Tuesday, July 29, 2014 6:05:42 PM UTC-4, Mihail Russu wrote:

 Are there any error details in the Logs section that you can provide?

 Just last Friday I transferred an app from .appspot.com to a custom 
 domain and everything worked great as soon as I changed the 
 callback/redirect URLs on OAuth providers' end. Could it be that you simply 
 forgot to update them? (this is unlikely to cause a 500 on AppEngine's end 
 but it's a start)

 Mihail.

 On Tuesday, July 29, 2014 12:41:29 PM UTC-5, Joel E wrote:

 I posted the details of this issue on StackOverflow here 
 http://stackoverflow.com/questions/24498646/500-server-error-on-app-engine-when-using-openid-users-api-on-custom-domain
  
 but basically the Users API is crashing when accessed by an app running on 
 a custom domain. I have not been able to get any help with this issue and 
 it would be great to get an answer from someone at Google as this seems to 
 be an issue with App Engine's internal code. I'd be happy for any 
 suggestions or help at this point though.

 Thanks!



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 500 server error on App Engine when using OpenID Users API on custom domain

2014-07-29 Thread Joel E
Oh, I think I understand but I don't think it solves the issue. See, the 
App Engine user's API accepts relative URLs and then takes care of 
processing the call to the openID provider. Here's how my code works:

String LogInURL = userService.createLoginURL(/main.jsp, null, 
openid_identifier, null);
resp.sendRedirect(LogInURL);
I take the URL of the provider from the user (openid_identifier) and send 
it to the App Engine Users API to create a redirect URL. Then I send the 
user to the provider through that URL. The user first logs in through their 
provider but on return to my app they land on a 500 error page instead of 
being redirected through to /main.jsp. If I start the process from my 
appspot.com domain instead it goes through to /main.jsp just fine.

Thanks for trying though!

On Tuesday, July 29, 2014 7:07:09 PM UTC-4, Mihail Russu wrote:

 Most OAuth providers require you to specify full callback url (in the 
 request headers as well as in the control panel of their websites) so when 
 changing domains you'd also need to update the URL on their end but I 
 didn't realize until now that you are having issues with OpenID and NOT 
 with OAuth, I am not sure if it's the same there.

 On Tuesday, July 29, 2014 5:18:29 PM UTC-5, Joel E wrote:

 Could you explain what you mean by the callback/redirect URL? I didn't 
 read anything about that in the documentation. Also, nothing from the error 
 appears in the logs since the crash happens in app engine's internal code.

 Thanks!

 On Tuesday, July 29, 2014 6:05:42 PM UTC-4, Mihail Russu wrote:

 Are there any error details in the Logs section that you can provide?

 Just last Friday I transferred an app from .appspot.com to a custom 
 domain and everything worked great as soon as I changed the 
 callback/redirect URLs on OAuth providers' end. Could it be that you simply 
 forgot to update them? (this is unlikely to cause a 500 on AppEngine's end 
 but it's a start)

 Mihail.

 On Tuesday, July 29, 2014 12:41:29 PM UTC-5, Joel E wrote:

 I posted the details of this issue on StackOverflow here 
 http://stackoverflow.com/questions/24498646/500-server-error-on-app-engine-when-using-openid-users-api-on-custom-domain
  
 but basically the Users API is crashing when accessed by an app running on 
 a custom domain. I have not been able to get any help with this issue and 
 it would be great to get an answer from someone at Google as this seems to 
 be an issue with App Engine's internal code. I'd be happy for any 
 suggestions or help at this point though.

 Thanks!



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 500 server error on App Engine when using OpenID Users API on custom domain

2014-07-29 Thread Joel E
Well I was playing around with the /main.jsp part of the above code to 
see if I could get something working and oddly enough it seems that adding 
the custom domain to it fixes the 500 error without messing it up on 
appspot! Thanks for the help!

On Tuesday, July 29, 2014 7:35:03 PM UTC-4, Joel E wrote:

 Oh, I think I understand but I don't think it solves the issue. See, the 
 App Engine user's API accepts relative URLs and then takes care of 
 processing the call to the openID provider. Here's how my code works:

 String LogInURL = userService.createLoginURL(/main.jsp, null, 
 openid_identifier, null);
 resp.sendRedirect(LogInURL);
 I take the URL of the provider from the user (openid_identifier) and send 
 it to the App Engine Users API to create a redirect URL. Then I send the 
 user to the provider through that URL. The user first logs in through their 
 provider but on return to my app they land on a 500 error page instead of 
 being redirected through to /main.jsp. If I start the process from my 
 appspot.com domain instead it goes through to /main.jsp just fine.

 Thanks for trying though!

 On Tuesday, July 29, 2014 7:07:09 PM UTC-4, Mihail Russu wrote:

 Most OAuth providers require you to specify full callback url (in the 
 request headers as well as in the control panel of their websites) so when 
 changing domains you'd also need to update the URL on their end but I 
 didn't realize until now that you are having issues with OpenID and NOT 
 with OAuth, I am not sure if it's the same there.

 On Tuesday, July 29, 2014 5:18:29 PM UTC-5, Joel E wrote:

 Could you explain what you mean by the callback/redirect URL? I didn't 
 read anything about that in the documentation. Also, nothing from the error 
 appears in the logs since the crash happens in app engine's internal code.

 Thanks!

 On Tuesday, July 29, 2014 6:05:42 PM UTC-4, Mihail Russu wrote:

 Are there any error details in the Logs section that you can provide?

 Just last Friday I transferred an app from .appspot.com to a custom 
 domain and everything worked great as soon as I changed the 
 callback/redirect URLs on OAuth providers' end. Could it be that you 
 simply 
 forgot to update them? (this is unlikely to cause a 500 on AppEngine's end 
 but it's a start)

 Mihail.

 On Tuesday, July 29, 2014 12:41:29 PM UTC-5, Joel E wrote:

 I posted the details of this issue on StackOverflow here 
 http://stackoverflow.com/questions/24498646/500-server-error-on-app-engine-when-using-openid-users-api-on-custom-domain
  
 but basically the Users API is crashing when accessed by an app running 
 on 
 a custom domain. I have not been able to get any help with this issue and 
 it would be great to get an answer from someone at Google as this seems 
 to 
 be an issue with App Engine's internal code. I'd be happy for any 
 suggestions or help at this point though.

 Thanks!



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Errors with OpenID2 in the users API on a custom domain

2014-06-20 Thread Joel E
I'm currently developing a Google App Engine app and have it setup with a 
custom domain. Recently, I've been working on switching login over to the 
OpenID 2 system built into the users API. Everything works fine until I try 
it through my custom domain (codecloud.byte-games.com). The first issue was 
Google displaying a 400 error when requesting OpenID login with Google as 
the provider. I managed to fix that by asking Miguel Andres register the 
domain manually on the deprecated Google OpenID 2 system. 
(https://groups.google.com/d/msg/google-federated-login-api/eIz-i1UYhQY/1LcD2tBxUAMJ)
 
After that was fixed I continued my testing and found a similar issue, this 
time when loging in with a non-Google OpenID on the custom domain. I 
managed to implement a temp fix by redirecting users to the appspot domain 
but that is far from ideal.

Basically, whenever the user finishes login with the OpenID provider and 
returns to my app at 
the 
http://codecloud.byte-games.com/_ah/openid_verify?continue=http://codecloud.byte-games.com/
 
URL it displays the 500 App Engine server error page. When I do the exact 
same thing except from the appstop domain it works fine. Nothing gets 
logged in the logs and I have no way of controlling that so it seems to be 
an error in App Engine itself. I would contact support about this but I'm 
using the bronze level so I can't do that. It would be *AWESOME* if someone 
at Google could look into this.

Thanks!
Joel

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Issues with OpenID 2 for app running on a custom domain

2014-06-20 Thread Joel E
I'm using the OpenID option for the Users API in my web app. When I test it 
on my app it works fine in the appspot domain but crashes on the custom one 
that I added through the control panel. I managed to get the login with 
Google Accounts working by registering the domain here 
https://groups.google.com/d/msg/google-federated-login-api/eIz-i1UYhQY/1LcD2tBxUAMJ
 
but the login for any other account still crashes to an app engine 500 
page. It seems that the app engine API just isn't expecting calls from this 
domain. Any suggestions? Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] image service suddenly corrupting TIFF images in production!

2013-05-08 Thread Joel


images api is suddenly corrupting output when source image is tiff (1bit 
group3).  Code that worked fine for over a year is suddenly and unexpectedly 
corrupting output images with no warning or error.  
This affects all images API functions in production.

This is a silent killer for our app as we receive fax data as tiff and convert 
to png before storage and other operations.  The system doesn't error, the 
output image is just suddenly corrupted.  I have posted a detailed entry on 
stack exchange with code examples:
http://stackoverflow.com/questions/16405881/google-appengine-images-api-suddenly-corrupting-images

I have also attached a sample project that shows the problem very clearly.

Please help!  Our production system is totally knocked offline because of this! 
:(

  * How can someone else reproduce the problem? 

Simply load a 2 channel 1 bit group3 compressed TIFF (a fax image) into the 
images service and convert it to a PNG.  The output will be corrupted.  I have 
created an example app to illustrate the problem:

Source image as TIFF: http://devtest-app1.appspot.com 
Convert PNG (corruption): http://devtest-app1.appspot.com?convert=1 
http://devtest-app1.appspot.com/?convert=1 

  * What is the expected output?  A NOT corrupted image, as it was for the past 
year.

  * What do you see instead?  A corrupted image.


I have filed a bug report:


https://code.google.com/p/googleappengine/issues/detail?id=9284


I have tried switching to PIL for the image conversion and PIL does not support 
group3 compressed TIFFs.  So that's a no-go.


Our app is using the latest version of AppEngine and runs with the python27 
runtime.


Please help!  We need a viable workaround, this is killing our production app.  
Google's service just started suddenly corrupting images without warning.  All 
our live data is corrupted now! We have had to turn off our production 
application until this can be resolved :(



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




[google-appengine] Google App Engine - Create a Engine not working

2012-11-04 Thread Joel Aniol
Seems there is a Problem with the App Engine
everytime i hit Create Application (https://appengine.google.com/start) i 
got the Error message
 Server Error

A server error has occurred.

*Return to Applications screen »* https://appengine.google.com/

 

Sincerly

Deex

-- 
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/-/f1XBA27DM5AJ.
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 - Create a Engine not working

2012-11-04 Thread Joel Aniol
Hi Julie,
 
i havent a Dashboard, the only thing that i can see is this here
 
 

Am Sonntag, 4. November 2012 10:20:00 UTC+1 schrieb Julie:

 *Please check your logs from the dashboard. They should give some 
 indication as to the cause of the error.
 *


 On 4 November 2012 17:17, Joel Aniol maderer@googlemail.comjavascript:
  wrote:

 Seems there is a Problem with the App Engine
 everytime i hit Create Application (https://appengine.google.com/start) 
 i got the Error message
  Server Error

 A server error has occurred.

 *Return to Applications screen »* https://appengine.google.com/

  

 Sincerly

 Deex

 -- 
 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/-/f1XBA27DM5AJ.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 To unsubscribe from this group, send email to 
 google-appengi...@googlegroups.com javascript:.
 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/LQWxpVSi5hYJ.
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.

attachment: Zwischenablage01.jpg

[google-appengine] Re: SMS verification failed. Expected time on manual verification?

2010-06-21 Thread Joel Boehland
Hi Nick,
Thanks for the response. I can verify that I have been approved
manually for my first account that I requested. The wait time was
around 2 days as you indicated just for future reference for anyone
searching this group on the sms issue. Thanks for taking care of that.

Cheers,
Joel Boehland

On Jun 21, 2:25 am, Nick Johnson (Google) nick.john...@google.com
wrote:
 Hi,

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

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

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

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

 Happy coding,

 Nick Johnson





 On Sat, Jun 19, 2010 at 7:06 PM, Joel Boehland jboehl...@gmail.com wrote:
  Hello,
  I have attemped to create a new app, and am wedged in the sms
  verification process. I have an account through ATT, and have
  confirmed that I can receive sms messages, but I haven't gotten the
  verification from appengine. I have filled out the sms waitlist and am
  waiting. Would someone with some inside knowlege comment on the
  expected wait time for this manual process? Also, in addition to
  creating apps using my personal gmail account, I have an apps domain
  that I would also like to create appengine apps for. Since you can
  only use one number to verify, (and even this one doesn't seem to be
  working!), how would I verify the second apps domain account for
  appengine?

  I realize this product is tagged as being in beta, but I *really*
  hope you guys aren't going to stick with the sms verification process
  for the final version of the application. It is a terrible user
  experience when things go wrong, and it seems like it goes wrong
  fairly often. Users have know idea what is going on, where they are in
  the process, etc..

  Anyhow, I hope this post reaches a human somewhere in the gigantic
  googleplex, and that they can help me get started with google app
  engine.

  Thanks,
  Joel Boehland

  --
  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-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@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 Google Ireland Ltd. ::
 Registered in Dublin, Ireland, Registration Number: 368047
 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
 368047

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-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.



[google-appengine] SMS verification failed. Expected time on manual verification?

2010-06-20 Thread Joel Boehland
Hello,
I have attemped to create a new app, and am wedged in the sms
verification process. I have an account through ATT, and have
confirmed that I can receive sms messages, but I haven't gotten the
verification from appengine. I have filled out the sms waitlist and am
waiting. Would someone with some inside knowlege comment on the
expected wait time for this manual process? Also, in addition to
creating apps using my personal gmail account, I have an apps domain
that I would also like to create appengine apps for. Since you can
only use one number to verify, (and even this one doesn't seem to be
working!), how would I verify the second apps domain account for
appengine?

I realize this product is tagged as being in beta, but I *really*
hope you guys aren't going to stick with the sms verification process
for the final version of the application. It is a terrible user
experience when things go wrong, and it seems like it goes wrong
fairly often. Users have know idea what is going on, where they are in
the process, etc..

Anyhow, I hope this post reaches a human somewhere in the gigantic
googleplex, and that they can help me get started with google app
engine.

Thanks,
Joel Boehland

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



Re: [appengine-java] Discussion on will-it-play-in-app-engine

2010-04-26 Thread Joel Weight
I had the same problem with JSF 2 so I wrote this blog entry which details a
fix.  Unfortunately it means recompiling jsf.

http://digitaljoel.wordpress.com/2009/12/21/jsf-2-0-2-and-google-app-engine/

http://digitaljoel.wordpress.com/2009/12/21/jsf-2-0-2-and-google-app-engine/
Joel

On Wed, Mar 31, 2010 at 2:01 AM, Haroon Idrees haroo...@gmail.com wrote:

 Please Help
 I want to test JSF 2.0 over google Appengine ,I followed all
 instruction given at

 https://sites.google.com/a/wildstartech.com/adventures-in-java/Java-Platform-Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces-reference-implementation/configuring-jsf-20-to-run-on-the-google-appengine

 But still getting this error


 java.lang.NoClassDefFoundError: javax.naming.InitialContext is a
 restricted class. Please see the Google  App Engine developer's guide
 for

 This change is only using 1.3.2 latest  sdk on ubuntu


 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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: Using app's ELResolver class

2010-04-07 Thread Joel Weight
I ran into this a few months ago when first getting jsf 2 going.
 Unfortunately I didn't find a resolution and wound up on the old EL
version, so if you figure something out, please let us know.

Thanks,
Joel

On Wed, Apr 7, 2010 at 5:10 AM, alesj ales.jus...@gmail.com wrote:

 While this finds the right jar

 URL url = cl.getResource(META-INF/maven/javax.el/el-api/
 pom.properties);
 String info = url.toExternalForm();
  System.out.println(info =  + info);
  // jar:file:/foobar/projects/foobar/trunk/server/target/
 foobar-server-0.0.1-SNAPSHOT/WEB-INF/lib/el-api-2.2.jar!/META-INF/
 maven/javax.el/el-api/pom.properties

 So we know the resources are there.

 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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] JSF 2 on GAE getting java.io.NotSerializableException: javax.faces.component.html.HtmlSelectManyListbox after trying to run from production

2010-03-01 Thread Joel Weight
Hi Daniel,

Looking at the javadoc for HtmlSelectManyListbox (
http://java.sun.com/javaee/javaserverfaces/2.0/docs/api/javax/faces/component/html/HtmlSelectManyListbox.html
)
it looks like it doesn't implement Serializable.  Since you are binding to
it in a session scoped bean, you must have a reference to it in your bean,
then it looks like GAE is trying to serialize the session, which includes
your bound instance of that class.

This is all just guesswork based on your stack trace.  If it were my code, I
would probably try to figure out how to do what I need to do without binding
jsf controls in my managed beans.

Joel

On Sun, Feb 28, 2010 at 3:19 PM, Daniel vedm...@gmail.com wrote:

 Hi

 I got a small JSF 2 application with 1 managed bean defined as
 @SessionScoped and i just added a HtmlSelectManyListbox and did
 binding to it from  h:selectManyListbox
 all works 100% from local server, but after deploying im getting
 exception...

 and i did add implements Serializable to the class

 and added private static final long serialVersionUID

 my gae sdk version is:
 Your SDK:
 Release: 1.3.0
 Timestamp: Mon Dec 14 20:47:37 IST 2009
 API versions: [1.0]



 This the exception


 java.lang.RuntimeException: java.io.NotSerializableException:
 javax.faces.component.html.HtmlSelectManyListbox
at

 com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager.java:
 361)
at

 com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(SessionManager.java:
 341)
at com.google.apphosting.runtime.jetty.SessionManager
 $AppEngineSession.save(SessionManager.java:162)
at

 com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:
 41)
at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1084)
at

 com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
 43)
at org.mortbay.jetty.servlet.ServletHandler
 $CachedChain.doFilter(ServletHandler.java:1084)
at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
 360)
at
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
 216)
at
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
 181)
at
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
 712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 405)
at

 com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
 238)
at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
 139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at
 org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
 506)
at org.mortbay.jetty.HttpConnection
 $RequestHandler.headerComplete(HttpConnection.java:830)
at

 com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
 76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at

 com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
 135)
at
 com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
 235)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
 $6.handleBlockingRequest(RuntimePb.java:5485)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime
 $6.handleBlockingRequest(RuntimePb.java:5483)
at

 com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
 24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
 363)
at com.google.net.rpc.impl.Server$2.run(Server.java:837)
at
 com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
 56)
at

 com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
 536)
at com.google.net.rpc.impl.Server.startRpc(Server.java:792)
at com.google.net.rpc.impl.Server.processRequest(Server.java:367)
at

 com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
 448)
at
 com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
 319)
at
 com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
 290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:
 474)
at

 com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:
 774)
at
 com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:
 205)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
 101)
at
 com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:
 251)
at com.google.apphosting.runtime.JavaRuntime
 $RpcRunnable.run(JavaRuntime.java:394

Re: [appengine-java] Re: Does GAE for Java Support JSF 1.1 or JSF 1.2?

2010-02-25 Thread Joel Weight
Amr:  I asked this question on StackOverflow and Jim Driscoll from the jsf
team responded saying that JSF 1.2 should work as of build 13 if you set the
context parameter com.sun.faces.enableMultiThreadedStartup to false in
webl.xml.  See here for his full response.
http://stackoverflow.com/questions/732565/can-i-use-facelets-in-a-google-app-engine-app

Puche: I'm interested in how you got around the jndi problem in JSF 2.  I
ended up having to recompile jsf 2.0.2 with a small change to disable the
jndi startup stuff.  I blogged about it here:
http://digitaljoel.wordpress.com/2009/12/21/jsf-2-0-2-and-google-app-engine/

http://digitaljoel.wordpress.com/2009/12/21/jsf-2-0-2-and-google-app-engine/I
don't think you see the problem if you are using an older SDK, but I'm not
sure.

I would be even more interested if you plan to move to EL 2.  I couldn't get
that to work for the life of me and ended up going back to 1.x.

Thanks,
Joel

On Thu, Feb 25, 2010 at 10:22 AM, Puche pucher...@gmail.com wrote:

 I think so.

 Read this:


 http://javawords.com/2009/06/05/using-jsf-12-with-facelets-on-google-app-engine-for-java/

 I'm though, trying to run JSF 2.0 on GAE. I'm almost done, however I'm
 having some issue as I describe here:

 http://groups.google.com/group/google-appengine-java/browse_frm/thread/d4d2c334818591ce/2a488383221e618d?hl=en#2a488383221e618d

 My source of info has been these:

 http://in.relation.to/14203.lace


 http://java.wildstartech.com/Java-Platform-Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces-reference-implementation/configuring-jsf-20-to-run-on-the-google-appengine

 Please, if you go any further, let me know!
 Thanks in advance.

 On Feb 25, 2:06 pm, Amr amrdarwish1...@gmail.com wrote:
  Does GAE for Java Support JSF 1.1 or JSF 1.2? (A sample project is
  highly appreciated)

 --
 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-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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] Low Level API type conversion?

2010-01-11 Thread Joel Weight
I'm attempting to use the low level data api and I've seen multiple messages
on this list from people that have claimed great success with it.  I'm
having one issue that I'm wondering about.

My object has a ListKey where Key is the google type key.  As I understand
the docs, I should be able to store List... where ... is any core
datatype.  Key is listed as one of those core data types.  When I read my
entity out of the data store, I get a List of Strings instead of a List of
Keys.  Is it expected that when I read the datastore and get the property
from the resulting Entity that I have to convert all of these Strings into
Keys using the KeyFactory?

Thanks,
Joel
-- 

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-j...@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: Low Level API type conversion?

2010-01-11 Thread Joel Weight
Ok, this was just me being lame.  I'm using JSF and I didn't have a
converter defined for Google's Key type, so in the transition between server
and client side it was getting converted into some lame String, which was
then getting stored in the data store.  So... to make a short story Long,
the datastore does support ListKey just fine and I'm still learning how
all this works.

Joel

On Mon, Jan 11, 2010 at 12:46 PM, Joel Weight digitalj...@gmail.com wrote:

 I'm attempting to use the low level data api and I've seen multiple
 messages on this list from people that have claimed great success with it.
 I'm having one issue that I'm wondering about.

 My object has a ListKey where Key is the google type key.  As I
 understand the docs, I should be able to store List... where ... is any
 core datatype.  Key is listed as one of those core data types.  When I read
 my entity out of the data store, I get a List of Strings instead of a List
 of Keys.  Is it expected that when I read the datastore and get the property
 from the resulting Entity that I have to convert all of these Strings into
 Keys using the KeyFactory?

 Thanks,
 Joel

-- 

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



[google-appengine] Resizing Image with Stretching

2009-07-04 Thread Joel Odom
I'm using the Image class to work with an image.  When I
call image.resize(width = new_width, height = new_height), it seems to honor
either height or width, but not both.  That is, the method maintains the
original aspect ratio without stretching.
Is there a way to stretch an image?  Thanks.



-- 
http://giscoder.blogspot.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] Data Viewer - Kind button only displays 28 kinds?

2009-03-13 Thread Joel

In the Data Viewer, the button that allows you to select one of your
Kinds seems to be limited to 28 items.  I currently have 35 Kinds and
I can't select some of them due to this limitation.  (And I know
there's data since I can use the manual Query option to get the data.)

Is this a bug in the Data Viewer?
A built in limitation that is too small?

Joel
--~--~-~--~~~---~--~~
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: pricing / additional app slots

2009-02-04 Thread Joel Odom
The Google App Engine customer service folks read this group.  If you really
need more apps or quota, you may ask them directly.  I think they generally
grant more apps as long as they can see that you're not abusing the service.



On Tue, Feb 3, 2009 at 8:48 PM, David Wilson d...@botanicus.net wrote:


 2009/2/4 Barry Hunter barrybhun...@googlemail.com:
 
  2009/2/4 David Wilson d...@botanicus.net:
 
  2009/2/2 jeremy jeremy.a...@gmail.com:
 
  will additional app slots be part of the pricing model?
  
 
 
  Why pay for something you can have for free? :-)
 
  If you have exhausted the allocation of applications for your account,
  possibly (like so many, it seems) by creating a bunch of test
  applications, then you can follow this trick to get rid of them:
 
   * Create a new account.
 
  What if you only have one mobile phone number... :(
 

 Hrm. I can say at least that you don't need a new phone number when
 inviting a Google Apps account to develop. I have no idea about the
 non-apps workflow.


 David

   * Invite the new account to be developer for each application you want
 to shed.
   * Confirm all the invitations for the new account.
   * Log in as the new account, and remove your 'real' account from the
  developer list for each application.
   * Log out, log back using your real account. Observe applications are
  gone, and you can create more.
 
  I think this trick is semi-officially sanctioned, so I doubt you'll
  get kicked off the service for doing it (at least during the preview
  period :).
 
 
  David
 
  --
  It is better to be wrong than to be vague.
   — Freeman Dyson
 
  
 
 
 
 
  --
  Barry
 
  - www.nearby.org.uk - www.geograph.org.uk -
 
  
 



 --
 It is better to be wrong than to be vague.
  — Freeman Dyson

 



-- 
http://giscoder.blogspot.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: Cant start my helloworld sample

2009-01-21 Thread Joel Odom
Read the error message closely.  You misspelled python.


On Wed, Jan 21, 2009 at 11:44 AM, ahYeop ahy...@gmail.com wrote:


 Hi all,

 I follow the Hello World guide but still have problem to start Apps
 Engine. Here is the error:

 C:\Program Files\Google\google_appenginedev_appserver.py helloworld/
 ERROR2009-01-21 16:40:27,203 dev_appserver_main.py] Fatal error
 when loading
  application configuration:
 Unable to assign value 'pyhton' to attribute 'runtime':
 Value 'pyhton' not in {'python': 'python'}.
  in helloworld/app.yaml, line 3, column 10

 what is the problem?

 



-- 
http://giscoder.blogspot.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: Beginner Question - About using App Engine

2009-01-09 Thread Joel Odom
This article got me started using AJAX and JSON.  Works great.
http://code.google.com/appengine/articles/rpc.html




On Thu, Jan 8, 2009 at 7:08 PM, Faber Fedor faberfe...@gmail.com wrote:



 On Thu, Jan 8, 2009 at 5:56 PM, mscwd01 mscw...@gmail.com wrote:



 In short, i'd like to use App Engine to return xml responses to my
 Android App - instead of using App Engine for the usual browser based
 web application.

 Is this allowed?


 I hope so!  I'm planning on doing the same thing! (Except with JSON :-)



 --

 Faber Fedor
 Cloud Computing New Jersey
 http://cloudcomputingnj.com


 



-- 
http://giscoder.blogspot.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] Django Replace Filter

2009-01-04 Thread Joel Odom
Is there a simple way to do a replace with Django?  (I want to replace all
underscores in a string with spaces.)  I can't find a built-in filter to do
a simple replace, but it seems like an obvious filter that I must be
missing.  Thanks!

-- 
http://giscoder.blogspot.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: Money sum formating

2008-12-24 Thread Joel Odom
Here's a little function I wrote that you may have:

def formatAsDollars(amount):
  dollars = int(amount)
  cents = amount - dollars

  i = 0
  reverseDollarPlaces = []
  for p in str(dollars)[::-1]:
if i % 3 == 0 and i:
  reverseDollarPlaces.append(',')
reverseDollarPlaces.append(p)
i += 1

  return '$%s.%.2i' % (''.join(reverseDollarPlaces[::-1]), int(100*cents))




On Tue, Dec 23, 2008 at 2:32 PM, Shay Ben Dov shay.ben...@gmail.com wrote:


 Hi,

 I know that if

 sum = 56.0

 then

 {{ sum|floatformat:2 }} will display 56.00

 How we get $560,000.00

 Thanks,

 Shay Ben Dov



 



-- 
http://giscoder.blogspot.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: What is a proper way to cache values on per request basis?

2008-12-01 Thread Joel Odom
Try getting rid of the memcache in favor of a hard-coded value (for testing
purposes only).  If you're still getting high CPU usage, then the problem is
not with your use of memcache.
You can also use global variables to cache values, as long as you're
careful.



On Mon, Dec 1, 2008 at 2:28 PM, Sharp-Developer.Net 
[EMAIL PROTECTED] wrote:


 Hi,

 I have to retrieve some entities by key multiple times during single
 request.

 I do use memcache but getting quite high CPU usage and lot's of
 warnings.

 As I retrieve the same entity by it key multiple (many) times during a
 request I wonder could I improve my code by caching results on per
 request handler instance basis? I sure I could but as newbie in Python
 I'm not sure what is the best place  way to do that.

 I could add variable to a request object (I use Django) but that will
 require to pass it to every place where I need to use it. It's too
 complicated.

 I wonder is there such a thing like a HttpContext.Current in C#? In
 ASP.NET if I want to store/retrieve an object on per request basis
 I'll simply do next:

   HttpContext.Current.Items[key] = value;
   var value = HttpContext.Current.Items[key];

 Is the anything similar in AppEngine/Python?

 Again, as a Python newbie will apreciate a working code sample.

 I think this question could be interesting to many people.
 



-- 
http://giscoder.blogspot.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: SDK 1.1.6 Released

2008-11-21 Thread Joel Odom
When will it appear on the download page?  Thanks.


On Fri, Nov 21, 2008 at 1:27 PM, Marce (Google) [EMAIL PROTECTED] wrote:


 Today we released the 1.1.7 SDK in order to fix the following issue
 that occurred in 1.1.6:
 http://code.google.com/p/googleappengine/issues/detail?id=877

 -Marzia

 On Nov 20, 6:07 pm, Marzia Niccolai [EMAIL PROTECTED] wrote:
  Hi,
 
  Today we released the 1.1.6 SDK.  You can download it on our Google
 hosting
  project (http://code.google.com/p/googleappengine/downloads/list), and
  peruse the release notes (
 http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes) for more
  details on the release.
 
  This release contains some notable new features, including several
 additions
  to the datastore:
 
  * You can now sort and filter on an entity's key:
 http://code.google.com/appengine/docs/datastore/queriesandindexes.htm...
  * You can now delete an entity directly using its key, without
  instantiating/fetching the Model object
  * If you specify a key_name when creating a Model, its key will now be
  available before you call put()
  * URLFetch calls made in the SDK now have a 5 second timeout, matching
  production
 
  Also, it contains a number of issue fixes, including the following:
 
  * The SDK now only supports the same headers as production:
 http://code.google.com/p/googleappengine/issues/detail?id=53
  * In production, fixed an erroneous NeedIndexError when two ancestor
 queries
  were specified:
 http://code.google.com/p/googleappengine/issues/detail?id=423
  * Calling to_xml on a model instance containing a BlobProperty returns
 that
  BlobProperty base64 encoded:
 http://code.google.com/p/googleappengine/issues/detail?id=430
  * URLFetch now uses the original HTTP method (e.g. POST) when following a
  redirect:http://code.google.com/p/googleappengine/issues/detail?id=363
 
  -Marzia
 



-- 
http://giscoder.blogspot.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Global Variables / Caching Question

2008-11-20 Thread Joel Odom
Forgive me if this is a FAQ, but I did a little searching and did not find
an answer.
According to http://code.google.com/appengine/docs/python/appcaching.html,
GAE caches global variables in imported modules between requests.  I've got
a global dictionary in a module that I'm sharing between requests.  Is such
a dictionary thread safe?  In other words, if multiple users are hitting
my application simultaneously, and both may be using the same global
dictionary, am I going to encounter problems, or will GAE handle the
situation gracefully?  Thanks for any help.

(By the way, I know that the dictionary may eventually disappear or get
recreated unless I write its information to the data store.  That's okay in
the case I have in mind.)



-- 
http://giscoder.blogspot.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Hardly anything stored in appengine - already 10 MB gone?

2008-11-20 Thread Joel Odom
Your not hallucinating.  I've seen the same kind of problem.  Apparently
there is a known issue where space is sometimes not reclaimed after you
delete a data store entity.  If you've been creating and deleting a lot of
entities, this one may be hitting you.


On Wed, Nov 19, 2008 at 5:07 PM, jago [EMAIL PROTECTED] wrote:


 Thanks. At least I am not hallucinating. I didn't do anything and the
 next morning diskspace is gone ;)

 It would be neat if we at least had the faintest view of our files
 (like a html interface) - not the datastore, but the stuff we
 upload...html files, images, etc.

 On Nov 19, 1:06 pm, saranpol [EMAIL PROTECTED] wrote:
  I found this problem too.
 
  On Nov 19, 9:37 am, jago [EMAIL PROTECTED] wrote:
 
   Hello,
 
   I have hardly anything stored in appengine. Still the dashboard claims
   I have already 10 MB used. Can I get somehow more information about
   what is using the 10 MB?
 
   It cannot be the few things I have in the datastore or the website
   hosted on the appengine. Can I somehow free all the memory on the
   appengine?
 
   Cheers,
   jago
 



-- 
http://giscoder.blogspot.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] My logs are starting to bite into my storage quota. Can I reclaim this space?

2008-11-15 Thread Joel Odom

In my testing this morning, I've generated quite a few messages in my
logs.  I see that these apparently count toward my storage quota.  Is
there any way to reclaim this space?  Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Longer timeouts - but not cpu

2008-10-09 Thread Joel

Similar to the problem of wanting resource intensive requests...

I would find it convenient to be able to mark some of my URLs with a
general timeout for that url.  Due to using urlfetch in certain ways I
may be able to determine that my timeout should be closer to 20
seconds.  But I'm not using more than a normal amount of cpu during
this process due to the urlfetch calls.

I think this makes sense in those cases where the user of my
application expects that it may take a little longer for the response
than typical web pages.

Is this already an issue or does anyone have comments on it?


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Fwd: New Admin Console Released

2008-09-18 Thread Joel

I like the added visibility.

But now I want to find out where my mcycles are going!

Is there an api analogous to time.time() that I can use to see how
many megacycles I've used to that point?
I would find that helpful.

Joel

On Sep 18, 11:30 am, Marzia Niccolai [EMAIL PROTECTED] wrote:
 Hi,

 This morning we released a new Admin Console which includes a more
 descriptive accounting of your application's CPU stats.  We now display the
 amount of CPU consumed per request, as well as the avg amount of CPU used
 per handler.

 In addition to the CPU stats, you can see the short-term request rate per
 handler, as well as the total number of requests a day for each handler.

 Sign in to the admin console and check it out!

 -Marzia
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---