[google-appengine] Re: The Schedule Format of cron.xml

2012-05-17 Thread Ian Marshall
Thank you
-
You're welcome.


In option 1: Do you mean using *etaMillis of **TaskOptions *using  to
specify the execute time?
---
Yes.


We can trigger a TaskInit by cron and create 48 tasks in queue(every
30 minutes) to avoid chain task.
-
Good idea: I didn't think of that.


I just wish a simple syntax to support such requirement
---
Me too.


On May 17, 3:13 am, Larry  wrote:
> Hi Lan,
> Thank you.
> In option 1:
> Do you mean using *etaMillis of **TaskOptions *using  to specify the
> execute time?
> This could be a solution. We can trigger a TaskInit by cron and create 48
> tasks in queue(every 30 minutes)
> to avoid chain task.
>
> In option 2:
> This is my first thought about cron.xml . I just wish a simple syntax
> to support such requirement.
> If I change the schedule from 30 minutes to 2 minutes, the cron.xml will be
> 1800 entries.
>
> Ian Marshall於 2012年5月16日星期三UTC+8下午5時15分11秒寫道:
>
>
>
>
>
>
>
>
>
> > Your syntax problem may lie within your "schedule" tag (mix of month
> > and every, and unwanted final comma):
>
> >   1,15, of month every 2 hours
>
> > Your "description" tag and posting text do not match the every 2 hours
> > in your "schedule" tag. Assuming that you want to run every 30
> > minutes...
>
> > Option 1: try
>
> >   1,15 of month 00:00
>
> > and at the end of your scheduled task enqueue a task to execute 30
> > minutes later, if this would be within the same day.
>
> > Option 2: try
>
> >   1,15 of month 00:00
> >   1,15 of month 00:30
> >   1,15 of month 01:00
> >   1,15 of month 01:30
> >   ...
> >   1,15 of month 23:30
>
> > This is more robust than chaining enqueued tasks kicked off by a
> > scheduled task, but would be more cumbersome to code, since you will
> > need a cron entry for each schedule.
>
> > Is this any help?
>
> > On May 15, 12:20 pm, Larry  wrote:
> > > Hello All,
> > >  Is it possible to execute my job as following:
>
> > > 
> > > 
> > >   
> > > /mytask
> > > Execute my task, every 30 minutes of first and15th of
> > > month  
> > > 1,15, of month every 2 hours
> > > America/New_York
> > >   
> > > 
>
> > > This syntax is wrong and fail to deploy to GAE.
> > > I tested another solution. Execute mytask every 30 minutes. Execute the
> > > real task only the date is 1 and 15.
> > > I check the dashboard. The Frontend Instance Hours increase
> > dramatically.
>
> > > Any thoughts?
> > > Larry

-- 
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: Memcache problem on a production application

2012-05-17 Thread Per
Hi Mathieu,

not sure if you're aware of this (it took me a while as well) but you need 
to design your application so it doesn't flinch even when memcache is 
unavailable. Try-catch everything. We had an issue at the same time as you 
as well, and it turned out that in one part of the application we had also 
forgotten to try-catch memcache errors. Just keep improving until it's 100% 
robust. Because memcache just isn't. A large scale downtime would probably 
show up on the system status page, but local issues won't.

Cheers,
Per



On Wednesday, May 16, 2012 7:14:49 PM UTC+2, Mathieu Clavel wrote:
>
> Memcache is now working as expected.
> Problem was from 16h to 18h (UTC+2)
>
> Mathieu
>
> Le mercredi 16 mai 2012 17:49:45 UTC+2, Mathieu Clavel a écrit :
>>
>> Hello,
>>
>> My production application is currently having memcache problem.
>> Nothing is visible in the global appengine system status : 
>> https://code.google.com/status/appengine/
>>
>> Error is :
>>
>> Caused by: com.google.appengine.api.memcache.MemcacheServiceException: 
>> Memcache put: Error setting single item (...)
>>
>>
>> Nothing is working : Jasper also has error :
>>
>> org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext: Exception 
>> initializing page context
>> com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: 
>> Error setting single item (_ahsXuelLhc5ClPxy8Dra2vPUQ)
>>
>>
>> My application name is oav-agz.
>>
>>
>> Regards,
>>
>>
>> Mathieu
>>
>>

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

