Re: [google-appengine] URLFetch service issues?

2013-07-24 Thread Vinny P
On Tue, Jul 23, 2013 at 10:02 AM, Jeff Schnitzer j...@infohazard.orgwrote:

 Anyone else seeing problems with URLFetch?  Last night we saw a lot of
 exceptions like this:

 Caused by: java.io.IOException: Could not fetch URL: https://urlredacted
   at 
 com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:137)
   at 
 com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:43)
   at 
 com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.fetchResponse(URLFetchServiceStreamHandler.java:417)
   at 
 com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getInputStream(URLFetchServiceStreamHandler.java:296)
   at 
 com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getResponseCode(URLFetchServiceStreamHandler.java:149)


 Hitting the URL from my desktop worked fine. It's odd that the error
 message didn't say timeout or anything like that, just an ambiguous
 Could not fetch URL.

 Seems to be ok now.




Hello Jeff,

Did you get the exception around midnight July 22nd? My apps were
experiencing problems with URLFetch as well. Here's a picture of one of my
logs:  http://imgur.com/UWoJ2LF


-
-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] convert jtable data to AutoCAD file format????

2013-07-24 Thread Vinny P
On Sat, Jul 20, 2013 at 12:57 AM, sumit jagtap jagtap.su...@gmail.comwrote:


 Hello , I want to know how to convert jtable data to AutoCAD file
 format(i.e .DXF or .DWG) . or is there any library or API to do this things
 in JAVA ???

 please help


Just to be clear, JTable refers to javax.swing.JTable correct? JTable isn't
intended to store data, it's used only for display purposes. If you have
data in a JTable, then you probably also have the original arrays
containing the data. Write them out into a CSV or Excel file and use
AutoCAD's Data Extraction Wizard to pull the data into AutoCAD where you
can save it as you like.

Alternatively, if you don't have the original arrays containing the data,
you can generate those arrays by using JTable's getValueAt() and iterating
through all the rows and columns. Then save them into a file and extract
them into AutoCAD.

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




-- 
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] SSL Errors, Peer Certificate

2013-07-24 Thread Evan Ruff
Hey guys,

I've had a question over on StackOverflow about some SSL errors I'm getting 
intermittently from my Android Application. The problem seems to be popping 
up more often lately and I was hoping someone could give me some direction 
about what's happening and how to solve the error. My original StackOverflow 
question is 
herehttp://stackoverflow.com/questions/15273274/android-to-appengine-ssl-communication
. 

To summarize, usually my communication over SSL to https://*myversion*-dot-*
myapp*.appspot.com usually goes off without a hitch; however, a few times 
per day I will receive a javax.net.ssl.SSLPeerUnverifiedException: No peer 
certificate exception in my application logs. Does anyone have any idea 
what's going on with this? A few other folks have starred my question, so I 
guess others are seeing it as well. Is there a configuration issue I'm 
missing on Android?

Thanks,

E

-- 
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] URLFetch service issues?

2013-07-24 Thread Jeff Schnitzer
We got a bunch of these again last night around 7:30pm Pacific. Our appid
is voost0.

I found this issue:
https://code.google.com/p/googleappengine/issues/detail?id=5189

Any idea what the cause of this might be? At the very least, the error msg
is ambiguous.

Jeff


On Tue, Jul 23, 2013 at 11:07 PM, Vinny P vinny...@gmail.com wrote:

 On Tue, Jul 23, 2013 at 10:02 AM, Jeff Schnitzer j...@infohazard.orgwrote:

 Anyone else seeing problems with URLFetch?  Last night we saw a lot of
 exceptions like this:

 Caused by: java.io.IOException: Could not fetch URL: https://urlredacted
  at 
 com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:137)
  at 
 com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:43)
  at 
 com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.fetchResponse(URLFetchServiceStreamHandler.java:417)
  at 
 com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getInputStream(URLFetchServiceStreamHandler.java:296)
  at 
 com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getResponseCode(URLFetchServiceStreamHandler.java:149)


 Hitting the URL from my desktop worked fine. It's odd that the error
 message didn't say timeout or anything like that, just an ambiguous
 Could not fetch URL.

 Seems to be ok now.




 Hello Jeff,

 Did you get the exception around midnight July 22nd? My apps were
 experiencing problems with URLFetch as well. Here's a picture of one of my
 logs:  http://imgur.com/UWoJ2LF


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




-- 
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] Issue 9468: create_gs_key web docs and docstring say opposite wrt storing blob key

2013-07-24 Thread alex
I'm wondering if someone can answer which one it is.

