[google-appengine] appspot.com is not accessible from Singapore

2010-06-28 Thread Chris
The appspot.com domain stopped working in Singapore yesterday, was
working again this morning, and now is gone again. When the disruption
occurs, no appspot.com domain apps are accessible from Singapore.

When www.appspot.com is not available, https://appengine.google.com
still is.

Best regards,
Chris Boesch

-- 
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] Re: TemplateDoesNotExist: css/datastore.css

2010-07-08 Thread chris
I have been having this problem a lot.  I was on Django 1.1 and now
also have it on 1.2.

I built a very simple reproduction case using the latest versions of
everything:

Mac OS X 10.5.8
Python 2.5.1
GAE 1.3.5
Django 1.2.1
google-app-engine-django r105

I submitted a new issue 3436 (http://code.google.com/p/googleappengine/
issues/detail?id=3436) that has all the code attached.  Hopefully this
will help someone figure out what is going on.


On Jun 23, 8:27 pm, allyourcode  wrote:
> I'm using Django 1.0, so it may be that your advice doesn't apply to
> me. In case it does, I tried following what you're saying.
> Unfortunately, I'm find it quite difficult to understand what you
> think the problem is. I get your point about how there's some config
> in settings.py that sets what template loaders to use. I think what
> you're saying is that some other file is clobbering that setting.
> Specifically, you seem to be saying that if the following line exists
> in one of my files, I'll get sporadic TemplateDoesNotExist errors:
>
> from google.appeninge.ext.webapp import template
>
> I did a grep on my project, and I don't have that line anywhere.
>
> On May 17, 1:13 pm, Roger Hu  wrote:
>
> > This import is causing massive headaches on App Engine deployments
> > with TemplateDoesNotExist sporadic messages.  Assuming you have Django
> > 1.1 setup correctly, the global_settings.py file will setup
> > TEMPLATE_LOADERS to load from both the project dir (/templates) as
> > well as any INSTALLED_APPS dir.  But we noticed sporadic issues with
> > App Engine reporting the issue:
>
> > TemplateDoesNotExist: Tried [u'/base/data/home/apps/
> > myapp1234/1-2-2-8.341999523263263665/templates/volunteer-11.html']
>
> > The reason?
>
> > By default, Django has these two TEMPLATE_LOADERS defined in its
> > global settings (defined in conf/global_settings.py):
>
> > TEMPLATE_LOADERS = (
> >     'django.template.loaders.filesystem.load_template_source',
> >     'django.template.loaders.app_directories.load_template_source',
> > )
>
> > The second line tells Django to try all the INSTALLED_APPS dirs
> > whenever attempting to render an HTML template.   For instance, we do
> > not need to specify volunteer-11.html because it will try to look
> > inside ragendja/templates, accounts/templates, and civio/templates, in
> > the order defined by INSTALLED_APPS inside settings.py:
>
> > INSTALLED_APPS = (
> >     'django.contrib.auth',
> >     'django.contrib.sessions',
> >     'django.contrib.admin',
> >     'ragendja',
> >     'accounts',
> >     'civio'
> > )
>
> > If you accidentally import this line in your Python code,
>
> > from google.appengine.ext.webapp import template
>
> > The GAE reconfigures TEMPLATE_LOADERS inside
> > google.appengine.ext.webapp.template:
>
> > import django.conf
> > try:
> >   django.conf.settings.configure(
> >     DEBUG=False,
> >     TEMPLATE_DEBUG=False,
> >     TEMPLATE_LOADERS=(
> >       'django.template.loaders.filesystem.load_template_source',
> >     ),
> >   )
>
> > +#from google.appengine.ext.webapp import template
>
> > The result is TemplateDoesNotExist messages that may or may not occur.
>
> > 3. If you are using Django 1.1, you must be careful that you're not
> > importing google.appengine.ext.webapp import template.  The solution,
> > I believe, is to simply remove all webapp dependency imports:
>
> > perl -pi.bak -e "s/^from google\.appengine\.ext\.webapp(.*)/#from
> > google.appengine.ext.webapp\1/g" *.py
>
> > We're still confirming that these changes will resolve the issue, but
> > it seems to explain the problem we have been having on Django 1.1.
>
> > Roger
>
> > On May 10, 12:25 pm, Fredrik Bonander
>
> >  wrote:
> > > I have a similar problem. When I updated to django 1.1 I get 
> > > TemplateSyntaxError: Template u'../index.html' cannot be extended, 
> > > because it doesn't exist.
>
> > > It seams that the problem lies in that the TEMPLATE_DIRS is not set 
> > > wrong. But I don't know how set in as a relative path.
>
> > > Anyone successfully used django 1.1 in GAE?
>
> > > ..fredrik
>
> > > On May 8, 2010, at 2:27 PM,allyourcodewrote:
>
> > > > I think the problem is that my TEMPLATE_DIRS gets cleared at some
> > > > point, even though my app doesn't do that, at least not directly. My
> > > > guess is that this is happening somewhere in the SDK or Django helper
> > > > to implement the admin pages, but I can't tell which piece is doing
> > > > the manipulation :/.
>
> > > > I'll try to upgrade my SDK, but again, when I tried this before, my
> > > > app ended up dead in the water (forget what issues I was running into
> > > > before).
>
> > > > On May 7, 2:08 am, "Nick Johnson (Google)" 
> > > > wrote:
> > > >> Hi,
>
> > > >> It's impossible to suggest what might be wrong without seeing the code 
> > > >> in
> > > >> question. It looks like you're probably running into problems with 
> > > >> relative
> > > >> or absolute paths, or your css file is marked as static in your 
> > >

[google-appengine] short-term quota limit on Total Stored Data

2010-09-16 Thread Chris
Hi all

My application is curently limited due to a short-term quota limit on
Total Stored Data.
I'm limited to 1 gb and the Quota detail tell me i'm using 1 Gb, so
far so good.

But when i'm going to the datastore statistic , my datastore only use
164 MBits.
are my indexes really eating 800+ Mbits of space ? (that's a 4:1
ration on data)

How to find out ?

Thanks

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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] Skip user authentication based on ip

2010-09-24 Thread chris
Hi there

I'm designing a app that can be used remotely and in the office.
I'm using the google users api to check for valid users. However I
wish to skip this if someone accesses it in the office, all the
computers in the office have the same ip address.

Is there a way to skip this?

im using the:
self.request.remote_addr

to request the ip but can't seem to get around the google login
wrapper.

Thanks,

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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] Re: Early Christmas Present from Google?

2010-11-09 Thread Chris
Are you able to share any details on what exactly happened behind the
scenes?



On 8 Nov., 20:15, "Ikai Lan (Google)" 
wrote:
> Hey everyone,
>
> Thanks for the great feedback! Going forward, we're cautiously optimistic
> about the datastore improvements. You should continue to code using best
> practices - that is, don't assume datastore get() will always run in 5ms and
> place make 200 get calls serially. We'll be watching the performance closely
> in the meantime.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blogger:http://googleappengine.blogspot.com
> Reddit:http://www.reddit.com/r/appengine
> Twitter:http://twitter.com/app_engine
>
>
>
>
>
>
>
> On Sun, Nov 7, 2010 at 4:23 PM, Eugene D  wrote:
> > Blazin'! Great work!
>
> > On Nov 8, 1:14 am, Tom Wu  wrote:
> > > +1
>
> > > Great datastore improve.
>
> > > 2010/11/8 Marc Provost 
>
> > > > +1
>
> > > > Thanks googlers! This is awesome.
>
> > > > On Nov 7, 4:58 pm, nickmilon  wrote:
> > > > > + 1
> > > > > Impressive performance gains - congratulation to Google and App
> > Engine
> > > > > team.
> > > > > Lets hope current performance will be a benchmark for the future.
>
> > > > > On Nov 7, 12:17 am, Greg  wrote:
>
> > > > > > Check out the datastore stats after today's maintenance...
>
> >http://code.google.com/status/appengine/detail/datastore/2010/11/06#a.
> > > > ..
>
> > > > --
> > > > 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 > > >  e...@googlegroups.com> > e...@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-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@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-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] Is my bulkloader.yaml causing bulkloader upload to fail for GeoIP CSV data?

2011-04-26 Thread Chris
I tried to upload MaxMind's GeoIP Country CSV file to my App Engine
datastore.

The upload used up my entire 6.5 hour CPU quota and continually
reported "Backing off due to errors".

The CSV file has these fields:

Start IP Address
End IP Address
Start IP Number
End IP Number
Country Code
Country Name

Perhaps this YAML file that I used is not correct?

python_preamble:
- import: google.appengine.ext.bulkload.transform
- import: google.appengine.ext.db
- import: re
- import: base64

transformers:
- kind: GeoIpCountry
  connector: csv
  connector_options:
column_list: [IpRangeStart, IpRangeEnd, IpRangeNStart,
IpRangeNEnd, CountryCode, CountryName]
  property_map:
- property: __key__
  import_template: "%(IpRangeStart)s-%(IpRangeEnd)s"
- property: IpRangeStart
  external_name: IpRangeStart
- property: IpRangeEnd
  external_name: IpRangeEnd
- property: IpRangeNStart
  external_name: IpRangeNStart
  import_transform: long
- property: IpRangeNEnd
  external_name: IpRangeNEnd
  import_transform: long
- property: CountryCode
  external_name: CountryCode
- property: CountryName
  external_name: CountryName

-- 
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: Is my bulkloader.yaml causing bulkloader upload to fail for GeoIP CSV data?

2011-04-28 Thread Chris

Please let me know if there are any obvious problems with the YAML
file presented above or any other possible reasons why this data
upload fails. 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] Updating entity in collection using JDO.

2011-05-25 Thread chris

Background:

I am using app engine 1.5 and GWT 2.3 with requestfactory. I have an
inventory object that has an ArrayList of InventoryItems. I can
update  and add entitites to the ArrayList collection without issue.
Now I am trying to update a single InventoryItem object and it appears
to complete successfully but the data is not updated. There is no
exception being thrown and I see the the updated client values just
before persisting the object. I have verified that the transaction is
successful. Is there something I am missing? I have also tried to add
a function in the Inventory class to update an InventoryItem and after
mark the inventoryItems dirty using JDOHelper.makeDirty(this,
inventoryItems) but this did not solve my issue either.



@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable = "true")
public class Inventory {

  /**
   * List of all inventory items in this inventory.
   */
  @Persistent(mappedBy="inventory")
  @Element(dependent="true")
  private List inventoryItems;

  ... more
}



--

@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable = "true")
public class InventoryItem {

  public InventoryItem persist() {
System.out.println("Persisting object with id " + this.getId());
System.out.println("Price is " + this.getPrice().toString());
PersistenceManager em = EntityManager.getPersistenceManager();
InventoryItem attached = null;

Transaction tx = em.currentTransaction();
try {
  tx.begin();
  attached = em.makePersistent(this);
  tx.commit();
} catch (Exception e) {
  e.printStackTrace();
} finally {
  try {
if (tx.isActive()) {
  tx.rollback();
}
  } finally {
em.close();
  }
}
return attached;
  }


  /**
   * Primary key that can be used to reference this expense
   */
  @PrimaryKey
  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
  @Extension(vendorName = "datanucleus", key = "gae.encoded-pk", value
= "true")
  private String id;

  @Persistent Inventory inventory;

   more data
}



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



[google-appengine] Re: How to restore a datastore backup to local dev server ?

2011-09-06 Thread Chris
Same issue. Great post for the work around. Thanks GAEfan!

On Aug 9, 3:53 am, blurg  wrote:
> Working perfectly. Thanks a lot GAEfan !

-- 
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: google app engine for extremely demanding multiplayer browser game

2011-09-12 Thread chris
Hello Karel,

Here's some initial responses to your question on using App Engine as
a gaming back end..

> About 1500 active users cause on average 3 million page views each day (90 
> million each month), for a bandwidth usage of 2,5GB per month.

This should not be a problem..


>About 250 SQL queries are executed each second, and the database is slightly 
>less than 1 GB large, with hundreds of tables. Can this be handled by a nonSQL 
>db? Or is a relational DB a definite requirement?

The GAE Datastore can definitely scale to 250 qps. There's no
effective limit to datastore qps, given that access patterns are
sufficiently distributed. We currently have customers doing tens of
thousands of qps.


>Is GWT and app engine with the data store a viable platform for a game with 
>these specifications?