2012-05-17 Thread Brian Quinlan
Hi Alex,

Thanks very much for the feedback!

On Thu, May 17, 2012 at 4:54 PM, alex  wrote:
> Hey Brian,
>
> I did try the Mac OS version a couple times. The idea is nice. Not only
> because of "to reduce the number of deps". I think it's good to have dev
> appserver running in a "clean", separate environment, closer to how it works
> in production (e.g. I sometimes mess up my python 2.7 and site packages,
> making them do weird stuff, experimenting).
>
> The reason I'm not using it daily (both with and w/o bundled python) is that
> I'd have it frozen (the Launcher app) so I had to "forse quit" it from
> Activity Monitor. And it happens too often so, at the end of the day I find
> myself using SDK *.py scripts directly from the Terminal (which I don't mind
> actually).
>
> Unfortunately, I can't really provide some deterministic steps to reproduce
> "freezing" right now. But, I noticed it almost always happend when I click
> "stop" (to stop the dev appserver).

Did this problem occur with the regular launcher or just the experimental one?

Cheers,
Brian

>
> -- alex
>
>
> On Thursday, May 17, 2012 6:59:19 AM UTC+2, Brian Quinlan wrote:
>>
>> Hi,
>>
>> Along with the usual components of the App Engine 1.6.5 release, we
>> also released an experimental version of the Mac OS X Launcher that
>> includes a siloed version of Python 2.7 (see
>> https://developers.google.com/appengine/downloads). Our reason for
>> providing this was to reduce the number of dependencies that Mac users
>> needed to download before they have a usable SDK.
>>
>> This experimental launcher was downloaded >500 times but we haven't
>> received any feedback about it. Could anyone who downloaded and try it
>> please respond to this thread saying whether they had any problems or
>> not?
>>
>> The more feedback we get, the better our release will be and your help
>> is really appreciated!
>>
>> Cheers,
>> Brian
>
> --
> 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/-/bG6kFyDQ_cIJ.
> 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] GAE/J 1.6.5 TaskQueue working but 404?

2012-05-17 Thread jlc488
queue.xml


mailQueue
1/s

10
200
0

1


===

public static  void pushQueue(String queueName, TaskOptions
taskOptions){
Queue queue = QueueFactory.getQueue(queueName);

queue.add(taskOptions);
}

===

TaskOptions taskOpt = TaskOptions.Builder
.withUrl("/mailQueue/")
.param("userEmail", ret.getEmail())
.param("status", 
CommonMsg.STATUS_CREATED)
.param("userEmailHashed", 
ret.getEmailHashed())
.param("url",
userActivateTmpURL + 
CommonMsg.STATUS_ACTIVE
+ 
"/email/" + ret.getEmailHashed() + "/")
.method(Method.GET);

CommonUtilz.pushQueue(CommonMsg.QUEUE_TMP_URL, taskOpt);





I have very simple codes like above.. and It was working before 1.6.5
of GAE/J...

Since 1.6.5, it is working but.. it gives 404 of response... so It
keeps on retrying it.. even tho it worked..

Can anyone help me out on this??

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-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: Memcache problem on a production application

2012-05-17 Thread jon
This is actually a GAE bug. According to GAE documentation the
memcache service should by default log and ignore infrastructure
faults (which would be a very sensible thing to do) but it doesn't.

I opened a ticket 6 months ago (yes, half a year!)
http://code.google.com/p/googleappengine/issues/detail?id=6236

There is no excuse for leaving this broken for so long. It's an
extremely harmful bug and yet easy to fix. I've been raising this
issue every chance I get but the response from fellow GAE developers
on this group has been muted. We should be outraged, people :-)
Seriously, this bug can take down any of your sites if it happens to
link up with a dodgy memcache service. From experience this can last
up to half an hour.

