[google-appengine] Re: Is there any open source project/ticket management app that can be deployed on App Engine?

2009-09-04 Thread Jaap Taal
Use google code.


Jaap

On Thu, Sep 3, 2009 at 4:38 PM, arpit  wrote:

>
> I have just started with GAE and one of the things I'd like to do is
> deploy something like Trac or RedMine to track the project we are
> working on. Unfortunately Trac doesnt work on GAE since it needs MySQL
> or similar relational database. Is there any app for tracking projects/
> ticket management for GAE?
>
> thanks
> -arpit
>
> >
>

--~--~-~--~~~---~--~~
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: running a long process once

2009-09-04 Thread FolkenDA

Hello,

I am trying the third solution for a few days now without success.
Is this functionality available only since yesterday release ?
If so, can where can I found some informations about dumping the local
database ?

On Sep 4, 4:26 am, Matthew Blain  wrote:
> The typical answer is to split up your operation.
> You solve this particular problem in a few ways:
>  * Split the data--if it only takes about 30 seconds to parse your
> entire file, then splitting it into two should easily get you under
> the 30 second limit on the server. Do note that the performance
> characteristics of the datastore are quite different on the server
> than in dev_appserver.
>  * Use remote_api -- write your translation tool with remote_api in
> mind and run it locally but pointing at your production datastore.
>  * Use the bulkloader -- effectively the same thing, wrapped in some
> code which handles backoff and such for you. However this may be
> difficult.
>  * Run it locally, importing into dev_appserver, and use the new --
> dump and --restore feature of the bulkloader to move the data to your
> app on App Engine.
>
> http://code.google.com/appengine/docs/python/tools/uploadingdata.htmlhttp://code.google.com/appengine/articles/remote_api.html
>
> --Matthew
>
> On Sep 3, 11:43 am, dogan kaya berktas  wrote:
>
> > I am converting a legacy project to a new developed java project on
> > GAE. I exported the old data into an XML file and want to parse it and
> > add to GAE once. However it takes around 30 seconds to read and create
> > new data structure on my local machine and this is why I can not run
> > it on GAE even if, it should only called once.
>
> > Any suggestions for long batch operations on GAE?
>
> > Thanks
>
>
--~--~-~--~~~---~--~~
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: Upload local datastore content to App Engine

2009-09-04 Thread FolkenDA

I will try that, thank you !

On Sep 4, 4:22 am, Matthew Blain  wrote:
> One of the new features of today's release is a --dump and --restore
> flag in the bulkloader, allowing configurationless download and
> restore of a dataset. It should work for exactly this scenario: you
> have data in one instance (say on dev_appserver) and want to upload it
> to another (say on appspot.com).
>
> You can find more information 
> athttp://code.google.com/appengine/docs/python/tools/uploadingdata.html...
>
> I'm not sure about the datastore_v3 error, but it may also be
> something we fixed.
>
> --Matthew
>
> On Sep 3, 11:35 am, FolkenDA  wrote:
>
> > Hello everyone,
>
> > I'm new to GAE and I am currently trying to move a website of mine to
> > this platform.
>
> > re-write the PHP code into python was really easy. However, I'm now
> > trying to move data from an mySQL database into the GAE datastore.
>
> > I was previously storing images in a directory in the server file
> > system, so I successfully wrote a script that fetch them and store
> > them in the local datastore.
> > The script works in dev server because they have no timeout, but the
> > GAE servers do.
>
> > I tried to download the local datastore into CSV files that could be
> > uploaded using the bulkloader method but got the following error:
>
> > AssertionError: No api proxy found for service "datastore_v3"
>
> > I guess dev servers do not emulate this functionality.
> > Is there some way I could use to upload local datastore to the
> > production one ?
>
> > Thank you,
>
> > Folken
>
>
--~--~-~--~~~---~--~~
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: Is there any open source project/ticket management app that can be deployed on App Engine?

2009-09-04 Thread Brandon N. Wirtz
Anything off the shelf will use flat files or SQL. neither of these
technologies will work on GAE.  Porting the SQL calls to GQL is not an
overwhelming task. but you would then be on your own branch so you'd be on
yoru own for updates.

 

In these situations it is generally best to deploy the app on a supported
platform, and start off loading the bits that are easiest to do to GAE
first, until eventually the whole app runs on GAE.

 

I have done this with several of my installs. and find even getting 75%
running on GAE can help my scalability.

 

From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of Jaap Taal
Sent: Friday, September 04, 2009 12:48 AM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Re: Is there any open source project/ticket
management app that can be deployed on App Engine?

 

Use google code.

 


Jaap

On Thu, Sep 3, 2009 at 4:38 PM, arpit  wrote:


I have just started with GAE and one of the things I'd like to do is
deploy something like Trac or RedMine to track the project we are
working on. Unfortunately Trac doesnt work on GAE since it needs MySQL
or similar relational database. Is there any app for tracking projects/
ticket management for GAE?

thanks
-arpit







--~--~-~--~~~---~--~~
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: Performance of site seems much slower after maintenance.

2009-09-04 Thread MediumFidelity

I am seeing the same issue.  Requests the used to take hundreds of
milliseconds are now in the thousands.

Any idea what is going on?

Later,
MF

On Sep 2, 9:01 pm, bvelasquez  wrote:
> Hello,
>
> My application (ID: jacob-6) seems to be performing worse after the
> maintenance of yesterday.  I have not made any significant changes
> that would  affect performance to this degree, but I definitely see a
> change since yesterday.  Requests are taking much longer and is
> unpredictable.  For example, look at the following two requests.  Both
> for the exact same information, doing the exact same processing.  The
> times are very close since I ran the request manually.  The first took
> much longer to process.
>
> 09-02 06:56PM 13.604 /project/topactions/
> agdqYWNvYi02cg4LEgdQcm9qZWN0GOoHDA?
> milestone_id=agdqYWNvYi02chALEglNaWxlc3RvbmUY4zYM 200 329ms 385cpu_ms
> 151api_cpu_ms
>
> 09-02 06:55PM 51.014 /project/topactions/
> agdqYWNvYi02cg4LEgdQcm9qZWN0GOoHDA?
> milestone_id=agdqYWNvYi02chALEglNaWxlc3RvbmUY4zYM 200 1508ms
> 1240cpu_ms 151api_cpu_ms
>
> This behavior is happening across all my requests.
>
> I'll try it from a different network connection when I go home
> tonight.  Maybe this has something to do with it.
>
> Any ideas?  My app went from pretty snappy to pretty slow overnight.
>
> Barry
--~--~-~--~~~---~--~~
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: Can't Update SDK?

2009-09-04 Thread Jaap Taal
The update check is a little bit behind, I've noticed that with the previous
release too.
Jaap

On Fri, Sep 4, 2009 at 6:09 AM, Mr. Rajiv Bakulesh Shah
wrote:

>
> Hi, guys.
>
> I'm running the App Engine SDK version 1.2.4 on OS X Snow Leopard.  I
> just saw on Twitter that version 1.2.5 has been released.  However,
> when I click on "Help" -> "Check for Updates...", it pops up a window
> that says, "Check successful.  No updates needed, or none chosen for
> install."  What gives?
>
> Thanks,
> Raj
>
> >
>

--~--~-~--~~~---~--~~
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: Is there any open source project/ticket management app that can be deployed on App Engine?

2009-09-04 Thread Jaap Taal
Seriously, don't wast time on building/porting/hacking/slashing a trac-like
thing on GAE, use google code...
Jaap

On Fri, Sep 4, 2009 at 10:38 AM, Brandon N. Wirtz wrote:

>  Anything off the shelf will use flat files or SQL… neither of these
> technologies will work on GAE.  Porting the SQL calls to GQL is not an
> overwhelming task… but you would then be on your own branch so you’d be on
> yoru own for updates.
>
>
>
> In these situations it is generally best to deploy the app on a supported
> platform, and start off loading the bits that are easiest to do to GAE
> first, until eventually the whole app runs on GAE.
>
>
>
> I have done this with several of my installs… and find even getting 75%
> running on GAE can help my scalability.
>
>
>
> *From:* google-appengine@googlegroups.com [mailto:
> google-appeng...@googlegroups.com] *On Behalf Of *Jaap Taal
> *Sent:* Friday, September 04, 2009 12:48 AM
> *To:* google-appengine@googlegroups.com
> *Subject:* [google-appengine] Re: Is there any open source project/ticket
> management app that can be deployed on App Engine?
>
>
>
> Use google code.
>
>
>
>
> Jaap
>
> On Thu, Sep 3, 2009 at 4:38 PM, arpit  wrote:
>
>
> I have just started with GAE and one of the things I'd like to do is
> deploy something like Trac or RedMine to track the project we are
> working on. Unfortunately Trac doesnt work on GAE since it needs MySQL
> or similar relational database. Is there any app for tracking projects/
> ticket management for GAE?
>
> thanks
> -arpit
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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] Dramatic increase in api cpu usage.

2009-09-04 Thread herbie

Have there been any recent changes to the DataStore or API (I’m using
python) that can account from a dramatic increase in api cpu usage
when putting entities into the datastore?


My app has a request handler that creates about 100 new entities in
the datastore from data posted by the user.

A few weeks ago the average api_cpu_ms for a single request to this
handler was aprox 7000 api_cpu_ms (expensive enough!)

But I tested it again last night and now its about 22000 api_cpu_ms -
a 3x increase!!

The request handler hasn’t changed and the entity models haven’t
changed, my indexes haven’t changed and user data in the post hasn’t
changed.   So I can not account for the huge increase in api_cpu_ms.

(I’ve run older versions of my app and still the api_cpu_ms is about
22000.  Again it used to be about 7000)


FYI. One request creates about 100 new entities, all in a single
entity group, using a batch put() in a transaction.   The  entities
have 10 properties,  but only 5 are indexed (no list properties)





--~--~-~--~~~---~--~~
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: Upload local datastore content to App Engine

2009-09-04 Thread FolkenDA

I successully downloaded the local datastore into 3 separate CSV
files: Item.csv (~300kb), Type.csv (30kb) and Picture.csv (~300mb).
Uploading the 2 small was also successful.
However, the last file provoked the following error:

$ bulkloader.py --restore --kind=Picture --filename=Picture.csv --
url=http://.appspot.com/remote_api /
[INFO] Logging to bulkloader-log-20090904.120446
[INFO] Throttling transfers:
[INFO] Bandwidth: 25 bytes/second
[INFO] HTTP connections: 8/second
[INFO] Entities inserted/fetched/modified: 20/second
[INFO] Opening database: bulkloader-progress-20090904.120446.sql3
[INFO] Connecting to immo-willaerts.appspot.com/remote_api
Please enter login credentials for .appspot.com
Email: folke...@gmail.com
Password for folke...@gmail.com:
[INFO] Starting import; maximum 10 entities per post
[ERROR   ] [Thread-2] WorkerThread:
Traceback (most recent call last):
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/adaptive_thread_pool.py", line 150, in
WorkOnItems
status, instruction = item.PerformWork(self.__thread_pool)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 675, in PerformWork
transfer_time = self._TransferItem(thread_pool)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 832, in _TransferItem
self.request_manager.PostEntities(self.content)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/bulkloader.py", line 1239, in PostEntities
datastore.Put(entities)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/api/datastore.py", line 169, in Put
apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/api/apiproxy_stub_map.py", line 72, in MakeSyncCall
apiproxy.MakeSyncCall(service, call, request, response)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/api/apiproxy_stub_map.py", line 255, in MakeSyncCall
rpc.CheckSuccess()
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/api/apiproxy_rpc.py", line 111, in CheckSuccess
raise self.exception
RequestTooLargeError: The request to API call datastore_v3.Put() was
too large.
[INFO] Backing off due to errors: 1.0 seconds
[INFO] Unexpected thread death: Thread-2
[INFO] An error occurred. Shutting down...
[ERROR   ] Error in Thread-2: The request to API call datastore_v3.Put
() was too large.