It should be, although having GWT in the mix is not a requirement. You
could also code your app directly in HTML5, or you could also look
into using the new multi-platform game development platform:
"PlayN" (http://code.google.com/p/playn/)

What might be helpful is to create a small prototype app on App
Engine, and see if this environment will work for you. Once you're
more familiar with App Engine, you'd be in a much better position to
make the call. You can always post further questions to this group,
(or the PlayN group..)

Hope this helps!
-Chris


On Sep 12, 7:00 am, Karel Crombecq  wrote:
> Hey guys,
>
> I am currently investigating possibilities for writing a sequel to the
> popular text-based browser game that I released in 2001 called Castle Quest
> 2 (http://www.castlequest.be). One of the options I am considering is
> developing the game in GWT, and running it on app engine. But I am not sure
> whether app engine will be able to scale to the degree needed for my game.
>
> CQ2 at its peak generated easily 3 million page views per day (90 million
> per month!), with bandwidth usage of 2.5GB each month. The database grew to
> a size of about 1GB. There were at least 250 sql queries each second. And it
> is expected that CQ3, with the advent of social networks and social gaming,
> will reach multiples of these numbers.
>
> Now I don't really know how big the sites are that are hosted by Google app
> engine, as information is rather scarce on that part. So my question to the
> Google team is: do you think (know?) if app engine can handle this kind of
> pressure from one app? Will the data store hold up, and will it scale well?
>
> It is extremely important that I have trustworthy information about this. If
> I decide to go with app engine and the system doesn't hold up, a massive
> money and time investment will be lost.
>
> Thanks in advance,
> Kind regards,
> Karel Crombecq

-- 
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: Appstats and Billing

2011-09-27 Thread Chris
I have been using Appstats to optimize my applications as needed. It
is great for finding the chain of gets and zero in on problems. The
current version helps me to zero in on urls that use a lot of RPC's.
This is not as interesting with the new pricing scheme where I am
starting to spend more time thinking about reducing latency (to reduce
frontend instance hours) and datastore reads.

It would be a lot more helpful if Path Stats was sortable by "real"
time rather than #RPCs. It looks like you already have all of this
data, someone just needs to add the column in the GUI besides the
#RPCs column and let me click to sort by "real". Then I can more
efficiently prioritize url optimization by latency.

Chris

On Sep 7, 11:59 am, "Gregory D'alesandre"  wrote:
> Its a good idea, we'll see what we might be able to do about it.
>
> Thanks,
>
> Greg
>
> On Thu, Sep 1, 2011 at 11:06 PM, _vjy wrote:
>
>
>
>
>
>
>
> > It would be really great if appstats could include billing details. This
> > way a developer
> > would know exact billing amount, in development server environment.
>
> >  --
> > 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/-/xhGfnvdnPpgJ.
> > 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] $50 Credit?

2011-11-06 Thread Chris
Thanks Greg!

The id is: switchdfb

The current billing status is "Awaiting Recurring Charge Cancellation",
because I cancelled it when I thought it was going to start charging me
money tomorrow but I would gladly re-enable it right away if I got the $50
credit.

Chris


On Sun, Nov 6, 2011 at 9:25 PM, Gregory D'alesandre wrote:

> Could you email me your appid off the list?
>
> Thanks,
>
> greg
>
>
> On Sun, Nov 6, 2011 at 6:23 PM, King  wrote:
>
>> Dear Google Employees,
>>
>> I enabled billing in my app today, and I was hoping I could still get
>> that $50 credit as the new pricing doesn't go into effect until tomorrow.
>> I understand that the deadline was originally October 31st, but that was
>> when the new pricing was supposed to go into effect on November 1st.  This
>> may be wishful thinking on my part, but I think it falls in line with the
>> original spirit of the credit, AND I would really appreciate it. :)
>>
>> (Sorry I forgot to enable billing before October 31st)
>>
>> --
>> 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/-/IybfgCOmpY8J.
>> 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] ITAR Compliance

2011-11-16 Thread Chris
Does App Engine currently support or plan to support ITAR compliance?

-- 
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: Questions about Java application to run reports

2011-12-13 Thread Chris
Frontend instances have 60 seconds to finish processing.

Look into Task Queues (10 minutes) /Backends (Unlimited, sort of).

- Chris

On Dec 12, 2:23 pm, newdeveloper 
wrote:
> Hey, all,
>   I'm new to Google App Engine. I'm writing a Java application to send
> HTTP request to a website to run and download reports. The download
> process may take several hours.
> The reports are PDF format and need to be sent out to clients by
> email.
> I'd like to check if JAE supports Java standalone application and
> scheduler? As I understand, A GAE servelet needs to reply within 30
> seconds. It seems I can't convert this application to a servelet, is
> it right?
>
>   Thanks.

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



[google-appengine] Conversion API *.DOC

2011-12-14 Thread Chris
The Google App Engine documentation says that *.PDF, *.PNG, and .*HTML
are support but not *.DOC:
http://code.google.com/appengine/docs/java/conversion/overview.html#Conversion_Paths

However the release notes state that *.DOC is supported:
http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes

Anyone know if *.DOC is currently supported? If so, is *.DOCX
supported too?

- Chris

P.S. A little known fact is that SVG works (when embedded into an HTML
document). This is great for SVG to PDF or PNG.

-- 
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: Why Yes, JeffProbst.com just Handled the Season Finale of Survivor on 1.5 instances

2011-12-19 Thread Chris
Brandon: Cool -- good to see some real stats.

vlad: By the way 13.059 million people still care. Survivor was second
in its timeslot :
http://tvbythenumbers.zap2it.com/2011/12/19/tv-ratings-sunday-preliminary-18-49-ratings-have-cbs-over-nbc-but-hold-on/114102/

Only losing first by less than a million viewers.

- Chris

On Dec 19, 12:45 am, "Brandon Wirtz"  wrote:
> This is just me singing the praises of the Edge Cache again. The more
> traffic you get the more it reduces load.
>
>  image001.png
> 54KViewDownload
>
>  image002.png
> 35KViewDownload

-- 
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: Sending email without warning "This message may not have been sent by..."

2011-12-22 Thread Chris
I have the same problem.

Anyone know a good workaround for this?

On Dec 21, 6:41 am, Ice13ill  wrote:
> Just to be clear: the email is sent with no problems. The warning
> "This message may not have been sent by..." ("Learn more" "Report
> phishing")   is displayed when a user (that belongs to that group)
> receives the email.
>
> On Dec 21, 11:50 am, Ice13ill  wrote:
>
>
>
>
>
>
>
> > I use a noreply type account (@gmail.com) to send emails from my app
> > engine application. This account is added to the admins list so i can
> > send easily send emails. The problem is that when sending emails to a
> > group, I receive this warning:
> > "This message may not have been sent by..." ("Learn more" "Report
> > phishing")
> > How can I avoid this issue?

-- 
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: Suggestions needed to implement REST for our Java App Engine back-end

2012-01-17 Thread Chris
GSON and servlets -- I find Jersey's cold start time to be
unacceptable.

- Chris

On Jan 17, 2:13 pm, supercobra  wrote:
> Hi there,
>
> I'd like to get some framework / library suggestions to implement a
> REST interface to our Java  App Engine back-end. We are looking for a
> lightweight solution if possible.
>
> Thank you.
>
> Daniel

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



[google-appengine] Is it possible to upload a new GAE application from an existing GAE application?

2012-05-10 Thread Chris
Is it possible to upload a new GAE application from an existing GAE 
application, so that users of the existing application could create their 
own separate instances of the new application in a point and click manner, 
but without having access to the source code of the new application?

Thanks,
Chris

-- 
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/-/YAfDv5p4lEQJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Cloud-based Continuous Build Server for Google App Engine Projects

2012-09-02 Thread Chris
I've been asked to setup a continuous build server for a Google App Engine 
project. Has anyone already configured a build-server in the cloud that 
includes the Google App Engine SDK? 

My ideal solution would be a public Amazon EC2 AMI (or Google Compute 
Engine image) that I could just clone, launch and configure. Our GAE code 
is hosted in Github, so my goal is to setup Github to ping the build server 
every time there is a new commit to the Github repo and have the build 
server rebuild and test the GAE project. 

Anyone know of an existing solution? 

Thanks, 
Chris

-- 
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/-/AY0HQ_J8A-UJ.
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] Quota's haven't increased after 1st billing cycle

2012-09-24 Thread Chris
Hi,

I was expecting my quotas to increase after my first billing cycle, but I 
still for instance can only send 100 emails, this is the same for all of my 
sites. It's been like this for weeks now, do you think my account is stuck 
in limbo?

Is there anyone I can get in contact with to sort this out?

Kind Regards

Chris

-- 
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/-/qBrRM5fM-i4J.
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] Quota's haven't increased after 1st billing cycle

2012-09-25 Thread Chris
Hi Christina,

They are: api-itheme & www-itheme

Thanks

Chris

On Monday, September 24, 2012 10:09:30 PM UTC+1, Christina Ilvento wrote:
>
> Hi Chris, 
>
> Can you provide an app-id that's having the issue? 
>
>
> Thanks,
> Christina
>
> On Mon, Sep 24, 2012 at 1:57 PM, Chris >wrote:
>
>> Hi,
>>
>> I was expecting my quotas to increase after my first billing cycle, but I 
>> still for instance can only send 100 emails, this is the same for all of my 
>> sites. It's been like this for weeks now, do you think my account is stuck 
>> in limbo?
>>
>> Is there anyone I can get in contact with to sort this out?
>>
>> Kind Regards
>>
>> Chris
>>
>> -- 
>> 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/-/qBrRM5fM-i4J.
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-appengi...@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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/lYoVqs_WlL0J.
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] Quota's haven't increased after 1st billing cycle

2012-10-12 Thread Chris
Hi Christina,

I haven't heard anything back about this, my quotas are still very low.

Thanks

Chris

On Tuesday, September 25, 2012 9:01:46 PM UTC+1, Chris wrote:
>
> Hi Christina,
>
> They are: api-itheme & www-itheme
>
> Thanks
>
> Chris
>
> On Monday, September 24, 2012 10:09:30 PM UTC+1, Christina Ilvento wrote:
>>
>> Hi Chris, 
>>
>> Can you provide an app-id that's having the issue? 
>>
>>
>> Thanks,
>> Christina
>>
>> On Mon, Sep 24, 2012 at 1:57 PM, Chris  wrote:
>>
>>> Hi,
>>>
>>> I was expecting my quotas to increase after my first billing cycle, but 
>>> I still for instance can only send 100 emails, this is the same for all of 
>>> my sites. It's been like this for weeks now, do you think my account is 
>>> stuck in limbo?
>>>
>>> Is there anyone I can get in contact with to sort this out?
>>>
>>> Kind Regards
>>>
>>> Chris
>>>
>>> -- 
>>> 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/-/qBrRM5fM-i4J.
>>> To post to this group, send email to google-a...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengi...@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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/LJBp-wuCZAIJ.
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] java printStackTrace not logging

2013-01-01 Thread chris
Should be an easy question for one of you guys:

Is it supposed to be logged to the console viewer ?

The website says it should:
"Everything the servlet writes to the standard output stream (System.out) 
and standard error stream (System.err) is captured by App Engine and 
recorded in the application logs. Lines written to the standard output 
stream are logged at the "INFO" level, and lines written to the standard 
error stream are logged at the "WARNING" level."

How are other people handling logging of the stack trace?


Thanks

Chris


-- 
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/-/lLkxR8OvJ_QJ.
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] Session object instances different. Is this correct?

2013-01-01 Thread chris
 

Hi all, I have written a shopping cart application with a shopping cart 
object being stored in the http session. On each request I'm returned a 
different object instance. Is this the expected behaviour?

If I modify my shopping cart object, do I need to store it in the session 
again every time (at the moment my changes are lost because I'm not doing 
this)?

Works fine in development but not live. Is this to because of the 
distributed architecture of GAE or am I doing something wrong?

I really hope you can help or confirm my thoughts on this. Thanks in 
advance.


Chris

p.s. i'm using struts2, but don't know if that is possibly a problem

-- 
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/-/Q4-OgpirdDMJ.
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: Console issues?

2013-01-15 Thread Chris
Same here

On Tuesday, January 15, 2013 11:03:29 AM UTC-5, stefano terna wrote:
>
> same here
>
> On Tuesday, January 15, 2013 4:59:36 PM UTC+1, Israel Roth wrote:
>>
>> same here
>>
>> On Tuesday, January 15, 2013 5:58:04 PM UTC+2, Adam Serafini wrote:
>>>
>>> same for me.
>>>
>>> On Tuesday, 15 January 2013 15:37:16 UTC, Marcel Manz wrote:

 While accessing https://appengine.google.com/ I'm currently getting:

 Try Again (503)

  Try Again 

 An unexpected failure has occurred. Please try again.

 Return to Applications screen » 
  


-- 
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/-/Fxzumg7fMUIJ.
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 Servers - Trusted Tester Sign-up

2013-02-21 Thread Chris
Really excited about this.

On Monday, December 17, 2012 7:48:03 PM UTC-5, Chris Ramsdale wrote:
>
> Hey Brandon,
>
> Added you to the TT group and sent you an invite.  Let me know if you 
> don't get an email.  
>
> -- Chris
>
>
> On Fri, Dec 7, 2012 at 3:05 PM, Brandon Wirtz 
> > wrote:
>
>> We applied. This is our exact use case.
>>
>> ** **
>>
>> This would solve many of the limitations we run in to, and save us a lot 
>> on data store duplication. 
>>  
>> -- 
>> 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-a...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> google-appengi...@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 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] Re: Cloud SQL & Blobstore Simultaneously -- good way to handle Django image uploads?