On May 17, 8:36 pm, Per  wrote:
> Hi Mathieu,
>
> not sure if you're aware of this (it took me a while as well) but you need
> to design your application so it doesn't flinch even when memcache is
> unavailable. Try-catch everything. We had an issue at the same time as you
> as well, and it turned out that in one part of the application we had also
> forgotten to try-catch memcache errors. Just keep improving until it's 100%
> robust. Because memcache just isn't. A large scale downtime would probably
> show up on the system status page, but local issues won't.
>
> Cheers,
> Per
>
>
>
>
>
>
>
> On Wednesday, May 16, 2012 7:14:49 PM UTC+2, Mathieu Clavel wrote:
>
> > Memcache is now working as expected.
> > Problem was from 16h to 18h (UTC+2)
>
> > Mathieu
>
> > Le mercredi 16 mai 2012 17:49:45 UTC+2, Mathieu Clavel a écrit :
>
> >> Hello,
>
> >> My production application is currently having memcache problem.
> >> Nothing is visible in the global appengine system status :
> >>https://code.google.com/status/appengine/
>
> >> Error is :
>
> >> Caused by: com.google.appengine.api.memcache.MemcacheServiceException: 
> >> Memcache put: Error setting single item (...)
>
> >> Nothing is working : Jasper also has error :
>
> >> org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext: Exception 
> >> initializing page context
> >> com.google.appengine.api.memcache.MemcacheServiceException: Memcache put: 
> >> Error setting single item (_ahsXuelLhc5ClPxy8Dra2vPUQ)
>
> >> My application name is oav-agz.
>
> >> Regards,
>
> >> Mathieu

-- 
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] Anyone else see 100x latency spikes?

2012-05-17 Thread Cesium
I saw latency increase by a hundred fold from 13:13 UTC until 13:21 UTC 
today (5/17).
It increased from ~100ms to ~1ms.

Anyone else see this?

Java/HRD (no datastore access involved)

David

-- 
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/-/rLL-ki28BuUJ.
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: Feedback on experimental Mac Launcher for Python

2012-05-17 Thread alex
Brian, if it helps: 

create a new app and put "time.sleep(5)" as the first line of a "def 
get(self)" in a request handler. Now, run the app, click on Browse and, 
while browser's waiting those 5 sec, switch back to the Launcher and click 
"Stop". You should be able to get that freezing behavior. Well, unless 
there's something weird with my local setup. In the latter case I'd love to 
be able to figure out what it is as I really like the launcher and its 
simplicity.


