Re: [google-appengine] use O auth 2.0 in gspread library ?

2013-11-01 Thread Vinny P
On Fri, Nov 1, 2013 at 2:37 AM, Vijay Kumbhani  wrote:

> gspread library : https://github.com/burnash/gspread
>
> give me one example
>
>

The *gspread* library does not directly handle OAuth, see the open pull
request at https://github.com/burnash/gspread/pull/75 . The library expects
that the hosting application will handle login, and then pass in an access
token for the library to use to sign requests.

You can get an access token by following this guide:
https://developers.google.com/api-client-library/python/guide/aaa_oauth and
then passing it to *gspread*.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir
Fortunately my data is restored by cancelling removing my compute engine 
project.
Thanks Brian!


On Saturday, November 2, 2013 3:03:27 AM UTC+8, Brian Dorsey wrote:

> Hello Tapir,
>
> I responded via gs-team. Let's continue this conversation there, so I can 
> help with your specific project ids. 
>
> Take care,
> -Brian
>
>
> On Fri, Nov 1, 2013 at 11:12 AM, Tapir >wrote:
>
>>
>>
>> On Saturday, November 2, 2013 1:06:40 AM UTC+8, Brian Dorsey wrote:
>>
>>>
>>>
>>> On Friday, November 1, 2013 2:49:13 AM UTC-7, Tapir wrote:



 On Friday, November 1, 2013 5:14:50 PM UTC+8, Amy Unruh wrote:
>
> Tapir,
>
> The cloud console lists not only your app engine apps, but all your 
> Cloud projects, including projects where you'd enabled Compute Engine or 
> other cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
> So that is why I suggested you just go systematically through that 
> listing and see if you can find your bucket. (I understand that the 
> appengine-only entries will not have Cloud Storage enabled).
>
> A Cloud project can have multiple services enabled.  So, you could 
> have enabled Cloud Storage in the *same* project where you'd enabled 
> Compute Engine. (And, if you delete such a project, you're deleting not 
> just your compute engine setup, but your setup for all the services you'd 
> enabled in that project).
>
> Because you'd set things up a while ago, before app engine apps became 
> integrated with cloud projects, I suspect that you set up a Cloud Storage 
> bucket in one of your other cloud projects, then gave your app engine app 
> permission to connect with it by adding its service account to the 'team' 
> information in the project.  From the error you're getting, I suspect 
> this 
> may have been one of your Compute Engine-enabled projects, that you've 
> now 
> deleted.
>

 I can confirm:
 1. I have never connected Cloud Storage with any compute engine type 
 projects. I only ever connected it to one my app engine style project. 
 (100% for sure)
 2. before yesterday, the app engine project run well, which means the 
 Cloud Storage connects with the app engine project for sure.

>>>
>>> Tapir, 
>>>
>>> I suspect that Amy's analysis is correct here. In regards to #1, there 
>>> isn't a manual step to connect Cloud Storage with Compute Engine. App 
>>> Engine projects are separate from the rest of the APIs for historical 
>>> reasons, but all other cloud APIs can be activated on a single project. 
>>>
>>> Since this worked recently, and you also recently deleted a project with 
>>> Compute Engine enabled, it is very likely that this project also had your 
>>> active Cloud Storage buckets as well.
>>>
>>> Please visit: 
>>> https://cloud.google.**com/console#/project
>>> This will give you a list of all of the projects you have access to. 
>>>
>>> Are any of them labeled "pending deletion" in red? If so, please check 
>>> the box next to that project and click the "Undo Deletion" button. 
>>>
>>> If none are labeled "pending deletion", please follow Amy's advice from 
>>> above and check each project to find out which project has your "
>>> designfiles.phyard.com" bucket. You can do that by clicking on a 
>>> project name, clicking "Cloud Storage" (from the left-side list) and 
>>> looking at the list of buckets displayed. 
>>>
>>> Once you find the project with your bucket, you may need to re-enable 
>>> billing. To do that, click "Billing" (from the left-side list), and click 
>>> "Enable Billing".
>>>
>>> If this doesn't work for you, please email gs-...@google.com and I will 
>>> help you via our support system.
>>>
>>> Take care,
>>> -Brian
>>>
>>> Hi Brian,
>>
>> thanks for your guilds.
>>
>> No "pending deletion" projects listed now. When I removed a compute 
>> engine project, it disappeared right now, even the app engine app connected 
>> with the compute engine project are also disappeared right now.
>>
>> And I can't find my buckets now, in any project. I have already enabled 
>> billing for the Cloud Storage last year. The app engine app (phyard.com) 
>> connected with Cloud Storage is also billing enabled for a long time.
>>
>> I have emailed to gs-...@google.com  and 
>> gc-...@google.com , 
>> but not get response yet.
>>
>>  -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/YxsTLbi55JI/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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://group

Re: [google-appengine] Is there 3-4 second differences between instance clocks?

2013-11-01 Thread Vinny P
On Fri, Nov 1, 2013 at 9:44 PM, Kaan Soral  wrote:

> I've been seeing the errors pop up, but it's always between datetime's
> that differ only by 2-3 seconds
> Than I remembered a *really* old discussion about instance time
> differences and it seems that the cause of these 2-3 second differences is
> instance time differences. Could this be the case?
>


Yes.

Instance clocks are not guaranteed to be accurate - there is always some
skew, especially for large applications which span many instances ( in the
physical sense, span multiple machines which may have some clock drift ).
It's rarely mentioned though, since few applications need that accurate of
a clock.


On Fri, Nov 1, 2013 at 9:44 PM, Kaan Soral  wrote:

> I'm thinking of logging an error only-if the difference is >some_seconds,
> however unsure how many seconds that should be, is there an upper limit to
> this time difference, if it exists?
>
>

When App Engine was still in beta, I personally noted clock skews exceeding
30 seconds, sometimes close to a minute. With that said, instance clocks
seem to be synchronized to a much closer standard nowadays. If I had to
suggest an upper limit for you, I would go with around 10-15 seconds. Note
that I'm not claiming this to be a hard and fast number - it's my rough
approximation. Feel free to ignore it or go with a lower number.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] Not able to access an excel file saved in BlobStore

2013-11-01 Thread Vinny P
On Tue, Oct 29, 2013 at 2:17 AM, anuja bothra  wrote:

> My serve method :
>
> public class Serve extends HttpServlet {
>
> public void doGet(HttpServletRequest req, HttpServletResponse res)
>
> throws IOException {
>
> BlobKey blobKey = new BlobKey(req.getParameter("blob-key"));
>
> blobstoreService.serve(blobKey, res);   }}
>
> I get the following error : *(Error: Not Found **The requested URL **
> /upload-success?blob-key=A*
>
>
>


How are you mapping your handlers? It looks like your Serve class should be
mapped to the path */serve*, yet you're calling the */upload-success* path
to download the file. Are you sure you're invoking the Serve servlet? If
you call */serve* and pass in a blobkey, does it work?

Also, look in your logs. Do you see any errors listed there?


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] Python urlfetch suddenly stopped working

2013-11-01 Thread Vinny P
On Fri, Nov 1, 2013 at 4:15 PM,  wrote:

> I seem to recall that there is a proxy between appengine instances and the
> internet, and I'm wondering if this has problems.
>
>

There is a caching layer, but it usually doesn't cause this type of
problem. It's worth ruling it out though.

You can force urlfetches to avoid pulling from cache by setting the
appropriate fetch settings. This varies by language; for instance in Java
you can call URLConnection.setDefaultUseCaches and
URLConnection.setUseCaches to false.


On Fri, Nov 1, 2013 at 4:15 PM,  wrote:

> This is always trying to fetch data from my server.
>


Does your other server have any CDNs or proxies in front of it? They may be
dropping the incoming connections.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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: Is GAE the right choice for e-commerce?

2013-11-01 Thread Mike Knapp
Hi Umesh

We use Adyen to process our payments. However there are many solution 
providers on the market you could use, e.g. Stripe or Braintree.

Mike :) 

On Saturday, November 2, 2013 11:02:59 AM UTC+11, Kaan Soral wrote:
>
> What do you mean by that question - are you looking for payment solutions?
>
> By the way, unrelated, I had the youtube success story bookmarked, 
> stumbled upon it not so long ago, envied the result a lot :)
> I'm also struggling acquiring an initial user-base, reached out to 1-2 
> tumblr celebrities without any luck, might take this bump as a sign and 
> reach out to some youtube celebrities too :)
>
> On Wednesday, October 30, 2013 5:50:50 AM UTC+2, Umesh Veerasingam wrote:
>>
>> Hi Mike,
>>
>> Do you have any documentation/API (links) about the visa/credit card 
>> payment option on your site(Shoes of Prey)?
>>
>> Thanks.
>>
>> On Monday, February 1, 2010 7:19:04 AM UTC-6, Mike wrote:
>>>
>>> Hi NG
>>>
>>> We are running our business on AppEngine. (Search "Shoes of Prey" on
>>> Google to find us.)
>>>
>>> So far, it is going really well. AppEngine is a delight to develop on,
>>> and you can't argue with the cost. (I've only been charged $0.01 so
>>> far. Although, as I've posted in another thread, the small charge by
>>> itself was problematic for me.) :)
>>>
>>> I had to write the entire ecommerce platform from scratch - which
>>> suited me given the very custom nature of our business - however you
>>> may not be as keen as me. It really depends on your business.
>>>
>>> We choose AppEngine primarily because a) 2 of us used to work at
>>> Google, and we love AppEngine b) if we start serving a lot of traffic/
>>> bandwidth we want something scalable. As I said earlier as well, the
>>> API is really nice and makes developing a breeze.
>>>
>>> The only thing I wish AppEngine had was HTTPS support for custom
>>> domains, and I'm hopeful that one day it will be supported. There are
>>> workarounds too. Once AppEngine has HTTPS support and a few open-
>>> source ecommerce software packages, it will be a really great platform
>>> I would think.
>>>
>>> Good luck.
>>>
>>> Mike
>>>
>>> On Jan 31, 4:31 pm, decuman  wrote:
>>> > Hello,
>>> >
>>> > At the moment I'm thinking of building a small/medium online selling
>>> > business and before investing more of my time (and money) into GAE
>>> > based development it would be just great to know some experienced
>>> > users and expert thoughts and opinions on it.
>>> >
>>> > As far as I can see (after reading related books, articles and message
>>> > group threads) GAE is just a perfect solution for prototyping and
>>> > building a social networking applications (Blogs, Chats, Galleries,
>>> > Message boards etc.) which requires tracking a lot of users and
>>> > storing data... which is great. But there is quite a few (literally
>>> > none) of nice business/e-commerce applications with decent product
>>> > galleries, shopping carts and checkout functionality and payment
>>> > service integration. Also there are lots of complains and negative
>>> > responses pointing to big GAE functional limitations (which are not
>>> > going to improve soon or ever) and overall practicability of using it
>>> > as a reliable e-commerce platform. In particular (PayPal, Google
>>> > Checkout integration)
>>> >
>>> > It wasn't a very deep and thoughtful investigation but the outlined
>>> > above is just my personal subjective feeling so far. I would really
>>> > love to know the opinion and thoughts on this matter from GAE experts.
>>> > Shell I move forward with Google App Engine development or it would be
>>> > move wise to consider some other solution?
>>> >
>>> > Thanks in advance!
>>> > NG
>>>
>>>