[INFO] 1020 entites total, 0 previously transferred
[INFO] 0 entities (0 bytes) transferred in 30.0 seconds
[INFO] Some entities not successfully transferred


Each row stored an image which size is ~100-300kb.
Should I tried using Loader classes ?

Thanks for you help

On Sep 4, 10:19 am, FolkenDA  wrote:
> I will try that, thank you !
>
> On Sep 4, 4:22 am, Matthew Blain  wrote:
>
> > One of the new features of today's release is a --dump and --restore
> > flag in the bulkloader, allowing configurationless download and
> > restore of a dataset. It should work for exactly this scenario: you
> > have data in one instance (say on dev_appserver) and want to upload it
> > to another (say on appspot.com).
>
> > You can find more information 
> > athttp://code.google.com/appengine/docs/python/tools/uploadingdata.html...
>
> > I'm not sure about the datastore_v3 error, but it may also be
> > something we fixed.
>
> > --Matthew
>
> > On Sep 3, 11:35 am, FolkenDA  wrote:
>
> > > Hello everyone,
>
> > > I'm new to GAE and I am currently trying to move a website of mine to
> > > this platform.
>
> > > re-write the PHP code into python was really easy. However, I'm now
> > > trying to move data from an mySQL database into the GAE datastore.
>
> > > I was previously storing images in a directory in the server file
> > > system, so I successfully wrote a script that fetch them and store
> > > them in the local datastore.
> > > The script works in dev server because they have no timeout, but the
> > > GAE servers do.
>
> > > I tried to download the local datastore into CSV files that could be
> > > uploaded using the bulkloader method but got the following error:
>
> > > AssertionError: No api proxy found for service "datastore_v3

[google-appengine] Re: Upload local datastore content to App Engine

2009-09-04 Thread Nick Johnson (Google)
Hi FolkenDA,
Since your entities are so large, you'll need to specify a smaller batch
size, such as --batch_size=3.

-Nick Johnson

On Fri, Sep 4, 2009 at 11:11 AM, FolkenDA  wrote:

>
> I successully downloaded the local datastore into 3 separate CSV
> files: Item.csv (~300kb), Type.csv (30kb) and Picture.csv (~300mb).
> Uploading the 2 small was also successful.
> However, the last file provoked the following error:
>
> $ bulkloader.py --restore --kind=Picture --filename=Picture.csv --
> url=http://.appspot.com/remote_api /
> [INFO] Logging to bulkloader-log-20090904.120446
> [INFO] Throttling transfers:
> [INFO] Bandwidth: 25 bytes/second
> [INFO] HTTP connections: 8/second
> [INFO] Entities inserted/fetched/modified: 20/second
> [INFO] Opening database: bulkloader-progress-20090904.120446.sql3
> [INFO] Connecting to immo-willaerts.appspot.com/remote_api
> Please enter login credentials for .appspot.com
> Email: folke...@gmail.com
> Password for folke...@gmail.com:
> [INFO] Starting import; maximum 10 entities per post
> [ERROR   ] [Thread-2] WorkerThread:
> Traceback (most recent call last):
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/adaptive_thread_pool.py", line 150, in
> WorkOnItems
>status, instruction = item.PerformWork(self.__thread_pool)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 675, in PerformWork
>transfer_time = self._TransferItem(thread_pool)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 832, in _TransferItem
>self.request_manager.PostEntities(self.content)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 1239, in PostEntities
>datastore.Put(entities)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/datastore.py", line 169, in Put
>apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_stub_map.py", line 72, in MakeSyncCall
>apiproxy.MakeSyncCall(service, call, request, response)
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_stub_map.py", line 255, in MakeSyncCall
>rpc.CheckSuccess()
>  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_rpc.py", line 111, in CheckSuccess
>raise self.exception
> RequestTooLargeError: The request to API call datastore_v3.Put() was
> too large.
> [INFO] Backing off due to errors: 1.0 seconds
> [INFO] Unexpected thread death: Thread-2
> [INFO] An error occurred. Shutting down...
> [ERROR   ] Error in Thread-2: The request to API call datastore_v3.Put
> () was too large.
>
> [INFO] 1020 entites total, 0 previously transferred
> [INFO] 0 entities (0 bytes) transferred in 30.0 seconds
> [INFO] Some entities not successfully transferred
>
>
> Each row stored an image which size is ~100-300kb.
> Should I tried using Loader classes ?
>
> Thanks for you help
>
> On Sep 4, 10:19 am, FolkenDA  wrote:
> > I will try that, thank you !
> >
> > On Sep 4, 4:22 am, Matthew Blain  wrote:
> >
> > > One of the new features of today's release is a --dump and --restore
> > > flag in the bulkloader, allowing configurationless download and
> > > restore of a dataset. It should work for exactly this scenario: you
> > > have data in one instance (say on dev_appserver) and want to upload it
> > > to another (say on appspot.com).
> >
> > > You can find more information athttp://
> code.google.com/appengine/docs/python/tools/uploadingdata.html...
> >
> > > I'm not sure about the datastore_v3 error, but it may also be
> > > something we fixed.
> >
> > > --Matthew
> >
> > > On Sep 3, 11:35 am, FolkenDA  wrote:
> >
> > > > Hello everyone,
> >
> > > > I'm new to GAE and I am currently trying to move a website of mine to
> > > > this platform.
> >
> > > > re-write the PHP code into python was really easy. However, I'm now
> > > > trying to move data from an mySQL database into the GAE datastore.
> >
> > > > I was previously storing images in a directory in the server file
> > > > system, so I successfully wrote a script that fetch th

[google-appengine] Re: Upload local datastore content to App Engine

2009-09-04 Thread FolkenDA

Seems like setting --batch_size=1 solved the problem ;)

On Sep 4, 12:11 pm, FolkenDA  wrote:
> I successully downloaded the local datastore into 3 separate CSV
> files: Item.csv (~300kb), Type.csv (30kb) and Picture.csv (~300mb).
> Uploading the 2 small was also successful.
> However, the last file provoked the following error:
>
> $ bulkloader.py --restore --kind=Picture --filename=Picture.csv --
> url=http://.appspot.com/remote_api /
> [INFO    ] Logging to bulkloader-log-20090904.120446
> [INFO    ] Throttling transfers:
> [INFO    ] Bandwidth: 25 bytes/second
> [INFO    ] HTTP connections: 8/second
> [INFO    ] Entities inserted/fetched/modified: 20/second
> [INFO    ] Opening database: bulkloader-progress-20090904.120446.sql3
> [INFO    ] Connecting to immo-willaerts.appspot.com/remote_api
> Please enter login credentials for .appspot.com
> Email: folke...@gmail.com
> Password for folke...@gmail.com:
> [INFO    ] Starting import; maximum 10 entities per post
> [ERROR   ] [Thread-2] WorkerThread:
> Traceback (most recent call last):
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/adaptive_thread_pool.py", line 150, in
> WorkOnItems
>     status, instruction = item.PerformWork(self.__thread_pool)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 675, in PerformWork
>     transfer_time = self._TransferItem(thread_pool)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 832, in _TransferItem
>     self.request_manager.PostEntities(self.content)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/tools/bulkloader.py", line 1239, in PostEntities
>     datastore.Put(entities)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/datastore.py", line 169, in Put
>     apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_stub_map.py", line 72, in MakeSyncCall
>     apiproxy.MakeSyncCall(service, call, request, response)
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_stub_map.py", line 255, in MakeSyncCall
>     rpc.CheckSuccess()
>   File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> google/appengine/api/apiproxy_rpc.py", line 111, in CheckSuccess
>     raise self.exception
> RequestTooLargeError: The request to API call datastore_v3.Put() was
> too large.
> [INFO    ] Backing off due to errors: 1.0 seconds
> [INFO    ] Unexpected thread death: Thread-2
> [INFO    ] An error occurred. Shutting down...
> [ERROR   ] Error in Thread-2: The request to API call datastore_v3.Put
> () was too large.
>
> [INFO    ] 1020 entites total, 0 previously transferred
> [INFO    ] 0 entities (0 bytes) transferred in 30.0 seconds
> [INFO    ] Some entities not successfully transferred
>
> Each row stored an image which size is ~100-300kb.
> Should I tried using Loader classes ?
>
> Thanks for you help
>
> On Sep 4, 10:19 am, FolkenDA  wrote:
>
> > I will try that, thank you !
>
> > On Sep 4, 4:22 am, Matthew Blain  wrote:
>
> > > One of the new features of today's release is a --dump and --restore
> > > flag in the bulkloader, allowing configurationless download and
> > > restore of a dataset. It should work for exactly this scenario: you
> > > have data in one instance (say on dev_appserver) and want to upload it
> > > to another (say on appspot.com).
>
> > > You can find more information 
> > > athttp://code.google.com/appengine/docs/python/tools/uploadingdata.html...
>
> > > I'm not sure about the datastore_v3 error, but it may also be
> > > something we fixed.
>
> > > --Matthew
>
> > > On Sep 3, 11:35 am, FolkenDA  wrote:
>
> > > > Hello everyone,
>
> > > > I'm new to GAE and I am currently trying to move a website of mine to
> > > > this platform.
>
> > > > re-write the PHP code into python was really easy. However, I'm now
> > > > trying to move data from an mySQL database into the GAE datastore.
>
> > > > I was previously storing images in a directory in the server file
> > > > system, so I successfully wrote a script that fetch them and store
> > > > them in the local datastore.
> > > > The script works in dev server b

[google-appengine] Re: XMPP not working for me..

2009-09-04 Thread Jérémy Selier

Hello,

Did you add inbound_services in your app.yaml to activate the XMPP
service in order to receive messages ?
See: 
http://code.google.com/intl/fr-FR/appengine/docs/python/xmpp/overview.html#Receiving_Instant_Messages

--
Jeremy

On Sep 4, 7:21 am, bvelasquez  wrote:
> Hello,
>
> I gave the XMPP API a try and it does not work for me.  The bot is
> active and in my IM contact list.  I created the post handler
> following the API instruction:
>
> class XmppHandler(webapp.RequestHandler):
>         def post(self):
>                 logging.info("XMPP Received.")
>                 message = xmpp.Message(self.request.POST)
>                 if message.body[0:5].lower() == 'hello':
>                         message.reply("Greetings!")
>                 else:
>                         message.reply("I have no idea.")
>
>         def get(self):
>                 self.response.out.write("Hello")
>
> I even added a "get" method to make sure the handler is setup
> properly.  The GET is handled ok and returns Hello in the browser.
>
> I get no log message from the "logging.info()" call I make.  No errors
> in the log also.
>
> Anyone try this yet or have success?
>
> Barry
--~--~-~--~~~---~--~~
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] Slow response static javascript files on development server