2013-03-13 Thread Chris
Hi KScott,

Do you have one example of upload images resize these and save in cloud 
sql? thank you very much

El domingo, 26 de agosto de 2012 04:10:32 UTC+2, seafangs escribió:
>
> Hello,
>
> I'm new to GAE (and this forum), please forgive any ignorance on my part. 
> I've been searching around to find out what the best practice is, to allow 
> users to upload images using Django on GAE. The clincher is that I want to 
> use Cloud SQL.
>
> I see that the docs recommend the Blobstore as the place to store images. 
> I understand that I am also able to store images in a Cloud SQL MEDIUMBLOB 
> (or equivalent) field (or even in a TextField in a binary form). However I 
> also understand that the latter approaches -- storing it into a MEDIUMBLOB 
> or as binary data -- are advised against.
>
> So that brings me back to storing it in the Blobstore. But will I be able 
> to use the Blobstore and Cloud SQL in the same GAE environment? I got the 
> impression that the Datastore and Cloud SQL were more or less alternatives 
> to each other. But I also get the impression that Blobstore is separate, in 
> some sense, from the normal Datastore.
>
> Can anyone offer me any guidance on a best approach?
>
>

-- 
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] Re: 1.8.1 Pre-release SDKs Available.

2013-06-06 Thread Chris
Max,

What's the timetable on the experimental Files API decommission:
2 Months, 6 Months or a year?

So we can all plan the urgency of this conversion...

- Chris

On Tuesday, June 4, 2013 8:07:59 PM UTC-4, Max Ross wrote:
>
> Hi everyone,
>
> I'll try to batch answers to multiple questions into a single response.
>
> 1) We're not making any Blobstore announcements or decisions in this 
> release.
>
> 2) The only thing we're announcing here is our intent to decommission the 
> experimental Files API. That's
> https://developers.google.com/appengine/docs/python/googlestorage/functionsand
>  
> https://developers.google.com/appengine/docs/java/googlestorage/overview
> We'll give you fair warning before we actually turn it down. We're 
> announcing this now to give everyone who uses the Files API enough time to 
> move over to the Google Cloud Storage client library, which we're launching 
> in Preview mode.
>
> 3) We (very quietly) announced the availability of the Google Cloud 
> Storage client library in a 
> post<https://groups.google.com/forum/?fromgroups#!searchin/google-appengine/google$20cloud$20storage$20library/google-appengine/vXKiUHvPHRs/7ia8d_xO8KYJ>on
>  this forum back in January. There are full-fledged docs for this library 
> coming out with the official 1.8.1 announcement, including a guide to 
> migrating off the Files API.
>
> I hope this helps.
>
> Thanks,
> Max
>
> On Tuesday, June 4, 2013 2:13:19 PM UTC-7, Kaan Soral wrote:
>>
>> +1 on this question
>> I've been using blobstore for years, it's not so bad, it's bad but not 
>> too bad
>>
>> Should I invest my time and switch to Cloud Storage? (I don't even know 
>> how it works, whether it's practical for image like files etc. since 
>> blobstore did the job I've never investigated it)
>>
>> On Tuesday, June 4, 2013 11:45:35 PM UTC+3, Bryce Cutt wrote:
>>>
>>> Regarding the Files API deprecation:
>>>
>>> Is this as of right now or as of the final release of SDK 1.8.1?
>>>
>>> I guess files already written will continue to work as is since they are 
>>> no different than other blobstore files? Anything wrong with that 
>>> assumption?
>>>
>>> With this announcement, Google's push for use of Cloud Storage, and the 
>>> lack of a blobstore API in the PHP runtime should we be ready for you guys 
>>> to announce the deprecation of the blobstore entirely? I hope not. I like 
>>> the blobstore and how it is nicely and automatically isolated to a single 
>>> app.
>>>
>>> - Bryce
>>>
>>>
>>> On Tuesday, June 4, 2013 11:46:22 AM UTC-7, Richmond Manzana wrote:
>>>>
>>>> Hello Again Everyone!
>>>>
>>>> We've been busy since I/O!
>>>>
>>>> Pre-release SDKs for Python and Java here:
>>>> http://code.google.com/p/**googleappengine/downloads/list<http://code.google.com/p/googleappengine/downloads/list>
>>>>
>>>> Please see the pre-release notes below.
>>>>
>>>> Cheers,
>>>> Richmond Manzana
>>>>
>>>>
>>>> App Engine Python SDK - Pre-Release Notes
>>>>
>>>> Version 1.8.1
>>>> ===
>>>> - The Task Queue async API is now a GA feature. The asynchronous methods
>>>>   improve utilization by allowing your app to add, lease and delete 
>>>> multiple
>>>>   tasks in parallel.
>>>> - Cloud Console projects are now created by default whenever a new App 
>>>> Engine
>>>>   app is created.  This is a Preview feature.
>>>> - The Experimental Files API has been deprecated in favor of the Google 
>>>> Cloud
>>>>   Storage library, now available as a Preview feature.
>>>> - Bandwidth between App Engine and Google Cloud Storage is currently 
>>>> free of
>>>>   charge (this may change in the future for certain levels of service).
>>>> - The Search API has graduated from Experimental to Preview. Apps that 
>>>> have
>>>>   billing enabled can exceed the free quota levels and will be charged 
>>>> for
>>>>   usage above these levels.
>>>> - Estimated number of search results will only be accurate if <= the 
>>>> number of
>>>>   results requested. By default this can be overridden by setting
>>>>   number_found_accuracy QueryOption in the Search API.
>>>

Re: [google-appengine] Re: 1.8.1 Pre-release SDKs Available.

2013-06-07 Thread Chris
Max,

Any insight on the decommissioning timeline? We have a lot if code dependent on 
that API.

- Chris

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




Re: [google-appengine] Re: 1.8.1 Pre-release SDKs Available.

2013-06-07 Thread Chris
Jon,

Any word on the timeline?

- Chris

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




Re: [google-appengine] Re: 1.8.1 Pre-release SDKs Available.

2013-06-07 Thread Chris
Chris,

That seems fair -- We're happy now.

- Chris

-- 
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] Scheduled Backup produces zero length files

2013-07-23 Thread chris
Hi guys, I'm using the scheduled backup from 
https://developers.google.com/appengine/articles/scheduled_backups on a 
decently sized datastore.  I have it set to run a backup to google cloud 
storage once per week, but looking at the most recent backup from 
yesterday, some 37% of the backup files are missing.  Some files of the 
form 
"datastore_backup_AutomaticBackup2013_07_21_--output-0-retry-0" 
in GCS have size 0B in the google cloud console.  The overall status of the 
finished job is 'Completed' in Datastore Admin, though there are a few 
errors in the logs, such as "UnknownError: ApplicationError: 7"

Any ideas on what might cause this?

Thanks,
Chris

-- 
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/groups/opt_out.




Re: [google-appengine] Scheduled Backup produces zero length files

2013-07-29 Thread chris
Nah, this happens mostly on the two largest entity kinds (by total space 
used), and large amounts of data appear to actually be missing from the 
backup.  I have filed an issue 
at 
https://code.google.com/p/googleappengine/issues/detail?id=9702&thanks=9702&ts=1374628562

On Tuesday, July 23, 2013 10:12:38 PM UTC-7, Ryan Huebsch wrote:
>
> One possible cause is some shards did not have any data to process and 
> produced 0B files. Does the total size across all the files add up to 
> approximate size for that kind (datastore statistics in the admin console 
> can provide you this value). If it is not adding up, please provide your 
> appId and the kind/id for the job here or create an issue on the tracker 
> with that info so we can look into what may have gone wrong.
>
>
> On Mon, Jul 22, 2013 at 3:44 PM, >wrote:
>
>> Hi guys, I'm using the scheduled backup from 
>> https://developers.google.com/appengine/articles/scheduled_backups on a 
>> decently sized datastore.  I have it set to run a backup to google cloud 
>> storage once per week, but looking at the most recent backup from 
>> yesterday, some 37% of the backup files are missing.  Some files of the 
>> form 
>> "datastore_backup_AutomaticBackup2013_07_21_--output-0-retry-0"
>>  
>> in GCS have size 0B in the google cloud console.  The overall status of the 
>> finished job is 'Completed' in Datastore Admin, though there are a few 
>> errors in the logs, such as "UnknownError: ApplicationError: 7"
>>
>> Any ideas on what might cause this?
>>
>> Thanks,
>> Chris
>>
>> -- 
>> 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-appengi...@googlegroups.com .
>> To post to this group, send email to 
>> google-a...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
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/groups/opt_out.




[google-appengine] Re: Unable to deploy

2014-03-04 Thread Chris
Same problem people I was scared!!!but viewing this I hope that this just 
was error...

El martes, 19 de febrero de 2013 00:07:38 UTC+1, John Conti escribió:
>
> I am unable to upload my app:
>
> bash-3.2$ /usr/local/lib/appengine-java-sdk-1.7.5/bin/appcfg.sh update war
> Reading application configuration data...
> Feb 18, 2013 4:00:52 PM 
> com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
> INFO: Successfully processed war/WEB-INF/appengine-web.xml
> Feb 18, 2013 4:00:52 PM 
> com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
> INFO: Successfully processed war/WEB-INF/web.xml
> Beginning server interaction for john-conti...
> 0% Created staging directory at: 
> '/var/folders/_f/5xjr_n1n00d9n9z9ffwylp5mgn/T/appcfg344253979033234870.tmp'
> 5% Using java7 runtime: false
> 8% Scanning for jsp files.
> 20% Scanning files on local disk.
> 25% Initiating update.
>
> com.google.appengine.tools.admin.HttpIoException: Error posting to URL: 
> https://appengine.google.com/api/appversion/create?app_id=john-conti&version=1&;
> 404 Not Found
> This application does not exist (app_id=u'john-conti').
>
> Unable to update app: Error posting to URL: 
> https://appengine.google.com/api/appversion/create?app_id=john-conti&version=1&;
> 404 Not Found
> This application does not exist (app_id=u'john-conti').
>
> Please see the logs 
> [/var/folders/_f/5xjr_n1n00d9n9z9ffwylp5mgn/T/appcfg6215812047732459518.log]
>  
> for further information.
> bash-3.2$ 
>
>
> The logs claim my app id doesn't exist.  However it is the same I have 
> been using all along, and my Dashboard confirms its existence and that it 
> is running properly:
>
> Unable to update:
> com.google.appengine.tools.admin.HttpIoException: Error posting to URL: 
> https://appengine.google.com/api/appversion/create?app_id=john-conti&version=1&;
> 404 Not Found
> This application does not exist (app_id=u'john-conti').
>
> at 
> com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:293)
> at 
> com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:253)
> at 
> com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:232)
> at 
> com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:644)
> at 
> com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:449)
> at 
> com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:124)
> at 
> com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:371)
> at 
> com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
> at 
> com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:1163)
> at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:232)
> at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:109)
> at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:105)
> com.google.appengine.tools.admin.AdminException: Unable to update app: 
> Error posting to URL: 
> https://appengine.google.com/api/appversion/create?app_id=john-conti&version=1&;
> 404 Not Found
> This application does not exist (app_id=u'john-conti').
>
> at 
> com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:376)
> at 
> com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
> at 
> com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:1163)
> at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:232)
> at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:109)
> at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:105)
> Caused by: com.google.appengine.tools.admin.HttpIoException: Error posting 
> to URL: 
> https://appengine.google.com/api/appversion/create?app_id=john-conti&version=1&;
> 404 Not Found
> This application does not exist (app_id=u'john-conti').
>
> at 
> com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:293)
> at 
> com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:253)
> at 
> com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:232)
> at 
> com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:644)
> at 
> com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:449)
> at 
> com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:124)
> at 
> com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:371)
> ... 5 more
>
>
> Any ideas? 
>
>  
>
>

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

[google-appengine] Wordpress installed to Google App Engine has infinite redirect loop on admin cp access

2014-04-22 Thread chris
I have installed Wordpress using the starter repository, with some 
modifications for unrelated static content. Now when I attempt to use the 
admin console, it redirect loops on https://www.kode54.net/wp-admin/. I can 
provide any necessary configuration files if it can help anyone spot my 
error.

-- 
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] Cloud Console Incredibly Slow

2014-06-12 Thread Chris
I cannot even use the Cloud Console at the moment. Trying to create a new 
app has been taking 15+ minutes and the console barely loads.

-- 
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: You have sent too many SMS verification messages

2008-09-04 Thread Chris

I have the same problem with ATT but I get other SMS msgs just fine.
Really want to try out App Engine but am stuck. please help!
Chris

