Re: [google-appengine] 1.9.12 as latest release (from https://appengine.google.com/api/updatecheck)

2014-10-22 Thread Ricardo Bánffy
Oddly enough, whatever happened seems to be over. I'm getting 1.9.14 here too.

Anyone @google.com would like to chime in with a nice story?

On Wed, Oct 22, 2014 at 8:05 PM, Qian Qiao qian.q...@gmail.com wrote:
 On 21 October 2014 19:33, Ricardo Bánffy rban...@gmail.com wrote:

 Hi folks.

 While working on https://github.com/rbanffy/appengine.py (in an
 attempt to simplify https://github.com/rbanffy/testable_appengine, I'm
 experiencing some odd breakage because
 https://appengine.google.com/api/updatecheck is returning 'release:
 1.9.12' rather than the current, 1.9.13.

 Are supposed to still use this endpoint to get the latest version
 number? Is there a more current way to do it? Is it supposed to return
 the second latest release?

 Cheers

 --
 Ricardo Bánffy
 http://about.me/rbanffy


 I'm seeing: release: 1.9.14 timestamp: 1412902384 api_versions:
 ['1'] supported_api_versions: python: api_versions: ['1'] python27:
 api_versions: ['1'] go: api_versions: ['go1'] java7: api_versions:
 ['1.0']

 -- Joe

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



-- 
Ricardo Bánffy
http://about.me/rbanffy

-- 
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] 1.9.12 as latest release (from https://appengine.google.com/api/updatecheck)

2014-10-22 Thread Ricardo Bánffy
Earlier (today, IIRC), I got:

release: 1.9.12 timestamp: 1410473495 api_versions: ['1']
supported_api_versions: python: api_versions: ['1'] python27:
api_versions: ['1'] go: api_versions: ['go1'] java7: api_versions:
['1.0']

This is about 28 days before the 1.9.14 result (ts 1412902384), which
seems about right to be 1.9.12.

On Wed, Oct 22, 2014 at 8:18 PM, Ricardo Bánffy rban...@gmail.com wrote:
 Oddly enough, whatever happened seems to be over. I'm getting 1.9.14 here too.

 Anyone @google.com would like to chime in with a nice story?

 On Wed, Oct 22, 2014 at 8:05 PM, Qian Qiao qian.q...@gmail.com wrote:
 On 21 October 2014 19:33, Ricardo Bánffy rban...@gmail.com wrote:

 Hi folks.

 While working on https://github.com/rbanffy/appengine.py (in an
 attempt to simplify https://github.com/rbanffy/testable_appengine, I'm
 experiencing some odd breakage because
 https://appengine.google.com/api/updatecheck is returning 'release:
 1.9.12' rather than the current, 1.9.13.

 Are supposed to still use this endpoint to get the latest version
 number? Is there a more current way to do it? Is it supposed to return
 the second latest release?

 Cheers

 --
 Ricardo Bánffy
 http://about.me/rbanffy


 I'm seeing: release: 1.9.14 timestamp: 1412902384 api_versions:
 ['1'] supported_api_versions: python: api_versions: ['1'] python27:
 api_versions: ['1'] go: api_versions: ['go1'] java7: api_versions:
 ['1.0']

 -- Joe

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



 --
 Ricardo Bánffy
 http://about.me/rbanffy



-- 
Ricardo Bánffy
http://about.me/rbanffy

-- 
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] 1.9.12 as latest release (from https://appengine.google.com/api/updatecheck)

2014-10-21 Thread Ricardo Bánffy
Hi folks.

While working on https://github.com/rbanffy/appengine.py (in an
attempt to simplify https://github.com/rbanffy/testable_appengine, I'm
experiencing some odd breakage because
https://appengine.google.com/api/updatecheck is returning 'release:
1.9.12' rather than the current, 1.9.13.

Are supposed to still use this endpoint to get the latest version
number? Is there a more current way to do it? Is it supposed to return
the second latest release?

Cheers

-- 
Ricardo Bánffy
http://about.me/rbanffy

-- 
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] Python and tests

2014-01-21 Thread Ricardo Bánffy
Hi folks.

I have extracted a very basic toolset
(https://github.com/rbanffy/testable_appengine) from a larger
application because I thought it could be useful to other people who
feel uncomfortable with the difficulties in building unit-tests for
App Engine apps.

I'll be happy if it solves someone else's problems too.

-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

-- 
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] 404 when trying to deploy

2012-07-23 Thread Ricardo Bánffy
Hi folks.

Are we under some maintenance? When I try to appcfg.py update I get a

Error 404: --- begin server output ---
This application does not exist (app_id=u'xxx').


-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Re: 404 when trying to deploy

2012-07-23 Thread Ricardo Bánffy
Oddly enough, I fired up a Mac (Lion, Macports python 2.7, 1.7.0 SDK),
git pulled the project and appcfg.py update deployed the app
flawlessly. The problem persisted on the Ubuntu (vanilla 12.04, distro
python 2.7, 1.7.0 SDK) box until at least about 10 AM, the last time I
tried. Both computers are on the same network and have identical (DHCP
given) network configurations. Did something weird happen withing
Google this morning or do I have to dig deeper here?