2009-09-04 Thread j...@q42.nl

I have about 10 javascript/css files which are included in my html
pages, but it takes 1+ second to load each file on the development
server. This is highly anoying. Why isn't my static_dir handler using
Last-Modified/If-Modified-Since?
- url: /js
  static_dir: js
- url: /css
  static_dir: css

I've tried to set a expiration on the handlers as well as a
default_expiration.

These are the headers when I have expiration set:
Server  Development/1.0
DateFri, 04 Sep 2009 10:41:13 GMT
Content-Typeapplication/x-javascript
Expires Fri, 04 Sep 2009 11:41:13 GMT
Cache-Control   public, max-age=3600
Content-Length  100240

These are when expiration isn't set:
Server  Development/1.0
DateFri, 04 Sep 2009 10:41:18 GMT
Content-Typetext/css
Cache-Control   no-cache
Expires Fri, 01 Jan 1990 00:00:00 GMT
Content-Length  100240
--~--~-~--~~~---~--~~
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: Performance of site seems much slower after maintenance.

2009-09-04 Thread Tim Hoffman

I was going to say everything was fine, but I went ahnd checked and
now its gone
to hell in a hand basket, startup time is taking longer than 30
seconds and google is reporting Error 500.

Very nasty

T

On Sep 3, 10:01 am, bvelasquez  wrote:
> Hello,
>
> My application (ID: jacob-6) seems to be performing worse after the
> maintenance of yesterday.  I have not made any significant changes
> that would  affect performance to this degree, but I definitely see a
> change since yesterday.  Requests are taking much longer and is
> unpredictable.  For example, look at the following two requests.  Both
> for the exact same information, doing the exact same processing.  The
> times are very close since I ran the request manually.  The first took
> much longer to process.
>
> 09-02 06:56PM 13.604 /project/topactions/
> agdqYWNvYi02cg4LEgdQcm9qZWN0GOoHDA?
> milestone_id=agdqYWNvYi02chALEglNaWxlc3RvbmUY4zYM 200 329ms 385cpu_ms
> 151api_cpu_ms
>
> 09-02 06:55PM 51.014 /project/topactions/
> agdqYWNvYi02cg4LEgdQcm9qZWN0GOoHDA?
> milestone_id=agdqYWNvYi02chALEglNaWxlc3RvbmUY4zYM 200 1508ms
> 1240cpu_ms 151api_cpu_ms
>
> This behavior is happening across all my requests.
>
> I'll try it from a different network connection when I go home
> tonight.  Maybe this has something to do with it.
>
> Any ideas?  My app went from pretty snappy to pretty slow overnight.
>
> Barry
--~--~-~--~~~---~--~~
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: Performance of site seems much slower after maintenance.

2009-09-04 Thread Tim Hoffman

And then it was fine.  I seemed to hit a momentary blip, as the site
is now very fine, however the dashboard logviewer was actually broken
for a bit
and then fine.  Things seem to be all over the shop at the moment.

T

On Sep 4, 7:09 pm, Tim Hoffman  wrote:
> I was going to say everything was fine, but I went ahnd checked and
> now its gone
> to hell in a hand basket, startup time is taking longer than 30
> seconds and google is reporting Error 500.
>
> Very nasty
>
> T
>
> On Sep 3, 10:01 am, bvelasquez  wrote:
>
> > Hello,
>
> > My application (ID: jacob-6) seems to be performing worse after the
> > maintenance of yesterday.  I have not made any significant changes
> > that would  affect performance to this degree, but I definitely see a
> > change since yesterday.  Requests are taking much longer and is
> > unpredictable.  For example, look at the following two requests.  Both
> > for the exact same information, doing the exact same processing.  The
> > times are very close since I ran the request manually.  The first took
> > much longer to process.
>
> > 09-02 06:56PM 13.604 /project/topactions/
> > agdqYWNvYi02cg4LEgdQcm9qZWN0GOoHDA?
> > milestone_id=agdqYWNvYi02chALEglNaWxlc3RvbmUY4zYM 200 329ms 385cpu_ms
> > 151api_cpu_ms
>
> > 09-02 06:55PM 51.014 /project/topactions/
> > agdqYWNvYi02cg4LEgdQcm9qZWN0GOoHDA?
> > milestone_id=agdqYWNvYi02chALEglNaWxlc3RvbmUY4zYM 200 1508ms
> > 1240cpu_ms 151api_cpu_ms
>
> > This behavior is happening across all my requests.
>
> > I'll try it from a different network connection when I go home
> > tonight.  Maybe this has something to do with it.
>
> > Any ideas?  My app went from pretty snappy to pretty slow overnight.
>
> > Barry
--~--~-~--~~~---~--~~
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: question regarding session tokens and users

2009-09-04 Thread Dave

Does anyone have feedback on this? It seems I can't be the only one
trying to do something like this.

Thanks! Dave
--~--~-~--~~~---~--~~
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: XMPP not working for me..

2009-09-04 Thread bvelasquez


Yup. Did that.  Followed every step which are few. The bot does not
respond with the default message for unknown commands when I used the
xmpp command handler.

On Sep 4, 6:40 am, Jérémy Selier  wrote:
> Hello,
>
> Did you add inbound_services in your app.yaml to activate the XMPP
> service in order to receive messages ?
> See:http://code.google.com/intl/fr-FR/appengine/docs/python/xmpp/overview...
>
> --
> Jeremy
>
> On Sep 4, 7:21 am, bvelasquez  wrote:
>
>
>
> > Hello,
>
> > I gave the XMPP API a try and it does not work for me.  The bot is
> > active and in my IM contact list.  I created the post handler
> > following the API instruction:
>
> > class XmppHandler(webapp.RequestHandler):
> >         def post(self):
> >                 logging.info("XMPP Received.")
> >                 message = xmpp.Message(self.request.POST)
> >                 if message.body[0:5].lower() == 'hello':
> >                         message.reply("Greetings!")
> >                 else:
> >                         message.reply("I have no idea.")
>
> >         def get(self):
> >                 self.response.out.write("Hello")
>
> > I even added a "get" method to make sure the handler is setup
> > properly.  The GET is handled ok and returns Hello in the browser.
>
> > I get no log message from the "logging.info()" call I make.  No errors
> > in the log also.
>
> > Anyone try this yet or have success?
>
> > Barry
--~--~-~--~~~---~--~~
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: XMPP not working for me..

2009-09-04 Thread Nick Johnson (Google)
Hi bvelasquez,
In your first message you said you weren't getting any response at all - but
now you seem to be implying that it's only the unknown_command method that
isn't working - which is the case? Can you show us your code and your App
ID, please?

-Nick Johnson

On Fri, Sep 4, 2009 at 2:52 PM, bvelasquez  wrote:

>
>
> Yup. Did that.  Followed every step which are few. The bot does not
> respond with the default message for unknown commands when I used the
> xmpp command handler.
>
> On Sep 4, 6:40 am, Jérémy Selier  wrote:
> > Hello,
> >
> > Did you add inbound_services in your app.yaml to activate the XMPP
> > service in order to receive messages ?
> > See:
> http://code.google.com/intl/fr-FR/appengine/docs/python/xmpp/overview...
> >
> > --
> > Jeremy
> >
> > On Sep 4, 7:21 am, bvelasquez  wrote:
> >
> >
> >
> > > Hello,
> >
> > > I gave the XMPP API a try and it does not work for me.  The bot is
> > > active and in my IM contact list.  I created the post handler
> > > following the API instruction:
> >
> > > class XmppHandler(webapp.RequestHandler):
> > > def post(self):
> > > logging.info("XMPP Received.")
> > > message = xmpp.Message(self.request.POST)
> > > if message.body[0:5].lower() == 'hello':
> > > message.reply("Greetings!")
> > > else:
> > > message.reply("I have no idea.")
> >
> > > def get(self):
> > > self.response.out.write("Hello")
> >
> > > I even added a "get" method to make sure the handler is setup
> > > properly.  The GET is handled ok and returns Hello in the browser.
> >
> > > I get no log message from the "logging.info()" call I make.  No errors
> > > in the log also.
> >
> > > Anyone try this yet or have success?
> >
> > > Barry
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
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: Terms of Service Question

2009-09-04 Thread Barry Hunter

On 04/09/2009, Amir  Michail  wrote:
>
>  On Sep 3, 10:40 pm, "Brandon N. Wirtz"  wrote:
>
> > I'm not a google employee or a lawyer, but the intention is you can't take
>  > 10 free accounts, to get 10 gigs of download a day, instead of having 1
>  > account which would pay $1.20 a day for that same download capacity.
>  >
>
>
> If it is/will be possible to pay to get more than 10 GAE apps,

If/when that happens, then the Terms will probably be updated to
account for that.

>  then having
>  multiple iPhone apps use the same GAE app is a way to avoid incurring
>  fees.

At the moment - that is a way of increasing fees :)

>
>  >
>  >
>
> > -Original Message-
>  > From: google-appengine@googlegroups.com
>  >
>  > [mailto:google-appeng...@googlegroups.com] On Behalf Of Amir Michail
>  > Sent: Thursday, September 03, 2009 7:24 PM
>  > To: Google App Engine
>  > Subject: [google-appengine] Terms of Service Question
>  >
>  > What does this mean?
>  >
>  > 4.4. You may not develop multiple Applications to simulate or act as a
>  > single Application or otherwise access the Service in a manner
>  > intended to avoid incurring fees.
>  >
>  > The second part is very vague.  Are we allowed to have multiple iPhone
>  > apps use the same app engine app?
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~-~--~~~---~--~~
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: Verification SMS not received

2009-09-04 Thread Nick Johnson (Google)
Hi,

If you are having trouble with SMS verification, or want an additional
account activated, please fill out the following form:

http://appengine.google.com/waitlist/sms_issues