The online docs for create_gs_key function say: You can safely persist the 
blob key generated by this function just as you can persist ordinary blob 
keys in the Blobstore API.
https://developers.google.com/appengine/docs/python/blobstore/functions#create_gs_key
 

The docstring for google.appengine.api.blobstore.blobstore.create_gs_key 
says: This blob key should not be stored permanently as the access token 
will expire.

BTW, there are multiple issues that are probably need to be merged:
https://code.google.com/p/googleappengine/issues/detail?id=8740
https://code.google.com/p/googleappengine/issues/detail?id=9468

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] Re: ViewDoesNotExist Error

2013-07-24 Thread Shantanu Bhowmik
Anything on this ??

On Tuesday, July 23, 2013 9:10:50 PM UTC+5:30, Shantanu Bhowmik wrote:

 I'm porting a django application that works fine on my box, to appengine. 
 I keep getting this error:

 Tried main_page in module dashboard.views. Error was: type object 'XXX' 
 has no attribute 'YYY'


 XXX is a class that actually doesn't have an attribute called YYY, but no 
 where in the main_page view function has this attribute been referred. I 
 see that multiple people have reported this problem in the past, but none 
 of the topics have a definitive solution. 

 PS:I'm using python runtime 2.5. Can that be a problem ?


-- 
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] ViewDoesNotExist Error

2013-07-24 Thread Vinny P
On Tue, Jul 23, 2013 at 10:40 AM, Shantanu Bhowmik sbhow...@google.comwrote:

 I'm porting a django application that works fine on my box, to appengine.
 I keep getting this error:

 Tried main_page in module dashboard.views. Error was: type object 'XXX'
 has no attribute 'YYY'
 XXX is a class that actually doesn't have an attribute called YYY, but no
 where in the main_page view function has this attribute been referred. I
 see that multiple people have reported this problem in the past, but none
 of the topics have a definitive solution.



Hello Shantanu,

Can you post the source code? Or provide a simplified test case?

For this error to occur, something is accessing attribute YYY. You stated
that the main_page view isn't accessing this attribute, but perhaps the
object is being passed off to another function/file. If you're using a
framework, you also need to double check what the framework is doing - does
it use attribute YYY in some special way? Check that the object isn't being
declared as global. If you can't find anything, try defining attribute YYY
with a null value ( types.NoneType.None ) and see if any errors crop up.

Side note: I see you have an @google.com email address. Note that this is a
public mailing list, so don't send any code that cannot be made public.


On Tue, Jul 23, 2013 at 10:40 AM, Shantanu Bhowmik sbhow...@google.comwrote:

 PS:I'm using python runtime 2.5. Can that be a problem ?



Probably not, but it's a good idea to upgrade. It gives you performance
benefits such as multithreading (
https://developers.google.com/appengine/docs/python/python25/diff27 ).


-
-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] SSL Errors, Peer Certificate

2013-07-24 Thread Vinny P
On Wed, Jul 24, 2013 at 8:51 AM, Evan Ruff evan.r...@gmail.com wrote:

 To summarize, usually my communication over SSL to https://*myversion*
 -dot-*myapp*.appspot.com usually goes off without a hitch; however, a few
 times per day I will receive a javax.net.ssl.**SSLPeerUnverifiedException:
 No peer certificate exception in my application logs. Does anyone have
 any idea what's going on with this? A few other folks have starred my
 question, so I guess others are seeing it as well. Is there a configuration
 issue I'm missing on Android?



Hello Evan,

Can you try hardcoding the port, for example
https://example.com:443/demonstration/path? Some Android builds can get a
little bit loose with their understanding of HTTP.

Is there a specific Android OS version that is experiencing these problems,
or does it appear to come from all versions?


-
-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] SSL Errors, Peer Certificate

2013-07-24 Thread Evan Ruff
Hey Vinnie,

I only support 4.0+, and it seems to be coming from all flavors of 4.

I will update the address to reflect the port and push out a new version
sometime this week. I'll report back after that.

Thanks for the suggestion!

E