On Mon, Jul 23, 2012 at 3:01 AM, Ricardo Bánffy rban...@gmail.com wrote:
 Hi folks.

 Are we under some maintenance? When I try to appcfg.py update I get a

 Error 404: --- begin server output ---
 This application does not exist (app_id=u'xxx').


 --
 Ricardo Bánffy
 http://www.dieblinkenlights.com
 http://twitter.com/rbanffy



-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Re: Frameworks on GAE

2012-07-23 Thread Ricardo Bánffy
 the
 following very strong statement: NO FRAMEWORKS. NONE. Deal with it.

 This leads me to ask the Google team for their position on this: Is it
 your position that GAE is an unsuitable platform for framework-driven apps?

 I'm using a framework, and trust the framework's authors to optimise their
 part of the piece as much as possible, but I'm paid to solve business
 problems, and am not about to dive into that timesink of esoterica. It's
 outside my skill-set, and properly so in my view. I've only really tinkered
 with GAE so far, and this is putting me off investing more time in what is
 starting to look like a risky platform for me.

 So Google peeps, if I want to write B2B apps using a framework, am I your
 market or not?

 Or is it your position that the low-level optimisation to balance start-up
 time and hosting cost will always be required?


 --

 Cheers,

 PhilK

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



-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Re: 404 when trying to deploy

2012-07-23 Thread Ricardo Bánffy
Something interesting: the deploy continues to fail from the Ubuntu
machine, which resolves appengine.google.com to 74.125.229.161. The
Mac is resolving it to 74.125.229.233. Can someone please check the
box on the 161 address?

On Mon, Jul 23, 2012 at 3:01 PM, Ricardo Bánffy rban...@gmail.com wrote:
 Oddly enough, I fired up a Mac (Lion, Macports python 2.7, 1.7.0 SDK),
 git pulled the project and appcfg.py update deployed the app
 flawlessly. The problem persisted on the Ubuntu (vanilla 12.04, distro
 python 2.7, 1.7.0 SDK) box until at least about 10 AM, the last time I
 tried. Both computers are on the same network and have identical (DHCP
 given) network configurations. Did something weird happen withing
 Google this morning or do I have to dig deeper here?

 On Mon, Jul 23, 2012 at 3:01 AM, Ricardo Bánffy rban...@gmail.com wrote:
 Hi folks.

 Are we under some maintenance? When I try to appcfg.py update I get a

 Error 404: --- begin server output ---
 This application does not exist (app_id=u'xxx').


 --
 Ricardo Bánffy
 http://www.dieblinkenlights.com
 http://twitter.com/rbanffy



 --
 Ricardo Bánffy
 http://www.dieblinkenlights.com
 http://twitter.com/rbanffy



-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Re: 404 when trying to deploy

2012-07-23 Thread Ricardo Bánffy
Thanks, Takashi. Erasing the file solved the problem.

Any idea why this happens? I am quite sure I entered the (correct) 
credentials again just now. :-/

BTW, can you 
close http://code.google.com/p/googleappengine/issues/detail?id=7888 ?

On Monday, July 23, 2012 10:55:17 PM UTC-3, Takashi Matsuo (Google) wrote:


 Please make sure that you're using the correct app-id and google account 
 for the deploy.
 Maybe you can erase the file ~/.appcfg_cookies (or rename), and retry 
 deploying the app.

 -- Takashi


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



Re: [google-appengine] is multiprocessing or pprocess supported by gae?

2012-02-10 Thread Ricardo Bánffy
If you explain why you need them, maybe someone will be able to help you. I
suspect App Engine doesn't support them, but there are other ways to
accomplish what they do.

On Fri, Feb 10, 2012 at 2:22 PM, saintthor saintt...@gmail.com wrote:

 i need them.

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




-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Starting a Video Series To Introduce Programmers to AppEngine (Python)

2012-01-20 Thread Ricardo Bánffy
If it's going to be for people who are yet to write their first hello
world, a quick intro do HTTP and how browser-server things work would
be important.

On Thu, Jan 19, 2012 at 11:22 PM, Brandon Wirtz drak...@digerat.com wrote:
 I am going to start doing a Video series for first time programmers on
 writing in AppEngine  with Python.



 I am going to recommend the Portable version of GAE with Python 2.5  this
 has some limitations but is easy to get started with.



 Does anyone have anything they specifically think people who have probably
 never even done a “Hello World” should know early on?









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



-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Rising cloud opportunities - zend survey

2012-01-12 Thread Ricardo Bánffy
Selection bias. Zend has much more contact with PHP developers and App
Engine doesn't do PHP. For them, things like Gondor, Heroku and
Djangozoom don't register.