(This is from the following FAQ http://code.google.com/appengine/kb/sms
.html#error )

Once you fill out this form, you should receive access within a day or two.

Happy coding,

Nick Johnson



On Thu, Sep 3, 2009 at 8:51 PM, Damian Parrino  wrote:

>
> I have a problem with "Verify Your Account by SMS" page.
>
> Does anyone know how to verify one's account if you are living in
> Argentina and using Movistar as carrier?
>
> I entered my number in the format required (it was validated ok), and
> the SMS was sent as stated on the screen, but I never received the SMS
> code.
>
> I tried many times with no success. There's any other way to verify my
> account?
> thanks in advance,
>
> regards,
> Damian
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
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: can you use contacts API within an AppEngine app?

2009-09-04 Thread Nick Johnson (Google)
Hi Graham,
Yes, you can use the gdata API - you simply need to include the GData
library in your app - it's not part of the SDK.

-Nick Johnson

On Thu, Sep 3, 2009 at 7:17 AM, Graham Charles wrote:

>
> Can I import gdata.contacts.service into an AppEngine app to work with
> contacts of the app's domain? I realize that google.appengine.api.user
> exposes some read-only access to a user's e-mail and name, but I'd
> like to be able to update contacts, forwarding addresses, etc., given
> an administrator's login. It seems like a call to
>
> gdata.contacts.service.ContactsService()
>
> Wouldn't work from within an app's sandbox... but I may be wrong?
>
> Thanks,
>
> g.
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
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: 30 Max simultaneous requests (maxThreads)?

2009-09-04 Thread Nick Johnson (Google)
Hi Adligo,
App Engine is not really designed for 'long polling' setups like you
describe. Since the number of simultaneous runtimes your app has at a given
traffic level is limited, waiting like this will consume them all very
quickly. Also, because your app may be distributed over many computers, a
synchronization primitive like the one you're using will not work - the
process doing the notifying may not be on the same machine as the
process(es) that need notifying!

-Nick Johnson

On Thu, Sep 3, 2009 at 9:06 PM, Adligo  wrote:

>
> Hi Nick,
>
>   I am not calling sleep but I am using a server side
> ArrayBlockingQueue, with methods like
> queue.poll(waitTime, TimeUnit.SECONDS);
>  So I am not buffering but simply responding with current messages
> and if there arn't any waiting until some show up and then
> responding.  If no messages show up in 20 seconds or so I respond with
> a empty message list and then the client sends a new request.
>
> I am using GWT's rpc, here is my service api, which is open souce.
>
> http://cvs.adligo.org/viewvc/gwt_util/src/org/adligo/gwt/util/client/rpc/MessageService.java?view=markup
>
> So I am anticipateing that I will have a lot of threads that are
> simply waiting on the ArrayBlockingQueue's poll method.  This allows
> me to do things like;
> 1) send log messages between two browser windows
> 2) send system messages from a admin console to anyone viewing the app
> like;
>  (System is going off line in 10 minutes)
>  (There is pizza in the lobby for anyone who wants it)
>  exc
> 3)  Implement a IM client in the browser
> 4) Send 'event' data between browser windows so a user can click a
> button in one window
> and have it do something to another window.   Currently the only
> application of this is to
>reload the adligo_log.properties file, so you can change your log
> levels at runtime.  However
>there are a lot of other applications for this, windows can now
> communicate.
>
> Also there shouldn't be much of a drain on the processor, since most
> of the threads are simply waiting (not doing a lot of processing).  It
> just requires a large number of threads (one per browser window).
>
> Cheers,
> Scott
>
> PS I would really like to host on Google Apps, the server
> http://zeuhl.adligo.com/gwt_util_demo_v3_1/GwtDemo.html?show_log=true
> was down all morning, since I had my phone turned off to respect for a
> concert last night I didn't get a 'your server is down' text from
> hosttracker.com.
>
> On Sep 3, 3:51 am, "Nick Johnson (Google)" 
> wrote:
> > Hi Adligo,
> > The limit on concurrent instances of your app is not a hard one - it will
> > increase as your app gets more traffic. The only situation you're likely
> to
> > run into it is if you have a lot of requests that take a long time to
> > complete - eg, if you're calling time.sleep() in your request handler. As
> > long as you're serving your requests reasonably efficiently, you can
> expect
> > the number of concurrent requests your app is allowed to scale up with
> load.
> >
> > -Nick Johnson
> >
> >
> >
> >
> >
> > On Wed, Sep 2, 2009 at 1:33 AM, Adligo  wrote:
> >
> > > Hi,
> >
> > >   I am developing a app (or more than one) that I would like to host
> > > on Google App Engine, however the architecture of the app involves
> > > cranking up the maxThreads (I am using my home grown hosting which now
> > > has Tomcat set to 2,000 maxThreads :) ).
> >
> > > For example (1 six+ year old machine in my basement)
> > >http://zeuhl.adligo.com/gwt_util_demo_v3_1/GwtDemo.html?show_log=true
> >
> > > I was reading somewhere that my app will be limited to 30 Max
> > > simultaneous requests (maxThreads), and I didn't see anything about
> > > being able to change this (EVEN IF YOU PAY FOR IT).
> >
> > > So is it possible to change this?
> > > If not why, it should be billable like everything else...
> > > How much would it cost?
> >
> > > Also I think that it seems like a silly limit (although probably a
> > > good starting point for most apps).   Some apps need a lot of threads,
> > > some have a lot of page requests.
> > >For instance my app needs a lot of threads (the above version uses
> > > at least 1 per user ALL THE TIME) and will go to 2 per user in the
> > > next release :) Or rather to be more specific One thread per open
> > > browser window, so I can 'send' data to the browser window in near
> > > real time with out having the browser window send a request every
> > > millisecond (which causes other problems).
> > > So it will be limited to 15 users on Googles App Engine yikes!
> >
> > > Cheers,
> > > Scott
> >
> > --
> > Nick Johnson, Developer Programs Engineer, App Engine- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to go

[google-appengine] IN queries

2009-09-04 Thread Jeff Enderwick

I read somewhere that IN queries are processed serially by the
datastore. GOOGers, what is a rough rule-of-thumb on the benefit of
using IN? For example, if the base RT latency for anything with the
datastore is Nms, then could guesstimate that using N for a list of 3
is not a huge latency win, but using IN for 10 is. Does using IN
substantially cut down on the api_cpu_ms used vs sequential queries?

--~--~-~--~~~---~--~~
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] Amazon Product Advertising API - HTTP 503 (Throttle) Responses

2009-09-04 Thread dalenewman

Hi,

I'm running www.bookdope.com on GAE and I've started getting tons of
HTTP 503 responses from Amazon's Product Advertising API.  The HTTP
503 is an error response you get when you've violated the 1 request
per second per IP address rule.

I'm wondering if my application might be sharing an IP address with
another GAE application that's making requests to the Amazon Product
Advertising API and therefore increasing the likelihood of our
combined requests violating the 1 request per second rule.

I cache all my amazon responses (if they return a HTTP status code of
200) for efficiency and also to keep my Amazon requests down.

I was wondering if anyone else out there is experiencing this?  Or, if
someone from Google could confirm my suspicions.  This influx of HTTP
503's is really cramping my style - I rely on it for searching,
browsing, and book information.

Thanks,

Dale

PS: I've also posted on the Amazon Developer's forum for Product
Advertising API to see if I can get any help there.
--~--~-~--~~~---~--~~
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: Slow response static javascript files on development server

2009-09-04 Thread Nick Winter

Dunno about the caching, but for slow requests, try deleting your
datastore history file. I found that every request to the development
server got slower and slower as that grew, so I delete the history
file each time I start the server.
--~--~-~--~~~---~--~~
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: Transaction collision Retries

2009-09-04 Thread Nick Johnson (Google)
Hi vivpuri,

On Thu, Sep 3, 2009 at 6:38 PM, vivpuri  wrote:

>
> I am getting the following error for get_or_insert
>
> 
> Transaction collision for entity group with key
> datastore_types.Key.from_path(..)
> 
>
> and then the code goes into a loop where it keep retrying until the
> app hits DeadlineExceededError.
>
>
> So there are couple of major issues:
> 1. The whole request took  38113ms to complete before hitting
> DeadlineExceededError. Since transaction collision can happen for
> multiple app request at the same time, this can quickly consume all
> the available app instances.
>

Can you please paste your stacktrace, and the code that called
get_or_insert? Transactions should not retry indefinitely.

-Nick Johnson

2. Also, as part of this app request, i was trying to insert 5
> records, and app got hung up on the first record itself. Which means
> rest of the records got dropped
>
> Solution needed:
> A way to break this retry loop so that next records can be processed
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
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] Server Error

2009-09-04 Thread yobin
cnstock08.appspot.com Server Error ,Can amin help me to fix the server? Thanks.

Error: Server Error
The server encountered an error and could not complete your request. 
If the problem persists, please report your problem and mention this error 
message and the query that caused it.

--~--~-~--~~~---~--~~
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: IN queries

2009-09-04 Thread Nick Johnson (Google)
Hi Jeff,
IN queries are split up into multiple basic queries entirely in user code,
so there's no latency or other benefit to using them over doing multiple
queries yourself - it's just for convenience. In future, though, the
MultiQuery interface may be extended to do its queries in parallel.

-Nick

On Fri, Sep 4, 2009 at 4:30 PM, Jeff Enderwick wrote:

>
> I read somewhere that IN queries are processed serially by the
> datastore. GOOGers, what is a rough rule-of-thumb on the benefit of
> using IN? For example, if the base RT latency for anything with the
> datastore is Nms, then could guesstimate that using N for a list of 3
> is not a huge latency win, but using IN for 10 is. Does using IN
> substantially cut down on the api_cpu_ms used vs sequential queries?
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
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: Dramatic increase in api cpu usage.

2009-09-04 Thread herbie

Could the new SDK release caused this?


On Sep 4, 10:26 am, herbie <4whi...@o2.co.uk> wrote:
> Have there been any recent changes to the DataStore or API (I’m using
> python) that can account from a dramatic increase in api cpu usage
> when putting entities into the datastore?
>
> My app has a request handler that creates about 100 new entities in
> the datastore from data posted by the user.
>
> A few weeks ago the average api_cpu_ms for a single request to this
> handler was aprox 7000 api_cpu_ms (expensive enough!)
>
> But I tested it again last night and now its about 22000 api_cpu_ms -
> a 3x increase!!
>
> The request handler hasn’t changed and the entity models haven’t
> changed, my indexes haven’t changed and user data in the post hasn’t
> changed.   So I can not account for the huge increase in api_cpu_ms.
>
> (I’ve run older versions of my app and still the api_cpu_ms is about
> 22000.  Again it used to be about 7000)
>
> FYI. One request creates about 100 new entities, all in a single
> entity group, using a batch put() in a transaction.   The  entities
> have 10 properties,  but only 5 are indexed (no list properties)
--~--~-~--~~~---~--~~
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: Dramatic increase in api cpu usage.

2009-09-04 Thread bFlood

I have seen a very large increase in CPU time with no changes as well,
so much so that I figured it was just an accounting error on Google's
side

brian

On Sep 4, 11:59 am, herbie <4whi...@o2.co.uk> wrote:
> Could the new SDK release caused this?
>
> On Sep 4, 10:26 am, herbie <4whi...@o2.co.uk> wrote:
>
>
>
> > Have there been any recent changes to the DataStore or API (I’m using
> > python) that can account from a dramatic increase in api cpu usage
> > when putting entities into the datastore?
>
> > My app has a request handler that creates about 100 new entities in
> > the datastore from data posted by the user.
>
> > A few weeks ago the average api_cpu_ms for a single request to this
> > handler was aprox 7000 api_cpu_ms (expensive enough!)
>
> > But I tested it again last night and now its about 22000 api_cpu_ms -
> > a 3x increase!!
>
> > The request handler hasn’t changed and the entity models haven’t
> > changed, my indexes haven’t changed and user data in the post hasn’t
> > changed.   So I can not account for the huge increase in api_cpu_ms.
>
> > (I’ve run older versions of my app and still the api_cpu_ms is about
> > 22000.  Again it used to be about 7000)
>
> > FYI. One request creates about 100 new entities, all in a single
> > entity group, using a batch put() in a transaction.   The  entities
> > have 10 properties,  but only 5 are indexed (no list properties)
--~--~-~--~~~---~--~~
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: Amazon Product Advertising API - HTTP 503 (Throttle) Responses