On Thursday, May 17, 2012 3:38:31 PM UTC+2, alex wrote:
>
> It occurs on both, the regular and experimental launchers. In fact, I 
> don't believe it is something related to the differences between the two.
>
> Actually, I've just launched it again with a minimal app, a single page 
> rendered by Jinja2 on webapp2. 
>
> It got frozen when I tried to stop the app server during an ongoing 
> request handling. In fact, in the attached screenshot you'll see 
> "KeyboardInterrupt" standard exception that normally happens if you CTRL-C 
> the process in a terminal during a request handling, only that Launcher now 
> got stuck and not even responding to "quit" so I've just had to force it.
>
> I even checked out the (regular) launcher source code once to see if I 
> could find out what's going on but I didn't really have time to get my 
> hands on it.
>
> Hope that helps!
>
> PS I'm running Lion, but it happend to me before on Snow Leo too.
>
> On Thursday, May 17, 2012 2:15:54 PM UTC+2, Brian Quinlan wrote:
>>
>> Hi Alex, 
>>
>> Thanks very much for the feedback! 
>>
>> On Thu, May 17, 2012 at 4:54 PM, alex  wrote: 
>> > Hey Brian, 
>> > 
>> > I did try the Mac OS version a couple times. The idea is nice. Not only 
>> > because of "to reduce the number of deps". I think it's good to have 
>> dev 
>> > appserver running in a "clean", separate environment, closer to how it 
>> works 
>> > in production (e.g. I sometimes mess up my python 2.7 and site 
>> packages, 
>> > making them do weird stuff, experimenting). 
>> > 
>> > The reason I'm not using it daily (both with and w/o bundled python) is 
>> that 
>> > I'd have it frozen (the Launcher app) so I had to "forse quit" it from 
>> > Activity Monitor. And it happens too often so, at the end of the day I 
>> find 
>> > myself using SDK *.py scripts directly from the Terminal (which I don't 
>> mind 
>> > actually). 
>> > 
>> > Unfortunately, I can't really provide some deterministic steps to 
>> reproduce 
>> > "freezing" right now. But, I noticed it almost always happend when I 
>> click 
>> > "stop" (to stop the dev appserver). 
>>
>> Did this problem occur with the regular launcher or just the experimental 
>> one? 
>>
>> Cheers, 
>> Brian 
>>
>> > 
>> > -- alex 
>> > 
>> > 
>> > On Thursday, May 17, 2012 6:59:19 AM UTC+2, Brian Quinlan wrote: 
>> >> 
>> >> Hi, 
>> >> 
>> >> Along with the usual components of the App Engine 1.6.5 release, we 
>> >> also released an experimental version of the Mac OS X Launcher that 
>> >> includes a siloed version of Python 2.7 (see 
>> >> https://developers.google.com/appengine/downloads). Our reason for 
>> >> providing this was to reduce the number of dependencies that Mac users 
>> >> needed to download before they have a usable SDK. 
>> >> 
>> >> This experimental launcher was downloaded >500 times but we haven't 
>> >> received any feedback about it. Could anyone who downloaded and try it 
>> >> please respond to this thread saying whether they had any problems or 
>> >> not? 
>> >> 
>> >> The more feedback we get, the better our release will be and your help 
>> >> is really appreciated! 
>> >> 
>> >> Cheers, 
>> >> Brian 
>> > 
>> > -- 
>> > 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/-/bG6kFyDQ_cIJ. 
>> > 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/EE2JDBJ2Dl0J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Google Channel API

2012-05-17 Thread Kareem Hashem
Hello,

I was trying Google Channel API and I was expecting it works pushing like 
but when I open it I found it pulling , any explanation ??

-- 
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/-/cfNRZ4jj6TAJ.
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 Channel API

2012-05-17 Thread alex
If you're talking about local dev environment - that's how it is simulated 
locally. It indeed employes a push mechanism when running on production 
servers.

On Thursday, May 17, 2012 5:01:35 PM UTC+2, Kareem Hashem wrote:
>
> Hello,
>
> I was trying Google Channel API and I was expecting it works pushing like 
> but when I open it I found it pulling , any explanation ??
>

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



[google-appengine] Re: 1.6.6 Pre-release SDKs available

2012-05-17 Thread Stephen Lewis
Hi Marzia

It's not in the release notes, but it looks like you've fixed issue 
7448 (a 
bug in the TimeBasedHRConsistencyPolicy that caused some transactions never 
to be applied). Please pass on my thanks to whoever did this - I'm very 
pleased not to need a local patch any more!

Stephen

On Tuesday, 15 May 2012 19:09:34 UTC+1, Marce (Google) wrote:
>
> Hi,
>
> The pre-release SDKs for 1.6.6 are available. You can download them here:
>
> Python: 
> http://code.google.com/p/googleappengine/downloads/detail?name=google_appengine_1.6.6_prerelease.zip
> Java: 
> http://code.google.com/p/googleappengine/downloads/detail?name=appengine-java-sdk-1.6.6_prerelease.zip
>
> Java Version 1.6.6
> ===
> - On May 8, 2012 we released an experimental Search API.
> 
> http://googleappengine.blogspot.com/2012/05/looking-for-search-find-it-on-google.html
> - App creation for apps using the Master/Slave datastore is now restricted 
> to
>   only those users who already own a Master/Slave app.
> - Apps with billing enabled are now able to configure up to 100 cron jobs.
> - Admin Console can no longer be included in an .  To prevent
>   clickjacking attacks on the Admin Console, we are now setting
>   X-Frame-Options: SAMEORIGIN.  To read more about clickjacking, please 
> read:
>   https://www.owasp.org/index.php/Clickjacking.
> - The datastore now supports embedding entities as properties of other 
> entities.
> - The Admin Console will now periodically prompt administrators to take an
>   optional App Engine satisfaction survey.
> - We have released the full MapReduce framework as experimental.
> - Appstats now contains information about the cost of the RPCs made during 
> the
>   request.
> - The Search API has deprecated AddDocumentResponse class. This may require
>   recompilation of your application.
> - Fixed an issue where large datastore backups were unable to be deleted.
> - Fixed an issue where datastore backups fail due to an ascii decoding 
> issue.
> - Fixed an issue where running a projection query on a multi-valued 
> property
>   with an equality filter did not return any results.
> - Fixed an issue where XG transactions did not work with the Remote API.
> http://code.google.com/p/googleappengine/issues/detail?id=7238
>
> Python Version 1.6.6
> =
> - On May 8, 2012 we released an experimental Search API.
> 
> http://googleappengine.blogspot.com/2012/05/looking-for-search-find-it-on-google.html
> - App creation for apps using the Master/Slave datastore is now restricted 
> to
>   only those users who already own a Master/Slave app.
> - Apps with billing enabled are now able to configure up to 100 cron jobs.
> - Admin Console can no longer be included in an .  To prevent
>   clickjacking attacks on the Admin Console, we are now setting
>   X-Frame-Options: SAMEORIGIN.  To read more about clickjacking, please 
> read:
>   https://www.owasp.org/index.php/Clickjacking.
> - The Admin Console will now periodically prompt administrators to take an
>   optional App Engine satisfaction survey.
> - You can now use the third party PyAMF library with Python 2.7. This is
>   available as an experimental feature.
> - For NDB, Rollback has been added to the default list of flow exceptions.
> http://code.google.com/p/appengine-ndb-experiment/issues/detail?id=179
> - The Search API has deprecated order_id attribute on Document class. It 
> has
>   been replaced with rank.
> - Fixed an issue where large datastore backups were unable to be deleted.
> - Fixed an issue where datastore backups fail due to an ASCII decoding 
> issue.
> - Fixed an issue where the SDK did not import subpackages correctly when 
> using
>   import hooks.
> - Fixed an issue where running a projection query on a multi-valued 
> property
>   with an equality filter did not return any results.
> - Fixed an issue where unicode is not consistently handled in python 
> search API.
> - Fixed an issue where unicode environment variables were dropped in 
> Appstats
>   when using Python 2.7.
> http://code.google.com/p/googleappengine/issues/detail?id=6448
> - Fixed an issue where XG transactions did not work with the Remote API.
> http://code.google.com/p/googleappengine/issues/detail?id=7238
>
> -Marzia
>

-- 
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/-/ox325rbDzNYJ.
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] Application-id lost