On Thu, Jan 12, 2012 at 7:44 AM, Brandon Wirtz drak...@digerat.com wrote:
 People don't get infinite scale, or PaaS.  Plus Google doesn't have anyone
 who speaks Tech Press. So they don't get any love.

 -Original Message-
 From: google-appengine@googlegroups.com
 [mailto:google-appengine@googlegroups.com] On Behalf Of Efi Merdler-Kravitz
 Sent: Thursday, January 12, 2012 1:29 AM
 To: Google App Engine
 Subject: [google-appengine] Rising cloud opportunities - zend survey

 I've just read on GigaOm (http://gigaom.com/cloud/developers-will-
 flock-to-public-cloud-in-2012/) an interesting article on the adoption of
 cloud.

 An interesting question was about which public cloud services developers
 will use and app engine wasn't mentioned at all, Two points I'm interested
 to hear your thoughts on:
 1. It always seems that app engine is conceived as a toy cloud platform, *I
 know it's not*, but why the press treats it like that ?
 2. what's your experience with your colleagues, do you hear numbers like the
 ones mentioned on the article ?

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



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




-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Rising cloud opportunities - zend survey

2012-01-12 Thread Ricardo Bánffy
Sounds like a fun weekend ;-) project. And since WP is GPL, we could reuse
all of the templates, CSS files and so on (of course, with some
guarded optimism - I've seen under WP's hood) to gain some time and
give some familiar look and feel for users.

Not a bad idea.

On Thu, Jan 12, 2012 at 10:29 AM, Brandon Wirtz drak...@digerat.com wrote:
 I can blame Google for that too.  Why isn't there a good CMS for GAE? That
 would have been very high on my list. I'd have said to someone like me.
 here is $300k take a team and build us a wordpress killer.

 And GAE would have instantly been the CMS that doesn't crash and bloggers
 would talk about if GAE was better than PHP, and all the script kiddies
 would jump on board, and Voila instant credibility.

 Do you know how many times I have heard (and Google must have as well) But
 it doesn't run MySQL.
 To which I responded CMS WTF you say Gimme Record and you are done.
 There's no SQL in CMS's you could to that in tables or flat files.

 But because you can't run a blog on it, it must suck.


 -Original Message-
 From: google-appengine@googlegroups.com
 [mailto:google-appengine@googlegroups.com] On Behalf Of Ricardo Bánffy
 Sent: Thursday, January 12, 2012 4:00 AM
 To: google-appengine@googlegroups.com
 Subject: Re: [google-appengine] Rising cloud opportunities - zend survey

 Selection bias. Zend has much more contact with PHP developers and App
 Engine doesn't do PHP. For them, things like Gondor, Heroku and Djangozoom
 don't register.

 On Thu, Jan 12, 2012 at 7:44 AM, Brandon Wirtz drak...@digerat.com wrote:
 People don't get infinite scale, or PaaS.  Plus Google doesn't have
 anyone who speaks Tech Press. So they don't get any love.

 -Original Message-
 From: google-appengine@googlegroups.com
 [mailto:google-appengine@googlegroups.com] On Behalf Of Efi
 Merdler-Kravitz
 Sent: Thursday, January 12, 2012 1:29 AM
 To: Google App Engine
 Subject: [google-appengine] Rising cloud opportunities - zend survey

 I've just read on GigaOm (http://gigaom.com/cloud/developers-will-
 flock-to-public-cloud-in-2012/) an interesting article on the adoption
 of cloud.

 An interesting question was about which public cloud services
 developers will use and app engine wasn't mentioned at all, Two points
 I'm interested to hear your thoughts on:
 1. It always seems that app engine is conceived as a toy cloud
 platform, *I know it's not*, but why the press treats it like that ?
 2. what's your experience with your colleagues, do you hear numbers
 like the ones mentioned on the article ?

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



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




 --
 Ricardo Bánffy
 http://www.dieblinkenlights.com
 http://twitter.com/rbanffy

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



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




-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Duplicate app when you have too many apps

2012-01-06 Thread Ricardo Bánffy
Hi folks.

Is there a way around the not allowed to create anymore apps;reached
app creation limit? message when you are trying to migrate an app to
HRD? BTW, is there a way to keep the app id?

-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Duplicate app when you have too many apps

2012-01-06 Thread Ricardo Bánffy
Thanks, Ikai. I'm migrating them now.

On Fri, Jan 6, 2012 at 6:11 PM, Ikai Lan (Google) ika...@google.com wrote:
 Migrating to HRD using the new migration tool will create an alias, so
 requests to the old app ID should go to the new one. You do still have to
 create a new application ID, however.

 I've allocated a few more app IDs for your account. The current policy is
 that you can have up to 10 free applications and an unlimited amount of paid
 applications, but I think it's reasonable make exemptions on a case-by-case
 basis for people who have been using GAE for a long time who are migrating
 to HRD.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 plus.ikailan.com | twitter.com/ikai



 On Fri, Jan 6, 2012 at 11:27 AM, Ricardo Bánffy rban...@gmail.com wrote:

 Hi folks.

 Is there a way around the not allowed to create anymore apps;reached
 app creation limit? message when you are trying to migrate an app to
 HRD? BTW, is there a way to keep the app id?

 --
 Ricardo Bánffy
 http://www.dieblinkenlights.com
 http://twitter.com/rbanffy

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


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



-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Duplicate app when you have too many apps