On Aug 2, 9:33 pm, gbrail <[EMAIL PROTECTED]> wrote:
> Me too.
>
> I tried to validate using my AT&T phone in the US, and never received
> the messages. Some additional testing on my end revealed that
> something was wrong with my AT&T account, which AT&T fixed, and I have
> since verified by sending SMS messages from elsewhere. However, one
> last try to send the verification message from Google failed, and now
> I get the famous "too many SMS verification messages" error. I even
> tried another phone, and no luck.
>
> To add insult to injury, the "SMS issues form," which I already filled
> out once with no result, now doesn't work -- no matter what I put in
> there, it says, "error in one of the following fields: Carrier".
>
> So, I have an app engine app all running with the development web
> server, I can't verify my account because Google has blocked my SMS,
> and I can't contact Google to let them know about it. So now what?
>
> On Aug 1, 4:45 am, key <[EMAIL PROTECTED]> wrote:
>
> > But I never received one !!
> > I'm in china,and i checked the supported list ,the mobile phone number
> > should be supported.but i receive nothing.
> > and now it dont allow me to resend that .what can i do ??
--~--~-~--~~~---~--~~
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: "www.custom-url.com is already mapped to a project" error when trying to point custom domain to App Engine app

2017-09-27 Thread chris
Hi Kenworth,

I also encounter the above error trying to map a custom domain to AppEngine 
project.

- Originally, the domain was indeed mapped to another project which static 
resources from a Cloud Storage Bucket.
- I have since deployed the app that uses the same static files on 
AppEngine, and deleted that Cloud Storage Bucket *and the project 
associated with it*.
- As such, I expected the domain not to be mapped and available for custom 
mapping with the new AppEngine project. However, I suspect that because 
that project is still able to be restored for a period of 24 more days, 
that the domain is still mapped to it behind the scenes?
- If you go to the domain today (www.innerathletenutrition.com) there is 
nothing, since I deleted the project and Bucket.

- I attempted to remove any connection between the domain and the old 
project/bucket by removing the www CNAME record from my domain settings, 
which has had no effect.

<https://lh3.googleusercontent.com/-gaZELffIxJw/WcuCfYP2mQI/AMA/OFPsZ95NYoI3J775N5MsIy8w0mY8vO6rACLcBGAs/s1600/Screen%2BShot%2B2017-09-27%2Bat%2B11.43.56.png>

* Is there anything I can do to map the new project to this domain? Or do I 
have to wait until the old project is permanently deleted/unavailable for 
restoration in 24 days?

Thanks,
Chris

On Tuesday, September 26, 2017 at 10:26:39 PM UTC+1, Kenworth (Google Cloud 
Platform) wrote:
>
> Are you still experiencing this issue? When I go to the URL 
> <http://www.tipsymix.com/>, I do not see a blogger site.
>

-- 
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/d7847be9-858a-4eb0-9da2-f9752f7c2efd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to remove custom domain from project

2017-09-27 Thread chris
Hi Nicholas,

I have a similar problem:

- Started a project using Cloud Storage Bucket to host static files, mapped 
to domain (www.innerathletenutrition.com)
- Decided to migrate to AppEngine, and deleted old project associated with 
domain
- Created new project and after deploying on AppEngine, want to map to same 
custom domain
- Error message appears during mapping process, "Custom URL is already 
mapped to another project"
- In an attempt to resolve, removed CNAME www DNS record from domain in 
domains.google.com (Unsuccessful)

I assume this mapping is the old, deleted project? Note: deleted project is 
still in 'available for recovery' stage, not permanently lost. This is why 
I think mapping might still be active to old project.



On Thursday, February 2, 2017 at 3:17:13 PM UTC, Nicholas (Google Cloud 
Support) wrote:
>
> Those are indeed the steps to remove the domain from the list of verified 
> domains using the Webmasters Central tool 
> .  This tool is not directly a part 
> of the Developers Console but affects the domains verified under your 
> Google account.  These domains are the ones listed in the Developers 
> Console.  This is why removing them from the Webmasters Central also 
> removed them from the Developers Console.  Note however, that it may take 
> some time for newly verified or removed domains to show up in the 
> Developers Console as listed may sometimes be cached.  I hope this 
> clarifies the roles and behaviors of both the Developers Console and 
> Webmasters Central tools.
>
> Did you have any further questions regarding domain mappings form 
> different projects in the Developers Console?
>
> On Thursday, February 2, 2017 at 9:22:47 AM UTC-5, himanshu kapoor wrote:
>>
>> Thanks Nicholas for Reply.
>>
>> Al thought i figured out myself to remove the custom domain from list.
>> So to unverify the DNS i used this link 
>> *https://www.google.com/webmasters/verification/home?hl=en&authuser=0 
>>   *
>> it removed the access from id and removed txt record from DNS provider, 
>> So both results me unlisting the domain from App engine.
>>
>> Let me know if followed wrong steps.
>>
>> Thanks
>>
>> On Wednesday, February 1, 2017 at 11:31:52 PM UTC+5:30, Nicholas (Google 
>> Cloud Support) wrote:
>>>
>>> The dropdown I think you're referring to under *Custom domains* lists 
>>> domains you've verified.  To the best of my knowledge, you cannot remove 
>>> remove a domain from this list using this UI.  This list simply shows the 
>>> domains you've verified in Webmaster Central.  These domains are 
>>> re-verified automatically about every 30 days 
>>> 
>>>  
>>> by checking for the DNS verification string in your records.

 The domain verification is automatically re-confirmed about every 30 
 days. So if you remove the verification string from your DNS settings, you 
 will lose the ability to change the configuration within the Cloud 
 Platform 
 Console. However, if this happens, the serving setup for the domain does 
 not change and the app continues to serve over the custom domain.
>>>
>>>
>>> If you *must* "unverify" a given domain, you can simply remove the DNS 
>>> verification string from your records and you'll eventually lose the 
>>> ability to change your serving setup.  This isn't particularly useful.  The 
>>> main component that changes behavior with your domains and App Engine 
>>> projects are the DNS records and domain mappings.  The records help users 
>>> resolve *your-domain.com * to Google front-end 
>>> IPs and the domain mappings instruct the front-end to direct such requests 
>>> to your App Engine application.  Verifying your domain primarily just 
>>> proves to Google that your application is in fact allowed to receive all 
>>> the traffic for *your-domain.com * because 
>>> you've shown that you "own" it (or can at least influence that domain's DNS 
>>> records).
>>>
>>> If you map *www.your-domain.com * to 
>>> *project-a*, you should not be able to map *www.your-domain.com 
>>> * to *project-b* without first removing the 
>>> project-a mapping.  If you're allowed to map the same domain to the second 
>>> project without altering the first's mappings, this behavior is somewhat 
>>> undefined.  To which project is the traffic going?
>>>
>>> On Friday, January 27, 2017 at 1:12:39 AM UTC-5, himanshu kapoor wrote:

 The issue which i am facing is that  i added custom domain from 
 a...@gmail.com account for one working project in cloud which was 
 already mapped to some other custom domain, so now i have 1 project with 2 
 custom domain.

 After that i created anothe

[google-appengine] app.yaml handler sequence for removing file extensions

2017-09-27 Thread chris
Hi, 

I'm using App Engine to host a static site (Soon to become full web app), 
but I'm being forced to make trade offs with my app.yaml file which doesn't 
seem to be the case for most users.

File structure is:

ROOT
- app.yaml
- www (directory)
   - .html files
   - css (directory)
  - styles.css
  - etc
   - js (directory)
  - abc.js
  - etc
   - Other directories

1) app.yaml sequence 1:



Intended behaviour: all static files serve successfully and any pages/html 
files have the file extension removed from the url
Actual behaviour: all static files serve successfully, but file extension 
is not removed


2) app.yaml sequence 2:



Intended behaviour: all static files serve successfully and any pages/html 
files have the file extension removed from the url
Actual behaviour: All html files serve successfully, but a number of images 
across the site don't show (index.html images show fine)

Any ideas how to get all files to serve correctly AND remove file 
extensions?!

-- 
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/d9dfcf60-2d2c-447d-bae1-44de22f3adbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: "www.custom-url.com is already mapped to a project" error when trying to point custom domain to App Engine app

2017-09-28 Thread chris
Done- thank you sir.

On Thursday, September 28, 2017 at 2:59:01 AM UTC+1, Kenworth (Google Cloud 
Platform) wrote:
>
> @Chris Can you send me privately your project-id?
>
> @Evan Since your case is a newly purchased domain, I recommend you open a 
> new public issue tracker <https://issuetracker.google.com> as describe in 
> this article <https://cloud.google.com/support/docs/issue-trackers> so 
> that proper attention will be given to it. You can reference this thread as 
> a background to the case.
>

-- 
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/639cf927-07f6-4ea4-9b9d-4f440c344c03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: "www.custom-url.com is already mapped to a project" error when trying to point custom domain to App Engine app

2017-10-01 Thread chris
Hi Kenworth,

Did you receive my private message with project details?

Thanks,
Chris

On Thursday, September 28, 2017 at 2:59:01 AM UTC+1, Kenworth (Google Cloud 
Platform) wrote:
>
> @Chris Can you send me privately your project-id?
>
> @Evan Since your case is a newly purchased domain, I recommend you open a 
> new public issue tracker <https://issuetracker.google.com> as describe in 
> this article <https://cloud.google.com/support/docs/issue-trackers> so 
> that proper attention will be given to it. You can reference this thread as 
> a background to the case.
>

-- 
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/1cdff3c1-d056-4ce1-b0fb-e7f395e66002%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Post-mortem for February 24th, 2010 outage

2010-03-05 Thread Chris
Thanks for sharing this information. It may very well be highly
irrational but it does feel good to get some insight into what
happened and how you guys respond to it!

One paragraph in particular caught my attention:

"- A new option for higher availability using synchronous replication
for reads and writes, at the cost of significantly higher latency"

I think I understand why you wish to expose this fundamental trade-off
to the app owners i.e. "Let us make our own decisons and force us to
acknowledge the fundamental forces at play". I'm a bit concerned about
the potential behavioral side-effect of such a "feature" though. Right
now you guys have to make GAE _both_ reliable and fast. That's what we
expect. It may very well be next to impossible to do both but you have
to keep trying...and having a bunch of hard-core GAE engineers
continously trying will probably land us all in a pretty happy place a
year or two down the line ;-)

On the other hand...making it a choice for app owners would
effectively be giving up on that fundamental challenge. "Oh..so you
can't live with 2-3 outages og several hours each every year...then
you should enable the super reliable but slow option". I'm sure,
you guys would still do your best to make the "slow option" super
fast...but at the end of the day resources need to be prioritized.
I could fear that optimizing reliability of the slow option will tend
to go at the bottom of the stack since there is a "workaround" for
customers who really need it.


/Chris


N.B: I'm very happy with the performance of GAE as it is today...or at
least what it was up until a week or so ago ;-)...but the reliability
is a major cause of concern for me.











On Mar 5, 12:22 am, App Engine Team 
wrote:
> Post-Mortem Summary
>
> This document details the cause and events occurring immediately after
> App Engine's outage on February 24th, 2010, as well as the steps we
> are taking to mitigate the impact of future outages like this one in
> the future.
>
> On February 24th, 2010, all Googe App Engine applications were in
> varying degraded states of operation for a period of two hours and
> twenty minutes from 7:48 AM to 10:09 AM PT | 15:48 to 18:09 GMT.  The
> underlying cause of the outage was a power failure in our primary
> datacenter. While the Google App Engine infrastructure is designed to
> quickly recover from these sort of failures, this type of rare
> problem, combined with internal procedural issues  extended the time
> required to restore the service.
>
> <>
>
> What did we do wrong?
>
> Though the team had planned for this sort of failure, our response had
> a few important issues:
>
> - Although we had procedures ready for this sort of outage, the oncall
> staff was unfamiliar with them and had not trained sufficiently with
> the specific recovery procedure for this type of failure.
>
> - Recent work to migrate the datastore for better multihoming changed
> and improved the procedure for handling these failures significantly.
> However, some documentation detailing the procedure to support the
> datastore during failover incorrectly referred to the old
> configuration. This led to confusion during the event.
>
> - The production team had not agreed on a policy that clearly
> indicates when, and in what situations, our oncall staff should take
> aggressive user-facing actions, such as an unscheduled failover.  This
> led to a bad call of returning to a partially working datacenter.
>
> - We failed to plan for the case of a power outage that might affect
> some, but not all, of our machines in a datacenter (in this case,
> about 25%). In particular, this led to incorrect analysis of the
> serving state of the failed datacenter and when it might recover.
>
> - Though we were able to eventually migrate traffic to the backup
> datacenter, a small number of Datastore entity groups, belonging to
> approximately 25 applications in total,  became stuck in an
> inconsistent state as a result of the failover procedure. This
> represented considerably less than 0.2% of data stored in the
> Datastore.
>
> Ultimately, although significant work had been done over the past year
> to improve our handling of these types of outages, issues with
> procedures reduced their impact.
>
> What are we doing to fix it?
>
> As a result, we have instituted the following procedures going
> forward:
>
> - Introduce regular drills by all oncall staff of all of our
> production procedures. This will include the rare and complicated
> procedures, and all members of the team will be required to complete
> the drills before joining the oncall rotation.
>
> - Implement a regular bi-monthly audit of our operatio