2012-05-17 Thread Sebastian Liepe
Hello,
how can i reactive a lost application-id? Is it possible to contact the 
google-support therefor?
It would be greate to check if my lost and known application-id is 
assoiciated in any form to me, with mobile-number or any e-mail-adress. Is 
this possible?

-- 
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/-/T1nGv1x4beoJ.
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: backing up the datastore backups

2012-05-17 Thread Jason Collins
Backup to Google Storage instead of blobstore and then there are tools
to be able to read and write from there.
j

On May 16, 12:54 pm, Sheado  wrote:
> Hi All,
>
> I'm wondering if there's a way to download datastore backups from the
> blobstore then be able to re-upload them and restore via the uploaded
> files.
> Currently, I only see a way to backup and restore what automatically shows
> up in the Datastore Admin page.
>
> Thanks!
> -Chad

-- 
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: backing up the datastore backups

2012-05-17 Thread Jason Collins
Oh - though that won't make things "disappear and reappear" in the
Datastore Admin screen. The Datastore Admin screen doesn't inspect
Google Storage to determine what backups it has (though I think it
should).

j

On May 17, 3:40 pm, Jason Collins  wrote:
> Backup to Google Storage instead of blobstore and then there are tools
> to be able to read and write from there.
> j
>
> On May 16, 12:54 pm, Sheado  wrote:
>
>
>
>
>
>
>
> > Hi All,
>
> > I'm wondering if there's a way to download datastore backups from the
> > blobstore then be able to re-upload them and restore via the uploaded
> > files.
> > Currently, I only see a way to backup and restore what automatically shows
> > up in the Datastore Admin page.
>
> > Thanks!
> > -Chad

-- 
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] Unexplained traffic loss

2012-05-17 Thread Nathan Skone
We have over 300 machines distributed across the US calling an API once a 
minute, which means we should always have a base level of traffic of at 
least 5 or 6 requests per second.  However, today we are seeing pits in our 
requests per second graph that show the traffic dropping to zero, then 
spiking directly afterward.  We have not deployed any new code recently, or 
otherwise touched our application in any way.

This traffic pattern has doubled our costs compared to a normal day. A 
screenshot is attached.

Thanks,
Nathan Skone

-- 
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/-/NBgU5Omj9hQJ.
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: Large latency spike, need assistance

2012-05-17 Thread Nathan Skone
I am still waiting for a explanation of this problem.  I have a bug report 
open here , 
and i...@google.com responded six days ago claiming they would look into 
the issue.  However, we have heard nothing since then.  Meanwhile, we have 
run into other unexplained reliability issues explained 
here
.