2012-01-06 Thread Ricardo Bánffy
Will the aliases remain forever or will the -hrd ids be eventually
replaced by the original ones? Also, a couple apps were never deployed
- they are just names. Is it possible to change them to HRD apps
without going through the migration tool?

2012/1/6 Ricardo Bánffy rban...@gmail.com:
 Thanks, Ikai. I'm migrating them now.

 On Fri, Jan 6, 2012 at 6:11 PM, Ikai Lan (Google) ika...@google.com wrote:
 Migrating to HRD using the new migration tool will create an alias, so
 requests to the old app ID should go to the new one. You do still have to
 create a new application ID, however.

 I've allocated a few more app IDs for your account. The current policy is
 that you can have up to 10 free applications and an unlimited amount of paid
 applications, but I think it's reasonable make exemptions on a case-by-case
 basis for people who have been using GAE for a long time who are migrating
 to HRD.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 plus.ikailan.com | twitter.com/ikai



 On Fri, Jan 6, 2012 at 11:27 AM, Ricardo Bánffy rban...@gmail.com wrote:

 Hi folks.

 Is there a way around the not allowed to create anymore apps;reached
 app creation limit? message when you are trying to migrate an app to
 HRD? BTW, is there a way to keep the app id?

 --
 Ricardo Bánffy
 http://www.dieblinkenlights.com
 http://twitter.com/rbanffy

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


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



 --
 Ricardo Bánffy
 http://www.dieblinkenlights.com
 http://twitter.com/rbanffy



-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] can I disable billing on M/S project after migration

2012-01-06 Thread Ricardo Bánffy
I disabled one of my original m/s apps after migration and have a
pending deletion on another. We'll know for sure in 72 hours.

On Fri, Jan 6, 2012 at 6:55 PM, philburk burkp...@gmail.com wrote:
 I migrated my project from the M/S datastore to the HR datastore. I am
 now getting billed for both the old and new projects. Can I safely
 disable billing on the old M/S datastore project? It is under the free
 quota.

 I am worried because the old M/S project is aliased in mysterious ways
 to the new HR project. And there were posts here about problems with
 mods to the old project affecting the new project.

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




-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Re: dev_appserver.py not respecting --datastore_path

2011-10-19 Thread Ricardo Bánffy
Just one extra note - dev_appserver.py is lying. It correctly mounted
the specified SQLite data file, yet, it created the database in temp.
After startup i can see the data in the SQLite database through the
_ah/admin interface.

One more thing: dev_appserver.py created the database in the /tmp
folder like it reported, but isn't using it.

2011/10/18 Ricardo Bánffy rban...@gmail.com:
 Since the 1.5.5 upgrade, I noticed my dev_appserver.py is acting weird.

 $ dev_appserver.py --use_sqlite --datastore_path=dev_appserver_4.sql3 src
 Warning: You are using a Python runtime (2.7) that is more recent than
 the production runtime environment (2.5). Your application may use
 features that are not available in the production environment and may
 not work correctly when deployed to production.
 INFO     2011-10-18 13:08:34,657 appengine_rpc.py:159] Server:
 appengine.google.com
 INFO     2011-10-18 13:08:34,981 appcfg.py:463] Checking for updates to the 
 SDK.
 INFO     2011-10-18 13:08:35,846 appcfg.py:481] The SDK is up to date.
 INFO     2011-10-18 13:08:35,848 rdbms_sqlite.py:58] Connecting to
 SQLite database '' with file '/tmp/dev_appserver.rdbms'

 $ ls -l $(which dev_appserver.py)
 lrwxrwxrwx 1 root root 38 2011-09-18 13:59
 /usr/local/bin/dev_appserver.py -
 /opt/google_appengine/dev_appserver.py

 Shouldn't it connect to the ./dev_appserver_4.sql3 database? Am I
 making some basic mistake? Something *really* dumb?


 --
 Ricardo Bánffy
 http://www.dieblinkenlights.com
 http://twitter.com/rbanffy




-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] dev_appserver.py not respecting --datastore_path

2011-10-18 Thread Ricardo Bánffy
Since the 1.5.5 upgrade, I noticed my dev_appserver.py is acting weird.

$ dev_appserver.py --use_sqlite --datastore_path=dev_appserver_4.sql3 src
Warning: You are using a Python runtime (2.7) that is more recent than
the production runtime environment (2.5). Your application may use
features that are not available in the production environment and may
not work correctly when deployed to production.
INFO 2011-10-18 13:08:34,657 appengine_rpc.py:159] Server:
appengine.google.com
INFO 2011-10-18 13:08:34,981 appcfg.py:463] Checking for updates to the SDK.
INFO 2011-10-18 13:08:35,846 appcfg.py:481] The SDK is up to date.
INFO 2011-10-18 13:08:35,848 rdbms_sqlite.py:58] Connecting to
SQLite database '' with file '/tmp/dev_appserver.rdbms'

$ ls -l $(which dev_appserver.py)
lrwxrwxrwx 1 root root 38 2011-09-18 13:59
/usr/local/bin/dev_appserver.py -
/opt/google_appengine/dev_appserver.py