On Wed, Jul 24, 2013 at 2:26 PM, Vinny P vinny...@gmail.com wrote:

 On Wed, Jul 24, 2013 at 8:51 AM, Evan Ruff evan.r...@gmail.com wrote:

 To summarize, usually my communication over SSL to https://*myversion*
 -dot-*myapp*.appspot.com usually goes off without a hitch; however, a
 few times per day I will receive a 
 javax.net.ssl.**SSLPeerUnverifiedException:
 No peer certificate exception in my application logs. Does anyone have
 any idea what's going on with this? A few other folks have starred my
 question, so I guess others are seeing it as well. Is there a configuration
 issue I'm missing on Android?



 Hello Evan,

 Can you try hardcoding the port, for example
 https://example.com:443/demonstration/path? Some Android builds can get a
 little bit loose with their understanding of HTTP.

 Is there a specific Android OS version that is experiencing these
 problems, or does it appear to come from all versions?


 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

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


  --
 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/gE8MAlWImgo/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.
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] GAE/J - Completely lost on migrating from Files API to GCS Client Library

2013-07-24 Thread Vinny P
Hello Gilberto,

On Sat, Jul 20, 2013 at 9:07 PM, Gilberto Torrezan Filho 
gilberto.torre...@gmail.com wrote:

 The problem is the second line. As it seems now I have to provide a file
 name. Ok, I can gerente a random one, just to keep the API satisfied. Now
 the problem is the bucket name. I don't even know what it means. I just
 want to save a file.



A bucket is basically a container for all your files. Bucket names are
unique across Google Cloud Storage - once you reserve your bucket, it's
yours forever.


 On Sat, Jul 20, 2013 at 9:07 PM, Gilberto Torrezan Filho 
gilberto.torre...@gmail.com wrote:

 After searching a bit I found that it is something related to the Google
 Cloud Storage service. Ok, let's signup another service, accept another
 terms, and so on (... and I just want to save a file). When logging on the 
 Cloud
 Console https://cloud.google.com/console, I can see my App Engine
 project, with the following options: App Engine (which links to the App
 Engine Dashboard https://appengine.google.com/dashboard), BigQuery (not
 using) and Cloud Datastore (which links to a view of my stored entities).
 No Cloud Storage. Following this activation 
 guidehttps://developers.google.com/appengine/docs/java/googlecloudstorageclient/activate,
 I have to create another project (!!!).


You don't need to create a new project. Go into your Application Settings
page and press the button marked Add Project under the Cloud Integration
section. See here for a picture: http://imgur.com/9jMWHMj

I saw in an earlier email that the button wasn't working for you. Try it
again once or twice, sometimes it fails but it'll eventually integrate your
project.


On Sat, Jul 20, 2013 at 9:07 PM, Gilberto Torrezan Filho 
gilberto.torre...@gmail.com wrote:

 So no Cloud Storage dashboard or console anywhere, nowhere to configure or
 get that bucket name and no, I'm not going to drop my 2-years project to
 create another one just to enable file writing.


You don't have to drop your current project. If your current project isn't
integrating with Cloud Integration, what you can do is keep your current
project (holding your application) and create a new project that contains
only the Google Cloud Storage bucket.

Go to https://cloud.google.com/console - click the button marked Create
Project - fill in all the forms to create a new project (you may have to
activate billing). Click on the new project you've created (the screen will
look like this: http://imgur.com/iszb7lw ). Click on the Google Cloud
Storage link, and press the button marked New Bucket. Name your new
bucket whatever you want.

You can then configure your application to access the bucket (it's
irrelevant that they're technically within different projects).

On Sat, Jul 20, 2013 at 9:07 PM, Gilberto Torrezan Filho 
gilberto.torre...@gmail.com wrote:


 (Sorry for the text but I'm really upset with this situation)


 Don't apologize, it's much easier to help when people give detailed
comments on what they need :-).

I sympathize with you - I miss having the Files API as well.

-
-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] SendGrid Integration

2013-07-24 Thread Joshua Smith
Dunno how I missed this, but given the train wreck of GAE's email delivery, 
this is very promising:

https://developers.google.com/appengine/articles/sendgrid

-Joshua

-- 
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] SendGrid Integration

2013-07-24 Thread Dan Holevoet
Hi Joshua,

It was just announced this morning. More details here:
http://googlecloudplatform.blogspot.com/2013/07/sendgrid-gives-app-engine-developers.html

Thanks,
Dan


On Wed, Jul 24, 2013 at 1:22 PM, Joshua Smith joshuaesm...@charter.netwrote:

 Dunno how I missed this, but given the train wreck of GAE's email
 delivery, this is very promising:

 https://developers.google.com/appengine/articles/sendgrid

 -Joshua

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





-- 
Dan Holevoet
Google Developer Relations

-- 
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] cron task not running. No errors in log. Huh!?

2013-07-24 Thread Cesium
I have a cron task that is run every 5 minutes. From this chart of 
requests/sec over the past 3 hours you can see
that it has failed to run several times. The problem is particularly 
heinous within the past hour.