[google-appengine] Additional Google App Engine IDs

2010-03-14 Thread Chris
I am currently collaborating with a few students on Google App Engine
projects in Singapore and I would like to be able to create additional
projects to share with them. Can you please increase the 10 app limit
on my account?

Thanks - Chris

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

2010-05-05 Thread chris
Hello,

Although I successfully created/uploaded/deployed my first application
yesterday, when I now try to create a new application from the "My
Applications" page (at either appengine.google.com or
appengine.google.com/a/mydomain.com), I am redirected to the "Verify
Your Account by SMS" page (https://appengine.google.com/permissions/
smssend). As I have already received my SMS, entering my country/
provider/phone number generates an error, so I can't proceed.

Also odd: although I have an application running, and another that
I've disabled (both created yesterday), the "My Application" page
states: "You have 10 applications remaining."

A possible contributing factor (?): I have two Google accounts.

I'm aware that problems similar to the one I'm experiencing have shown
up on the list a number of times, but I've yet to see an answer that
seems to resolve the issue in a general way. Please correct me if I'm
wrong here (and there is, in fact, a thread that provides a solution).
At any rate, help would be appreciated.

Thanks in advance,

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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] Shortening property name used for storage?

2010-05-07 Thread Chris
Hey all,

R U guys considering it good or bad practice to shorten the property
names used for storage in order to preserve spacing consumed by
indexes?

If you do shorten them - how do you do it? Any good schemas/
conventions?

I understand that I can keep ny property names in code as long as I
wish (using the name keyword on the property constructor). I can also
cook something up that will allow my queries to use the property names
from code.
But I don't think there's a way to make the datastore viewer NOT use
the short names...or?


Thanks

/Chris

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

2010-05-19 Thread Chris
http://code.google.com/appengine/business/

Thank you Google App Engine Team!
Very good too see that you are listening to the feedback...and
addressing them with this thoroughly impressive response!

/Chris

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

2010-05-20 Thread Chris
>From http://code.google.com/appengine/business/

"You will also use App Engine for Business to run publicly accessible
apps, such as your company's website or service. We’re still working
out the details on pricing for that, so stay tuned."

I read that sentense as having a positive meaningas in "We will
soon get SSL, SQL and better management tools for our apps".
I guess I'm assuming that the current GAE pay-for-what-you-use model
will still be an option under EAb as wellmaybe I'm wrong but I
really doubt that Google would put some prohibitive per-user costs
structures in place for internet apps...it "won't scale" to put it in
Google terms ;-)



/Chris


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

2010-05-27 Thread Chris
Hi

Any ideas as for when these will be available on YouTube..can't wait
to see 'em :-)

Thanks

/Chris

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

2009-10-21 Thread Chris

Is there a good resource or examples on conducting business
intelligence on your data stored in appengine? I have a large data set
that I want to query and output reports such as:

-Word clouds
-Historical trends in data added
-On demand queries.

Any ideas on good resources I could use? I am hearing mixed opinions
on using the bigtable for this type of reporting.

--~--~-~--~~~---~--~~
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] More than 10 applications

2009-11-02 Thread Chris

I'm looking to use Google App Engine to launch some GWT based
solutions for clients. However, I can't help but see the inherent
problem of running out of applications. Once I've hosted 10
applications how can I host the 11th?

--~--~-~--~~~---~--~~
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: More than 10 applications

2009-11-03 Thread Chris

That would mean that for each client I'd have to make a Google
Account. While this could be a workaround it just seems a little
strange that there isn't a way to add more apps to an account.


On Nov 2, 1:38 pm, Eli  wrote:
> A proper solution might be to sign up each client for an AppEngine
> account and set their application up under that.
>
> On Nov 1, 11:44 pm, Chris  wrote:
>
> > I'm looking to use Google App Engine to launch some GWT based
> > solutions for clients. However, I can't help but see the inherent
> > problem of running out of applications. Once I've hosted 10
> > applications how can I host the 11th?
--~--~-~--~~~---~--~~
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] Querying for 5000 rows is causing my problems

2009-11-27 Thread chris
Hi,

I'm running a query which get's 5 sets of 1000 rows.  It's coming out
with some really high cpu usage.  I'm wondering if there is anything I
can do to optomise.   The problem is I need the 5000 rows to do a
calculation on, they are not getting displayed on one page as such but
it still needs them initially to perform the calc.  Anyone got any
suggestions on this?  I don't want the request to timeout.

Regards

Chris

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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] Re: Evidence showing high DeadlineExceededError rates are specific to parts of googles appengine infrastructure

2009-11-30 Thread Chris

+1

My background is the MS world. I love the concept of GAE. I don't mind
learning Python, messing around with "beta" issues, working with
incomplete documentation etc. All the fun stuff that early adopters
usually have to deal with in our world ;-)
What I'm dissappointed about is the lack of Google involvement in
these groups. As you point out Nick is doing a great job - but other
than that I can't name a single Google employee off the top of my head
after reading every post in here for 3+ months.

It is especially worriesome to see posts related to the core stability
& performance (such as this one) remain un-addressed. The thought of
hanging out there with a real app experiencing very poor performance
day after day without being able to do something makes me go all cold.
And since there is silence from Google on these issues I start to
wonder:  Is this a common problem, just hitting a few unlucky app
owners, an intermittent issue that will go away in a week or not, does
it hit everybody once in a while etc. There's supposedly 80K+ GAE
applications out there so it is probably not as bad as it looks from
reading these groups.

/Chris






--

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

2008-10-21 Thread Chris

How do you query date ranges? Say I have an object with a start date
and end date. How do I query objects whose range falls on
date.today()?

On Aug 30, 4:45 am, fdezjose <[EMAIL PROTECTED]> wrote:
> I've found a solution to my case. I had to query on two properties:
> latitude and longitude, surfing the net I discovered this thing called
> Geohash (http://en.wikipedia.org/wiki/Geohash) so now I have a geohash
> property that I can query without any problem.
>
> This blog post was also 
> useful:http://labs.metacarta.com/blog/27.entry/geographic-queries-on-google-...
>
> Thanks,
>
> José Luis
>
> On Aug 28, 10:33 pm, Davide Rognoni <[EMAIL PROTECTED]> wrote:
>
> > I don't like this "Restrictions on Queries" :-(
>
> > On Aug 28, 10:26 pm, Nevin Freeman <[EMAIL PROTECTED]> wrote:
>
> > > From:http://code.google.com/appengine/docs/datastore/queriesandindexes.html
>
> > > "The query mechanism relies on all results for a query to be adjacent
> > > to one another in the index table, to avoid having to scan the entire
> > > table for results. A single index table cannot represent multiple
> > > inequality filters on multiple properties while maintaining that all
> > > results are consecutive in the table."
>
> > > Nevin
>
> > > On Aug 28, 1:23 pm, Davide Rognoni <[EMAIL PROTECTED]> wrote:
>
> > > > Why this limitation?
>
> > > > On Aug 28, 10:17 pm, Nevin Freeman <[EMAIL PROTECTED]> wrote:
>
> > > > > José,
>
> > > > > Many different workarounds are available, depending on your
> > > > > circumstances. The simplest (not ideal) thing to do would be to run
> > > > > two queries and then take the intersection of the two results, i.e.:
>
> > > > > q1 = Model.gql("WHERE prop1 < :1", number1)
> > > > > q2 = Model.gql("WHERE prop2 > :1", number2)
>
> > > > > batch1 = q1.fetch(1000)
> > > > > batch2 = q2.fetch(1000)
> > > > > result = []
>
> > > > > for entity in batch1:
> > > > >   if entity in batch2:
> > > > >     result.append(entity)
>
> > > > > return result
>
> > > > > If you give us a little more context, maybe people who have similar
> > > > > situations can share with you how they have dealt with the limitation.
> > > > > In my case, I had to change the way I store my data so that I can get
> > > > > the right results with only one inequality operator per query (but
> > > > > name equality operators).
>
> > > > > Nevin
>
> > > > > On Aug 28, 12:07 pm, fdezjose <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hello! I'm new in the App Engine world and I've run into an issue
> > > > > > that's driving me crazy. I need to compare two properties (ex.
> > > > > > propertyA > 4 AND propertyB > 8) But by doing that I've discovered
> > > > > > that only one property per query may have inequality filters... Any
> > > > > > suggestion or workaround to be able to accomplish this task?
>
> > > > > > Thanks!
>
> > > > > > José Luis

--~--~-~--~~~---~--~~
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 Template Context Processors

2008-10-23 Thread Chris

Django supports global template context processors, which allow you to
ensure certain values are added to every template context. Does App
Engine have anything similar? I'd like to ensure every template gets
certain things like users.is_current_user_admin() so the correct
options are displayed in a sidebar that every template inherits.
--~--~-~--~~~---~--~~
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] Complex URLs and Folders

2008-10-23 Thread Chris

How would you map the URL /admin/users to the script admin/
editusers.py?

I tried adding something like this to my app.yaml, but all I get is a
blank document

- url: /admin/users
  script: admin/editusers.py
  login: admin

--~--~-~--~~~---~--~~
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] Common View Component

2008-11-04 Thread Chris

What's the best practice for including a common dynamic view component
in every template? For example, say I want to include a short list of
links, dynamically queried from my datastore, on every page.

The default option seems to be adding this query to every request
handler, and use Django's template inheritance to reuse the display
logic. However, this still seems like a lot of work, so I decided to
create a "linklist" templatefilter to both query the data and retrieve
the template, and just add {{request|linklist}} to my base template.
This is simple, but seems like a hack. Is there a better way?
--~--~-~--~~~---~--~~
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: Serve all *.html files statically?

2008-11-05 Thread Chris

In the "upload:" part, get rid of "static".


On Nov 5, 12:47 pm, jago <[EMAIL PROTECTED]> wrote:
> Thx for the answer. Sadly it is still not working.
>
> - url: /(.*\.html)
>   static_files: /\1
>   upload: static/.*\.html
>
> I still get the error:
>
> ERROR    2008-11-05 17:35:53,834 dev_appserver.py] Error encountered
> reading file "/credits.html":
> [Errno 2] No such file or directory: '/credits.html'
>
> This file however exists such as other *.html files which are not
> found. Any other idea?
>
> Thx...jago
>
> On Nov 5, 6:18 pm, "David Symonds" <[EMAIL PROTECTED]> wrote:
>
> > On Wed, Nov 5, 2008 at 9:16 AM, jago <[EMAIL PROTECTED]> wrote:
>
> > > I have a bunch of Html files with the filename *.html in the appspot
> > > base directory. I want them to be served the way they are.
>
> > > In my app.yaml I write:
>
> > > - url: /(.*\.html)
> > >  static_files: /\1
> > >  upload: static/(.*\.html)
>
> > Ditch the parentheses in the "upload:" bit.
>
> > Dave.
>
>

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



[google-appengine] Re: Serve all *.html files statically?

2008-11-05 Thread Chris

True. But he said he's got the html files in the base directory, not a
"static" directory. Therefore, having "static" in the upload line is
causing the web server to look for them in the wrong place.


On Nov 5, 4:06 pm, Wooble <[EMAIL PROTECTED]> wrote:
> If the files are in the "static" directory, you need to include that
> information in the static_files line too, not just in the upload line.
>
> On Nov 5, 12:47 pm, jago <[EMAIL PROTECTED]> wrote:
>
> > Thx for the answer. Sadly it is still not working.
>
> > - url: /(.*\.html)
> >   static_files: /\1
> >   upload: static/.*\.html
>
> > I still get the error:
>
> > ERROR    2008-11-05 17:35:53,834 dev_appserver.py] Error encountered
> > reading file "/credits.html":
> > [Errno 2] No such file or directory: '/credits.html'
>
> > This file however exists such as other *.html files which are not
> > found. Any other idea?
>
> > Thx...jago
>
> > On Nov 5, 6:18 pm, "David Symonds" <[EMAIL PROTECTED]> wrote:
>
> > > On Wed, Nov 5, 2008 at 9:16 AM, jago <[EMAIL PROTECTED]> wrote:
>
> > > > I have a bunch of Html files with the filename *.html in the appspot
> > > > base directory. I want them to be served the way they are.
>
> > > > In my app.yaml I write:
>
> > > > - url: /(.*\.html)
> > > >  static_files: /\1
> > > >  upload: static/(.*\.html)
>
> > > Ditch the parentheses in the "upload:" bit.
>
> > > Dave.
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] No such file or directory

2008-11-06 Thread Chris