-- 
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] Error Message After Creating Accounts

2013-11-01 Thread Vinny P
On Tue, Oct 29, 2013 at 2:15 PM, G. A. Dietrich 
 wrote:

> I just created 16 new accounts and put them in a sub organization for my
> domain. When I click on one of the new users I get the error:
>
> We are unable to process your request at this time. Please try again
> later. (Error #1000)
>
> I logged out and tried to login to one of the new accounts with the
> temporary password given but Google doesn't recognize it. Any advice on
> getting this fixed?
>
>

Hello,

This isn't a general Google Apps mailing list; it's focused on App Engine
users. You may find more help at the official Google Apps help forum here:
http://productforums.google.com/forum/#!forum/apps

With that said, I would try using Incognito mode (or equivalent mode)
within your browser and reattempt to login to your newly-made account. If
that fails, try going to a completely different network and then retrying
the login; when I say go to a different network, I mean you should go to
someplace that has free public wifi, such as Starbucks, B&N, etc, and then
attempt to login.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] Not authorized to access instance: [my app id]appspot.com:[my sql instance]

2013-11-01 Thread Vinny P
On Sat, Oct 26, 2013 at 1:16 PM, jeff schulz  wrote:

> all of a sudden my app cant access my cloud database.
>
> *Not authorized to access instance: [my app id]appspot.com:[my sql instance]*
>
> instance settings for authorized applications is correct.
>
> correct application identifier is in my appeninge-web.xml.
>
>

Is there a specific SQL exception name and stack trace attached to that
error, and if so can you post them? Is it a generic SQLException or a more
specific authorization exception such as SQLWarning,
SQLNonTransientConnectionException, or SQLInvalidAuthorizationSpecException?



-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] how to handle this kind of exception?

2013-11-01 Thread Vinny P
On Mon, Oct 28, 2013 at 7:18 PM, hansyin  wrote:

> 1. how can I catch and ignore this error, then app can skip the problem
> url and keep working with all other urls? right now the app just stopped
> 2. similar as 1, how can I catch it and then try it again, let's say try 3
> times and then skip to next url
>
>

Well, one option is to surround the code within the *for* loop with a
try/except clause and handle errors appropriately.

The better option would be to use task queues. Have the *for* loop spawn
off tasks, one task per URL to access. Let the tasks handle actually
retrieving the URL. The best part is that task queues can be configured to
automatically retry if they fail - for instance, if the URL being accessed
times out:
https://developers.google.com/appengine/docs/python/config/queue#Python_Configuring_retry_attempts_for_failed_tasks


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] Socket for UDP works in development server, fails deployed

2013-11-01 Thread Vinny P
On Tue, Oct 29, 2013 at 11:40 AM, Andrea Minari  wrote:

> W 2013-10-29 16:36:50.629 com.cb.util.metric.GaeMetric commit: failed to
> commit metric  in 40226 error:
> com.google.apphosting.api.DeadlineExceededException: This request
> (b07775a3893d6656) started at 2013/10/29 16:35:51.219 UTC and was still
> executing at 2013/10/29 16:36:50.627 UTC.
>
> Anything else I can provide to help you check where the issue is?
>
>

This exception isn't the fault of the socket - DeadlineExceededException
means that the code took longer than 60 seconds to execute, and so App
Engine shut down the request. Run the code within a task queue or cron
spawned request ( which allows requests to run for 10 minutes ) and see if
the UDP request completes.

With that said, it is odd that the code is taking so long to execute. For
testing purposes, try using differing sizes of packets.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] Is there 3-4 second differences between instance clocks?

2013-11-01 Thread Kaan Soral
I have a caching logic for datastore entities, the cache was invalidating 
elements when changes are applied to the entity
The logic was
if change_time>cache_item_created: delete cache_item
It also checks whether the cache_item has been applied before and logs an 
error if it does

I've been seeing the errors pop up, but it's always between datetime's that 
differ only by 2-3 seconds

Than I remembered a *really* old discussion about instance time differences 
and it seems that the cause of these 2-3 second differences is instance 
time differences

Could this be the case?

I'm thinking of logging an error only-if the difference is >some_seconds, 
however unsure how many seconds that should be, is there an upper limit to 
this time difference, if it exists?

-- 
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] dev server global scope

2013-11-01 Thread Vinny P
On Sun, Oct 27, 2013 at 5:09 AM, Quint van den Muijsenberg <
muijsenbe...@gmail.com> wrote:

> Does the dev server cache the global python cache? Just like the
> production GAE does?
> I'm under the impression that it doesn't.
>
>

Yes, the dev server does store global python variables. However the dev
server is also constantly reloading your application when it detects file
changes, so it may look like global variables are being reset.

If these variables are important, you may want to persist them in the
development datastore which is unaffected by application reloads.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] UDP Socket send timeout

2013-11-01 Thread Vinny P
On Wed, Oct 30, 2013 at 1:28 PM,  wrote:

> I'm trying to send a UDP packet using DatagramSocket in my GAE app in
> Java. But I always get a timeout error during the send operation. I try
> different IPs and ports, even 8.8.8.8 port 53 doesn't work. Though the code
> works fine from my local machine.
> My application is paid, quotas are ok (and I can successfully use sockets
> for TCP)
> Has anybody a clue if UDP sockets are working at all? Because it seems
> they don't.
>
>

Are you getting a timeout error from the datagram socket ( i.e.
java.net.SocketTimeoutException ) or a timeout from exceeding the App
Engine request timer?

Can you post the stack trace you're getting?


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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] Deprecation of File Blobs in favor of Google Cloud Storage

2013-11-01 Thread Barry Hunter
From
https://developers.google.com/appengine/docs/python/googlecloudstorageclient/#Python_Using_GCS_client_library_with_the_development_app_server

*> You can use the client library with the development server from SDK
version 1.8.1 and greater. This provides GCS emulation using the local disk.
*




On 31 October 2013 23:37, Michael Nischt  wrote:

> I just read that problematically creating blobs is deprecated in favor of
> Google Clould Storage (
> https://developers.google.com/appengine/docs/go/blobstore/#Go_Writing_files_to_the_Blobstore
>  ).
>
> For me the best thing about GAE is that you can develop completely locally
> (*offline*). However, as far as I know the is no offline integration in
> GAE for the Google Cloud Service. So you cannot work in an isolated
> developer environment (offline).* Am I right?*
>
> Unfortunately, for us that means GAE no longer meets our requirements.
> This would be a pity since otherwise we think Google AppEngine (for Go) is
> great.
>
> Please let me know as soon as possible if there be solution to this or you
> have any suggestions which might prevent us from switching.
>
> Best,
>  Michael
>
> --
> 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.
>

-- 
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] Do free quotas expire? (i.e. is it same as AWS 1 year free tiers)

2013-11-01 Thread Barry Hunter
If you stay within the free quotes - you can continue indefinitely. They
are not time limited.

Very occasionally they change the limits,  so an application thats free
today, might not be under tomorrows new quota's, but overall it doesnt
happen very often.


There are a few are 'trials', but they are explicitly noted as such (such
as the demo to try out cloud-sql). There are also some 'experimental'
features, that are free while the feature is still being built, and will
become 'paid' when/if launch for real (eg page-speed-service). But again
these specific features will be marked as such in the documentation.



On 1 November 2013 06:14, JScoobyCed  wrote:

> My company uses AWS and there is the free hosting for 1 year (12 months of
> free "server" and then have to pay).
> Are any of the free quotas in Google AppEngine hosting limited in time?
> I am not asking for the quotas themselves (I read the details on Google
> AppEngine page and I can see the 1GB data, daily limits etc..).
>
> What I am asking is that can I use the free quotas forever as long as my
> usage is below quota or at some point (1 month, 1 year, 2 years..?) I will
> have too pay even if I don't exceed free quota usage?
>
> --
> 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.
>

-- 
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: Is GAE the right choice for e-commerce?

2013-11-01 Thread Kaan Soral
What do you mean by that question - are you looking for payment solutions?

By the way, unrelated, I had the youtube success story bookmarked, stumbled 
upon it not so long ago, envied the result a lot :)
I'm also struggling acquiring an initial user-base, reached out to 1-2 
tumblr celebrities without any luck, might take this bump as a sign and 
reach out to some youtube celebrities too :)

On Wednesday, October 30, 2013 5:50:50 AM UTC+2, Umesh Veerasingam wrote:
>
> Hi Mike,
>
> Do you have any documentation/API (links) about the visa/credit card 
> payment option on your site(Shoes of Prey)?
>
> Thanks.
>
> On Monday, February 1, 2010 7:19:04 AM UTC-6, Mike wrote:
>>
>> Hi NG
>>
>> We are running our business on AppEngine. (Search "Shoes of Prey" on
>> Google to find us.)
>>
>> So far, it is going really well. AppEngine is a delight to develop on,
>> and you can't argue with the cost. (I've only been charged $0.01 so
>> far. Although, as I've posted in another thread, the small charge by
>> itself was problematic for me.) :)
>>
>> I had to write the entire ecommerce platform from scratch - which
>> suited me given the very custom nature of our business - however you
>> may not be as keen as me. It really depends on your business.
>>
>> We choose AppEngine primarily because a) 2 of us used to work at
>> Google, and we love AppEngine b) if we start serving a lot of traffic/
>> bandwidth we want something scalable. As I said earlier as well, the
>> API is really nice and makes developing a breeze.
>>
>> The only thing I wish AppEngine had was HTTPS support for custom
>> domains, and I'm hopeful that one day it will be supported. There are
>> workarounds too. Once AppEngine has HTTPS support and a few open-
>> source ecommerce software packages, it will be a really great platform
>> I would think.
>>
>> Good luck.
>>
>> Mike
>>
>> On Jan 31, 4:31 pm, decuman  wrote:
>> > Hello,
>> >
>> > At the moment I'm thinking of building a small/medium online selling
>> > business and before investing more of my time (and money) into GAE
>> > based development it would be just great to know some experienced
>> > users and expert thoughts and opinions on it.
>> >
>> > As far as I can see (after reading related books, articles and message
>> > group threads) GAE is just a perfect solution for prototyping and
>> > building a social networking applications (Blogs, Chats, Galleries,
>> > Message boards etc.) which requires tracking a lot of users and
>> > storing data... which is great. But there is quite a few (literally
>> > none) of nice business/e-commerce applications with decent product
>> > galleries, shopping carts and checkout functionality and payment
>> > service integration. Also there are lots of complains and negative
>> > responses pointing to big GAE functional limitations (which are not
>> > going to improve soon or ever) and overall practicability of using it
>> > as a reliable e-commerce platform. In particular (PayPal, Google
>> > Checkout integration)
>> >
>> > It wasn't a very deep and thoughtful investigation but the outlined
>> > above is just my personal subjective feeling so far. I would really
>> > love to know the opinion and thoughts on this matter from GAE experts.
>> > Shell I move forward with Google App Engine development or it would be
>> > move wise to consider some other solution?
>> >
>> > Thanks in advance!
>> > NG
>>
>>