https://lh6.googleusercontent.com/-Q0Pf2gpqwqk/UfA4haeMqDI/C8E/CqN0lG_M64k/s1600/cron1.png

Beginning at about (-1hr) there are several missing executions in a row.

The logs show nothing at the expected execution times. There are no errors. 
When the task does run, it runs fine.

What the heck?

Does anyone know of a Dead Man Switch service that I can subscribe to? 
One that will notify me when the task fails to run for some Delta T?
(A service not running on AppEngine :)

David


-- 
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: cron task not running. No errors in log. Huh!?

2013-07-24 Thread Cesium
Might the task queue latency be relevant? Here's the status over the recent 
interval:

https://lh4.googleusercontent.com/-fvfVPa9aeGM/UfA_I7zQQiI/C8k/O2zcbRmbRfw/s1600/tq1.png

Oh, and I found plenty of Dead Man's Switch services. But none that can 
be reset by a URLFetch. And none with intervals as short as 10 minutes or 
so.
David


-- 
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] GAE/J - Completely lost on migrating from Files API to GCS Client Library

2013-07-24 Thread Kaan Soral
What do you do for the SDK?

I better create a sample app and check the situation, with the blobstore, 
it has a nice directory structure, which you can move around, change the 
directory with an argument etc.
Also wondering what can be done to move already existing blobstore sdk 
stuff to blobstore gcs structure, if that's possible

Can't imagine the frustration to do this for a live app