I'm saving my local datastore to the same folder as my application
code (instead of the default /tmp since this is periodically deleted).
When I try to use the .put() method on a model object, I keep getting
this error:

Traceback (most recent call last):
  File "/home/chris/google_appengine/google/appengine/ext/webapp/
__init__.py", line 501, in __call__
handler.post(*groups)
  File "/home/chris/myapp/views.py", line 102, in post
entity.put()
  File "/home/chris/google_appengine/google/appengine/ext/db/
__init__.py", line 618, in put
return datastore.Put(self._entity)
  File "/home/chris/google_appengine/google/appengine/api/
datastore.py", line 160, in Put
apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp)
  File "/home/chris/google_appengine/google/appengine/api/
apiproxy_stub_map.py", line 46, in MakeSyncCall
stub.MakeSyncCall(service, call, request, response)
  File "/home/chris/google_appengine/google/appengine/api/
datastore_file_stub.py", line 305, in MakeSyncCall
(getattr(self, "_Dynamic_" + call))(request, response)
  File "/home/chris/google_appengine/google/appengine/api/
datastore_file_stub.py", line 353, in _Dynamic_Put
self.__WriteDatastore()
  File "/home/chris/google_appengine/google/appengine/api/
datastore_file_stub.py", line 239, in __WriteDatastore
self.__WritePickled(encoded, self.__datastore_file)
  File "/home/chris/google_appengine/google/appengine/api/
datastore_file_stub.py", line 291, in __WritePickled
os.rename(tmpfile.name, filename)
OSError: [Errno 2] No such file or directory

Why is this happening and how do I fix it? This doesn't happen when I
keep the datastore in /tmp, but then the datastore periodically gets
deleted...since it's in /tmp.
--~--~-~--~~~---~--~~
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: No such file or directory

2008-11-06 Thread Chris

This seems to be a bug in app engine, with the way datastore_path is
interpreted. Specifically, some code treats datastore_path as relative
while other code treats it as absolute.

I think this can be fixed by changing line 207 in /google/appengine/
tools/dev_appserver_main.py from:

  option_dict[ARG_DATASTORE_PATH] = value

to:
  option_dict[ARG_DATASTORE_PATH] = os.path.abspath(value)

Chris

On Nov 7, 12:45 am, Chris <[EMAIL PROTECTED]> wrote:
> I'm saving my local datastore to the same folder as my application
> code (instead of the default /tmp since this is periodically deleted).
> When I try to use the .put() method on a model object, I keep getting
> this error:
>
> Traceback (most recent call last):
>   File "/home/chris/google_appengine/google/appengine/ext/webapp/
> __init__.py", line 501, in __call__
>     handler.post(*groups)
>   File "/home/chris/myapp/views.py", line 102, in post
>     entity.put()
>   File "/home/chris/google_appengine/google/appengine/ext/db/
> __init__.py", line 618, in put
>     return datastore.Put(self._entity)
>   File "/home/chris/google_appengine/google/appengine/api/
> datastore.py", line 160, in Put
>     apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp)
>   File "/home/chris/google_appengine/google/appengine/api/
> apiproxy_stub_map.py", line 46, in MakeSyncCall
>     stub.MakeSyncCall(service, call, request, response)
>   File "/home/chris/google_appengine/google/appengine/api/
> datastore_file_stub.py", line 305, in MakeSyncCall
>     (getattr(self, "_Dynamic_" + call))(request, response)
>   File "/home/chris/google_appengine/google/appengine/api/
> datastore_file_stub.py", line 353, in _Dynamic_Put
>     self.__WriteDatastore()
>   File "/home/chris/google_appengine/google/appengine/api/
> datastore_file_stub.py", line 239, in __WriteDatastore
>     self.__WritePickled(encoded, self.__datastore_file)
>   File "/home/chris/google_appengine/google/appengine/api/
> datastore_file_stub.py", line 291, in __WritePickled
>     os.rename(tmpfile.name, filename)
> OSError: [Errno 2] No such file or directory
>
> Why is this happening and how do I fix it? This doesn't happen when I
> keep the datastore in /tmp, but then the datastore periodically gets
> deleted...since it's in /tmp.
--~--~-~--~~~---~--~~
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] google-app-engine-django: Specifying Datastore Path

2008-11-16 Thread Chris

How do you specify the datastore path with google-app-engine-django?
The modified manage.py doesn't seem to include this option, and I
think it passes dev_appserver.py a blank config dictionary.
--~--~-~--~~~---~--~~
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] Environment variable DJANGO_SETTINGS_MODULE is undefined

2008-11-16 Thread Chris

I'm running a basic webapp install, but where ever my code imports
google.appengine.ext.db.djangoforms or django.newforms I'm getting the
error "Environment variable DJANGO_SETTINGS_MODULE is undefined".
Since webapp doesn't using Django's settings, what could be causing
this?
--~--~-~--~~~---~--~~
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-19 Thread Chris

I've noticed that my data store usage went up by about 5MB a few days
ago for no reason as well. However, today it's back to normal. I know
they've been changing a lot of things lately (based on the downtime e-
mail notifications I keep receiving), so it probably has something to
do with that. However, if anyone has any more information about what's
going on, it would be much appreciated.

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



[google-appengine] Re: Django helper: "ImportError: cannot import name djangoforms"

2008-11-19 Thread Chris

I'm also getting this error with app-engine-patch. It's unfortunate no
one's been able to resolve this, since it makes these projects
useless.

On Oct 18, 3:43 pm, Giacecco <[EMAIL PROTECTED]> wrote:
> All,
> when trying to use manage.py from the command line, I get the
> following error. Running "python manage.py" is sufficient to get this,
> it does not depend on the command after the manage.py.
>
> =
> gianfranco-cecconis-macbook-pro:GAPE project giacecco$ python
> manage.py
> WARNING:root:Could not read datastore data from /var/folders/N8/
> N8qeBmGnFqqEQCAHzR9XOk+++TI/-Tmp-/django_giacecco-prod.datastore
> WARNING:root:Could not read datastore data from /var/folders/N8/
> N8qeBmGnFqqEQCAHzR9XOk+++TI/-Tmp-/django_giacecco-
> prod.datastore.history
> Traceback (most recent call last):
>   File "manage.py", line 18, in 
>     InstallAppengineHelperForDjango()
>   File "/Users/giacecco/www.giacec.co.uk/GAPEproject/__init__.py",
> line 441, in InstallAppengineHelperForDjango
>
>   File "/Users/giacecco/www.giacec.co.uk/GAPEproject/__init__.py",
> line 494, in InstallModelForm
>
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/ext/db/djangoforms.py", line 454, in 
>     class ModelChoiceField(forms.Field):
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/ext/db/djangoforms.py", line 457, in ModelChoiceField
>     'invalid_choice': _(u'Please select a valid choice. '
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/
> django/django/conf/__init__.py", line 147, in first_time_gettext
>     return gettext(*args)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/
> django/django/utils/translation/trans_real.py", line 268, in gettext
>     _default = translation(settings.LANGUAGE_CODE)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/
> django/django/utils/translation/trans_real.py", line 197, in
> translation
>     default_translation = _fetch(settings.LANGUAGE_CODE)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/
> django/django/utils/translation/trans_real.py", line 182, in _fetch
>     app = __import__(appname, {}, {}, [])
>   File "/Users/giacecco/www.giacec.co.uk/GAPEproject/main.py", line
> 29, in 
>     InstallAppengineHelperForDjango()
>   File "/Users/giacecco/www.giacec.co.uk/GAPEproject/__init__.py",
> line 441, in InstallAppengineHelperForDjango
>
>   File "/Users/giacecco/www.giacec.co.uk/GAPEproject/__init__.py",
> line 494, in InstallModelForm
>
> ImportError: cannot import name djangoforms
> =
>
> I am using Google App Engine Launcher 1.1.5.151 on MacOS 10.5.5. When
> launching the web application through it I have no issues, but perhaps
> it is not relevant. Any advice? I wanted to use the command line to do
> some debugging.
>
> Giacecco
--~--~-~--~~~---~--~~
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] Logging static file requests

2008-11-20 Thread Chris

Hey everyone,
I've been using the built-in logging module to log all sorts of
scripting events for debugging/tracking purposes. It would be great if
I could use this logging functionality to make a note of whenever a
user requests a particular static file (e.g. tracking file downloads).
My first idea was to create a small script that logs the request, and
then redirects the user to the file, but can anyone else think of a
better/easier way to do it?
Thanks in advance!

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



[google-appengine] Negated One-To-One Join

2008-12-09 Thread Chris

I'm trying to implement a simple mailing list unsubscribe feature. For
the model, I currently have an "Unsubscribe" class with a
ReferenceProperty to the default User class, and a DateProperty to
record the unsubscribe time. A record in this table/instance of this
class would indicate that a specific User has unsubscribed.

The problem I've run into is that I don't see any way to take
advantage of this model. How would you query all Users who *aren't*
referenced by Unsubscribe?
--~--~-~--~~~---~--~~
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] Filtering Using the IN Keyword

2008-12-22 Thread Chris

How do you use the IN keyword? The datastore query API makes a few
mentions of it, but there are no examples. I thought it would allow
you to filter using a list, but a simple query like this fails with
the error "Filtering on lists is not supported":

from main.models import User
q=User.all()
q.filter('username IN',['bob','joe','steve'])
results = q.fetch(10)

--~--~-~--~~~---~--~~
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] Bulk Upload Referential Integrity

2009-01-14 Thread Chris

Whats the best way to maintain referential integrity with the
ReferenceProperty when using the bulkupload script?

For example, suppose I had a Book class that references a Library
class, and I wanted to upload these instances in my local datastore to
the production datastore. Would the production datastore acknowledge
the key stored in the Book's ReferenceProperty, or are the keys
between dev and production completely different? If different, what
would be the best way to translate the keys in order to maintain
referential integrity?

--~--~-~--~~~---~--~~
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] Printing Debug Messages Inside bulkload.Loader

2009-02-09 Thread Chris

How do you display debug messages from inside bulkload.Loader
instances? Both print and logging seemed to be blocked or overwritten
by the the logging in the bulk upload client.
--~--~-~--~~~---~--~~
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] what about memcache flush_all() performance

2009-03-11 Thread Chris

If my app has a lot of data in memcache, and calls flush_all() now,
what about the performance of this function call? I'm not sure how the
memcache backend is implemented.

--~--~-~--~~~---~--~~
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 about memcache flush_all() performance

2009-03-22 Thread Chris

Thanks for your answer.

On Mar 12, 12:28 am, Brett Slatkin  wrote:
> On Wed, Mar 11, 2009 at 8:39 AM, Chris  wrote:
>
> > If my app has a lot of data in memcache, and calls flush_all() now,
> > what about the performance of this function call? I'm not sure how the
> > memcache backend is implemented.
>
> Like all memcache calls, flush is O(1). Everything is done lazily. So
> there is no overhead.
--~--~-~--~~~---~--~~
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] Retrieving Large Query Sets Containing Inequality Operators

2009-04-18 Thread Chris

I have the model:

class Record(db.Model):
  date = db.DateProperty()

Over 1000 Record instances may contain the same date value. The
instances are also not created in the order of their dates.

I'm trying to query all instances whose date is within a given range.
I need to be able to query sets larger than the default max of 1000.

I was thinking of doing something like:

Record.all().filter('date >', startDate).filter('date <', endDate)

But this would limit me at most to the first 1000 records. How would I
get the next 1000 records, maintaining the range query? I can't use
the last date value from the previous query as the startDate for the
next query, since there's no guarantee that the date value has
changed. For example, I could have 2000 instances with the date
2008-1-1, so the first and second query sets have identical filter
parameters.

Intuitively, I could accomplish this by simply filtering on the
previous key value (e.g. .filter('key >', lastKeyValue)).
Unfortunately, App Engine currently prohibits filtering with
inequality operators on more than one property.

Am I correct in understanding that there's essentially no way to query
all instances within a specific date range, due to this limitation?

This issue keeps coming up for me, and has been a huge deal-breaker in
a lot of potential projects I've been working on for App Engine. Any
advice on how I could work around it would be appreciated.

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



[google-appengine] Captcha Blocks Remote API on Google Apps Hosted Project

2009-05-02 Thread Chris

When I try to upload *or* access the remote API for a Google Apps
hosted project, all I get is the error:

Please go to
https://www.google.com/accounts/DisplayUnlockCaptcha
and verify you are a human.  Then try again.

Which of course, doesn't work.

As suggested previously on this forum, I also tried
https://www.google.com/a/yourdomain.com/DisplayUnlockCaptcha, which
also doesn't work.

I also tried deleting my cookies at /home/x/.appcfg_cookies to
ensure I wasn't caching old login data. When I upload, I ensure I use
a username that's listed in the Google Apps account *and* is a
registered developer in the App Engine project. But still, I get the
error.

My project's using App Engine Patch, so I'm not sure if that's
effecting anything.