-- 
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] UDP Socket send timeout

2013-11-01 Thread admin
Hi everyone,

I'm trying to send a UDP packet using DatagramSocket in my GAE app in Java. 
But I always get a timeout error during the send operation. I try different 
IPs and ports, even 8.8.8.8 port 53 doesn't work. Though the code works 
fine from my local machine.
And the code is very simple:

private void sendUdp(String server, int port, String msg) throws IOException
{
InetAddress addr= InetAddress.getByName(server);
DatagramSocket socket= new DatagramSocket();
socket.connect(addr, port);
byte[] queryBuf = msg.getBytes();
DatagramPacket queryPacket = new DatagramPacket(queryBuf, queryBuf.length, 
addr, port);
socket.send(queryPacket); // HERE'S A TIMEOUT ERROR
socket.close();
}

My application is paid, quotas are ok (and I can successfully use sockets 
for TCP)

Has anybody a clue if UDP sockets are working at all? Because it seems they 
don't.

Thanks,
Max

-- 
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: Python WebScraping app

2013-11-01 Thread Praveen kumar s


On Wednesday, 2 July 2008 06:37:53 UTC+5:30, luismgz wrote:
>
> I also use BeautifulSoup and it works great. 
> This is a little sample (modified from the BeautifulSoup's site) to 
> scrap data from a site and email the results: 
>
> class soup(app.page): 
> def GET(self): 
> web.header('Content-Type', 'text/html') 
> from google.appengine.api import urlfetch 
> from BeautifulSoup import BeautifulSoup 
> from google.appengine.api import mail 
>
> page = urlfetch.fetch("http://www.icc-ccs.org/prc/ 
> piracyreport.php ") 
> soup = BeautifulSoup(page.content) 
> s = [] 
> for incident in soup('td', width="90%"): 
> where, linebreak, what = incident.contents[:3] 
> s.append(where.strip()) 
> s.append(what.strip()) 
> res = ''.join(s) 
>
> mail.send_mail( 
> sender="j...@gmail.com ", 
> to="Joe >", 
> subject="Latest piracy incidents report", 
> body= '\n'.join(s), 
> html= res 
> ) 
> return res 
>
>
sir can u plz help me i am  a student dng my project web scrapping it 
exactly looks like ur code,,so I need to code it plz do help me sir,,,give 
me the above exact code 

-- 
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] why

2013-11-01 Thread yangwenyi

Why China should shield some services of google?

-- 
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] Python urlfetch suddenly stopped working

2013-11-01 Thread philip . gladstone
As of a few hours ago (may 10:00 UTC on Movember 1), urlfetch (from a 
python instance) stopped working. It now always returns a 
DeadlIneExceededError after 5 seconds.

This is always trying to fetch data from my server. I tried doing a similar 
fetch from another appengine instance, and it also fails.

This site is accessible both through IPv4 and IPv6. At my server, I am 
still getting requests from other places on the internet on both IPv4 and 
IPv6 -- so it appears that the problem is not with my server.

I seem to recall that there is a proxy between appengine instances and the 
internet, and I'm wondering if this has problems. 

I can provide the instance name if that would help

Thanks

Philip

-- 
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] Deprecation of File Blobs in favor of Google Cloud Storage

2013-11-01 Thread Michael Nischt
I just read that problematically creating blobs is deprecated in favor of 
Google Clould Storage ( 
https://developers.google.com/appengine/docs/go/blobstore/#Go_Writing_files_to_the_Blobstore
 ). 

For me the best thing about GAE is that you can develop completely locally (
*offline*). However, as far as I know the is no offline integration in GAE 
for the Google Cloud Service. So you cannot work in an isolated developer 
environment (offline).* Am I right?*

Unfortunately, for us that means GAE no longer meets our requirements. This 
would be a pity since otherwise we think Google AppEngine (for Go) is great.

Please let me know as soon as possible if there be solution to this or you 
have any suggestions which might prevent us from switching.

Best, 
 Michael

-- 
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] getServingUrl on cloud storage image not working from two apps

2013-11-01 Thread michielwerk
Hi, 

I have the following problem:

1) I drop an image with the cloud storage console in a bucket.
2) From an app engine application I do getServingUrl and I recieve a 
working URL of the image. Used code:
ImagesServiceFactory.getImagesService().getServingUrl(ServingUrlOptions.
Builder.withGoogleStorageFileName(cloudStoragePath).secureUrl(true));

So far so good.
3) From an other app engine application I do also getServingUrl on the same 
image and now I get an exception without message:
com.google.appengine.api.images.ImagesServiceFailureException: 
 at com.google.appengine.api.images.ImagesServiceImpl.getServingUrl(
ImagesServiceImpl.java:284)

When I first let the other application do getServingUrl it works fine in 
that application and now I get the exception in the other application. This 
is true for every image, so it may result that getServingUrl for some 
images works in one application (and stays working), while getServingUrl 
for other images (in the same bucket, with all the same rights) works in 
the other application. It depends on which application first called 
getServingUrl on that image.

Reading the image directly from the cloud storage always works in both 
applications.

Am I still doing something wrong? Or is this a bug?

Thanks for your help, Michiel

-- 
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: No more warmup requests!

2013-11-01 Thread Hans Jakobsen
I have a similar situation. Have set minimum idle instance to 3, but since 
two days ago the number of actual instances dropped to be exact one. It 
remains one no matter what latency the customer has and no matter what 
setting I have in idle instances.
I did not make any changes at that time, so something changed in the 
appengine backend?

Best regards,
Hans

On Thursday, October 31, 2013 7:04:13 PM UTC+1, Stefano Ciccarelli wrote:
>
> In the last 24 hour I had no more warmup requests and *all* (I want to 
> repeat *ALL*) the loading requests are user requests.
>
> What happened?
>
> --
> Stefano
>
>  

-- 
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] Lots of Java downtime today

2013-11-01 Thread Keith Mukai
Facing a ton of intermittent Java downtime today. Earliest server error 
came at 11:19am CDT. Logs indicate that new server instances are struggling 
to initialize. Service has been up and down ever since.

GAE status page shows spikes of increased Java latency but no alert status.

Is there a broader problem?

Appengine project identifier: essaytagger

-- 
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] Do free quotas expire? (i.e. is it same as AWS 1 year free tiers)

2013-11-01 Thread JScoobyCed
My company uses AWS and there is the free hosting for 1 year (12 months of 
free "server" and then have to pay).
Are any of the free quotas in Google AppEngine hosting limited in time?
I am not asking for the quotas themselves (I read the details on Google 
AppEngine page and I can see the 1GB data, daily limits etc..).

What I am asking is that can I use the free quotas forever as long as my 
usage is below quota or at some point (1 month, 1 year, 2 years..?) I will 
have too pay even if I don't exceed free quota usage?

-- 
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: Is GAE the right choice for e-commerce?

2013-11-01 Thread Umesh Veerasingam
Hi Mike,

Do you have any documentation/API (links) about the visa/credit card 
payment option on your site(Shoes of Prey)?

Thanks.

On Monday, February 1, 2010 7:19:04 AM UTC-6, Mike wrote:
>
> Hi NG
>
> We are running our business on AppEngine. (Search "Shoes of Prey" on
> Google to find us.)
>
> So far, it is going really well. AppEngine is a delight to develop on,
> and you can't argue with the cost. (I've only been charged $0.01 so
> far. Although, as I've posted in another thread, the small charge by
> itself was problematic for me.) :)
>
> I had to write the entire ecommerce platform from scratch - which
> suited me given the very custom nature of our business - however you
> may not be as keen as me. It really depends on your business.
>
> We choose AppEngine primarily because a) 2 of us used to work at
> Google, and we love AppEngine b) if we start serving a lot of traffic/
> bandwidth we want something scalable. As I said earlier as well, the
> API is really nice and makes developing a breeze.
>
> The only thing I wish AppEngine had was HTTPS support for custom
> domains, and I'm hopeful that one day it will be supported. There are
> workarounds too. Once AppEngine has HTTPS support and a few open-
> source ecommerce software packages, it will be a really great platform
> I would think.
>
> Good luck.
>
> Mike
>
> On Jan 31, 4:31 pm, decuman  wrote:
> > Hello,
> >
> > At the moment I'm thinking of building a small/medium online selling
> > business and before investing more of my time (and money) into GAE
> > based development it would be just great to know some experienced
> > users and expert thoughts and opinions on it.
> >
> > As far as I can see (after reading related books, articles and message
> > group threads) GAE is just a perfect solution for prototyping and
> > building a social networking applications (Blogs, Chats, Galleries,
> > Message boards etc.) which requires tracking a lot of users and
> > storing data... which is great. But there is quite a few (literally
> > none) of nice business/e-commerce applications with decent product
> > galleries, shopping carts and checkout functionality and payment
> > service integration. Also there are lots of complains and negative
> > responses pointing to big GAE functional limitations (which are not
> > going to improve soon or ever) and overall practicability of using it
> > as a reliable e-commerce platform. In particular (PayPal, Google
> > Checkout integration)
> >
> > It wasn't a very deep and thoughtful investigation but the outlined
> > above is just my personal subjective feeling so far. I would really
> > love to know the opinion and thoughts on this matter from GAE experts.
> > Shell I move forward with Google App Engine development or it would be
> > move wise to consider some other solution?
> >
> > Thanks in advance!
> > NG
>
>

-- 
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] Error Message After Creating Accounts

2013-11-01 Thread G. A. Dietrich
I just created 16 new accounts and put them in a sub organization for my 
domain. When I click on one of the new users I get the error:

We are unable to process your request at this time. Please try again later. 
(Error #1000)

I logged out and tried to login to one of the new accounts with the 
temporary password given but Google doesn't recognize it. Any advice on 
getting this fixed?

-- 
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] how to handle this kind of exception?

2013-11-01 Thread hansyin


Hi, 


I have a cron schedule setup for my app, it will try to do a list of 
things(access a list of urls). I use a loop to access all of my urls:

for url in url_list:

access_url



now I got below error sometimes: 

"Deadline exceeded while waiting for HTTP response from URL: 
http://myaccessurl9.html";


I understand that's because myaccessurl9.html response timed out. My question 
is:

1. how can I catch and ignore this error, then app can skip the problem url and 
keep working with all other urls? right now the app just stopped

2. similar as 1, how can I catch it and then try it again, let's say try 3 
times and then skip to next url


Thanks!


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


[google-appengine] Update on hosting appengine apps in EU data centres

2013-11-01 Thread Anthony Nolan
This has been hanging around a while, but it is still causing me problems. 
We have just started to engage with the public sector in Ireland. They have 
very strict data protection requirements. The current media focus on US 
spying is not helping when I try to explain that everything is safe in the 
US. I need to move my appengine app to an EU datacentre. I don't have a 
premier account. We are just starting out and 6000 euro per year is outside 
our budget. I filled in some form to request that my app get moved to the 
EU, but I have done this before - months ago and to no avail. 
I am based a couple of miles from a large Google data centre. My data is 
based thousands of miles away in the US. This does not make sense. All of 
the documentation - particularly the PR stuff - implies that you can run 
your appengine where every you want, but this does not seem to be true. The 
technical documentation around this is bad and in general this is causing 
more hassle than it should. We may lose our largest potential customer 
before we have a chance because of this issue. Can someone at Google help 
get this resolved?

Anthony Nolan

-- 
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] Socket for UDP works in development server, fails deployed

2013-11-01 Thread Andrea Minari
Hi,

we're currently encountering the same problem.

We would like to use UDP packets to send metric to a 3rd party system 
(hostedgraphite).

Trying to send UDP with appengine succeed on test server/my console, but 
fails once deployed to our servers.

Code:
log.info("building socket");
DatagramSocket socket = new DatagramSocket();
byte[] data = builder.toString().getBytes(Charsets.ISO_8859_1);
InetAddress address = InetAddress.getByName(host);
log.info("trying to send socket message to " + 
address.getHostAddress());
DatagramPacket datagramPacket = new DatagramPacket(data, 
data.length, address, port);
log.info("packet " + 
datagramPacket.getSocketAddress().toString() + " " + new 
String(datagramPacket.getData()));
socket.connect(address, port);
log.info("connected to" + address.getHostAddress() + "? " + 
socket.isConnected());
socket.send(datagramPacket);
log.info("metric committed in " + new Interval(start, new 
Instant()).toDurationMillis());

Note: I've added a socket.connect() just to test wether any connection 
problem was found between app engine and this server.

Resulting logs:

I 2013-10-29 16:36:10.403 com.cb.util.metric.GaeMetric commit: building 
socket
I 2013-10-29 16:36:10.767 com.cb.util.metric.GaeMetric commit: trying to 
send socket message to 88.198.22.7
I 2013-10-29 16:36:10.769 com.cb.util.metric.GaeMetric commit: packet 
carbon.hostedgraphite.com/88.198.22.7:2003 metric-one.timeTaken 7047
metric-two.timeTaken 499
I 2013-10-29 16:36:10.769 com.cb.util.metric.GaeMetric commit: connected to 
88.198.22.7? true
W 2013-10-29 16:36:50.629 com.cb.util.metric.GaeMetric commit: failed to 
commit metric  in 40226 error: 
com.google.apphosting.api.DeadlineExceededException: This request 
(b07775a3893d6656) started at 2013/10/29 16:35:51.219 UTC and was still 
executing at 2013/10/29 16:36:50.627 UTC.

Anything else I can provide to help you check where the issue is?

Thanks very much,
Andrea

On Wednesday, August 21, 2013 5:07:33 PM UTC+1, Vinny P wrote:
>
> On Wed, Aug 21, 2013 at 1:50 AM, Wei Liu 
> > wrote:
>
>> UDP socket works in development server, but not deployed to app engine
>>
>> TCP socket works fine, but when I use UDP socket, it doesn't work.
>>
>>
> Just to clarify, are you saying that a TCP socket in a deployed App Engine 
> application works for you, but an UDP socket doesn't work?
>
>
> On Wed, Aug 21, 2013 at 1:50 AM, Wei Liu 
> > wrote: 
>
>> After a long wait, my page comes with this:
>>
>> Error: Server Error The server encountered an error and could not 
>> complete your request. If the problem persists, please 
>> report your 
>> problem and mention this error message and the query that caused it. 
>>
>
> Does anything show up in the logs? Go to your admin console and click the 
> Logs link on the left hand side. Also, which server are you attempting to 
> send messages to? It might be firewalled or blocking UDP in some way.
>   
>  
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>   
>

-- 
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] BPM on GAE? whats the best choice?

2013-11-01 Thread Luis Carlos Ramírez Rodríguez
So my company uses GAE to host all our business intelligence and more often 
than not we stumble upon the need to define business process using some 
flavor of process definition (BPEL? BPMN?).

I've google my way into trying to find a way to run a process engine on GAE 
to no avail. So my last resource is to ask here. What are the choices out 
there to implement some sort of flexible business grammar on GAE? 
 (assuming all WS are have www visibility)

We currently run Apache ODE on our servers but I really want to move those 
services into GAE if possible. Activiti is also the tool of choice for some 
people. but as far as ia know neither can run on Google App Engine.

What are my choices? am i missing something fairly obvious?

-- 
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: what this log means?

2013-11-01 Thread hansyin
Thank you very much!

On Thursday, October 24, 2013 12:09:04 PM UTC-7, hansyin wrote:
>
> Hi, I'm new to here. thanks for help. 
>
> Could anybody tell me what this log means? it succeeded or not? 
>
>
>1. 2013-10-24 11:30:05.437 /poller/hourly 200 18ms 0kb AppEngine-Google; 
>(+http://code.google.com/appengine)
>
>0.1.0.1 - - [24/Oct/2013:11:30:05 -0700] "GET /poller/hourly HTTP/1.1" 200 
> 84 - "AppEngine-Google; (+http://code.google.com/appengine)" 
> "kooddle.appspot.com" ms=18 cpu_ms=21 cpm_usd=0.09 queue_name=__cron 
> task_name=d712f1ac7a043bb93345ab5ff469769f app_engine_release=1.8.6 
> instance=00c61b117cf4d69044bc1e4d6d38bb451c169c 
> 
>
>
>And this one:
>
>
>1. 2013-10-24 09:30:05.139 /poller/hourly 200 2147ms 0kb AppEngine-Google; 
> (+http://code.google.com/appengine)
>   
>   0.1.0.1 - - [24/Oct/2013:09:30:05 -0700] "GET /poller/hourly HTTP/1.1" 
> 200 84 - "AppEngine-Google; (+http://code.google.com/appengine)" 
> "kooddle.appspot.com" ms=2147 cpu_ms=1342 cpm_usd=0.09 queue_name=__cron 
> task_name=d712f1ac7a043bb93345ab5ff469769f loading_request=1 
> app_engine_release=1.8.6 instance=00c61b117cf4d69044bc1e4d6d38bb451c169c 
> 
>   
>   2. I2013-10-24 09:30:05.138
>   
>   This request caused a new process to be started for your application, 
> and thus caused your application code to be loaded for the first time. This 
> request may thus take longer and use more CPU than a typical request for your 
> application.
>   
>   
>   
>   Hans
>   
>   
>
>

-- 
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] Copy Job Status The error was: Fetch to http://xxxyyyzzz.appspot.com/_ah/remote_api failed with status 404

2013-11-01 Thread Raghav Rajagopalan


I am working in google app engine for the past 3 days. I am struck with a 
issue where i can not " Datastore Admin: Copy to Another App ". When I try 
to copy Entities, it give me this error " Copy Job Status ". There was a 
problem kicking off the jobs. The error was:

Fetch to http :/ / x . AppSpot . com / _ah / remote_api failed with 
status 404 ".

I have enabled Data Store by admin. I have made mod in app.yaml file and 
appengine_config.py file. Updated appcfg.py in the command prompt. 

Still i am not able to copy entites from one application to another.

What could be the issue I am facing. Can someone please guide me.

Thanks in advance.

-- 
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] Not able to access an excel file saved in BlobStore

2013-11-01 Thread anuja bothra
Hi,

I basically want to upload an excel file to blobstore and then parse the 
file using POI.

I have uploaded the excel file to the blob store using the following .jsp 
code

<%

BlobstoreService blobstoreService = 
BlobstoreServiceFactory.getBlobstoreService();

%>

" 
method="post" enctype="multipart/form-data">










This part works fine(I can see the file in the blobstore) but when I try to 
access the file using the below code :


public class ProductMetaSaverServlet extends HttpServlet { 

   // private BlobstoreService blobstoreService = 
BlobstoreServiceFactory.getBlobstoreService();

public void doPost(HttpServletRequest req, HttpServletResponse resp)

throws IOException { 

BlobstoreService blobstoreService = 
BlobstoreServiceFactory.getBlobstoreService();

java.util.Map> blobs = 
blobstoreService.getUploads(req);

BlobKey blobKey = blobs.get("myFile").get(0);

if (blobKey == null) {

 resp.sendRedirect("/");

} else {

 resp.sendRedirect("/serve?blob-key=" + 
blobKey.getKeyString().trim());

}

   

java.util.Map> filelist = 
blobstoreService.getFileInfos(req);

 resp.setContentType("text/html");

  PrintWriter out = resp.getWriter();

  for(String filename : filelist.keySet())

  {

  out.print(filename);

  out.print(filelist.get(filename));

  }

}

My serve method :

public class Serve extends HttpServlet {

/**

 * 

 */

private static final long serialVersionUID = 1L;

private BlobstoreService blobstoreService = 
BlobstoreServiceFactory.getBlobstoreService();


@Override

public void doGet(HttpServletRequest req, HttpServletResponse res)

throws IOException {

BlobKey blobKey = new BlobKey(req.getParameter("blob-key"));

blobstoreService.serve(blobKey, res);

}

}

I get the following error :

*(Error: Not Found*

*The requested URL **
/upload-success?blob-key=AMIfv94Mrs9e1vk65ws-9jRek-QyhZ14tx3cNI5OgCj1rJvuS_ZLRq77tabioZTWRsAlTx_g6R2R1X1pyEIg7ckYsq_1pXmfFmwAilcPaZ7pYZKKRFOew3iwyCgOGfO4ScgJ-OaYm3kWWF_s9GaZwQmWcYNlwBLDpQ
** was not found on this server.) *

*
*

Can someone please point out what im doing wrong here.

I just need the file path of the uploaded file so that I can pass it to 
apache POI.


Thanks,

Anuja

 

-- 
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] Not authorized to access instance: [my app id]appspot.com:[my sql instance]