2009-09-04 Thread Brandon N. Wirtz

Yes you are sharing a few hundred IP's with a few Thousand Apps,  You will
need a simple re-Fetch/recurl off site to do your requests.Amazon's
limit is about 10k requests per 24 hours, and there are people snarfing
those up pretty quick.


-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of dalenewman
Sent: Friday, September 04, 2009 8:38 AM
To: Google App Engine
Subject: [google-appengine] Amazon Product Advertising API - HTTP 503
(Throttle) Responses


Hi,

I'm running www.bookdope.com on GAE and I've started getting tons of
HTTP 503 responses from Amazon's Product Advertising API.  The HTTP
503 is an error response you get when you've violated the 1 request
per second per IP address rule.

I'm wondering if my application might be sharing an IP address with
another GAE application that's making requests to the Amazon Product
Advertising API and therefore increasing the likelihood of our
combined requests violating the 1 request per second rule.

I cache all my amazon responses (if they return a HTTP status code of
200) for efficiency and also to keep my Amazon requests down.

I was wondering if anyone else out there is experiencing this?  Or, if
someone from Google could confirm my suspicions.  This influx of HTTP
503's is really cramping my style - I rely on it for searching,
browsing, and book information.

Thanks,

Dale

PS: I've also posted on the Amazon Developer's forum for Product
Advertising API to see if I can get any help there.



--~--~-~--~~~---~--~~
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: how to register more than 10 apps

2009-09-04 Thread Gaurav

That it totally awesome :)

On Aug 18, 8:37 pm, "Nick Johnson (Google)" 
wrote:
> Hi manuelaraoz,
> If you run out of App IDs, you can leave a message here on the forum, and
> one of us Googlers will increase the number of apps you can create.
>
> -Nick Johnson
>
> On Tue, Aug 18, 2009 at 4:34 PM, manuelaraoz  wrote:
>
> > is there a way to do this?
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine

--~--~-~--~~~---~--~~
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] Problem with encoding on production environment. Java

2009-09-04 Thread sandlex

Hello.


I'm trying to do following:
1. I have a GWT-application with a form uploading text files in utf8
character encoding
2. Uploaded file content I save in the entity Blob field in datastore
3. I have a JavaFX client application getting this file content and
displaying it

Everything works just fine on dev environment but on production I have
problems with encoding - I get question marks on my javafx appet form.

More details.

1. On Form submit we go to

public class Upload extends HttpServlet

which creates a jdo transfer object (dictionaryTO) with byte[] field
where we need to store a content of the file:
dictionaryTO.setFile(inputStreamToBytes(item.openStream()));

where (notice, I'm setting "utf8" there):

private byte[] inputStreamToBytes(InputStream stream)
throws IOException, IllegalArgumentException, 
IllegalStateException
{

BufferedReader inputStream = null;
inputStream = new BufferedReader(new InputStreamReader(stream,
"utf8"));

String str;
ByteArrayOutputStream out = new ByteArrayOutputStream();
StringBuffer buffer = new StringBuffer();
while ((str = inputStream.readLine()) != null) {

buffer.append(str);
buffer.append("\n");
}
out.write(buffer.toString().getBytes());
out.close();
return out.toByteArray();
}

2. After that I need to transfer this object to next servlet
(dictionaryService) which will save this object as an entity in
datastore. Doing it this way:
PrintWriter out = null;
response.setCharacterEncoding("utf8");
response.setContentType("text/plain");
out = response.getWriter();
...
request.getSession().setAttribute("dictionary", 
dictionaryTO);
response.sendRedirect("dictionaryService");

3. dictionaryService is:
public class DictionaryServiceImpl extends RemoteServiceServlet
implements DictionaryService

which gets a transfer object from session, converts it in jdo entity
object - dictionary. A field with file content is being converted from
byte[] into Blob in this way - new Blob(dictionaryTO).getFile()). And
then the object is saved in a standard way: pm.makePersistent
(dictionary).

4. After that we need to process a request from client javafx
application. All I need is two methods:

import java.net.HttpURLConnection;
import java.net.URL;

/**
 * Common method that performs http request to the servlet in
order to
 * retrieve required data
 *
 * @param urlString servlet name to send request
 * @param xml xml-body of request
 * @return xml-response from servlet
 * @throws java.lang.Exception
 */
static private String performHttpPostRequest(String urlString,
String xml) throws Exception {
URL url;
HttpURLConnection connection;
String response = "false";
url = new URL(urlString);
connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("POST");
connection.setUseCaches(false);
connection.setDoOutput(true);
connection.setDoInput(true);
connection.setAllowUserInteraction(true);
connection.setRequestProperty("Content-Type", "application/x-
www-form-urlencoded;charset=utf8");
//connection.setRequestProperty("Content-Type", "text/
xml;charset=utf8");
connection.setRequestProperty("Accept-Charset", "utf8");
connection.getOutputStream().write(xml.getBytes());

InputStream inpStr;
inpStr = connection.getInputStream();
//System.out.println("+++ " + connection.getRequestProperty
("Content-Type"));

response = convertStreamToString(inpStr);

inpStr.close();

return response;
}

/**
 * Converts input stream received from servlet into string.
 *
 * @param is input stream
 * @return input stream as a string
 */
static private String convertStreamToString(InputStream is) /
*throws UnsupportedEncodingException*/ {

BufferedReader reader = new BufferedReader(new
InputStreamReader(is));
StringBuilder sb = new StringBuilder();
String line = null;
try {
while ((line = reader.readLine()) != null) {
sb.append(line);
}
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
is.close();
} catch (IOException e) {
e.printStackTrace();
}
}

return sb.toString();
}

5. On the server side this request receives
public class GetDictiona

[google-appengine] Re: XMPP not working for me..

2009-09-04 Thread kutu

Are you sure that the correct write app.yaml ?

handlers:
- url: /_ah/xmpp/message/chat/
  script: xmpp.py

inbound_services:
- xmpp_message

--~--~-~--~~~---~--~~
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: Google app engine launcher does not start

2009-09-04 Thread John Grabowski

Did you ever find a solution?

When first launched, the launcher extracts the App Engine runtime.
Looks like this failed for some reason, perhaps because /usr/bin/
python doesn't exist.

Can you cd to that directory and type "python packagemanager.py --
extract" ?

jrg

On Aug 17, 5:54 am, ofedrigo  wrote:
> Hi,
>
> I downloaded the latest Google app enginelauncheron my apple
> OS10.5.6 and have already python 2.5.2 installed and its path is in
> the usr/bin directory.
>
> Unfortunately when I start to run Google app enginelauncher, I get
> this error message:
>
> "Fatal Error
>
> Sorry, pieces of GoogleAppEngineLauncher.app appear missing or
> corrupted, or I can't run python2.5 properly.  Output was"
>
> while in my console log I get:
>
> "*** NSTask: Task create for path '/Applications//
> GoogleAppEngineLauncher.app/Contents/Ressources/GoogleAppEngin-
> default.bundle/Conttens/Resources/packagemanager.py' failed: 2, "No
> such file or directory". Teminating temporary process."
>
> If I try to access and run in the terminal packagemanager.y --path, I
> get "PYTHONPATH="
> and "which python" gives me: "/Library/Frameworks/Python.framework/
> Versions/Current/bin/python"
>
> Does anyone know what I can do to fix it?
>
> Thank you,
>
> ~ Olivier

--~--~-~--~~~---~--~~
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] Spring and DWR on GAE

2009-09-04 Thread nOte tuarnOte

I've been trying to make DWR work on GAE. It works locally but I
couldn't make it work on GAE.
The error I've got is below here:

org.springframework.web.context.ContextLoader
initWebApplicationContext: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'DwrAnnotationURLMapper': Initialization of
bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dwrController': Invocation of init method
failed; nested exception is java.lang.NoClassDefFoundError:
javax.swing.event.EventListenerList is a restricted class. Please see
the Google App Engine developer's guide for more details.

I was following this example:
http://www.codercorp.com/blog/spring/configuring-dwr-30-with-spring-using-annotations.html
Only that I use SimpleControllerHandlerAdapter and
FreemarkerViewResolver.

Please help.. Thanks..

--~--~-~--~~~---~--~~
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: Snow Leopard Compatibility

2009-09-04 Thread John Grabowski

I don't have more information on App Engine and python2.6 use.
However, it is easy to find or build python 2.5 for the Mac as needed.
E.g. http://www.python.org/ftp/python/2.5.4/python-2.5.4-macosx.dmg
(I did not test that on 10.6 explicitly.)

It is also easy to set a preference in the Launcher to pick a specific
python.
Try Application Menu --> Preferences.

jrg


On Aug 31, 3:24 am, kugutsumen  wrote:
> No problem here (I have been using Snow Leopard for several months
> already... and I have been
> using the GM build since it was first seeded a few weeks ago.
> ).
>
> The only issue is that App Engine depends on python2.5 so
> it shouldn't try to use the default python and specify python2.5 on
> the first
> line of every script. Did anyone file an issue for this?
>
> On Aug 31, 11:41 am, Robert Kluin  wrote:
>
>
>
> > That is what I expected as well, but so far I have not found any issues.  My
> > biggest concern is stuff working locally but not working on the production
> > servers -- so far so good.
>
> > Robert
>
> > On Sun, Aug 30, 2009 at 6:35 PM, Ross Karchner 
> > wrote:
>
> > > This is just speculation (my copy of SL arrives tomorrow) but since
> > >Launcheruses the system python by Default, and on Snow Leopard the
> > > system python is 2.6.1-- There's bound to be *some* problems, right?
>
> > > 2.6 isn't supported yet (per
> > >http://code.google.com/p/googleappengine/issues/detail?id=757
> > > )
>
> > > On Aug 29, 2:15 pm, Robert Kluin  wrote:
> > > > I have done basic testing on 4 apps, so far all seem to be running fine.
>
> > > > RobertOn Sat, Aug 29, 2009 at 12:51 PM, Koen Bok 
> > > wrote:
>
> > > > > I'm quite curious for this too. Anyone else?
>
> > > > > On Aug 29, 2:21 pm, Paul Kinlan  wrote:
> > > > > > I have not seen any problems but I have only just updated.
> > > > > > Paul
>
> > > > > > 2009/8/29 bentford 
>
> > > > > > > Does anyone have any news about running the Google App Engine
> > >Launcher
> > > > > > > on snow leopard?  Any issues?
>
> > > > > > > I'm about to upgrade my development machine, so I'll post my
> > > results
> > > > > > > soon.  But I thought I'd ask.

--~--~-~--~~~---~--~~
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: IN queries

2009-09-04 Thread Jason C

In the meantime, you can use http://code.google.com/p/asynctools/ to
kick off parallel queries.

It doesn't (yet) directly support MultiQuery, so you'll need to
rewrite your IN queries as a set of equality queries.

j