This is driving me nuts. Is there anything I'm missing?

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



[google-appengine] Re: google app engine & the EU data protection act

2010-11-16 Thread Chris
We should be fine. See this issue for details:
http://code.google.com/p/googleappengine/issues/detail?id=45


/Chris



On 16 Nov., 10:14, aaron  wrote:
> Hi guys,
>
> I was just wondering whether google app engine datastore made any
> accommodation for the EU data protection act - specifically the
> principal:
>
> "Personal data shall not be transferred to a country or territory
> outside the European Economic Area unless that country or territory
> ensures an adequate level of protection for the rights and freedoms of
> data subjects in relation to the processing of personal data."
>
> The principal and the data protection act is obligatory for any
> organisation operating within the EU.
>
> I had a quick search on the app engine site but couldn't see anything
> mentioning 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-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] Re: Could not verify SSL certificate

2011-02-20 Thread Chris
The same problem on Win7/32bit,
java version "1.6.0_23" (same problem on 1.6.0_20)
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
GAE 1.4.0 - working - 1.4.2 - not

-- 
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] Entity group question

2010-06-14 Thread Chris Killpack
I have a set of entities all of the same kind, AnalyticsCounter, in my
datastore. For correctness I would like to update many of these entities in
a single transaction, which requires they are all in the same entity group.
In my case I don't have a hierarchy, instead I just have a set of entities.
My understanding is that I need to parent all of them to another
AnalyticsCounter entity to achieve this. However when I tried this, I
received the fateful "Cannot operate on different entity groups in a
transaction error.".

I created the parent entity in my constructor, and then applied the parent
when I created an instance of AnalyticsCounter, but the transaction fails on
the put method. Interestingly the "different entity groups" lists both the
newly created instance and the parent instance. I tried creating the parent
two different ways, first just creating a key:
self._parent_key = db.Key.from_path('AnalyticsCounter', 'virtual_root')
and then, creating an actual instance.
self._parent_instance = AnalyticsCounter.get_or_insert(key_name='root')
but met the same failure on both cases.

Briefly, my transaction looks like this:
counters = [list of key_names]
def txn():
  counters = AnalyticsCounter.get_by_key_name(counters)
  for counter in counters:
if counter is None:
  counter = AnalyticsCounter(parent=self._parent_instance,
key_name='blah')
  counter.foo = 'bar'
counter.put()  # <- dies here
db.run_in_transaction(txn)

Can someone shed some light on what I am doing wrong? Thanks,

Chris

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

2010-06-15 Thread Chris Killpack
Hi Nick,

I'm a little confused - I pass in the parent instance when I create a
new AnalyticsCounter inside the transaction closure, so it should be
part of the same group. See the 'if counter is None' path in my code
snippet.  Did I miss something? I removed the transaction and using
the datastore viewer and logging output, verified that the created
entity's parent key matched the parent key I was creating. I'll try
and post some of this to the thread later.

Thanks for the QPS limit advice - I only plan on updating < 10
entities every hour, so I'm hoping this isn't an issue. Technically I
don't really need to use a transaction, so I can always remove it, but
I'm stubborn dammit and this should work :)

Chris

On Jun 15, 1:15 am, "Nick Johnson (Google)" 
wrote:
> Hi Chris,
>
> You need to specify the parent at creation time. There's no way to modify
> the parent of an entity after it's created.
>
> Bear in mind that updates to an entity group are limited to roughly 1QPS -
> so putting all your entities in one entity group is rarely a good idea.
>
> -Nick Johnson
>
>
>
>
>
> On Tue, Jun 15, 2010 at 4:12 AM, Chris Killpack  wrote:
> > I have a set of entities all of the same kind, AnalyticsCounter, in my
> > datastore. For correctness I would like to update many of these entities in
> > a single transaction, which requires they are all in the same entity group.
> > In my case I don't have a hierarchy, instead I just have a set of entities.
> > My understanding is that I need to parent all of them to another
> > AnalyticsCounter entity to achieve this. However when I tried this, I
> > received the fateful "Cannot operate on different entity groups in a
> > transaction error.".
>
> > I created the parent entity in my constructor, and then applied the parent
> > when I created an instance of AnalyticsCounter, but the transaction fails on
> > the put method. Interestingly the "different entity groups" lists both the
> > newly created instance and the parent instance. I tried creating the parent
> > two different ways, first just creating a key:
> > self._parent_key = db.Key.from_path('AnalyticsCounter', 'virtual_root')
> > and then, creating an actual instance.
> > self._parent_instance = AnalyticsCounter.get_or_insert(key_name='root')
> > but met the same failure on both cases.
>
> > Briefly, my transaction looks like this:
> > counters = [list of key_names]
> > def txn():
> >   counters = AnalyticsCounter.get_by_key_name(counters)
> >   for counter in counters:
> >     if counter is None:
> >       counter = AnalyticsCounter(parent=self._parent_instance,
> > key_name='blah')
> >       counter.foo = 'bar'
> >     counter.put()  # <- dies here
> > db.run_in_transaction(txn)
>
> > Can someone shed some light on what I am doing wrong? Thanks,
>
> > Chris
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > 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 for multiple accounts - Standard GMail AND Google Apps. Cannot?

2010-07-14 Thread Chris Drumgoole
Hi, I've got my own App Engine account tied to my gmail account, but
at work (we're using Google Apps), we'd like to create new AppEngine
accounts tied to our company email (thus our Google Apps accounts).
But it seems we cannot use our mobile numbers to authorize more than
one google account?

Any way around this?

Thanks...

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: [google-appengine] App Datastore Update timing issue

2010-07-15 Thread Chris Copeland
I think you can handle this with a datastore transaction.  See
http://code.google.com/appengine/articles/transaction_isolation.html for
more details.

The increment_counter example at
http://code.google.com/appengine/docs/python/datastore/transactions.htmlshould
be adaptable to your example.

-Chris


On Wed, Jul 14, 2010 at 10:17 AM, Sam  wrote:

> In working with the data store, I've been able to solve all of my
> "issues" (coming from a RDBMS background, had to rethink a few
> things!), save for one.  In the application I'm working on, it's
> necessary to "reserve" a record at a moment in time and then display
> that record to the end user, ensuring that each user gets a single
> record and no duplicates are issued.  Working with the record prior,
> and using SQL as an engine, I was able to use the following query:
>
> UPDATE CCode SET SessionID = '" + strSessionID + "', Assigned = 1
> WHERE Assigned = 0 AND PartnerID = " + str(intPartnerID) + " AND
> ExpireDate >= '" + str(dtCompareDate) + "' Limit 1"
>
> This would update the record in one pass and effectively reserve the
> record for the established session, with no time lost inbetween
> issuing the update and recording the change while SQL handled any
> conflict resolution should two people request a record at the same
> time.
>
> However, dealing with datastore, I seem to be running into some
> problems with timing and wanted to know if anyone had any creative
> ways around it.
>
> I realize that I can run a standard GqlQuery to return the results I
> need and then update based on the returned result and add the session
> to the record without a problem.  What concerns me is the timing
> factor.  During the time it takes for the query to execute and the
> resulting put() statement, it would be possible for another user to
> arrive and make the same basic query recalling the same record set.  I
> know I could check for updates against the datastore before writing
> back (used to do this years ago...), but this could potentially cause
> a deadlock condition when the load on the system became greater and
> multiple simultaneous users needed access to the records for selection
> and updating.
>
> Any thoughts on how to work around this?
>
> --
> 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.
>
>

-- 
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: [google-appengine] Re: App Datastore Update timing issue

2010-07-15 Thread Chris Copeland
On Wed, Jul 14, 2010 at 3:54 PM, Sam  wrote:

> I believe all that it would do is
> move the timing issue from the main program logic to a defined
> transaction and we would still have the potential gap in time between
> when the initial query was executed to fetch the data and the put()
> was execute to write it back.
>

If the data fetched by the get() at the first of the transaction has been
changed (by another process) when you do the put() at the end of the
transaction, then the transaction will be retried and it will do a new get
which will see the other process's changes and the process repeats.  This
isn't obvious, but it is talked about in one of the links I sent earlier.

I think Robert's example is missing a put() at the end of the transaction
function:

def txn():
ccode = CCode.all().filter('Assinged', 0)\
   .filter('ExpireDate >=', dtCompareDate)\
.filter("PartnerID", intPartnerID).get()
   if not ccode:
  # handle no ccode
   ccode.SessionID = strSessionID
   ccode.Assigned = 1
*   ccode.put()
*
 db.run_in_transaction(txn)


-Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: [google-appengine] Problem with having 1 Persistable w/array of all objects?

2010-07-15 Thread Chris Copeland
This is probably not a good idea.  What are your access pattens for this
entity?  How many accounts do you usually need to retrieve at once?  How
often is an account updated?

If you normally access just a few accounts, then you are incurring the cost
of retrieving all of them every time unnecessarily.

When you need to update an account you are incurring the cost of
deserialization/serialization for the entire list.  This will also lead to
contention when multiple users are updating their accounts.

-Chris

On Wed, Jul 14, 2010 at 11:46 PM, coltsith  wrote:

> I had an idea the other day, but know there's probably some issue I'm
> not realizing.
>
> Let's say you have an Account object that represents a registered
> user. Instead of having multiple Account objects that you persist to
> the datastore, why not have 1 object (ie AccountList) that you
> persist, and that object has an array all the Accounts.
>
> So if you want to pull up multiple Accounts or even all of them, it's
> just 1 query to the datastore to get AccountList.
>
> What major issues (if any) would I run into using this model?
>
> 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-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.
>
>

-- 
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: [google-appengine] Re: Problem with having 1 Persistable w/array of all objects?

2010-07-21 Thread Chris Copeland
On Mon, Jul 19, 2010 at 12:47 AM, coltsith  wrote:

> Well I want to have a sorted list of all the accounts, since I will
> have a sort of 'bulletin board' of ranked users. Like a Top 100 list.
>

Just do a query for what you want.  Example:

top100 = User.all().order('-awesomeness').fetch(100)

If you are concerned about the performance of doing this query often, then
store the results in memcache.

Perhaps I should just have an object with a sorted list of the user
> ids instead?
>
> On Jul 15, 1:37 pm, Chris Copeland  wrote:
> > This is probably not a good idea.  What are your access pattens for this
> > entity?  How many accounts do you usually need to retrieve at once?  How
> > often is an account updated?
> >
> > If you normally access just a few accounts, then you are incurring the
> cost
> > of retrieving all of them every time unnecessarily.
> >
> > When you need to update an account you are incurring the cost of
> > deserialization/serialization for the entire list.  This will also lead
> to
> > contention when multiple users are updating their accounts.
> >
> > -Chris
> >
> >
> >
> > On Wed, Jul 14, 2010 at 11:46 PM, coltsith  wrote:
> > > I had an idea the other day, but know there's probably some issue I'm
> > > not realizing.
> >
> > > Let's say you have an Account object that represents a registered
> > > user. Instead of having multiple Account objects that you persist to
> > > the datastore, why not have 1 object (ie AccountList) that you
> > > persist, and that object has an array all the Accounts.
> >
> > > So if you want to pull up multiple Accounts or even all of them, it's
> > > just 1 query to the datastore to get AccountList.
> >
> > > What major issues (if any) would I run into using this model?
> >
> > > Thanks
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com e...@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-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.
>
>

-- 
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: [google-appengine] Preventing "django 1.1 was requested, but 0.96.4.None is already in use"

2010-07-23 Thread Chris Copeland
Hi,

I'm not sure about your exact problem, but I solved similar competing Django
version issues by adding the following at the top of main.py:

for k in [k for k in sys.modules if k.startswith('django')]:
del sys.modules[k]

-Chris

On Fri, Jul 23, 2010 at 7:42 AM, Blixt  wrote:

> This issue seems to occur if using the Admin console (which I use to
> execute arbitrary code on live data), and a new instance is started
> (thus loading Django 0.96 before my code gets a chance to load 1.1).
> Is the only solution to not use the Admin console, and instead use
> some kind of remote datastore solution?
>
> Oh and by Admin console I mean I have added this line to my app.yaml:
>
> - url: /admin/.*
>  script: $PYTHON_LIB/google/appengine/ext/admin
>  login: admin
>
> --
> 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.
>
>

-- 
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: [google-appengine] Re: A server error has occurred

2010-08-22 Thread Chris Leong
I got the admin to give my personal account permissions to access the
app, so everything works now

On Mon, Aug 23, 2010 at 1:12 PM, Robert Kluin  wrote:
> But you can get to your apps using your google apps account?
>
>
>
>
>
>
> On Sun, Aug 22, 2010 at 23:10, casebash  wrote:
>> I can log in there - that is when I get the error message. I can't
>> reach the app engine console, so I can't look at the logs.
>>
>> Interestingly, when I try my personal account, rather than my google
>> apps one.
>>
>> On Aug 23, 12:59 pm, Robert Kluin  wrote:
>>> Can you log in at appspot.com?
>>>
>>> If so, go look at the logs and see if there are any errors or if the
>>> requests are even hitting your app.
>>>
>>> Robert
>>>
>>> On Sun, Aug 22, 2010 at 22:24, casebash  wrote:
>>> > Whenever I try to log into the app engine console, I see the following
>>> > message: "A server error has occurred". I can't even view my
>>> > applications. Does anyone have any idea of why this is happening?
>>>
>>> > --
>>> > You received this message because you are subscribed to the Google Groups 
>>> > "Google App Engine" group.
>>> > To post to this group, send email to google-appeng...@googlegroups.com.
>>> > To unsubscribe from this group, send email to 
>>> > google-appengine+unsubscr...@googlegroups.com.
>>> > For more options, visit this group 
>>> > athttp://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-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.
>>
>>
>
> --
> 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.
>
>



-- 
Chris Leong
ICT Security
Blog: http://www.casebash.wordpress.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-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] Tasks in Task Queue are not being executed

2010-09-16 Thread Chris Vaughn
According to the app engine system stats page everything is running
fine but I'm seeing an issue that I can't figure out.

I have an app that relies heavily on task queues.  Every minute or so
a payload comes in and is broken into 1 or many (depending on the size
of the payload) schedule tasks and added to the "schedule-queue".  For
the last 1h 15m nothing in my schedule-queue has been executed.  I see
no errors in the logs and it has stayed at 0 run in the last minute.
Here's a screenshot from my admin page of that one queue.
http://skitch.com/chris.vaughn/dabtu/task-queues-appspot.com

I've found another user on Twitter reporting similar behavior at the
same time.
http://twitter.com/bjschnei/status/24685776803

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: [google-appengine] Deployment having issues.

2010-10-19 Thread Chris Copeland
Others on the Python list are reporting this as well.

You can star this issue and add your details:
http://code.google.com/p/googleappengine/issues/detail?id=3905

-Chris

On Mon, Oct 18, 2010 at 2:24 PM, johnP  wrote:

> Having deployment issues from 11:40PDT -->  ?
>
> Symptoms:
>
> 1.  When uploading, it Checks if version is ready to be served..
> Until it gives up.
> 2.  Switched from version X to version Y in Versions screen.  The
> Versions screen says that Y is the default version.  But it continues
> to serve X (7 instances of X running, and 0 instances of Y running,
> over 30 minutes later).
>
> And the usual existential question:  Is this for everyone?  Or is it
> just me???
>
> :)
>
> johnP
>
> --
> 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.
>
>