Shouldn't it connect to the ./dev_appserver_4.sql3 database? Am I
making some basic mistake? Something *really* dumb?


-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Simple alternative to AppScale and TyphoonAE

2011-10-04 Thread Ricardo Bánffy
Hi.

Both TyphoonAE and AppScale seem very geared towards PaaS providers
who want to let their clients safely deploy applications written for
GAE. Has anyone started a project aimed at allowing individuals or
small teams to deploy apps writter for GAE on their own servers? I
understand the idea of GAE (and AppScale and TyphoonAE) is to make
insanely scalable deployments, but, sincerely, most of us will never
need to go beyond 10 rps served off an EC2 t1.micro instance. And, if
it really needs to scale, redeploying to Google's infrastructure would
be a no brainer.

-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Re: Simple alternative to AppScale and TyphoonAE

2011-10-04 Thread Ricardo Bánffy
What if I have an app already written for GAE and want it hosted
elsewhere, but I don't require GAE/AppScale/TyphoonAE scalability nor
want to spend the effort required to set up AppScale or TAE?

On Tue, Oct 4, 2011 at 9:57 PM, Greg g.fawc...@gmail.com wrote:
 If you don't need to scale, then develop your app under WSGI instead.
 It'll be much easier because you can use standard databases instead of
 the datastore, and you won't have the pure-python and other service
 limits GAE has to impose to scale safely.


-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] appcfg.py download_data stuck

2011-09-14 Thread Ricardo Bánffy
Hi.

I'd like to download 1,189,010 entities on a master/slave datastore, but
appcfg seems stuck at 230,627 objects downloaded and further attempts to
recover more entities fail.

[INFO] Logging to bulkloader-log-20110914.170402
[INFO] Throttling transfers:
[INFO] Bandwidth: 25 bytes/second
[INFO] HTTP connections: 8/second
[INFO] Entities inserted/fetched/modified: 1000/second
[INFO] Batch Size: 10
[INFO] Opening database: bulkloader-progress-20110912.104310.sql3
[INFO] Opening database: [my_app].sql3
[INFO] Connecting to [my_app].appspot.com/_ah/remote_api
[INFO] Downloading kinds: [u'Status', u'Account', u'CounterSet']
Password for rban...@gmail.com:
[INFO] Have 230627 entities, 230627 previously transferred
[INFO] 230627 entities (5114 bytes) transferred in 3.7 seconds

Relevant log entries:

[DEBUG2011-09-14 17:05:07,010 bulkloader.py] Configuring remote_api.
url_path = /_ah/remote_api, servername = [my_app].appspot.com
[DEBUG2011-09-14 17:05:07,011 bulkloader.py] Bulkloader using app_id:
[my_app]
[INFO 2011-09-14 17:05:07,012 bulkloader.py] Connecting to [my_app].
appspot.com/_ah/remote_api
[DEBUG2011-09-14 17:05:10,634 bulkloader.py] Restarting upload using
progress database
[DEBUG2011-09-14 17:05:10,635 bulkloader.py] [Thread-11]
ExportProgressThread: started
[DEBUG2011-09-14 17:05:10,635 bulkloader.py] [Thread-12]
DataSourceThread: started
[INFO 2011-09-14 17:05:10,635 bulkloader.py] Downloading kinds:
[u'Status', u'Account', u'CounterSet']
[DEBUG2011-09-14 17:05:10,636 bulkloader.py] [Thread-12]
DataSourceThread: exiting
[DEBUG2011-09-14 17:05:10,638 bulkloader.py] Waiting for worker threads
to finish...

Has anyone experienced something like this?

-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Interesting error when downloading application data

2011-08-13 Thread Ricardo Bánffy
Hi.

I am having some weird problem I never encountered when trying to
replicate the server dataset on my workstation. I am trying:

appcfg.py download_data --application=[appname]
--url=http://[appname].appspot.com/_ah/remote_api
--filename=output.data

And getting

Downloading data records.
[INFO] Logging to bulkloader-log-20110813.205612
[INFO] Throttling transfers:
[INFO] Bandwidth: 25 bytes/second
[INFO] HTTP connections: 8/second
[INFO] Entities inserted/fetched/modified: 20/second
[INFO] Batch Size: 10
[INFO] Opening database: bulkloader-progress-20110813.205612.sql3
[INFO] Opening database: bulkloader-results-20110813.205612.sql3
[INFO] Connecting to [appname].appspot.com/_ah/remote_api
Traceback (most recent call last):
  File /usr/local/bin/appcfg.py, line 76, in module
run_file(__file__, globals())
  File /usr/local/bin/appcfg.py, line 72, in run_file
execfile(script_path, globals_)
  File /opt/google_appengine/google/appengine/tools/appcfg.py, line
3768, in module
main(sys.argv)
  File /opt/google_appengine/google/appengine/tools/appcfg.py, line
3759, in main
result = AppCfgApp(argv).Run()
  File /opt/google_appengine/google/appengine/tools/appcfg.py, line
2364, in Run
self.action(self)
  File /opt/google_appengine/google/appengine/tools/appcfg.py, line