Is anyone else experiencing the same low level of reliability we are? Also, 
does anyone have any advice on how to get technical support from Google 
when experiencing connectivity issues?  I am aware of the premium support 
plan, but the price is excessive for us compared to our regular Google App 
Engine bill.

Thank you,
Nathan Skone



On Wednesday, April 25, 2012 10:43:51 AM UTC-7, Nathan Skone wrote:
>
> Application: hs-hbo
> Datastore: High Replication
> Normal latencies: 50ms-200ms
> Today's latencies: 5000ms-1ms
> Idle Instances: ( Automatic – Automatic )
> Pending Latency: ( Automatic – Automatic )
>
> Dear Appengine Team,
>
> This morning the latency of my application saw a sudden spike that has 
> made it unusable for my company's purposes. How can I get assistance with 
> this problem? This is an urgent issue that is directly effecting our 
> customers.
>
> Thank you,
> Nathan Skone
> DYMO / Mimio - A Newell Rubbermaid Company
>

-- 
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/-/ADeEDgDfdUIJ.
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] Unexplained traffic loss

2012-05-17 Thread Brandon Wirtz
If you had network issues between locations, your traffic could be less
evenly distributed, and would as a result make your app "peakier".

Set your max pending latency higher and your cost won't fluctuate when
network latency changes the instantaneous request rate.

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Nathan Skone
Sent: Thursday, May 17, 2012 2:52 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Unexplained traffic loss

 

We have over 300 machines distributed across the US calling an API once a
minute, which means we should always have a base level of traffic of at
least 5 or 6 requests per second.  However, today we are seeing pits in our
requests per second graph that show the traffic dropping to zero, then
spiking directly afterward.  We have not deployed any new code recently, or
otherwise touched our application in any way.

 

This traffic pattern has doubled our costs compared to a normal day. A
screenshot is attached.

 

Thanks,

Nathan Skone

-- 
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/-/NBgU5Omj9hQJ.
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] Unexplained traffic loss

2012-05-17 Thread Nathan Skone
Brandon,

I do not believe this is a network issue, since each of the 300+ clients 
connects from different networks across the US, with a few overseas. These 
peaks seem to be caused by the Google App Engine itself.

Thanks,
Nathan

On Thursday, May 17, 2012 3:34:58 PM UTC-7, Brandon Wirtz wrote:
>
> If you had network issues between locations, your traffic could be less 
> evenly distributed, and would as a result make your app “peakier”.
>
> Set your max pending latency higher and your cost won’t fluctuate when 
> network latency changes the instantaneous request rate.
>
>  
>
>  
>
> *From:* google-appengine@googlegroups.com [mailto:
> google-appengine@googlegroups.com] *On Behalf Of *Nathan Skone
> *Sent:* Thursday, May 17, 2012 2:52 PM
> *To:* google-appengine@googlegroups.com
> *Subject:* [google-appengine] Unexplained traffic loss
>
>  
>
> We have over 300 machines distributed across the US calling an API once a 
> minute, which means we should always have a base level of traffic of at 
> least 5 or 6 requests per second.  However, today we are seeing pits in our 
> requests per second graph that show the traffic dropping to zero, then 
> spiking directly afterward.  We have not deployed any new code recently, or 
> otherwise touched our application in any way.
>
>  
>
> This traffic pattern has doubled our costs compared to a normal day. A 
> screenshot is attached.
>
>  
>
> Thanks,
>
> Nathan Skone
>
> -- 
> 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/-/NBgU5Omj9hQJ.
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Eib5EbP7qdMJ.
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] Unexplained traffic loss

2012-05-17 Thread Jesse
We are seeing the same thing.