2013-11-01 Thread jeff schulz


all of a sudden my app cant access my cloud database.

*Not authorized to access instance: [my app id]appspot.com:[my sql instance]*

instance settings for authorized applications is correct.

correct application identifier is in my appeninge-web.xml.

-- 
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] dev server global scope

2013-11-01 Thread Quint van den Muijsenberg

Hello,

I hope someone can clarify this for me:

Does the dev server cache the global python cache? Just like the production 
GAE does?
I'm under the impression that it doesn't.

thanks

Quint

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Brian Dorsey
Hello Tapir,

I responded via gs-team. Let's continue this conversation there, so I can
help with your specific project ids.

Take care,
-Brian


On Fri, Nov 1, 2013 at 11:12 AM, Tapir  wrote:

>
>
> On Saturday, November 2, 2013 1:06:40 AM UTC+8, Brian Dorsey wrote:
>
>>
>>
>> On Friday, November 1, 2013 2:49:13 AM UTC-7, Tapir wrote:
>>>
>>>
>>>
>>> On Friday, November 1, 2013 5:14:50 PM UTC+8, Amy Unruh wrote:

 Tapir,

 The cloud console lists not only your app engine apps, but all your
 Cloud projects, including projects where you'd enabled Compute Engine or
 other cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
 So that is why I suggested you just go systematically through that
 listing and see if you can find your bucket. (I understand that the
 appengine-only entries will not have Cloud Storage enabled).

 A Cloud project can have multiple services enabled.  So, you could have
 enabled Cloud Storage in the *same* project where you'd enabled Compute
 Engine. (And, if you delete such a project, you're deleting not just your
 compute engine setup, but your setup for all the services you'd enabled in
 that project).

 Because you'd set things up a while ago, before app engine apps became
 integrated with cloud projects, I suspect that you set up a Cloud Storage
 bucket in one of your other cloud projects, then gave your app engine app
 permission to connect with it by adding its service account to the 'team'
 information in the project.  From the error you're getting, I suspect this
 may have been one of your Compute Engine-enabled projects, that you've now
 deleted.

>>>
>>> I can confirm:
>>> 1. I have never connected Cloud Storage with any compute engine type
>>> projects. I only ever connected it to one my app engine style project.
>>> (100% for sure)
>>> 2. before yesterday, the app engine project run well, which means the
>>> Cloud Storage connects with the app engine project for sure.
>>>
>>
>> Tapir,
>>
>> I suspect that Amy's analysis is correct here. In regards to #1, there
>> isn't a manual step to connect Cloud Storage with Compute Engine. App
>> Engine projects are separate from the rest of the APIs for historical
>> reasons, but all other cloud APIs can be activated on a single project.
>>
>> Since this worked recently, and you also recently deleted a project with
>> Compute Engine enabled, it is very likely that this project also had your
>> active Cloud Storage buckets as well.
>>
>> Please visit: 
>> https://cloud.google.**com/console#/project
>> This will give you a list of all of the projects you have access to.
>>
>> Are any of them labeled "pending deletion" in red? If so, please check
>> the box next to that project and click the "Undo Deletion" button.
>>
>> If none are labeled "pending deletion", please follow Amy's advice from
>> above and check each project to find out which project has your "
>> designfiles.phyard.com" bucket. You can do that by clicking on a project
>> name, clicking "Cloud Storage" (from the left-side list) and looking at the
>> list of buckets displayed.
>>
>> Once you find the project with your bucket, you may need to re-enable
>> billing. To do that, click "Billing" (from the left-side list), and click
>> "Enable Billing".
>>
>> If this doesn't work for you, please email gs-...@google.com and I will
>> help you via our support system.
>>
>> Take care,
>> -Brian
>>
>> Hi Brian,
>
> thanks for your guilds.
>
> No "pending deletion" projects listed now. When I removed a compute engine
> project, it disappeared right now, even the app engine app connected with
> the compute engine project are also disappeared right now.
>
> And I can't find my buckets now, in any project. I have already enabled
> billing for the Cloud Storage last year. The app engine app (phyard.com)
> connected with Cloud Storage is also billing enabled for a long time.
>
> I have emailed to gs-t...@google.com and gc-t...@google.com , but not get
> response yet.
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/YxsTLbi55JI/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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.
>

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

Re: [google-appengine] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir


On Saturday, November 2, 2013 2:16:30 AM UTC+8, Tapir wrote:
>
> Ha Brian,
> just received your email and notice you can googler.
>
sorry for the spelling mistakes. "you are a googler". :)
 

> now, the page 
> https://cloud.google.com/console#/project/apps~youyards/storage shows "Please 
> *enable billing* to use all features.*Dismiss*" box with yellow 
> background.
> Is it ok if I click the "enable billing" link?
>
> On Saturday, November 2, 2013 1:06:40 AM UTC+8, Brian Dorsey wrote:
>
>>
>>
>> On Friday, November 1, 2013 2:49:13 AM UTC-7, Tapir wrote:
>>>
>>>
>>>
>>> On Friday, November 1, 2013 5:14:50 PM UTC+8, Amy Unruh wrote:

 Tapir,

 The cloud console lists not only your app engine apps, but all your 
 Cloud projects, including projects where you'd enabled Compute Engine or 
 other cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
 So that is why I suggested you just go systematically through that 
 listing and see if you can find your bucket. (I understand that the 
 appengine-only entries will not have Cloud Storage enabled).

 A Cloud project can have multiple services enabled.  So, you could have 
 enabled Cloud Storage in the *same* project where you'd enabled Compute 
 Engine. (And, if you delete such a project, you're deleting not just your 
 compute engine setup, but your setup for all the services you'd enabled in 
 that project).

 Because you'd set things up a while ago, before app engine apps became 
 integrated with cloud projects, I suspect that you set up a Cloud Storage 
 bucket in one of your other cloud projects, then gave your app engine app 
 permission to connect with it by adding its service account to the 'team' 
 information in the project.  From the error you're getting, I suspect this 
 may have been one of your Compute Engine-enabled projects, that you've now 
 deleted.

>>>
>>> I can confirm:
>>> 1. I have never connected Cloud Storage with any compute engine type 
>>> projects. I only ever connected it to one my app engine style project. 
>>> (100% for sure)
>>> 2. before yesterday, the app engine project run well, which means the 
>>> Cloud Storage connects with the app engine project for sure.
>>>
>>
>> Tapir, 
>>
>> I suspect that Amy's analysis is correct here. In regards to #1, there 
>> isn't a manual step to connect Cloud Storage with Compute Engine. App 
>> Engine projects are separate from the rest of the APIs for historical 
>> reasons, but all other cloud APIs can be activated on a single project. 
>>
>> Since this worked recently, and you also recently deleted a project with 
>> Compute Engine enabled, it is very likely that this project also had your 
>> active Cloud Storage buckets as well.
>>
>> Please visit: https://cloud.google.com/console#/project
>> This will give you a list of all of the projects you have access to. 
>>
>> Are any of them labeled "pending deletion" in red? If so, please check 
>> the box next to that project and click the "Undo Deletion" button. 
>>
>> If none are labeled "pending deletion", please follow Amy's advice from 
>> above and check each project to find out which project has your "
>> designfiles.phyard.com" bucket. You can do that by clicking on a project 
>> name, clicking "Cloud Storage" (from the left-side list) and looking at the 
>> list of buckets displayed. 
>>
>> Once you find the project with your bucket, you may need to re-enable 
>> billing. To do that, click "Billing" (from the left-side list), and click 
>> "Enable Billing".
>>
>> If this doesn't work for you, please email gs-...@google.com and I will 
>> help you via our support system.
>>
>> Take care,
>> -Brian
>>
>>
>>

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir
Ha Brian,
just received your email and notice you can googler.
now, the page 
https://cloud.google.com/console#/project/apps~youyards/storage shows "Please 
*enable billing* to use all features.*Dismiss*" box with yellow background.
Is it ok if I click the "enable billing" link?

On Saturday, November 2, 2013 1:06:40 AM UTC+8, Brian Dorsey wrote:

>
>
> On Friday, November 1, 2013 2:49:13 AM UTC-7, Tapir wrote:
>>
>>
>>
>> On Friday, November 1, 2013 5:14:50 PM UTC+8, Amy Unruh wrote:
>>>
>>> Tapir,
>>>
>>> The cloud console lists not only your app engine apps, but all your 
>>> Cloud projects, including projects where you'd enabled Compute Engine or 
>>> other cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
>>> So that is why I suggested you just go systematically through that 
>>> listing and see if you can find your bucket. (I understand that the 
>>> appengine-only entries will not have Cloud Storage enabled).
>>>
>>> A Cloud project can have multiple services enabled.  So, you could have 
>>> enabled Cloud Storage in the *same* project where you'd enabled Compute 
>>> Engine. (And, if you delete such a project, you're deleting not just your 
>>> compute engine setup, but your setup for all the services you'd enabled in 
>>> that project).
>>>
>>> Because you'd set things up a while ago, before app engine apps became 
>>> integrated with cloud projects, I suspect that you set up a Cloud Storage 
>>> bucket in one of your other cloud projects, then gave your app engine app 
>>> permission to connect with it by adding its service account to the 'team' 
>>> information in the project.  From the error you're getting, I suspect this 
>>> may have been one of your Compute Engine-enabled projects, that you've now 
>>> deleted.
>>>
>>
>> I can confirm:
>> 1. I have never connected Cloud Storage with any compute engine type 
>> projects. I only ever connected it to one my app engine style project. 
>> (100% for sure)
>> 2. before yesterday, the app engine project run well, which means the 
>> Cloud Storage connects with the app engine project for sure.
>>
>
> Tapir, 
>
> I suspect that Amy's analysis is correct here. In regards to #1, there 
> isn't a manual step to connect Cloud Storage with Compute Engine. App 
> Engine projects are separate from the rest of the APIs for historical 
> reasons, but all other cloud APIs can be activated on a single project. 
>
> Since this worked recently, and you also recently deleted a project with 
> Compute Engine enabled, it is very likely that this project also had your 
> active Cloud Storage buckets as well.
>
> Please visit: https://cloud.google.com/console#/project
> This will give you a list of all of the projects you have access to. 
>
> Are any of them labeled "pending deletion" in red? If so, please check the 
> box next to that project and click the "Undo Deletion" button. 
>
> If none are labeled "pending deletion", please follow Amy's advice from 
> above and check each project to find out which project has your "
> designfiles.phyard.com" bucket. You can do that by clicking on a project 
> name, clicking "Cloud Storage" (from the left-side list) and looking at the 
> list of buckets displayed. 
>
> Once you find the project with your bucket, you may need to re-enable 
> billing. To do that, click "Billing" (from the left-side list), and click 
> "Enable Billing".
>
> If this doesn't work for you, please email gs-...@google.com and 
> I will help you via our support system.
>
> Take care,
> -Brian
>
>
>

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir


On Saturday, November 2, 2013 1:06:40 AM UTC+8, Brian Dorsey wrote:
>
>
>
> On Friday, November 1, 2013 2:49:13 AM UTC-7, Tapir wrote:
>>
>>
>>
>> On Friday, November 1, 2013 5:14:50 PM UTC+8, Amy Unruh wrote:
>>>
>>> Tapir,
>>>
>>> The cloud console lists not only your app engine apps, but all your 
>>> Cloud projects, including projects where you'd enabled Compute Engine or 
>>> other cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
>>> So that is why I suggested you just go systematically through that 
>>> listing and see if you can find your bucket. (I understand that the 
>>> appengine-only entries will not have Cloud Storage enabled).
>>>
>>> A Cloud project can have multiple services enabled.  So, you could have 
>>> enabled Cloud Storage in the *same* project where you'd enabled Compute 
>>> Engine. (And, if you delete such a project, you're deleting not just your 
>>> compute engine setup, but your setup for all the services you'd enabled in 
>>> that project).
>>>
>>> Because you'd set things up a while ago, before app engine apps became 
>>> integrated with cloud projects, I suspect that you set up a Cloud Storage 
>>> bucket in one of your other cloud projects, then gave your app engine app 
>>> permission to connect with it by adding its service account to the 'team' 
>>> information in the project.  From the error you're getting, I suspect this 
>>> may have been one of your Compute Engine-enabled projects, that you've now 
>>> deleted.
>>>
>>
>> I can confirm:
>> 1. I have never connected Cloud Storage with any compute engine type 
>> projects. I only ever connected it to one my app engine style project. 
>> (100% for sure)
>> 2. before yesterday, the app engine project run well, which means the 
>> Cloud Storage connects with the app engine project for sure.
>>
>
> Tapir, 
>
> I suspect that Amy's analysis is correct here. In regards to #1, there 
> isn't a manual step to connect Cloud Storage with Compute Engine. App 
> Engine projects are separate from the rest of the APIs for historical 
> reasons, but all other cloud APIs can be activated on a single project. 
>
> Since this worked recently, and you also recently deleted a project with 
> Compute Engine enabled, it is very likely that this project also had your 
> active Cloud Storage buckets as well.
>
> Please visit: https://cloud.google.com/console#/project
> This will give you a list of all of the projects you have access to. 
>
> Are any of them labeled "pending deletion" in red? If so, please check the 
> box next to that project and click the "Undo Deletion" button. 
>
> If none are labeled "pending deletion", please follow Amy's advice from 
> above and check each project to find out which project has your "
> designfiles.phyard.com" bucket. You can do that by clicking on a project 
> name, clicking "Cloud Storage" (from the left-side list) and looking at the 
> list of buckets displayed. 
>
> Once you find the project with your bucket, you may need to re-enable 
> billing. To do that, click "Billing" (from the left-side list), and click 
> "Enable Billing".
>
> If this doesn't work for you, please email gs-...@google.com and 
> I will help you via our support system.
>
> Take care,
> -Brian
>
> Hi Brian,

thanks for your guilds.

No "pending deletion" projects listed now. When I removed a compute engine 
project, it disappeared right now, even the app engine app connected with 
the compute engine project are also disappeared right now.

And I can't find my buckets now, in any project. I have already enabled 
billing for the Cloud Storage last year. The app engine app (phyard.com) 
connected with Cloud Storage is also billing enabled for a long time.

I have emailed to gs-t...@google.com and gc-t...@google.com , but not get 
response yet.

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Brian Dorsey


On Friday, November 1, 2013 2:49:13 AM UTC-7, Tapir wrote:
>
>
>
> On Friday, November 1, 2013 5:14:50 PM UTC+8, Amy Unruh wrote:
>>
>> Tapir,
>>
>> The cloud console lists not only your app engine apps, but all your Cloud 
>> projects, including projects where you'd enabled Compute Engine or other 
>> cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
>> So that is why I suggested you just go systematically through that 
>> listing and see if you can find your bucket. (I understand that the 
>> appengine-only entries will not have Cloud Storage enabled).
>>
>> A Cloud project can have multiple services enabled.  So, you could have 
>> enabled Cloud Storage in the *same* project where you'd enabled Compute 
>> Engine. (And, if you delete such a project, you're deleting not just your 
>> compute engine setup, but your setup for all the services you'd enabled in 
>> that project).
>>
>> Because you'd set things up a while ago, before app engine apps became 
>> integrated with cloud projects, I suspect that you set up a Cloud Storage 
>> bucket in one of your other cloud projects, then gave your app engine app 
>> permission to connect with it by adding its service account to the 'team' 
>> information in the project.  From the error you're getting, I suspect this 
>> may have been one of your Compute Engine-enabled projects, that you've now 
>> deleted.
>>
>
> I can confirm:
> 1. I have never connected Cloud Storage with any compute engine type 
> projects. I only ever connected it to one my app engine style project. 
> (100% for sure)
> 2. before yesterday, the app engine project run well, which means the 
> Cloud Storage connects with the app engine project for sure.
>

Tapir, 

I suspect that Amy's analysis is correct here. In regards to #1, there 
isn't a manual step to connect Cloud Storage with Compute Engine. App 
Engine projects are separate from the rest of the APIs for historical 
reasons, but all other cloud APIs can be activated on a single project. 

Since this worked recently, and you also recently deleted a project with 
Compute Engine enabled, it is very likely that this project also had your 
active Cloud Storage buckets as well.

Please visit: https://cloud.google.com/console#/project
This will give you a list of all of the projects you have access to. 

Are any of them labeled "pending deletion" in red? If so, please check the 
box next to that project and click the "Undo Deletion" button. 

If none are labeled "pending deletion", please follow Amy's advice from 
above and check each project to find out which project has your 
"designfiles.phyard.com" bucket. You can do that by clicking on a project 
name, clicking "Cloud Storage" (from the left-side list) and looking at the 
list of buckets displayed. 

Once you find the project with your bucket, you may need to re-enable 
billing. To do that, click "Billing" (from the left-side list), and click 
"Enable Billing".

If this doesn't work for you, please email gs-t...@google.com and I will 
help you via our support system.

Take care,
-Brian


-- 
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: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir
It seems my bucket custom domain designfiles.phyard.com is still ping-able. 
It is just I can't read it.
Hope the datas are not lost and google can help me find them back.

-- 
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: what is future of GAE?

2013-11-01 Thread Cesium
42. Nice one! Just found my cassettes of the BBC radio production.

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir


On Friday, November 1, 2013 5:14:50 PM UTC+8, Amy Unruh wrote:
>
> Tapir,
>
> The cloud console lists not only your app engine apps, but all your Cloud 
> projects, including projects where you'd enabled Compute Engine or other 
> cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
> So that is why I suggested you just go systematically through that listing 
> and see if you can find your bucket. (I understand that the appengine-only 
> entries will not have Cloud Storage enabled).
>
> A Cloud project can have multiple services enabled.  So, you could have 
> enabled Cloud Storage in the *same* project where you'd enabled Compute 
> Engine. (And, if you delete such a project, you're deleting not just your 
> compute engine setup, but your setup for all the services you'd enabled in 
> that project).
>
> Because you'd set things up a while ago, before app engine apps became 
> integrated with cloud projects, I suspect that you set up a Cloud Storage 
> bucket in one of your other cloud projects, then gave your app engine app 
> permission to connect with it by adding its service account to the 'team' 
> information in the project.  From the error you're getting, I suspect this 
> may have been one of your Compute Engine-enabled projects, that you've now 
> deleted.
>

And I only did the connecting Cloude Storage and project job once, long 
before the Compute Engine came out.

>
>
> On 1 November 2013 18:05, Tapir > wrote:
>
>>
>>
>> On Friday, November 1, 2013 2:59:00 PM UTC+8, Amy Unruh wrote:
>>
>>> Tapir,
>>>
>>> I think the best way to diagnose is to use the web interface: start from 
>>> your cloud console (cloud.google.com/console) and look at each of your 
>>> existing projects in turn. Find the one that, in its Cloud Storage (GCS) 
>>> panel, lists the bucket that you're using for your app.  See what's in that 
>>> bucket.
>>>
>>
>> As I said above, there is no "Cloud Stoage" page for all my old app 
>> engine projects. I must replace copy the url for a newly created compute 
>> engine projects and replace the id part in the url to the old app engine 
>> project id. 
>>  
>>
>>>
>>> (If you have recently deleted some projects, and also your app has 
>>> recently started to have GCS issues, then it does sound like you might have 
>>> accidentally deleted the project that included the bucket you were using. 
>>>  But, go through each of your existing projects and check their GCS 
>>> buckets, and that will give you more definitive info).
>>>
>>
>> The deleted two project are all Compute Engine projects I created 
>> recently. I kust used them as VPNs. I have never connected them with my old 
>> Cloud Storage service.
>>  
>>
>>>
>>>
>>> On 1 November 2013 17:42, Tapir  wrote:
>>>


 On Friday, November 1, 2013 2:19:19 PM UTC+8, Amy Unruh wrote:
>
> Tapir,
>
> From your description, I am guessing that your app engine app was 
> created a while ago, and doesn't have an integrated cloud console project 
> automatically associated with it.  
> This means that when you set up your use of Cloud Storage (GCS) for 
> your app, you likely would have created a separate Cloud project, and 
> then 
> added your app engine's service account to the 'Teams' panel for that 
> project, so that your app engine app could access the GCS bucket.
> So, the first step is to reconstruct which cloud project, and which 
> GCS bucket in that project, your app is trying to connect to.
>

 Yes, you are right!
 I connected the Google Cloud Storage with my app engine app in the API 
 Console: 
 https://code.google.com/apis/**console/,
  
 about more than one year ago.

 Ok, I remember yesterday I really deleted two newly projects I created 
 after Google Compute Engine is released. I promise the two projects have 
 nothing relation with the Google Cloud Storage service.

 Would google remove my data occasionally with the removal of the two 
 project? I'm some nervous now.
  