On Wednesday, July 24, 2013 10:38:01 PM UTC+3, Vinny P wrote:

 Hello Gilberto,

 On Sat, Jul 20, 2013 at 9:07 PM, Gilberto Torrezan Filho 

 The problem is the second line. As it seems now I have to provide a file 
 name. Ok, I can gerente a random one, just to keep the API satisfied. Now 
 the problem is the bucket name. I don't even know what it means. I just 
 want to save a file.

  
  
 A bucket is basically a container for all your files. Bucket names are 
 unique across Google Cloud Storage - once you reserve your bucket, it's 
 yours forever.
  
  
  On Sat, Jul 20, 2013 at 9:07 PM, Gilberto Torrezan Filho 

 After searching a bit I found that it is something related to the Google 
 Cloud Storage service. Ok, let's signup another service, accept another 
 terms, and so on (... and I just want to save a file). When logging on the 
 Cloud 
 Console https://cloud.google.com/console, I can see my App Engine 
 project, with the following options: App Engine (which links to the App 
 Engine Dashboard https://appengine.google.com/dashboard), BigQuery 
 (not using) and Cloud Datastore (which links to a view of my stored 
 entities). No Cloud Storage. Following this activation 
 guidehttps://developers.google.com/appengine/docs/java/googlecloudstorageclient/activate,
  
 I have to create another project (!!!).

  
 You don't need to create a new project. Go into your Application Settings 
 page and press the button marked Add Project under the Cloud Integration 
 section. See here for a picture: http://imgur.com/9jMWHMj 
  
 I saw in an earlier email that the button wasn't working for you. Try it 
 again once or twice, sometimes it fails but it'll eventually integrate your 
 project.
  
  
 On Sat, Jul 20, 2013 at 9:07 PM, Gilberto Torrezan Filho 

 So no Cloud Storage dashboard or console anywhere, nowhere to configure 
 or get that bucket name and no, I'm not going to drop my 2-years project 
 to create another one just to enable file writing.

  
 You don't have to drop your current project. If your current project isn't 
 integrating with Cloud Integration, what you can do is keep your current 
 project (holding your application) and create a new project that contains 
 only the Google Cloud Storage bucket. 
  
 Go to https://cloud.google.com/console - click the button marked Create 
 Project - fill in all the forms to create a new project (you may have to 
 activate billing). Click on the new project you've created (the screen will 
 look like this: http://imgur.com/iszb7lw ). Click on the Google Cloud 
 Storage link, and press the button marked New Bucket. Name your new 
 bucket whatever you want.
  
 You can then configure your application to access the bucket (it's 
 irrelevant that they're technically within different projects).
  
 On Sat, Jul 20, 2013 at 9:07 PM, Gilberto Torrezan Filho 


 (Sorry for the text but I'm really upset with this situation)

  
  Don't apologize, it's much easier to help when people give detailed 
 comments on what they need :-). 
  
 I sympathize with you - I miss having the Files API as well.
  
 -
 -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] Data for a app

2013-07-24 Thread Vinny P
 Hello Tiago,

On Mon, Jul 22, 2013 at 7:29 AM, Tiago Moraes tiagofmor...@gmail.comwrote:

 I'm trying to import some data to my app, i'm 'n00b', thats my 1st app,
 so any advice is welcome,the data that i will upload is about 350mb, its a
 .csv, i tryed to upload with the bulk upload, but i got the error :

 [ERROR   ] Kind stats are not available on dev_appserver.

 i searched a little, and i found that is because the app doesnt have de
 stats



If you're doing this type of data import frequently, it may be better to
write a custom application to handle the bulk loading.

If this is a rare occurrence, then you can declare a custom config.yml to
tell the bulkloader how to load your entities. See here:
http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/ and
scroll down to where it says *Bootstrapping the datastore with default
Entities*.


On Mon, Jul 22, 2013 at 7:29 AM, Tiago Moraes tiagofmor...@gmail.comwrote:

 if is useful, the data is here:

 http://dados.gov.br/dataset/atendimentos-de-consumidores-nos-procons-sindec




The link isn't loading for me, so I don't know exactly how the data is
structured. I'm getting 503 Service Unavailable: http://imgur.com/hlWVNYA


-
-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: Local development database

2013-07-24 Thread Vinny P
What language is your app in? Depending on the answer, it can be quite easy
to automate datastore rebuilds. For instance in Go, you can load your
entities within an array of structs then save the array using the built-in
JSON package. Do the same in reverse in load in all entities.

Failing that you can connect your development server to the App Engine
production datastore using the Remote API (
https://developers.google.com/appengine/docs/java/tools/remoteapi ) to do
your testing on.


-
-Vinny P
Technology  Media Advisor
Chicago, IL

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




On Thu, Jul 18, 2013 at 3:45 AM, Matija matija.jerko...@gmail.com wrote:

 very very very very very very **very very very very very very **
 very very very very very very **very

 This is at least one year old problem and we usually don't upgrade because
 of it. We actually upgrade SDK when we forget this problem!


 On Thursday, June 13, 2013 2:19:46 PM UTC+2, Ludovic Champenois wrote:

 Please file a bug. It might be complicated to fix as these internal
 classes change at every release (hence being repackaged for private only
 consumption...)




-- 
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: Where are search documents stored on the SDK?

2013-07-24 Thread Kaan Soral
No one? :)

On Tuesday, July 23, 2013 8:00:52 PM UTC+3, Kaan Soral wrote:

 There are sqlite databases for logs/datastore and their settings on the SDK

 However there is no search documents database, the kind of search 
 document where you insert to an index

 Therefore when you reset the sdk, all search documents are wiped

 What am I missing here?


-- 
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: Where are search documents stored on the SDK?

2013-07-24 Thread Kaan Soral
I figured out why my indexes were never saved (after seeing a saved 
search_indexes file in the issues and verifying that they are capable of 
being saved)

I was never using the GAE Launcher, as it was bugged a while ago, I 
actually never used it since the inception of Devappserver2

def cleanup_stubs():
  Do any necessary stub cleanup e.g. saving data.
  # Saving datastore
  logging.info('Applying all pending transactions and saving the datastore')
  datastore_stub = apiproxy_stub_map.apiproxy.GetStub('datastore_v3')
  datastore_stub.Write()
  logging.info('Saving search indexes')
  apiproxy_stub_map.apiproxy.GetStub('search').Write()
  apiproxy_stub_map.apiproxy.GetStub('taskqueue').Shutdown()

This routine in the manual launcher saves the search indexes, otherwise 
they always stay in the RAM, clumsy if you ask me

Anyway, as I'm using /Google/google_appengine/dev_appserver.py manually, 
I've made these modifications:
 
\Google\google_appengine\google\appengine\tools\devappserver2\admin\search_handler.py
 
-- at the header
from google.appengine.api import apiproxy_stub_map
import logging
 at the beginning of this classes's get handler: class 
SearchIndexesListHandler(BaseSearchHandler):
logging.info('Saving search indexes - Like a Boss')
apiproxy_stub_map.apiproxy.GetStub('search').Write()

So now, whenever I visit http://localhost:8000/search - search indexes get 
saved, yey


On Thursday, July 25, 2013 6:46:09 AM UTC+3, Kaan Soral wrote:

 No one? :)

 On Tuesday, July 23, 2013 8:00:52 PM UTC+3, Kaan Soral wrote:

 There are sqlite databases for logs/datastore and their settings on the 
 SDK

 However there is no search documents database, the kind of search 
 document where you insert to an index

 Therefore when you reset the sdk, all search documents are wiped

 What am I missing here?



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