3533, in __call__
return method()
  File /opt/google_appengine/google/appengine/tools/appcfg.py, line
3339, in PerformDownload
run_fn(args)
  File /opt/google_appengine/google/appengine/tools/appcfg.py, line
3251, in RunBulkloader
sys.exit(bulkloader.Run(arg_dict))
  File /opt/google_appengine/google/appengine/tools/bulkloader.py,
line 4369, in Run
return _PerformBulkload(arg_dict)
  File /opt/google_appengine/google/appengine/tools/bulkloader.py,
line 4264, in _PerformBulkload
return_code = app.Run()
  File /opt/google_appengine/google/appengine/tools/bulkloader.py,
line 3447, in Run
kinds = self.RunPostAuthentication()
  File /opt/google_appengine/google/appengine/tools/bulkloader.py,
line 3616, in RunPostAuthentication
return self.request_manager.GetSchemaKinds()
  File /opt/google_appengine/google/appengine/tools/bulkloader.py,
line 1354, in GetSchemaKinds
global_stat = stats.GlobalStat.all().get()
  File /opt/google_appengine/google/appengine/ext/db/__init__.py,
line 1974, in get
results = self.fetch(1, config=config)
  File /opt/google_appengine/google/appengine/ext/db/__init__.py,
line 2027, in fetch
raw = raw_query.Get(limit, offset, config=config)
  File /opt/google_appengine/google/appengine/api/datastore.py, line
1504, in Get
batch = batcher.next_batch(limit)
  File /opt/google_appengine/google/appengine/datastore/datastore_query.py,
line 2299, in next_batch
batch = self.__next_batch.get_result()
  File /opt/google_appengine/google/appengine/api/apiproxy_stub_map.py,
line 592, in get_result
return self.__get_result_hook(self)
  File /opt/google_appengine/google/appengine/datastore/datastore_query.py,
line 2049, in __query_result_hook
self._conn.check_rpc_success(rpc)
  File /opt/google_appengine/google/appengine/datastore/datastore_rpc.py,
line 1074, in check_rpc_success
raise _ToDatastoreError(err)
google.appengine.api.datastore_errors.BadRequestError: app s~[appname]
cannot access app [appname]'s data

Should I worry? Should I RTFM again?

-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Re: Interesting error when downloading application data

2011-08-13 Thread Ricardo Bánffy
Thanks, Tim. Worked flawlessly.

On Sat, Aug 13, 2011 at 9:18 PM, Tim Hoffman zutes...@gmail.com wrote:
 The s~ bit is a n artifact of running on HR.
 Try the download with the s~ added to your [appid]
 Its been discussed in the groups a lot, not sure if there are any docs
 anywhere.  (Haven't looked)
 Also note there is a  new argument for the dev server
 --default_partition        Default partition to use in the
 APPLICATION_ID. (Default dev) which you will want to use
 If you don't set it, your appid in the key will look like dev~[appid]
 If you have an old dev datastore you need to set it to no value or you can't
 access your data
 Rgds
 T

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




-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Weird ImportErrors

2011-07-15 Thread Ricardo Bánffy
Hi folks.

I am consistently having them despite the libraries being there. It
seems that something in werkzeug deeply offends GAE. A single URL
presents this error in the vitamina-01 app. Others with similar
patterns, don't.

No module named handlers
Traceback (most recent call last):
  File .../lib/dist/tipfy/app.py, line 245, in dispatch
rv = self.handle_exception(request, e)
  File .../lib/dist/tipfy/app.py, line 241, in dispatch
rv = self.router.dispatch(request)
  File .../lib/dist/tipfy/routing.py, line 89, in dispatch
self.handlers[handler] = import_string(handler)
  File .../lib/dist/werkzeug/utils.py, line 526, in import_string
return getattr(__import__(module, None, None, [obj]), obj)
ImportError: No module named handlers

I filed a comment at
http://code.google.com/p/googleappengine/issues/detail?id=3652 because
I believe this is not a new condition.

Any ideas? Workarounds?

-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



Re: [google-appengine] Re: Building Python 2.5.6 on Ubuntu Natty

2011-07-14 Thread Ricardo Bánffy
That's great to hear. Thank you both Ernesto and Danilo for the help.

I borked my own Natty once trying to shoehorn 2.5 on it and wasn't
very happy with the idea of risking it again.

BTW, the build issue should be solved. It's not like the latest Ubuntu
release and Google's App Engine are obscure things. If someone from
python-devel happens to read this list, I'd be more than happy to help
if someone could point me the way.

On Thu, Jul 14, 2011 at 9:50 AM, Danilo Penna Queiroz
daniloquei...@octahedron.com.br wrote:
 Hello all,
 I maintain a ubuntu repository with python2.5, eclipse pydev plugin, and the
 GAE sdk, both python and java. All packages are ready to go just by using
 apt-get.
 The python's version is 2.5.5. In truth, it's the same package that Ernesto
 has posted here, i've just copied it to a unique repository.
 https://launchpad.net/~daniloqueiroz/+archive/dev?field.series_filter=natty

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




-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Building Python 2.5.6 on Ubuntu Natty

2011-07-13 Thread Ricardo Bánffy
Hi folks.

Has anyone succeeded in building Python 2.5.6 from sources in Ubuntu
Natty? I installed all the build dependencies and keep getting

running build_ext
/usr/include/sqlite3.h: version 3.7.4
Traceback (most recent call last):
  File ./setup.py, line 1545, in module
main()
  File ./setup.py, line 1540, in main
'Lib/smtpd.py']
  File /tmp/Python-2.5.6/Lib/distutils/core.py, line 151, in setup
  File /tmp/Python-2.5.6/Lib/distutils/dist.py, line 974, in run_commands
  File /tmp/Python-2.5.6/Lib/distutils/dist.py, line 994, in run_command
  File /tmp/Python-2.5.6/Lib/distutils/command/build.py, line 112, in run
  File /root/Python-2.5.6/Lib/cmd.py, line 333, in run_command
