Re: [google-appengine] dev_appserver.py cannot connect to some HTTP endpoint

2014-06-04 Thread Vinny P
On Tue, Jun 3, 2014 at 6:28 AM, Marco Lovato maglov...@gmail.com wrote:

 I have absolutelly no idea. And even if I asked for, I wont be told. And
 if someone did, I would be not allowed to tell :-)
 Sorry, its a big IT company. And yes, probably (99.99%) the proxy here
 grabs everything.
 I will try my way for now, @work, and the suggested IDE.
 Tks.



As someone who has also worked in large IT companies, I can completely
sympathize with your situation :-)

One last thing to try: Install a VM application (VMWare Player
http://www.vmware.com/products/player for example), then install the App
Engine SDK inside the VM and try again. The VM might be able to route
outbound connections properly since the proxy/protection software isn't
directly attached.


-
-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/d/optout.


Re: [google-appengine] Python and java modules in the same app

2014-06-04 Thread Vinny P
On Sat, May 24, 2014 at 7:38 AM, LPryor louise.pr...@gmail.com wrote:

 - How do you manage the configuration?  The Java xml-based configuration
 expects the app to list all the modules, whereas the Python yaml-based
 configuration doesn't. So is the Java yaml-based configuration the way to
 go?



You would upload the Java and Python applications as separate versions, then
route requests using a dispatch file
https://developers.google.com/appengine/docs/python/modules/routing.
Where did you expect to list the modules?


On Sat, May 24, 2014 at 7:38 AM, LPryor louise.pr...@gmail.com wrote:

 - Should I develop a whole Java app, essentially a stub default module
 alongside the module I actually want, or can I do just the module I want?



Just the module you want. There's no need to add in other modules you don't
want. Although it should be noted that a module itself is a Java app, so
adding another module doesn't make it a whole Java app.


-
-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/d/optout.


Re: [google-appengine] Python and java modules in the same app

2014-06-04 Thread Diego Duclos
I would strongly discourage using versions for this, using different
modules for the same appengine project is much a MUCH more sane way to do
this.


On Wed, Jun 4, 2014 at 8:07 PM, Vinny P vinny...@gmail.com wrote:

 On Sat, May 24, 2014 at 7:38 AM, LPryor louise.pr...@gmail.com wrote:

 - How do you manage the configuration?  The Java xml-based configuration
 expects the app to list all the modules, whereas the Python yaml-based
 configuration doesn't. So is the Java yaml-based configuration the way to
 go?



 You would upload the Java and Python applications as separate versions, then
 route requests using a dispatch file
 https://developers.google.com/appengine/docs/python/modules/routing.
 Where did you expect to list the modules?


 On Sat, May 24, 2014 at 7:38 AM, LPryor louise.pr...@gmail.com wrote:

 - Should I develop a whole Java app, essentially a stub default module
 alongside the module I actually want, or can I do just the module I want?



 Just the module you want. There's no need to add in other modules you
 don't want. Although it should be noted that a module itself is a Java app,
 so adding another module doesn't make it a whole Java app.


 -
 -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/d/optout.


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


Re: [google-appengine] doesn't App Engine send Content-Length header for static content now?

2014-06-04 Thread Vinny P
Forgot to mention:

You can also issue a HEAD request against the file. Head requests return
only the headers so you won't get the file contents, but you will get a
*Content-Length* header with the size of the file. Then you can issue a
standard GET request to actually download the file.

-
-Vinny P
Technology  Media Advisor
Chicago, IL

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


On Wed, Jun 4, 2014 at 1:06 PM, Vinny P vinny...@gmail.com wrote:

 On Tue, Jun 3, 2014 at 6:03 AM, Tapir tapir@gmail.com wrote:

 My Flash app will load a static file (about 300k) in my app engine app.
 But for past several months, the progress always is shown as 0%.
 The reason for the problem is event.bytesTotal is always 0 now (but GAE
 returns the actual file size several months before).



 Can you go into Chrome's Developer Tools and screenshot the response
 headers? It should look like this: http://imgur.com/xntN07g

 In particular, do you see any headers marked *Transfer-Encoding* or any
 *3xx* status codes? If you do see a *Transfer-Encoding: Chunked* header,
 that's why. Chunked transfers don't send a content length (read more here
 http://en.wikipedia.org/wiki/Chunked_transfer_encoding) so you'll need
 to figure out an alternate way to calculate the progress bar or send the
 content length via another method.


 -
 -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/d/optout.


Re: [google-appengine] dev_appserver.py cannot connect to some HTTP endpoint

2014-06-04 Thread Marco Lovato
Hum... Its already a xubuntu VM using virtualbox inside a win machine.
Hehehe

I am installing a new workstation for myself, with linux on host... Will
try this way tomorrow.

Best
Marco

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


[google-appengine] how to update via a proxy?

2014-06-04 Thread saintthor
in these days, always get urlopen error [Errno 101] Network is 
unreachable in updating.

i have a proxy at 127.0.0.1:7070, so i can access the blocked websites. how 
to update my app via this proxy?

show me the command line please.

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