-- 
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] App engine down time or problem with CRON requests

2010-10-22 Thread Chris Prinos
Anyone know if there was scheduled down time 10/22/2010 around 12:30AM
PDT?

None of my cron-initiated requests were triggered from about 12:33 AM
PDT to 1:05 AM PDT, but there were no errors in the logs.

-- 
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] Re: App engine down time or problem with CRON requests

2010-10-24 Thread Chris Prinos
Ok thanks for confirming you saw this as well.

Looks like the same thing occured today, same time frame as before.

Chris

On Oct 22, 11:02 pm, sodso  wrote:
> Yes, same happened for me as well, looks like CRON jobs arent
> reliable, so i have decided to implement double-checking logic to
> check whether the job has run or not by using a datatstore / memcache
> record
>
> On Oct 22, 7:51 pm, Chris Prinos  wrote:
>
>
>
>
>
>
>
> > Anyone know if there was scheduled down time 10/22/2010 around 12:30AM
> > PDT?
>
> > None of my cron-initiated requests were triggered from about 12:33 AM
> > PDT to 1:05 AM PDT, but there were no errors in the logs.

-- 
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: [google-appengine] Re: Attempts to deploy result in 500 Server Error

2010-11-06 Thread Chris Copeland
+1

Can't deploy.  Can't access console.  Maintenance isn't scheduled to start
for 2.5 hours.


Error 500: --- begin server output ---

Error: Server Error
The server encountered an error and could not complete your
request.If the problem persists, please http://code.google.com/appengine/community.html";>report your problem and
mention this error message and the query that caused it.


On Sat, Nov 6, 2010 at 11:17 AM, Jeremy Benetz wrote:

> I'm getting 500 errors  when simply trying to open the admin console for my
> apps.  Something is seriously wrong with the app engine this morning.
>
>  --
> 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.
>

-- 
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: [google-appengine] Hi there, new boy in GoogleAppEngine

2010-11-08 Thread Chris Copeland
Looks like tinypm
requiresa
SQL database, so no.

On Mon, Nov 8, 2010 at 8:46 AM, Alexandre Yin wrote:

> Hi all,
>
> as topic name says, i am new in this community.
>
> I wonder if you can help me find out 1 thing: it is possible to install a
> free software like http://www.tinypm.com/ here? How?
>
>
> thanks in advance
>
>
>  --
> 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.
>

-- 
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] Re: How to get an app banned?

2011-05-18 Thread Chris Farmiloe
Ben, when things are fetched using UrlFetch the app-id is send along with 
the request in the headers somewhere. It should be feasible to block 
Mr. fsd4353 from your site.

I believe it is in the User-Agent.

-- 
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: FAQ for out of preview pricing changes

2011-05-18 Thread Chris Farmiloe
Mike, 

I believe the temporary half-sized Python instances will be optional. If 
they don't suit your application, you won't have to choose them.

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



Re: RE: [google-appengine] Static Files: Here is a real Problem. Can I solve it with GAE?

2011-05-20 Thread Chris Farmiloe
I do know that the scheduler is certainly not instant. So serving it 
dynamically via instances doesn't sound the solution.

>From zero to thousands of QPS is going to take some time for the scheduler 
to realize what is happening (like longer than 10mins) how fast is the 
traffic really going spike? 

Having the edge proxies cache it is the only hope, but there is no control 
(or even guidelines) on how these work or if they might just start ignoring 
you if you are killing them.

Sounds fun!

-- 
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] Succesful deployment, but pages on custom domain don't reflect the changes

2011-05-30 Thread Chris Copeland
It sounds like it might be this issue.  Please star it.
http://code.google.com/p/googleappengine/issues/detail?id=5040

I have found that deleting the old version will force the new one to be
served.

BTW, using your phone is no guarantee you won't be going through a proxy
cache.

-Chris

On Sat, May 28, 2011 at 9:44 PM, Hugo  wrote:

> Has anyone else run into this? I have a (mostly static content)
> application running on the python appengine. I can deploy my app
> without a problem.
>
> If I access the app on the appspot.com domain after deploying, the
> pages reflect the changes as expected (e.g mysite.appspot.com/
> index.html)  but the exact same pages accessed on my custom domain
> (www.mysite.com/index.html) are completely unaffected by the
> deployment.
>
> Of course I did my best to flush any cache I could think of, starting
> with the browser (...and checking that I was getting 200 statuses, not
> 304...), I use my phone to access the site over 3g and bypass any
> possible proxy cache, not to avail.
>
> I'm running out of ideas, if you have a hint, please share 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
> 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: delete all data (tuples) for a kind(table) in google app engine datastore

2011-05-30 Thread Chris Copeland
Use Datastore Admin Bulk Delete
http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html#Deleting_Entities_in_Bulk

-Chris

On Mon, May 30, 2011 at 8:03 AM, Francois Masurel wrote:

> I know it won't help much but you can increase the "limit" URL parameter to
> 200.
>
> You'll go ten times faster then :-)
>
> Otherwise you'll have to make a task and use a cursor.
>
> Francois
>
> --
> 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: Sending result tuples through many http responses

2011-06-13 Thread Chris Copeland
I've not used that particular code (looks like it is written for Django
0.96) but the Django Paginator is designed for RDBMS that support LIMIT and
OFFSET parameters.  On App Engine this is going to result in having to fetch
all the data from the first each time.

Scalable pagination on App Engine will require using cursors:
http://code.google.com/appengine/docs/python/datastore/queries.html#Query_Cursors

-Chris

On Mon, Jun 13, 2011 at 2:30 PM, Joe  wrote:

> have you tried using Django Paging? just request each page in turn
> until you get all the data you need..
> (i've never used it for such a large dataset so no idea how it will
> perform!)
>
> Try this link:
>
> http://appengine-cookbook.appspot.com/recipe/simple-pagination-djangocorepaginator
>
>
>
>
> On Jun 10, 4:49 pm, Robert Kluin  wrote:
> > Hi Bruce,
> >   One option might be the Channel API, depending on what your client
> > is written in.  I assume you're not sending that many results to a
> > browser though, so it might not work for you.
> >http://code.google.com/appengine/docs/python/channel/
> >
> >   Another option would be for your client to submit the request, then
> > you could kick off a background job (using tasks) to write the result
> > set to the blobstore, and once complete the client could download the
> > blob and process it.  You're client would need to periodically check
> > with the server to know when the query is complete.
> >
> http://code.google.com/appengine/docs/python/blobstore/overview.html#...
> >
> >   And, the most basic solution to implement from the server side would
> > be to use cursors. If you can adjust the client to download chunks at
> > a time, this would probably be the easiest.
> >
> http://code.google.com/appengine/docs/python/datastore/queries.html#Q...
> >
> > Robert
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Jun 9, 2011 at 06:06, Bruce Aloe  wrote:
> > > Hello,
> >
> > > I store quite a lot of data (e.g 10 million) tuples (rows) in my
> > > Person kind (table) at GAE datastore. Now i want to query the Person
> > > kind from my web application.  For example my web application sends a
> > > query (e.g select * from Person where height < 2) through a http
> > > request to my server (python code) and the server gets the query and
> > > run it in order to generate the result tuples. For this query (select
> > > * from Person where height < 2), the server will generate quite big
> > > dataset (tuples) back since not many people are taller than 2m. Due to
> > > the generated result tuples are too big, i can not send the whole
> > > result tuples in one time through a http response to my web
> > > application. Therefore, i use cursor with the query and each time
> > > generate a partial result tuples (e.g 1) from the total result
> > > tuples generated by running the query and try to return the 1
> > > result tuples each time through a http response. As you might realize,
> > > i send just one http request with a query to my server and want my
> > > server to send many http responses to my web application and each
> > > response carries 1 result tuples to my web application.
> >
> > > My question is: How can my server sends many http responses back to my
> > > web appilcation for a http request sending from my web application?
> >
> > > Thank you very much!
> >
> > > Bruce
> >
> > > --
> > > 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 athttp://
> 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] using none google apps domains to alias a google apps based app engine custom domain

2011-06-13 Thread Chris Copeland
+1:  I have the exact same need for one of my applications.  I'm sure other
people must have faced this as well as more and more commercial apps are
built on GAE.

The only solution I have considered is to run a proxy on EC2 or somewhere
but that is really not ideal.  I may just use that as a fallback for
customers who refuse Google Apps registration.

-Chris

On Mon, Jun 13, 2011 at 4:16 PM, ddelrivero  wrote:

> Hi App Engine team,
>
> I have an special requirement for my app engine app, it will be a
> consumer app where users will sign up and will be able to map their
> custom domain name (probably most of them none google apps users) to
> their own account inside my web app.
> let's say the web app's url is:  www.mysupercoolapp.com ( an app
> engine app using a custom domain setup with google apps)
> users can create their normal accounts and will be named like:
> www.mysupercoolapp.com/useraccountname
> but I want them to be able to associate their own domain name, let's
> say: www.customerdomain.com to their account, so when you type
> www.customerdomain.com it will be an alias of www.mysupercoolapp.com
> and I can detect it looking at the url host name and load their
> account.
>
> I know 2 ways of doing it:
>
> 1- I can make them create a google apps account with their own domain
> name and then tell them to add my app engine .appspot.com as a
> service
> inside their admin account and map a subdomain to this service,
> mysupercoolapp.appspot.com mapped to www.customerdomain.com.
>
> 2- I can create a domain alias inside my google apps account, adding
> manually customerdomain.com (which is not using google apps), then
> make them do some verification of ownership then I can map
> mysupercoolapp.appspot.com to a subdomain of customerdomain.com and
> again do dns changes... (any way I don't want to pollute my account
> with domains I don't own).
>
> NONE of those are in any way a good solution for my business, I don't
> want to force them create a google apps account and do
> configurations,
> nor do any manual stuff, it would be a horrific and bad user
> experience...
>
> Can you please point me how can I solve this as trasparent as
> possible ? be able to receive customers with their domain names
> (google apps users or not google apps users) and alias them to my
> google apps custom domain name running an App Engine app,  just
> asking
> them just to change dns records (as most websites do). I came up with
> the idea that if you had a provisioning api to programmatically do
> the
> first solution I mentioned it could solve this in some way,but it
> would be wasteful to create google apps accounts just to do the
> mapping of custom domains... I hope you have or will have soon a
> solution for this.
>
> Thank you.
> Damian
>
> --
> 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.



  1   2   3   4   5   >