del help[cmd]
  File /tmp/Python-2.5.6/Lib/distutils/dist.py, line 994, in run_command
  File /tmp/Python-2.5.6/Lib/distutils/command/build_ext.py, line 290, in run
  File ./setup.py, line 97, in build_extensions
self.detect_modules()
  File ./setup.py, line 810, in detect_modules
sqlite_libdir = [os.path.abspath(os.path.dirname(sqlite_libfile))]
  File /root/Python-2.5.6/Lib/posixpath.py, line 119, in dirname
return split(p)[0]
  File /root/Python-2.5.6/Lib/posixpath.py, line 77, in split
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
make: *** [sharedmods] Error 1

when I do make test and

Compiling /opt/python2.5/lib/python2.5/zipfile.py ...
make: *** [libinstall] Error 1

when I do make install

Any ideas?

Is there any official-ish advice on how to develop for GAE under
Ubuntu Natty? Has anyone successfully compiled 2.5.6 under Natty?

-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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



[google-appengine] Re: Problems when downloading data from the app

2011-02-08 Thread Ricardo Bánffy
I would suggest placing a strategic pdb.set_trace() around the error
lines right before the bulkloader checks if the error is in the
non_fatal_error_codes set. This way, you could check what the error
code is and add it in the same fashion I did in my patch.

On Feb 2, 3:48 am, antichrist ttlt...@gmail.com wrote:
 I have similar problem, but slight different error message.

 [ERROR    2011-02-02 14:40:50,286 adaptive_thread_pool.py] Error in
 Thread-1: urlopen error (10014, 'Bad address')
 [DEBUG    2011-02-02 14:40:50,301 adaptive_thread_pool.py] Traceback
 (most recent call last):
   File C:\Documents and Settings\Administrator\My Documents
 \pointmarket\google_appengine\google\appengine\tools\bulkloader.py,
 line 693, in PerformWork
     transfer_time = self._TransferItem(thread_pool)
   File C:\Documents and Settings\Administrator\My Documents
 \pointmarket\google_appengine\google\appengine\tools\bulkloader.py,
 line 1081, in _TransferItem
     self, retry_parallel=self.first)
   File C:\Documents and Settings\Administrator\My Documents
 \pointmarket\google_appengine\google\appengine\tools\bulkloader.py,
 line 1358, in GetEntities
     results = self._QueryForPbs(query)
   File C:\Documents and Settings\Administrator\My Documents
 \pointmarket\google_appengine\google\appengine\tools\bulkloader.py,
 line 1308, in _QueryForPbs
     result_pb)
   File D:\Program Files\Google\google_appengine\google\appengine\api
 \apiproxy_stub_map.py, line 78, in MakeSyncCall
     return apiproxy.MakeSyncCall(service, call, request, response)
   File D:\Program Files\Google\google_appengine\google\appengine\api
 \apiproxy_stub_map.py, line 278, in MakeSyncCall
     rpc.CheckSuccess()
   File D:\Program Files\Google\google_appengine\google\appengine\api
 \apiproxy_rpc.py, line 149, in _WaitImpl
     self.request, self.response)
   File D:\Program Files\Google\google_appengine\google\appengine\ext
 \remote_api\remote_api_stub.py, line 223, in MakeSyncCall
     handler(request, response)
   File D:\Program Files\Google\google_appengine\google\appengine\ext
 \remote_api\remote_api_stub.py, line 232, in _Dynamic_RunQuery
     'datastore_v3', 'RunQuery', query, query_result)
   File D:\Program Files\Google\google_appengine\google\appengine\ext
 \remote_api\remote_api_stub.py, line 155, in MakeSyncCall
     self._MakeRealSyncCall(service, call, request, response)
   File D:\Program Files\Google\google_appengine\google\appengine\ext
 \remote_api\remote_api_stub.py, line 167, in _MakeRealSyncCall
     encoded_response = self._server.Send(self._path, encoded_request)
   File D:\Program Files\Google\google_appengine\google\appengine\tools
 \appengine_rpc.py, line 346, in Send
     f = self.opener.open(req)
   File D:\Python25\lib\urllib2.py, line 381, in open
     response = self._open(req, data)
   File D:\Python25\lib\urllib2.py, line 399, in _open
     '_open', req)
   File D:\Python25\lib\urllib2.py, line 360, in _call_chain
     result = func(*args)
   File D:\Python25\lib\urllib2.py, line 1107, in http_open
     return self.do_open(httplib.HTTPConnection, req)
   File D:\Python25\lib\urllib2.py, line 1082, in do_open
     raise URLError(err)
 URLError: urlopen error (10014, 'Bad address')

 [DEBUG    2011-02-02 14:40:50,301 bulkloader.py] Waiting for
 progress_thread to terminate...
 [DEBUG    2011-02-02 14:40:50,316 bulkloader.py] [Thread-11]
 ExportProgressThread: exiting
 [DEBUG    2011-02-02 14:40:50,316 bulkloader.py] ... done.
 [INFO     2011-02-02 14:40:50,332 bulkloader.py] Have 892 entities, 0
 previously transferred
 [INFO     2011-02-02 14:40:50,332 bulkloader.py] 892 entities (5134783
 bytes) transferred in 63.6 seconds

 ---

 This URLError: urlopen error (10014, 'Bad address') error occur
 every time I try to download data after some time.

 Has anyone know about this problem?

 On 1월24일, 오후5시23분, Ricardo Bánffy rban...@gmail.com wrote:

  in case it affects anyone else, one line fixes it:

  Index: google/appengine/tools/bulkloader.py
  ===
  --- google/appengine/tools/bulkloader.py        (revision 142)
  +++ google/appengine/tools/bulkloader.py        (working copy)
  @@ -698,6 +698,8 @@
                          transfer_time)
             sys.stdout.write('.')
             sys.stdout.flush()
  +          # Since we had at least one successful transfer, we could
  assume DNS errors are transient
  +          non_fatal_error_codes.add(-2)
             status = adaptive_thread_pool.WorkItem.SUCCESS
             if transfer_time = MAXIMUM_INCREASE_DURATION:
               instruction = adaptive_thread_pool.ThreadGate.INCREASE

  BTW, is there a nice constant for this kind of error? Adding a -2 to
  the set seems dirty, to say the least.

  2011/1/22 Ricardo Bánffy rban...@gmail.com:

   Hi.

   I have been, for the past couple days, to download data from the live
   app to my local development copy. Every time