On Thursday, May 17, 2012 6:19:16 PM UTC-5, Nathan Skone wrote:
>
> Brandon,
>
> I do not believe this is a network issue, since each of the 300+ clients 
> connects from different networks across the US, with a few overseas. These 
> peaks seem to be caused by the Google App Engine itself.
>
> Thanks,
> Nathan
>
> On Thursday, May 17, 2012 3:34:58 PM UTC-7, Brandon Wirtz wrote:
>>
>> If you had network issues between locations, your traffic could be less 
>> evenly distributed, and would as a result make your app “peakier”.
>>
>> Set your max pending latency higher and your cost won’t fluctuate when 
>> network latency changes the instantaneous request rate.
>>
>>  
>>
>>  
>>
>> *From:* google-appengine@googlegroups.com [mailto:
>> google-appengine@googlegroups.com] *On Behalf Of *Nathan Skone
>> *Sent:* Thursday, May 17, 2012 2:52 PM
>> *To:* google-appengine@googlegroups.com
>> *Subject:* [google-appengine] Unexplained traffic loss
>>
>>  
>>
>> We have over 300 machines distributed across the US calling an API once a 
>> minute, which means we should always have a base level of traffic of at 
>> least 5 or 6 requests per second.  However, today we are seeing pits in our 
>> requests per second graph that show the traffic dropping to zero, then 
>> spiking directly afterward.  We have not deployed any new code recently, or 
>> otherwise touched our application in any way.
>>
>>  
>>
>> This traffic pattern has doubled our costs compared to a normal day. A 
>> screenshot is attached.
>>
>>  
>>
>> Thanks,
>>
>> Nathan Skone
>>
>> -- 
>> 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/-/NBgU5Omj9hQJ.
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/PNkshkmyvn0J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Eclipse and google app engine

2012-05-17 Thread Jesper Nyqvist
I have installed Eclipse 3.7 together with Google Plugin for Eclipse. I 
have followed all the instructions on how to make this on Google Developers 
pages.
When i make a new project i follow the instructions at Google Developers 
pages. When i try to run the web application i do like this;

Debug as - web applications

i get this message in the console window;

2012-05-18 10:50:04.995 java[1461:407] [Java CocoaComponent compatibility 
mode]: Enabled

2012-05-18 10:50:05.021 java[1461:407] [Java CocoaComponent compatibility 
mode]: Setting timeout for SWT to 0.10

Usage:  [options] 


Options:

 --help, -h Show this help message and exit.

 --server=SERVERThe server to use to determine the latest

  -s SERVER   SDK version.

 --address=ADDRESS  The address of the interface on the local 
machine

  -a ADDRESS  to bind to (or 0.0.0.0 for all interfaces).

 --port=PORTThe port number to bind to on the local machine.

  -p PORT

 --sdk_root=rootOverrides where the SDK is located.

 --disable_update_check Disable the check for newer SDK versions.

 --generated_dir=dirSet the directory where generated files are 
created.


Is there anybody out there who can help me and tell me what i am doing 
wrong here? http://localhost:/ do not start and i cannot go 
further because of this message.

What have i done wrong here, or are there something wrong in my system 
since this do not work, or what is wrong here with Eclipse, Google Plugin 
for Eclipse?

-- 
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/-/k_dnH2J9fXkJ.
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] SEARCH API: Problem in Adding Documents To An Index

2012-05-17 Thread Ananthakrishnan Venkatasubramanian
Hi,

I have been using Search API for my application so far successfully. I was 
able to add documents to index successfully yesterday.

But when I tried to execute the same today, it gave me this exception.

*Exception:*

Caused by: java.lang.NoSuchMethodError: 
com.google.appengine.api.search.Index.add(Ljava/lang/Iterable;)Lcom/google/appengine/api/search/AddDocumentsResponse;


I am trying to add only one document to an index and that its not working.

Please give me the solution to solve this problem.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/wsrGcSVLNukJ.
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: SEARCH API: Problem in Adding Documents To An Index

2012-05-17 Thread Jeff Dutton
I'm seeing this as well.  It seems to have started for me at 2012-05-17 
16:28:25.705 EST.

On Thursday, May 17, 2012 11:51:33 PM UTC-4, Ananthakrishnan 
Venkatasubramanian wrote:
>
> Hi,
>
> I have been using Search API for my application so far successfully. I was 
> able to add documents to index successfully yesterday.
>
> But when I tried to execute the same today, it gave me this exception.
>
> *Exception:*
>
> Caused by: java.lang.NoSuchMethodError: 
> com.google.appengine.api.search.Index.add(Ljava/lang/Iterable;)Lcom/google/appengine/api/search/AddDocumentsResponse;
>
>
> I am trying to add only one document to an index and that its not working.
>
> Please give me the solution to solve this problem.
>
> Thanks.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/fYnrxQusQXsJ.
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] Can't send attachment to Admin Email