On Sep 4, 9:44 am, "Nick Johnson (Google)" 
wrote:
> Hi Jeff,
> IN queries are split up into multiple basic queries entirely in user code,
> so there's no latency or other benefit to using them over doing multiple
> queries yourself - it's just for convenience. In future, though, the
> MultiQuery interface may be extended to do its queries in parallel.
>
> -Nick
>
> On Fri, Sep 4, 2009 at 4:30 PM, Jeff Enderwick 
> wrote:
>
>
>
> > I read somewhere that IN queries are processed serially by the
> > datastore. GOOGers, what is a rough rule-of-thumb on the benefit of
> > using IN? For example, if the base RT latency for anything with the
> > datastore is Nms, then could guesstimate that using N for a list of 3
> > is not a huge latency win, but using IN for 10 is. Does using IN
> > substantially cut down on the api_cpu_ms used vs sequential queries?
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: IN queries

2009-09-04 Thread Jeff Enderwick

Good thing I didn't rewrite my code before asking :-).
I see the asynctools Jason posted, but I would be looking for a join
(in the thread sense) that allows continued processing once all the
results are back.

On Fri, Sep 4, 2009 at 8:44 AM, Nick Johnson
(Google) wrote:
> Hi Jeff,
> IN queries are split up into multiple basic queries entirely in user code,
> so there's no latency or other benefit to using them over doing multiple
> queries yourself - it's just for convenience. In future, though, the
> MultiQuery interface may be extended to do its queries in parallel.
> -Nick
>
> On Fri, Sep 4, 2009 at 4:30 PM, Jeff Enderwick 
> wrote:
>>
>> I read somewhere that IN queries are processed serially by the
>> datastore. GOOGers, what is a rough rule-of-thumb on the benefit of
>> using IN? For example, if the base RT latency for anything with the
>> datastore is Nms, then could guesstimate that using N for a list of 3
>> is not a huge latency win, but using IN for 10 is. Does using IN
>> substantially cut down on the api_cpu_ms used vs sequential queries?
>>
>>
>
>
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
>
>
> >
>

--~--~-~--~~~---~--~~
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] C#?

2009-09-04 Thread wayneb

Are you guys planning on supporting C# anytime soon?

--~--~-~--~~~---~--~~
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] Feed parser error - _ctypes - broke in 1.2.5 and Snow Leopard

2009-09-04 Thread Chris L

The universal feed parser was working in App Engine Launcher 1.2.4
with Mac OS Leopard. Now it's broken with 1.2.5 and Snow Leopard.

Try this code in the Interactive Console:

---

import feedparser
d = feedparser.parse('http://googleappengine.blogspot.com/atom.xml')
print d

---

{'feed': {}, 'encoding': 'utf-8', 'bozo': 1, 'version': None,
'entries': [], 'bozo_exception': ImportError('No module named
_ctypes',)}

---

Don't yet know if I should submit this as a bug - it could be my own
mistake.
--~--~-~--~~~---~--~~
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] Adding MultiUserChat to the all new XMPP support :)

2009-09-04 Thread nah0y

In order to respond to the article on your blog :
http://googleappengine.blogspot.com/2009/09/app-engine-sdk-125-released-for-python.html

I have a particular request :)

Can you implement the MultiUserChat protocol on future updates ?
http://xmpp.org/extensions/xep-0045.html
This would be very very usefull !

--~--~-~--~~~---~--~~
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] Can't install 1.2.5 on eclipse

2009-09-04 Thread Thomas Beverley

Hey I wonder if anyone else has this problem or has a solution.

I am running mac OSX snow leopard and have just installed eclipse and
followed the instructions on the website to install the latest app
engine. When deploying I get the error

'Deploying  to Google' has encountered a problem.
SDK directory '/Applications/eclipse/plugins/
com.google.appengine.eclipse.sdkbundle_1.2.1.v200905131143/appengine-
java-sdk-1.2.1' does not exist

Looking in the folder /Applications/eclipse/plugins/ I can see a
com.google... folder there but it is 1.2.5.v200909021031. It appears
to me that the latest version is being installed but a reference to an
old version is present within the eclipse ide. Any suggestions?

Same issue is present for me in eclipse 3.5 and 3.4.

Thanks :)

--~--~-~--~~~---~--~~
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: Within appengine, how do I download the contents of a spreadsheet without having to write to disk?

2009-09-04 Thread marco

Hi Dave,

I'm currently struggling with the same problem. What I basically want
to do is copy a spreadsheet from folder A to folder B.
Because this is not possible with the API (yet?), I wanted to try the
same thing you tried: create new spreadsheet, export old data and
import to new file.
This all in a app engine application. (python)

Below you said you figured out how to do this. Do you have a code
example, or could you give me some pointers on how you did this?

Thanks in advance!

~Marco

On Aug 22, 3:56 am, Dave  wrote:
> Thanks, I will give this a try.  It seems though that I shouldn't have
> to use a new, untested method for this. Isn't there an established way
> to do this? Should I instead be using the Spreadsheets API perhaps? If
> so, can I access it using the same auth session token that my program
> already obtains forhttp://docs.google.com/feeds?(2 questions,
> really)
>
> Thanks,
> Dave
>
> On Aug 21, 2:56 pm, "Jeff S (Google)"  wrote:
>
> > Hi Dave,
>
> > Great find, yes it seems that the Documents API design is somewhat App
> > Engine un-friendly. I've filed a bug to remedy this.
>
> >http://code.google.com/p/gdata-python-client/issues/detail?id=278
>
> > My proposed solution, not yet tested, to replace the _DownloadFile method in
> > gdata.docs.service to something like the following
>
> >   def _GetFile(self, uri, file_handle):
> >     server_response = self.request('GET', uri)
> >     if server_response.status != 200:
> >       raise gdata.service.RequestError, {'status': server_response.status,
> >                                          'reason': server_response.reason,
> >                                          'body': server_response.read()}
> >     file_handle.write(server_response.read())
>
> >   def _DownloadFile(self, uri, file_path):
> >     """Downloads a file.
>
> >     Args:
> >       uri: string The full Export URL to download the file from.
> >       file_path: string The full path to save the file to.
>
> >     Raises:
> >       RequestError: on error response from server.
> >     """
> >     f = open(file_path, 'wb')
> >     try:
> >       self._GetFile(uri, f)
> >     except gdata.service.RequestError, e:
> >       f.close()
> >       raise e
> >     f.flush()
> >     f.close()
>
> > I haven't tested this yet but if you are feeling brave feel free to try it
> > out. You could then call _GetFile directly and pass in a StringIO object for
> > your file handle.
>
> > Happy coding,
>
> > Jeff
>
> > On Thu, Aug 20, 2009 at 6:12 AM, Dave  wrote:
>
> > > I'm using gdata.docs.service to download a list of a user's
> > > spreadsheets using GetDocumentListFeed. I want to now let the user
> > > select a specific spreadsheet so my app can download its contents, do
> > > some manipulation, and then save a copy of the modified spreadsheet
> > > back to their Google Docs account (with a new filename).
>
> > > To grab the contents of their spreadsheet, I thought I could use the
> > > "Download" method on the results of GetDocumentListFeed.
> > > Unfortunately, this method requires a location to write the downloaded
> > > file to, and AppEngine doesn't let its apps write files to disk (or so
> > > I've read). So what is the recommended way to do this? I'd be happy
> > > getting the contents of the file as a data structure in memory,
> > > containing something like csv data. I don't need to deal with XML. Any
> > > suggestions, or pointers to documentation, would be appreciated.
>
> > > Thanks,
> > > Dave

--~--~-~--~~~---~--~~
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: Amazon Product Advertising API - HTTP 503 (Throttle) Responses

2009-09-04 Thread Brandon N. Wirtz

Also Check that your requests include the "signature" required as of August
15th.

-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of Brandon N. Wirtz
Sent: Friday, September 04, 2009 9:36 AM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Re: Amazon Product Advertising API - HTTP 503
(Throttle) Responses


Yes you are sharing a few hundred IP's with a few Thousand Apps,  You will
need a simple re-Fetch/recurl off site to do your requests.Amazon's
limit is about 10k requests per 24 hours, and there are people snarfing
those up pretty quick.


-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of dalenewman
Sent: Friday, September 04, 2009 8:38 AM
To: Google App Engine
Subject: [google-appengine] Amazon Product Advertising API - HTTP 503
(Throttle) Responses


Hi,

I'm running www.bookdope.com on GAE and I've started getting tons of
HTTP 503 responses from Amazon's Product Advertising API.  The HTTP
503 is an error response you get when you've violated the 1 request
per second per IP address rule.

I'm wondering if my application might be sharing an IP address with
another GAE application that's making requests to the Amazon Product
Advertising API and therefore increasing the likelihood of our
combined requests violating the 1 request per second rule.

I cache all my amazon responses (if they return a HTTP status code of
200) for efficiency and also to keep my Amazon requests down.

I was wondering if anyone else out there is experiencing this?  Or, if
someone from Google could confirm my suspicions.  This influx of HTTP
503's is really cramping my style - I rely on it for searching,
browsing, and book information.

Thanks,

Dale

PS: I've also posted on the Amazon Developer's forum for Product
Advertising API to see if I can get any help there.






--~--~-~--~~~---~--~~
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] Google Gadgets

2009-09-04 Thread Kenny Dunn

I'm needing to develop an app that will be accessed via a Google
gadget (iGoogle). The app needs to be able to identify the user
accessing (email address would work perfectly). The identification has
to be something that can't be faked or hacked. I've looked at OAuth
and OpenID but haven't gotten a working solution.

Looking for ideas.

--~--~-~--~~~---~--~~
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: XMPP not working for me..

2009-09-04 Thread bvelasquez

Hello Nick,

Sorry for the confusion.  I meant to say that even the default
unknown_command is not responding with the default response.  I'm sure
it's configuration, so I'm trying various config. changes.  Let me
know if something stands out below.

The app ID is jacob-6.

My bot.py source is below:

import logging
import os
import re
import sys

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

from gaeo.dispatch import dispatcher
from google.appengine.api import xmpp
from google.appengine.ext.webapp import xmpp_handlers

# Handle bot requests
class XmppHandler(xmpp_handlers.CommandHandler):
def hello_command(self, message=None):
logging.info("XMPP Received.")
message.reply("Hello Back!")

app = webapp.WSGIApplication([('/_ah/xmpp/message/chat/',
XmppHandler)], debug=True)

def main():
run_wsgi_app(app)

if __name__ == '__main__':
main()

My app.yaml is as follows:

handlers:
- url: /css
  static_dir: assets/css
- url: /js
  static_dir: assets/js
- url: /img
  static_dir: assets/img
- url: /snips
  static_dir: assets/snips
- url: /favicon.ico
  static_files: favicon.ico
  upload: favicon.ico
- url: /robots.txt
  static_files: robots.txt
  upload: robots.txt
- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  login: admin
- url: /_ah/xmpp/message/chat/.*
  script: bot.py
- url: .*
  script: main.py

inbound_services:
- xmpp_message

I added the url /_ah/xmpp/message/chat/.* to point to bot.py.  Maybe
it should be /_ah/xmpp/message/.*?  I'll try that.  This needs to run
alongside my current site.