[google-appengine] Problems when downloading data from the app

2011-01-24 Thread Ricardo Bánffy
Hi.

I have been, for the past couple days, to download data from the live
app to my local development copy. Every time, sometimes a couple hours
and gigabytes into the download, I get a

.[INFO] An error occurred. Shutting down...
..[ERROR   ] Error in Thread-8: urlopen error (-2, 'Name or service
not known')

[INFO] Have 210 entities, 0 previously transferred
[INFO] 210 entities (2145028 bytes) transferred in 54.4 seconds

message.

I assume a try/except with a couple retries around it would fix the
problem - as it looks like a transient DNS failure - and I'll dig
deeper into appcfg.py's code tomorrow in order to fix this, but,
before I do,  has anyone fixed this before?

BTW, I'm running 1.4.1 on Ubuntu 10.10 with a built-from-sources
Python 2.5.5 (Ubuntu doesn't package it anymore).

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



[google-appengine] Re: Problems when downloading data from the app

2011-01-24 Thread Ricardo Bánffy
in case it affects anyone else, one line fixes it:

Index: google/appengine/tools/bulkloader.py
===
--- google/appengine/tools/bulkloader.py(revision 142)
+++ google/appengine/tools/bulkloader.py(working copy)
@@ -698,6 +698,8 @@
transfer_time)
   sys.stdout.write('.')
   sys.stdout.flush()
+  # Since we had at least one successful transfer, we could
assume DNS errors are transient
+  non_fatal_error_codes.add(-2)
   status = adaptive_thread_pool.WorkItem.SUCCESS
   if transfer_time = MAXIMUM_INCREASE_DURATION:
 instruction = adaptive_thread_pool.ThreadGate.INCREASE

BTW, is there a nice constant for this kind of error? Adding a -2 to
the set seems dirty, to say the least.

2011/1/22 Ricardo Bánffy rban...@gmail.com:
 Hi.

 I have been, for the past couple days, to download data from the live
 app to my local development copy. Every time, sometimes a couple hours
 and gigabytes into the download, I get a

 .[INFO    ] An error occurred. Shutting down...
 ..[ERROR   ] Error in Thread-8: urlopen error (-2, 'Name or service
 not known')

 [INFO    ] Have 210 entities, 0 previously transferred
 [INFO    ] 210 entities (2145028 bytes) transferred in 54.4 seconds

 message.

 I assume a try/except with a couple retries around it would fix the
 problem - as it looks like a transient DNS failure - and I'll dig
 deeper into appcfg.py's code tomorrow in order to fix this, but,
 before I do,  has anyone fixed this before?

 BTW, I'm running 1.4.1 on Ubuntu 10.10 with a built-from-sources
 Python 2.5.5 (Ubuntu doesn't package it anymore).



-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy

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