>
> Then, once you figure out which project and GCS bucket you are using, 
> Vinny's suggestions for getting more info about the bucket contents are 
> good ones.  A good first step is to see if the data is still there as you 
> expect.
>
>
>
> On 1 November 2013 16:56, Vinny P  wrote:
>
>> On Thu, Oct 31, 2013 at 11:58 PM, Tapir  **wrot**
>> e:
>>  
>> There is no "Cloud Storage service" listed in the Google Cloud 
>>> Console for my this project. This project was created before the Google 
>>> Cloud Console was released.
>>> All my projects created before the Google Cloud Console was released 
>>> have no "Cloud Storage service" listed in the Google Cloud Console.
>>> Before the Google Cloud Console was released, I check my buckets 
>>> from another url entry, but now I can't find it in google's do

Re: [google-appengine] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir


On Friday, November 1, 2013 5:14:50 PM UTC+8, Amy Unruh wrote:
>
> Tapir,
>
> The cloud console lists not only your app engine apps, but all your Cloud 
> projects, including projects where you'd enabled Compute Engine or other 
> cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
> So that is why I suggested you just go systematically through that listing 
> and see if you can find your bucket. (I understand that the appengine-only 
> entries will not have Cloud Storage enabled).
>
> A Cloud project can have multiple services enabled.  So, you could have 
> enabled Cloud Storage in the *same* project where you'd enabled Compute 
> Engine. (And, if you delete such a project, you're deleting not just your 
> compute engine setup, but your setup for all the services you'd enabled in 
> that project).
>
> Because you'd set things up a while ago, before app engine apps became 
> integrated with cloud projects, I suspect that you set up a Cloud Storage 
> bucket in one of your other cloud projects, then gave your app engine app 
> permission to connect with it by adding its service account to the 'team' 
> information in the project.  From the error you're getting, I suspect this 
> may have been one of your Compute Engine-enabled projects, that you've now 
> deleted.
>

I can confirm:
1. I have never connected Cloud Storage with any compute engine type 
projects. I only ever connected it to one my app engine style project. 
(100% for sure)
2. before yesterday, the app engine project run well, which means the Cloud 
Storage connects with the app engine project for sure.


>
> On 1 November 2013 18:05, Tapir > wrote:
>
>>
>>
>> On Friday, November 1, 2013 2:59:00 PM UTC+8, Amy Unruh wrote:
>>
>>> Tapir,
>>>
>>> I think the best way to diagnose is to use the web interface: start from 
>>> your cloud console (cloud.google.com/console) and look at each of your 
>>> existing projects in turn. Find the one that, in its Cloud Storage (GCS) 
>>> panel, lists the bucket that you're using for your app.  See what's in that 
>>> bucket.
>>>
>>
>> As I said above, there is no "Cloud Stoage" page for all my old app 
>> engine projects. I must replace copy the url for a newly created compute 
>> engine projects and replace the id part in the url to the old app engine 
>> project id. 
>>  
>>
>>>
>>> (If you have recently deleted some projects, and also your app has 
>>> recently started to have GCS issues, then it does sound like you might have 
>>> accidentally deleted the project that included the bucket you were using. 
>>>  But, go through each of your existing projects and check their GCS 
>>> buckets, and that will give you more definitive info).
>>>
>>
>> The deleted two project are all Compute Engine projects I created 
>> recently. I kust used them as VPNs. I have never connected them with my old 
>> Cloud Storage service.
>>  
>>
>>>
>>>
>>> On 1 November 2013 17:42, Tapir  wrote:
>>>


 On Friday, November 1, 2013 2:19:19 PM UTC+8, Amy Unruh wrote:
>
> Tapir,
>
> From your description, I am guessing that your app engine app was 
> created a while ago, and doesn't have an integrated cloud console project 
> automatically associated with it.  
> This means that when you set up your use of Cloud Storage (GCS) for 
> your app, you likely would have created a separate Cloud project, and 
> then 
> added your app engine's service account to the 'Teams' panel for that 
> project, so that your app engine app could access the GCS bucket.
> So, the first step is to reconstruct which cloud project, and which 
> GCS bucket in that project, your app is trying to connect to.
>

 Yes, you are right!
 I connected the Google Cloud Storage with my app engine app in the API 
 Console: 
 https://code.google.com/apis/**console/,
  
 about more than one year ago.

 Ok, I remember yesterday I really deleted two newly projects I created 
 after Google Compute Engine is released. I promise the two projects have 
 nothing relation with the Google Cloud Storage service.

 Would google remove my data occasionally with the removal of the two 
 project? I'm some nervous now.
  

>
> Then, once you figure out which project and GCS bucket you are using, 
> Vinny's suggestions for getting more info about the bucket contents are 
> good ones.  A good first step is to see if the data is still there as you 
> expect.
>
>
>
> On 1 November 2013 16:56, Vinny P  wrote:
>
>> On Thu, Oct 31, 2013 at 11:58 PM, Tapir  **wrot**
>> e:
>>  
>> There is no "Cloud Storage service" listed in the Google Cloud 
>>> Console for my this project. This project was created before the Google 
>>> Cloud Console was released.
>>> All my projects created before the Google Cloud Console was released 
>>> have no "Cloud St

Re: [google-appengine] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Amy Unruh
Tapir,

The cloud console lists not only your app engine apps, but all your Cloud
projects, including projects where you'd enabled Compute Engine or other
cloud services (e.g. Cloud Storage, BigQuery, Cloud SQL, etc.).
So that is why I suggested you just go systematically through that listing
and see if you can find your bucket. (I understand that the appengine-only
entries will not have Cloud Storage enabled).

A Cloud project can have multiple services enabled.  So, you could have
enabled Cloud Storage in the *same* project where you'd enabled Compute
Engine. (And, if you delete such a project, you're deleting not just your
compute engine setup, but your setup for all the services you'd enabled in
that project).

Because you'd set things up a while ago, before app engine apps became
integrated with cloud projects, I suspect that you set up a Cloud Storage
bucket in one of your other cloud projects, then gave your app engine app
permission to connect with it by adding its service account to the 'team'
information in the project.  From the error you're getting, I suspect this
may have been one of your Compute Engine-enabled projects, that you've now
deleted.


On 1 November 2013 18:05, Tapir  wrote:

>
>
> On Friday, November 1, 2013 2:59:00 PM UTC+8, Amy Unruh wrote:
>
>> Tapir,
>>
>> I think the best way to diagnose is to use the web interface: start from
>> your cloud console (cloud.google.com/console) and look at each of your
>> existing projects in turn. Find the one that, in its Cloud Storage (GCS)
>> panel, lists the bucket that you're using for your app.  See what's in that
>> bucket.
>>
>
> As I said above, there is no "Cloud Stoage" page for all my old app engine
> projects. I must replace copy the url for a newly created compute engine
> projects and replace the id part in the url to the old app engine project
> id.
>
>
>>
>> (If you have recently deleted some projects, and also your app has
>> recently started to have GCS issues, then it does sound like you might have
>> accidentally deleted the project that included the bucket you were using.
>>  But, go through each of your existing projects and check their GCS
>> buckets, and that will give you more definitive info).
>>
>
> The deleted two project are all Compute Engine projects I created
> recently. I kust used them as VPNs. I have never connected them with my old
> Cloud Storage service.
>
>
>>
>>
>> On 1 November 2013 17:42, Tapir  wrote:
>>
>>>
>>>
>>> On Friday, November 1, 2013 2:19:19 PM UTC+8, Amy Unruh wrote:

 Tapir,

 From your description, I am guessing that your app engine app was
 created a while ago, and doesn't have an integrated cloud console project
 automatically associated with it.
 This means that when you set up your use of Cloud Storage (GCS) for
 your app, you likely would have created a separate Cloud project, and then
 added your app engine's service account to the 'Teams' panel for that
 project, so that your app engine app could access the GCS bucket.
 So, the first step is to reconstruct which cloud project, and which GCS
 bucket in that project, your app is trying to connect to.

>>>
>>> Yes, you are right!
>>> I connected the Google Cloud Storage with my app engine app in the API
>>> Console: https://code.google.com/apis/console/, about more than
>>> one year ago.
>>>
>>> Ok, I remember yesterday I really deleted two newly projects I created
>>> after Google Compute Engine is released. I promise the two projects have
>>> nothing relation with the Google Cloud Storage service.
>>>
>>> Would google remove my data occasionally with the removal of the two
>>> project? I'm some nervous now.
>>>
>>>

 Then, once you figure out which project and GCS bucket you are using,
 Vinny's suggestions for getting more info about the bucket contents are
 good ones.  A good first step is to see if the data is still there as you
 expect.



 On 1 November 2013 16:56, Vinny P  wrote:

> On Thu, Oct 31, 2013 at 11:58 PM, Tapir  wrote:
>
> There is no "Cloud Storage service" listed in the Google Cloud Console
>> for my this project. This project was created before the Google Cloud
>> Console was released.
>> All my projects created before the Google Cloud Console was released
>> have no "Cloud Storage service" listed in the Google Cloud Console.
>> Before the Google Cloud Console was released, I check my buckets from
>> another url entry, but now I can't find it in google's documents.
>> The only entry I can find in the documents is Google Cloud Console.
>>
>>
>
> You can also look into a Cloud Storage bucket using gsutil:
> https://developers.google.com/storage/docs/gsutil
>
>
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>  --
> You received this mess

[google-appengine] !!! Warning: DON'T remove your any Google Compute Engine project now!!!

2013-11-01 Thread Tapir
Doing this may remove your Cloud Storage data without any warnings.
See this thread for detail: 
https://groups.google.com/forum/#!topic/google-appengine/YxsTLbi55JI

-- 
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] LIKE Query in NDB

2013-11-01 Thread Vijay Kumbhani
thanks 

On Wednesday, 30 October 2013 17:49:15 UTC+5:30, barryhunter wrote:
>
> In general* you can't. 
>
> Instead have a look at
> https://developers.google.com/appengine/docs/python/search/
>
>
>
>
>
>
> * You can emulate some LIKE queries, notably case-sensitive, prefix 
> queries (ie BINARY LIKE 'Something%') with range queries, but far from 
> ideal. 
>
>
>
> On 30 October 2013 12:06, Vijay Kumbhani 
> > wrote:
>
>> please help 
>> how to used like query in NDB Datastore 
>>
>> -- 
>> 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] use O auth 2.0 in gspread library ?

2013-11-01 Thread Vijay Kumbhani
gspread library : https://github.com/burnash/gspread

give me,  one examples 

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir


On Friday, November 1, 2013 2:59:00 PM UTC+8, Amy Unruh wrote:
>
> Tapir,
>
> I think the best way to diagnose is to use the web interface: start from 
> your cloud console (cloud.google.com/console) and look at each of your 
> existing projects in turn. Find the one that, in its Cloud Storage (GCS) 
> panel, lists the bucket that you're using for your app.  See what's in that 
> bucket.
>
> (If you have recently deleted some projects, and also your app has 
> recently started to have GCS issues, then it does sound like you might have 
> accidentally deleted the project that included the bucket you were using. 
>  But, go through each of your existing projects and check their GCS 
> buckets, and that will give you more definitive info).
>

Ok, I just went through all my projects. All my compute engine project's 
Cloud Storage pages are list nothing, no buckets at all. All my old app 
engine proejcts with master-lave datastore show "Error The project you 
requested is unavailable." All my old app engine with high-replication 
datastore shows "Please enable billing to use all features.Dismiss".

>
>
> On 1 November 2013 17:42, Tapir > wrote:
>
>>
>>
>> On Friday, November 1, 2013 2:19:19 PM UTC+8, Amy Unruh wrote:
>>>
>>> Tapir,
>>>
>>> From your description, I am guessing that your app engine app was 
>>> created a while ago, and doesn't have an integrated cloud console project 
>>> automatically associated with it.  
>>> This means that when you set up your use of Cloud Storage (GCS) for your 
>>> app, you likely would have created a separate Cloud project, and then added 
>>> your app engine's service account to the 'Teams' panel for that project, so 
>>> that your app engine app could access the GCS bucket.
>>> So, the first step is to reconstruct which cloud project, and which GCS 
>>> bucket in that project, your app is trying to connect to.
>>>
>>
>> Yes, you are right!
>> I connected the Google Cloud Storage with my app engine app in the API 
>> Console: https://code.google.com/apis/console/, about more than one year 
>> ago.
>>
>> Ok, I remember yesterday I really deleted two newly projects I created 
>> after Google Compute Engine is released. I promise the two projects have 
>> nothing relation with the Google Cloud Storage service.
>>
>> Would google remove my data occasionally with the removal of the two 
>> project? I'm some nervous now.
>>  
>>
>>>
>>> Then, once you figure out which project and GCS bucket you are using, 
>>> Vinny's suggestions for getting more info about the bucket contents are 
>>> good ones.  A good first step is to see if the data is still there as you 
>>> expect.
>>>
>>>
>>>
>>> On 1 November 2013 16:56, Vinny P  wrote:
>>>
 On Thu, Oct 31, 2013 at 11:58 PM, Tapir  **wrote:
  
 There is no "Cloud Storage service" listed in the Google Cloud Console 
> for my this project. This project was created before the Google Cloud 
> Console was released.
> All my projects created before the Google Cloud Console was released 
> have no "Cloud Storage service" listed in the Google Cloud Console.
> Before the Google Cloud Console was released, I check my buckets from 
> another url entry, but now I can't find it in google's documents.
> The only entry I can find in the documents is Google Cloud Console.
>
>

 You can also look into a Cloud Storage bucket using gsutil: 
 https://developers.**google.com/storage/docs/gsutil
 ** 
   

 -
 -Vinny P
 Technology & Media Advisor
 Chicago, IL

 App Engine Code Samples: 
 http://www.**learntogoogleit.com
  
  -- 
 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-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 e

Re: [google-appengine] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir
Is there a way to cancel removing my Compute Engine projects? 

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir
One of the two deleted Compute Engine is the first my ever created Compute 
Engine project.
After the removals, the Compute Engine project I mentioned above with 
project "another-project-id" becomes the exiting oldest created Compute 
Engine project.

Will Compute Engine team connect my old existed Cloud Storage service to 
the oldest created Compute Engine project automatically?

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir


On Friday, November 1, 2013 2:59:00 PM UTC+8, Amy Unruh wrote:
>
> Tapir,
>
> I think the best way to diagnose is to use the web interface: start from 
> your cloud console (cloud.google.com/console) and look at each of your 
> existing projects in turn. Find the one that, in its Cloud Storage (GCS) 
> panel, lists the bucket that you're using for your app.  See what's in that 
> bucket.
>

As I said above, there is no "Cloud Stoage" page for all my old app engine 
projects. I must replace copy the url for a newly created compute engine 
projects and replace the id part in the url to the old app engine project 
id. 
 

>
> (If you have recently deleted some projects, and also your app has 
> recently started to have GCS issues, then it does sound like you might have 
> accidentally deleted the project that included the bucket you were using. 
>  But, go through each of your existing projects and check their GCS 
> buckets, and that will give you more definitive info).
>

The deleted two project are all Compute Engine projects I created recently. 
I kust used them as VPNs. I have never connected them with my old Cloud 
Storage service.
 

>
>
> On 1 November 2013 17:42, Tapir > wrote:
>
>>
>>
>> On Friday, November 1, 2013 2:19:19 PM UTC+8, Amy Unruh wrote:
>>>
>>> Tapir,
>>>
>>> From your description, I am guessing that your app engine app was 
>>> created a while ago, and doesn't have an integrated cloud console project 
>>> automatically associated with it.  
>>> This means that when you set up your use of Cloud Storage (GCS) for your 
>>> app, you likely would have created a separate Cloud project, and then added 
>>> your app engine's service account to the 'Teams' panel for that project, so 
>>> that your app engine app could access the GCS bucket.
>>> So, the first step is to reconstruct which cloud project, and which GCS 
>>> bucket in that project, your app is trying to connect to.
>>>
>>
>> Yes, you are right!
>> I connected the Google Cloud Storage with my app engine app in the API 
>> Console: https://code.google.com/apis/console/, about more than one year 
>> ago.
>>
>> Ok, I remember yesterday I really deleted two newly projects I created 
>> after Google Compute Engine is released. I promise the two projects have 
>> nothing relation with the Google Cloud Storage service.
>>
>> Would google remove my data occasionally with the removal of the two 
>> project? I'm some nervous now.
>>  
>>
>>>
>>> Then, once you figure out which project and GCS bucket you are using, 
>>> Vinny's suggestions for getting more info about the bucket contents are 
>>> good ones.  A good first step is to see if the data is still there as you 
>>> expect.
>>>
>>>
>>>
>>> On 1 November 2013 16:56, Vinny P  wrote:
>>>
 On Thu, Oct 31, 2013 at 11:58 PM, Tapir  **wrote:
  
 There is no "Cloud Storage service" listed in the Google Cloud Console 
> for my this project. This project was created before the Google Cloud 
> Console was released.
> All my projects created before the Google Cloud Console was released 
> have no "Cloud Storage service" listed in the Google Cloud Console.
> Before the Google Cloud Console was released, I check my buckets from 
> another url entry, but now I can't find it in google's documents.
> The only entry I can find in the documents is Google Cloud Console.
>
>

 You can also look into a Cloud Storage bucket using gsutil: 
 https://developers.**google.com/storage/docs/gsutil
 ** 
   

 -
 -Vinny P
 Technology & Media Advisor
 Chicago, IL

 App Engine Code Samples: 
 http://www.**learntogoogleit.com
  
  -- 
 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-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

Re: [google-appengine] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Tapir
When I click the "Google Cloud Storage Manager" link in the "Google Cloud 
Storage" page of the API Console, it jumps to another newly created Compute 
Engine project, 
https://cloud.google.com/console#/project/apps~another-project-id/storage, not 
the old app engine project I ever connected with the Cloud Storage service.Show 
trimmed content (same as above I descripted for "Team" link). Surely, there 
is nothing stored in the newly created Compute Engine project.

When I manually change the url to 
https://cloud.google.com/console#/project/apps~this-project-id/storage, it 
says "Please enable billing to use all features.Dismiss" in a text box with 
yellow background.

What, I'm really confused! It is really confessing!

.

-- 
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] Re: Is Google Cloud Storage Java API broken now?

2013-11-01 Thread Amy Unruh
Tapir,

I think the best way to diagnose is to use the web interface: start from
your cloud console (cloud.google.com/console) and look at each of your
existing projects in turn. Find the one that, in its Cloud Storage (GCS)
panel, lists the bucket that you're using for your app.  See what's in that
bucket.

(If you have recently deleted some projects, and also your app has recently
started to have GCS issues, then it does sound like you might have
accidentally deleted the project that included the bucket you were using.
 But, go through each of your existing projects and check their GCS
buckets, and that will give you more definitive info).


On 1 November 2013 17:42, Tapir  wrote:

>
>
> On Friday, November 1, 2013 2:19:19 PM UTC+8, Amy Unruh wrote:
>>
>> Tapir,
>>
>> From your description, I am guessing that your app engine app was created
>> a while ago, and doesn't have an integrated cloud console project
>> automatically associated with it.
>> This means that when you set up your use of Cloud Storage (GCS) for your
>> app, you likely would have created a separate Cloud project, and then added
>> your app engine's service account to the 'Teams' panel for that project, so
>> that your app engine app could access the GCS bucket.
>> So, the first step is to reconstruct which cloud project, and which GCS
>> bucket in that project, your app is trying to connect to.
>>
>
> Yes, you are right!
> I connected the Google Cloud Storage with my app engine app in the API
> Console: https://code.google.com/apis/console/, about more than one year
> ago.
>
> Ok, I remember yesterday I really deleted two newly projects I created
> after Google Compute Engine is released. I promise the two projects have
> nothing relation with the Google Cloud Storage service.
>
> Would google remove my data occasionally with the removal of the two
> project? I'm some nervous now.
>
>
>>
>> Then, once you figure out which project and GCS bucket you are using,
>> Vinny's suggestions for getting more info about the bucket contents are
>> good ones.  A good first step is to see if the data is still there as you
>> expect.
>>
>>
>>
>> On 1 November 2013 16:56, Vinny P  wrote:
>>
>>> On Thu, Oct 31, 2013 at 11:58 PM, Tapir  wrote:
>>>
>>> There is no "Cloud Storage service" listed in the Google Cloud Console
 for my this project. This project was created before the Google Cloud
 Console was released.
 All my projects created before the Google Cloud Console was released
 have no "Cloud Storage service" listed in the Google Cloud Console.
 Before the Google Cloud Console was released, I check my buckets from
 another url entry, but now I can't find it in google's documents.
 The only entry I can find in the documents is Google Cloud Console.


>>>
>>> You can also look into a Cloud Storage bucket using gsutil:
>>> https://developers.google.com/storage/docs/gsutil
>>>
>>>
>>> -
>>> -Vinny P
>>> Technology & Media Advisor
>>> Chicago, IL
>>>
>>> App Engine Code Samples: http://www.learntogoogleit.com
>>>
>>>  --
>>> 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.
>

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