On Sep 4, 6:56 am, "Nick Johnson (Google)" 
wrote:
> Hi bvelasquez,
> In your first message you said you weren't getting any response at all - but
> now you seem to be implying that it's only the unknown_command method that
> isn't working - which is the case? Can you show us your code and your App
> ID, please?
>
> -Nick Johnson
>
>
>
> On Fri, Sep 4, 2009 at 2:52 PM, bvelasquez  wrote:
>
> > Yup. Did that.  Followed every step which are few. The bot does not
> > respond with the default message for unknown commands when I used the
> > xmpp command handler.
>
> > On Sep 4, 6:40 am, Jérémy Selier  wrote:
> > > Hello,
>
> > > Did you add inbound_services in your app.yaml to activate the XMPP
> > > service in order to receive messages ?
> > > See:
> >http://code.google.com/intl/fr-FR/appengine/docs/python/xmpp/overview...
>
> > > --
> > > Jeremy
>
> > > On Sep 4, 7:21 am, bvelasquez  wrote:
>
> > > > Hello,
>
> > > > I gave the XMPP API a try and it does not work for me.  The bot is
> > > > active and in my IM contact list.  I created the post handler
> > > > following the API instruction:
>
> > > > class XmppHandler(webapp.RequestHandler):
> > > >         def post(self):
> > > >                 logging.info("XMPP Received.")
> > > >                 message = xmpp.Message(self.request.POST)
> > > >                 if message.body[0:5].lower() == 'hello':
> > > >                         message.reply("Greetings!")
> > > >                 else:
> > > >                         message.reply("I have no idea.")
>
> > > >         def get(self):
> > > >                 self.response.out.write("Hello")
>
> > > > I even added a "get" method to make sure the handler is setup
> > > > properly.  The GET is handled ok and returns Hello in the browser.
>
> > > > I get no log message from the "logging.info()" call I make.  No errors
> > > > in the log also.
>
> > > > Anyone try this yet or have success?
>
> > > > Barry
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: C#?

2009-09-04 Thread Brandon N. Wirtz

ROFLMAO

Not a Google Guy, but as an Ex-Microsoftie, Cloud and .NET are a ways away,
certainly on non-MSFT platforms.

-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of wayneb
Sent: Thursday, September 03, 2009 5:48 PM
To: Google App Engine
Subject: [google-appengine] C#?


Are you guys planning on supporting C# anytime soon?




--~--~-~--~~~---~--~~
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: XMPP not working for me..

2009-09-04 Thread bvelasquez

Ok, an update.

I deployed a new version called "test" and added the bot
jacob...@test.latest.jacob-6.appspotchat.com.

I got responses from that deployment.

So, I added jacob...@jacob-6.appspotchat.com.  I get responses from
this bot, which is the default deployment.

Turns out, I had a typo in the IM address I used to add to my
contacts.. I used jac...@appspot.com instead of jaco...@appspot.com.
The contact was "Active" so I assumed I got the address correct and
never thought I messed up the app ID in the address. :(  Oh well..
sorry to waste your time.  I wonder if someone else has an app ID of
jacob6??  Why did it go active?

Barry



On Sep 4, 11:24 am, bvelasquez  wrote:
> Hello Nick,
>
> Sorry for the confusion.  I meant to say that even the default
> unknown_command is not responding with the default response.  I'm sure
> it's configuration, so I'm trying various config. changes.  Let me
> know if something stands out below.
>
> The app ID is jacob-6.
>
> My bot.py source is below:
>
> import logging
> import os
> import re
> import sys
>
> from google.appengine.ext import webapp
> from google.appengine.ext.webapp.util import run_wsgi_app
>
> from gaeo.dispatch import dispatcher
> from google.appengine.api import xmpp
> from google.appengine.ext.webapp import xmpp_handlers
>
> # Handle bot requests
> class XmppHandler(xmpp_handlers.CommandHandler):
>         def hello_command(self, message=None):
>                 logging.info("XMPP Received.")
>                 message.reply("Hello Back!")
>
> app = webapp.WSGIApplication([('/_ah/xmpp/message/chat/',
> XmppHandler)], debug=True)
>
> def main():
>         run_wsgi_app(app)
>
> if __name__ == '__main__':
>         main()
>
> My app.yaml is as follows:
>
> handlers:
> - url: /css
>   static_dir: assets/css
> - url: /js
>   static_dir: assets/js
> - url: /img
>   static_dir: assets/img
> - url: /snips
>   static_dir: assets/snips
> - url: /favicon.ico
>   static_files: favicon.ico
>   upload: favicon.ico
> - url: /robots.txt
>   static_files: robots.txt
>   upload: robots.txt
> - url: /remote_api
>   script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
>   login: admin
> - url: /_ah/xmpp/message/chat/.*
>   script: bot.py
> - url: .*
>   script: main.py
>
> inbound_services:
> - xmpp_message
>
> I added the url /_ah/xmpp/message/chat/.* to point to bot.py.  Maybe
> it should be /_ah/xmpp/message/.*?  I'll try that.  This needs to run
> alongside my current site.
>
> On Sep 4, 6:56 am, "Nick Johnson (Google)" 
> wrote:
>
> > Hi bvelasquez,
> > In your first message you said you weren't getting any response at all - but
> > now you seem to be implying that it's only the unknown_command method that
> > isn't working - which is the case? Can you show us your code and your App
> > ID, please?
>
> > -Nick Johnson
>
> > On Fri, Sep 4, 2009 at 2:52 PM, bvelasquez  wrote:
>
> > > Yup. Did that.  Followed every step which are few. The bot does not
> > > respond with the default message for unknown commands when I used the
> > > xmpp command handler.
>
> > > On Sep 4, 6:40 am, Jérémy Selier  wrote:
> > > > Hello,
>
> > > > Did you add inbound_services in your app.yaml to activate the XMPP
> > > > service in order to receive messages ?
> > > > See:
> > >http://code.google.com/intl/fr-FR/appengine/docs/python/xmpp/overview...
>
> > > > --
> > > > Jeremy
>
> > > > On Sep 4, 7:21 am, bvelasquez  wrote:
>
> > > > > Hello,
>
> > > > > I gave the XMPP API a try and it does not work for me.  The bot is
> > > > > active and in my IM contact list.  I created the post handler
> > > > > following the API instruction:
>
> > > > > class XmppHandler(webapp.RequestHandler):
> > > > >         def post(self):
> > > > >                 logging.info("XMPP Received.")
> > > > >                 message = xmpp.Message(self.request.POST)
> > > > >                 if message.body[0:5].lower() == 'hello':
> > > > >                         message.reply("Greetings!")
> > > > >                 else:
> > > > >                         message.reply("I have no idea.")
>
> > > > >         def get(self):
> > > > >                 self.response.out.write("Hello")
>
> > > > > I even added a "get" method to make sure the handler is setup
> > > > > properly.  The GET is handled ok and returns Hello in the browser.
>
> > > > > I get no log message from the "logging.info()" call I make.  No errors
> > > > > in the log also.
>
> > > > > Anyone try this yet or have success?
>
> > > > > Barry
>
> > --
> > Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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] "The number of errors generated by your application every second"

2009-09-04 Thread Jeff Enderwick

In the context dashboard, what precisely does 'errors' mean?
I see an error frequency in the dashboard that is much higher than
what I see in the logs.

--~--~-~--~~~---~--~~
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: C#?

2009-09-04 Thread Andrew Badera

On Fri, Sep 4, 2009 at 2:38 PM, Brandon N. Wirtz wrote:
>
> ROFLMAO
>
> Not a Google Guy, but as an Ex-Microsoftie, Cloud and .NET are a ways away,
> certainly on non-MSFT platforms.

I've seen .NET and Mono research that says otherwise ;)

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)

--~--~-~--~~~---~--~~
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: C#?

2009-09-04 Thread Brandon N. Wirtz

Mono is a great platform, But Novell is losing interest in it, and it's not 
popular with MSFT, if it made the move to GAE, you could expect it to go from 
unpopular, to UnFriendly.

-Original Message-
From: google-appengine@googlegroups.com 
[mailto:google-appeng...@googlegroups.com] On Behalf Of Andrew Badera
Sent: Friday, September 04, 2009 12:09 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Re: C#?


On Fri, Sep 4, 2009 at 2:38 PM, Brandon N. Wirtz wrote:
>
> ROFLMAO
>
> Not a Google Guy, but as an Ex-Microsoftie, Cloud and .NET are a ways away,
> certainly on non-MSFT platforms.

I've seen .NET and Mono research that says otherwise ;)

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)




--~--~-~--~~~---~--~~
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: Dramatic increase in api cpu usage.

2009-09-04 Thread herbie

Thanks for our reply. I hope it is an accounting error on Google's
side.   Can anyone at Google comment?

I'm still getting logs reporting api_cpu_ms values x3 than they were
before. (The response time for the request is still 'quick' - aprox
800ms as before).  So I still have no idea why the api_cpu_ms is so
high now.


On Sep 4, 5:24 pm, bFlood  wrote:
> I have seen a very large increase in CPU time with no changes as well,
> so much so that I figured it was just an accounting error on Google's
> side
>
> brian
>
> On Sep 4, 11:59 am, herbie <4whi...@o2.co.uk> wrote:
>
> > Could the new SDK release caused this?
>
> > On Sep 4, 10:26 am, herbie <4whi...@o2.co.uk> wrote:
>
> > > Have there been any recent changes to the DataStore or API (I’m using
> > > python) that can account from a dramatic increase in api cpu usage
> > > when putting entities into the datastore?
>
> > > My app has a request handler that creates about 100 new entities in
> > > the datastore from data posted by the user.
>
> > > A few weeks ago the average api_cpu_ms for a single request to this
> > > handler was aprox 7000 api_cpu_ms (expensive enough!)
>
> > > But I tested it again last night and now its about 22000 api_cpu_ms -
> > > a 3x increase!!
>
> > > The request handler hasn’t changed and the entity models haven’t
> > > changed, my indexes haven’t changed and user data in the post hasn’t
> > > changed.   So I can not account for the huge increase in api_cpu_ms.
>
> > > (I’ve run older versions of my app and still the api_cpu_ms is about
> > > 22000.  Again it used to be about 7000)
>
> > > FYI. One request creates about 100 new entities, all in a single
> > > entity group, using a batch put() in a transaction.   The  entities
> > > have 10 properties,  but only 5 are indexed (no list properties)
--~--~-~--~~~---~--~~
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: C#?

2009-09-04 Thread djidjadji

Microsoft is extending the "Microsoft Community Promise" (a promise
not to make patent claims in certain conditions) for ECMA 334 (C#) and
ECMA 335 (CLI). But for how long. Will it extend next time.
The languages now running on GAE have no patent claims anywhere.
I think this will it make it very unlikely that C# will be supported on GAE.

(Lets run Iron-Python on GAE if CLI is supported)

2009/9/4 Brandon N. Wirtz :
>
> Mono is a great platform, But Novell is losing interest in it, and it's not 
> popular with MSFT, if it made the move to GAE, you could expect it to go from 
> unpopular, to UnFriendly.
>
> -Original Message-
> From: google-appengine@googlegroups.com 
> [mailto:google-appeng...@googlegroups.com] On Behalf Of Andrew Badera
> Sent: Friday, September 04, 2009 12:09 PM
> To: google-appengine@googlegroups.com
> Subject: [google-appengine] Re: C#?
>
>
> On Fri, Sep 4, 2009 at 2:38 PM, Brandon N. Wirtz wrote:
>>
>> ROFLMAO
>>
>> Not a Google Guy, but as an Ex-Microsoftie, Cloud and .NET are a ways away,
>> certainly on non-MSFT platforms.
>
> I've seen .NET and Mono research that says otherwise ;)
>
> ∞ Andy Badera
> ∞ +1 518-641-1280
> ∞ This email is: [ ] bloggable [x] ask first [ ] private
> ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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] task queue questions