2012-05-17 Thread Larry
Hi All,
 I fail to send email to *admins *of app.
 Here is my code 

 MailService mailService = MailServiceFactory.getMailService();
 Message message = new Message();
 message.setSender("x...@gmail.com");
 message.setSubject("This is test");
 message.setHtmlBody("this is content");
 Attachment attachment = new Attachment("test.pdf", blob.getBytes()); 
// blob size = 488k
 message.setAttachments(attachment);
 mailService.*sendToAdmins*(message);

 In the Logs of Administration Console, a warning:
Bad Request: Admin message exceeds size limits

   here is the detail quota:
MailMail API Calls
[image: 0%]
0%0 of 7,000OkayRecipients Emailed
[image: 0%]
0%0 of 100OkayAdmins Emailed
[image: 0%]
0%0 of 5,000OkayMessage Body Data Sent
[image: 0%]
0%0.00 of 0.06 GBytesOkayAttachments Sent
[image: 0%]
0%*0.00 of 0.00 GBytes*OkayAttachment Data Sent
[image: 0%]
0%0.00 of 0.10 GBytesOkay
 Is it problem of  "Attachments Sent"? It should be 2,000 attachments.
 Anybody can help me? Thank.


-- 
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/-/_t1LgABITn0J.
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] EMERGENCY: Entity serialization broke yesterday

2012-05-17 Thread Jeff Schnitzer
Sorry, it took a while to get confirmation back from the users.  All
report that the issue has gone away.

Thanks,
Jeff

On Wed, May 16, 2012 at 11:40 AM, Chris Ramsdale  wrote:
> Hey Jeff,
>
> A quick update here: we've discovered an issue with an update that we
> recently made regarding the structure of embedded entities.  This update has
> been rolled back as of 11am PST today (05/16).  Can you confirm that
> Objectify users are no longer seeing issues?
>
> -- Chris
>
>
> On Wed, May 16, 2012 at 10:15 AM, Chris Ramsdale 
> wrote:
>>
>> Hey Jeff,
>>
>> We're looking into this and will follow-up as soon as we have more info.
>>
>> -- Chris
>>
>>
>> On Wed, May 16, 2012 at 9:57 AM, Jeff Schnitzer 
>> wrote:
>>>
>>> A lot of Objectify users are reporting an NPE with a stack trace that
>>> looks like this:
>>>
>>> java.lang.NullPointerException
>>>        at
>>> com.google.appengine.api.datastore.PropertyContainer.getProperties(PropertyContainer.java:48)
>>>        at com.googlecode.objectify.impl.Transmog.load(Transmog.java:336)
>>>        ...more lines that don't matter
>>>
>>> This is caused by a call to Entity.getProperties() on an Entity object
>>> that was deserialized from memcache.  Did something break in Entity
>>> serialization?  This class PropertyContainer does not exist in the
>>> published gae-java-sdk source.
>>>
>>> The temporary fix is to disable @Cached... but this obviously a major
>>> problem and a lot of applications are suffering right now.  Please
>>> help.
>>>
>>> Jeff
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine?hl=en.
>>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

-- 
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: SEARCH API: Problem in Adding Documents To An Index

2012-05-17 Thread Ananthakrishnan Venkatasubramanian
Hi,

When will this issue be fixed and ready to use.

Waiting for the reply.

Thanks.


On Friday, May 18, 2012 9:42:35 AM UTC+5:30, Jeff Dutton wrote:
>
> I'm seeing this as well.  It seems to have started for me at 2012-05-17 
> 16:28:25.705 EST.
>
> On Thursday, May 17, 2012 11:51:33 PM UTC-4, Ananthakrishnan 
> Venkatasubramanian wrote:
>>
>> Hi,
>>
>> I have been using Search API for my application so far successfully. I 
>> was able to add documents to index successfully yesterday.
>>
>> But when I tried to execute the same today, it gave me this exception.
>>
>> *Exception:*
>>
>> Caused by: java.lang.NoSuchMethodError: 
>> com.google.appengine.api.search.Index.add(Ljava/lang/Iterable;)Lcom/google/appengine/api/search/AddDocumentsResponse;
>>
>>
>> I am trying to add only one document to an index and that its not working.
>>
>> Please give me the solution to solve this problem.
>>
>> Thanks.
>>
>>

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