2009-09-04 Thread GAEfan

1) Once you name a queue in queue.yaml, how do you tell "taskqueue.add
()" to use that queue instead of default?  What is the syntax?

2) I have 2 email tasks stuck in the default queue.  How can I clear
them?

3) Now, I have "OverQuotaError: The API call mail.Send() required more
quota than is available.", even though I am just trying to send a test
email to 1 recipient.  Any further details on this error?  In Quota
details, I am just at 5% of quota for emailing.

--~--~-~--~~~---~--~~
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: Is there any open source project/ticket management app that can be deployed on App Engine?

2009-09-04 Thread kugutsumen

I love Google Code and I really wish there was a commercial plan for
private projects.
It would fit nicely with Google Apps.

On Sep 4, 4:10 pm, Jaap Taal  wrote:
> Seriously, don't wast time on building/porting/hacking/slashing a trac-like
> thing on GAE, use google code...
> Jaap
>
> On Fri, Sep 4, 2009 at 10:38 AM, Brandon N. Wirtz wrote:
>
>
>
> >  Anything off the shelf will use flat files or SQL… neither of these
> > technologies will work on GAE.  Porting the SQL calls to GQL is not an
> > overwhelming task… but you would then be on your own branch so you’d be on
> > yoru own for updates.
>
> > In these situations it is generally best to deploy the app on a supported
> > platform, and start off loading the bits that are easiest to do to GAE
> > first, until eventually the whole app runs on GAE.
>
> > I have done this with several of my installs… and find even getting 75%
> > running on GAE can help my scalability.
>
> > *From:* google-appengine@googlegroups.com [mailto:
> > google-appeng...@googlegroups.com] *On Behalf Of *Jaap Taal
> > *Sent:* Friday, September 04, 2009 12:48 AM
> > *To:* google-appengine@googlegroups.com
> > *Subject:* [google-appengine] Re: Is there any open source project/ticket
> > management app that can be deployed on App Engine?
>
> > Use google code.
>
> > Jaap
>
> > On Thu, Sep 3, 2009 at 4:38 PM, arpit  wrote:
>
> > I have just started with GAE and one of the things I'd like to do is
> > deploy something like Trac or RedMine to track the project we are
> > working on. Unfortunately Trac doesnt work on GAE since it needs MySQL
> > or similar relational database. Is there any app for tracking projects/
> > ticket management for GAE?
>
> > thanks
> > -arpit
--~--~-~--~~~---~--~~
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: C#?

2009-09-04 Thread Andrew Badera

Who said GAE? You said "cloud." And Mono was only half the reply :)
I've seen two different .NET efforts that provide very similar PaaS
functionality, scale and experience to GAE.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Fri, Sep 4, 2009 at 4:17 PM, Brandon N. Wirtz wrote:
>
> Mono is a great platform, But Novell is losing interest in it, and it's not 
> popular with MSFT, if it made the move to GAE, you could expect it to go from 
> unpopular, to UnFriendly.
>
> -Original Message-
> From: google-appengine@googlegroups.com 
> [mailto:google-appeng...@googlegroups.com] On Behalf Of Andrew Badera
> Sent: Friday, September 04, 2009 12:09 PM
> To: google-appengine@googlegroups.com
> Subject: [google-appengine] Re: C#?
>
>
> On Fri, Sep 4, 2009 at 2:38 PM, Brandon N. Wirtz wrote:
>>
>> ROFLMAO
>>
>> Not a Google Guy, but as an Ex-Microsoftie, Cloud and .NET are a ways away,
>> certainly on non-MSFT platforms.
>
> I've seen .NET and Mono research that says otherwise ;)
>
> ∞ Andy Badera
> ∞ +1 518-641-1280
> ∞ This email is: [ ] bloggable [x] ask first [ ] private
> ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: C#?

2009-09-04 Thread Ovnicraft
2009/9/3 wayneb 

>
> Are you guys planning on supporting C# anytime soon?
>

Really i hope never :P

>
> >
>


-- 
Cristian Salamea
CEO GnuThink Software Labs
Software Libre / Open Source
(+593-8) 4-36-44-48

--~--~-~--~~~---~--~~
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: C#?

2009-09-04 Thread Brandon N. Wirtz

Sorry short, fast answers get me in trouble... 
.net running on Amazon or GAE is likely a ways off.   There is a c# to JVM 
project out there which might make it possible, but like the PHP to JVM which 
works on GAE it is likely not plug and play.

-Original Message-
From: google-appengine@googlegroups.com 
[mailto:google-appeng...@googlegroups.com] On Behalf Of Andrew Badera
Sent: Friday, September 04, 2009 1:32 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Re: C#?


Who said GAE? You said "cloud." And Mono was only half the reply :)
I've seen two different .NET efforts that provide very similar PaaS
functionality, scale and experience to GAE.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)




--~--~-~--~~~---~--~~
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: task queue questions

2009-09-04 Thread GAEfan

Answering 2) and 3) myself...

Make sure your handler returns an http status response of 200.  Else,
the task keeps getting executed over and over again, never clearing
out of the queue.  Unfortunately, some of the examples given just have
the handler end in:

   return

Make sure it ends in something like:

   return HttpResponse("Task Executed", mimetype='text/plain')

so that it gives a 200 status, and clears out of the queue.  Else, the
task repeats endlessly (like in my case, where it sent a test email
dozens of times, waiting for the 200 confirmation)

**

Still would like an answer to 1):

1) Once you name a queue in queue.yaml, how do you tell "taskqueue.add
()" to use that queue instead of default?  What is the syntax?

--~--~-~--~~~---~--~~
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: drop down choice with dynamic fields

2009-09-04 Thread niklasr



On Aug 29, 4:41 pm, yoyoteng  wrote:
> Hi all,
>
> One question to you GAE experts. I'm using the python version by the
> way.
>
> I'd like to create a form in Google App Engine with 2 fields, say A
> and B, and the choices of field B is restricted by A.  For example, A
> have choices ['a', 'b'], and B have choices ['a-a','a-b','b-c','b-d'].
> and if A is selected to be 'a', then the choices for B will only have
> ['a-a','a-b'], while if A is selected to be 'b', then the choices for
> B will only have 'b-c', 'b-d'.
>
> I've tried searching for some possible solutions [1,2,3], and they all
> require use of python AND javascripts, where javascripts are used to
> filter out the choices of a field (whatever that means... I only have
> 2 months experience in this GAE/django-like framework, and no
> experience in javascripts).
>
> As of now, I am planning to use the method provided in [1], but I was
> hoping if there is any other way to implement this sort of dynamically
> changing forms without using javascripts?
>
> [1]http://bradmontgomery.blogspot.com/2008/11/simple-django-example-with...
> [2]http://www.nerdydork.com/dynamic-filtered-drop-down-choice-fields-wit...
> [3]http://stackoverflow.com/questions/796466/how-to-limit-choice-field-o...
Sort of, primitively, yes, meta refreshing elements or whole page,
dhtml or iframe however all standard ways doing this common component
depends on javascript.
I too plan something more userfriendly than interdependent menus. A
textonly app version is very usable since we can't expect all users to
have a windowmanager for very fast textbrowsers lynx or links running
without a windowmanager.
--~--~-~--~~~---~--~~
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: Retrieving Source from GAE

2009-09-04 Thread niklasr



On Sep 3, 12:48 pm, ae  wrote:
> Hi, I had a couple of hard drives die one after the other in a shot
> period of time so I lost all my source code.  Can someone from Google
> please PLEASE help me retrieve the source from GAE?  Thanks.
appfilesbrowser.googlecode.com can handle it when integrated.
also according to old info
groups.google.com/group/google-appengine/browse_thread/thread/
fefbff79e6f4b16d/6a1e297b442e7b64
Naturally we fancy and await more integrated vcs to our deployments,
if it won't come we'll build it.

--~--~-~--~~~---~--~~
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] Does GAE support indian based payment gateways

2009-09-04 Thread student_thesis

Does GAE support indian based payment gateways like CC Avenue

http://www.ccavenue.com/

Is it possible to integrate the payment gateway in our app?

Thanks





--~--~-~--~~~---~--~~
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: Retrieving Source from GAE

2009-09-04 Thread Tim Hoffman



On Sep 4, 12:48 am, ae  wrote:
> Hi, I had a couple of hard drives die one after the other in a shot
> period of time so I lost all my source code.  Can someone from Google
> please PLEASE help me retrieve the source from GAE?  Thanks.

Unfortunatley if you don't install one of the various tools to
retrieve code  before you lose your code
you are out of luck.

If you don't want to use a public vcs I suggest you in the future tar /
zip up you code and mail it to yourself in gmail.
At least that way you will have an offsite backup.


T
--~--~-~--~~~---~--~~
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: Retrieving Source from GAE

2009-09-04 Thread Jeff Enderwick

dropbox is a nice/convenient option as well.

GOOGers, this is a missing feature that many customers have
assumed/expected, to their detriment. Personally, I have on & off-site
backups, but it seems that many aren't so fortunate (or are a little
too nonki). Yeah, if the customer uses his/her head, this situation
can be avoided. But the bottom line is that you are witnessing
customer pain, and by not addressing it, you will inevitably loose
customers.

$.02

On Fri, Sep 4, 2009 at 5:43 PM, Tim Hoffman wrote:
>
>
>
> On Sep 4, 12:48 am, ae  wrote:
>> Hi, I had a couple of hard drives die one after the other in a shot
>> period of time so I lost all my source code.  Can someone from Google
>> please PLEASE help me retrieve the source from GAE?  Thanks.
>
> Unfortunatley if you don't install one of the various tools to
> retrieve code  before you lose your code
> you are out of luck.
>
> If you don't want to use a public vcs I suggest you in the future tar /
> zip up you code and mail it to yourself in gmail.
> At least that way you will have an offsite backup.
>
>
> T
> >
>

--~--~-~--~~~---~--~~
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: task queue questions

2009-09-04 Thread David Symonds

On Sat, Sep 5, 2009 at 8:35 AM, GAEfan wrote:

> 1) Once you name a queue in queue.yaml, how do you tell "taskqueue.add
> ()" to use that queue instead of default?  What is the syntax?

http://code.google.com/appengine/docs/python/taskqueue/tasks.html#Task_add

--~--~-~--~~~---~--~~
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] javax.net.ssl.SSLHandshakeException

2009-09-04 Thread Jesse Grosjean

I use Google Checkout and recently (since Aug 29th) I've been seeing
errors in the Google Checkout integration console. They look like
this:

"We encountered an error trying to access your server at
https://hogbaysoftware.appspot.com/googlecheckoutapicallback -- the
error we got is javax.net.ssl.SSLHandshakeException: Remote host
closed connection during handshake"

My app is a python app, (and the exception is java) so I think this
error must be happening before the request gets into my code. Most
requests are getting through... I was expecting this error to just go
away, but it seems to be sticking around. Does anyone know what could
be causing it, and how to fix the problem?

Thanks,
Jesse
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---