[google-appengine] Task Queue not running or very very slow for Master Slave instance

2011-12-30 Thread fedex1
Hi,

Is anyone seeing that the appengine task queue seems to be not running
any tasks in the master slave instances.

The only other difference I see from another application where the
tasks ARE running is that the one that IS NOT running is a paid
application.

The application id is move

There are 2 tasks there at the moment.  They have been there for 1hr
30 minutes and they have not run at all and no re-tries.


Queue Name  Maximum RateEnforced Rate   Bucket Size Maximum 
Concurrent
Oldest Task Tasks in Queue  Run in Last Minute  Running
Push Queues
default  5.00/s  5.00/s  5.0 2011-12-30 16:54:15
(1:29:55 ago)2   0   0

Thanks,
Ralph

-- 
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] Enabling billing on appengine

2011-08-18 Thread fedex1
Hi

I tried to enable billing on appspot id: race-timing

And I see this error:  And now appengine shows that billing will be enabled 
and billing changes cannot be made for 30 minutes, even though I don't see a 
google checkout order?  Can someone help or let me know that it will clear 
itself.  Thanks, Ralph


  Browse stores »
Error
Purchase HistoryError
Help
  
Oops!
An error occurred while processing your request. 

To fix this issue: 
Try our quick troubleshooting tips -- users report these resolve most 
issues.

Back to My Account


Time when the error happened: 2011-08-18T18:20:25 (UTC) (4aacbb1d8)




https://checkout.google.com/view/buy?o=shoppingcartshoppingcart=974369501494940pli=1

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Y9DD8h5IpuoJ.
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: erroring

2011-08-18 Thread fedex1
A couple of questions.

What strategy do you use to move from Master Slave to High
Replication?

I assume it's not as easy as changing a configuration parameter.  In
fact, you cannot change Datastore Replication Options after you've
created an application it seems.

Do you simply create a new application using High Replication as the
Datastore Replication Option and then migrate your data and migrate
your source?


Also, right after this outage, I tried to create a new application for
example event-registration-hr and the admin console said it was
available.  I created it and it seemed to fail, but the name event-
registration-hr was now taken, but not allocated to my applications.
I tried again with another name and it happened again.  Maybe an after
effect of the outage.

Thanks,
Ralph

On Aug 18, 9:57 pm, Stephen Mayer stephen.ma...@gmail.com wrote:
 I'm seeing problems with the control panel, but my site is on HR datastore
 and the site is fine.  Perhaps its only impacting master/slave datastore
 users?

 Stephen

-- 
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] Reset the Datastore Quote Exceeded message

2011-07-05 Thread fedex1
Hi

Can someone help me.  Reset the datastore quota on app id parking-
helper

The app id parking-helper has a Total Stored Data 100% message.

But I've deleted 99% of the data (a few days ago) clear the indexes,
vacuumed the indexes and cleared the memcache and also waited for at
least 2 reset cycles and yet the datastore still says 100% used.

The datastore admin shows:  (which does not add up to more than a
meg.)

Event   309 3 KBytes970 KBytes
Mood8   433 Bytes   3 KBytes
TokenCollection 3   519 Bytes   2 KBytes
_AppEngineUtilities_Session 3   538 Bytes   2 KBytes
_AppEngineUtilities_SessionData 3   323 Bytes   971 Bytes

Thanks,
Ralph

-- 
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] Sending Email without Viewer rights Request for a Email Sender privilege in the appengine admin panel

2011-04-13 Thread fedex1
Hi,

First of all thanks a lot for app engine.

Is there a way to send email as an authorized user (with their
permission of course) WITHOUT giving them viewing rights to the
application?

I'd like to set the user in the administration panel as email sender
rather than viewer and they will have no other right except being an
authorized email sender.

I can't use the appspotmail.com option because the users want to use
their own email address.

The use case is I'm sending out confirmation letters to the payer on
behalf of the event organization after an event registration.

Thanks,
Ralph

-- 
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] cannot add domain url to appspot id parking-helper to google apps domain. can someone help?

2011-03-07 Thread fedex1
Domain Name: brooklynmarathon.com

Edition: appengine

Affected Username/s: all

Issue Description:

Hi, I am trying to add a domain and url to a appengine id called 
parking-helper

I cannot.  I add the domain brooklynmarathon.com but when I add url called 
parking it fails with NO error message. 
Can you help.

I even added the CNAME manually from parking to ghs.google.com,  The CNAME 
works but the application fails.  see 
http://parking.brooklynmarathon.com/static/Generic-Alerts-aligned.apk 

But http://parking-helper.appspot.com/static/Generic-Alerts-aligned.apk
 works.

Please help.

And thanks for appengine!!!

-- 
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] Question about download_app admin access to application

2011-03-04 Thread fedex1
First of all, thanks for AppEngine!

I notice that  appcfg.py download_app limits the download to the
developer that uploads it.

Would it be possible to allow the owner of the application to also
download the application.

That would be very helpful to allow the owner to help the developer.

I know that it may be better to use true source control, but appcfg.py
download_app is better for very simple cases

Thanks,
Ralph

-- 
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] Question about Datastore Admin and clearing all data when you are at 100% quota

2010-12-07 Thread fedex1
Hi,

I'd like to use the Datastore Admin interface to clear all data.

The current state of the application is it is at 100% quota for
datastore

Total Stored Data100%

But the message I see (right away) is

The API call datastore_v3.Put() required more quota than is
available.

Does this mean the Datastore Admin interface cannot delete when the
quota is hit?

Thanks,
Ralph

-- 
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-appeng...@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] Bulk Delete via the remote api console

2010-09-02 Thread fedex1
Hi,

Is there something additional that is needed to delete via the remote
api console?  Is there some transaction logic needed?

I try it and it seems to work, asks for userid and password and makes
all the remote_api calls but when it finishes NONE of the items are
deleted.

For example, after imports in the app engine console:

## LOAD keys
 results = Models.ResultX.all(keys_only=True).filter('activity = ', 
 db.Key.from_path(Models.ActivityX.kind(),'hash_13
aae4091b23a8d2c7e90b3331135fafe8e73d40')).fetch(1)
No handlers could be found for logger
google.appengine.tools.appengine_rpc
Username:x...@gmail.com
Password:
 len(results)
2000
 for i in xrange(0,len(results),500):
...   temp = results[i:i+500]
...   db.delete(temp)
...   print i

 results = Models.ResultX.all(keys_only=True).filter('activity = ', 
 db.Key.from_path(Models.ActivityX.kind(),'hash_13
aae4091b23a8d2c7e90b3331135fafe8e73d40')).fetch(1)

 len(results)
2000

I would expect len(results) to be 0 at this point.

-- 
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-appeng...@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] Question about Task Queue API Call Limit

2010-09-01 Thread fedex1
I have a question, why have a task queue API limit?  If the billing is
on CPU Time, why not let the CPU Time limit handle the quota.

Here's an example of an application having 25% of CPU left and yet it
ran out of Task Queue API calls.

Also the idea of app engine (which i like) is small fast processing
tasks, but this task queue API limit seems to penalize the small
tasks.

CPU Time 75% 4.88 of 6.50 CPU hours
Outgoing Bandwidth   1%  0.01 of 1.00 GBytes
Incoming Bandwidth   6%  0.06 of 1.00 GBytes
Total Stored Data42% 0.42 of 1.00 GBytes
Recipients Emailed   0%  0 of 2,000
Task Queue API Calls 100%100,000 of 100,000

Thanks,
Ralph

-- 
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-appeng...@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: Paypal / Payment integration and domain related questions for GAE

2010-08-27 Thread fedex1
Hi,

Yes PayPal, Google Checkout and Amazon FPS are all available within
App Engine.

I've integrated all of them at http://move.brooklynmarathon.com
Which you can use if you'd like.

Ralph

On Aug 27, 3:52 am, Andrius A andriu...@gmail.com wrote:
 1) yes, try to google and you will find examples

 2) yes, you can use you own domains

 3) unfortunatly this is due to ssl limitations. Still your users will be
 able to acces through your domain but browser will show that certificate is
 untrasted. With https you can use only appspot.com subdomains.

 On 27 Aug 2010 01:10, Divkis divick.kish...@gmail.com wrote:

 Hi,
    I am trying to evaluate GAE, if it suits my purpose.

 One of the requirements that I have is that I want integration with a
 couple of payment gateways, the top priority being paypal.

 1. Could someone please help me answer if it is even possible to
 integrate paypal and/or some other payment gateway with GAE?

 2. The other question that I have is if I have a domain say xyz.com,
 then users accessinghttp://www.xyz.comwill be directed to my
 application deployed on GAE?

 3. Having looked at Wikipedia entry for 
 GAE,http://en.wikipedia.org/wiki/Google_App_Engine,
 section 'Restrictions', it says
 SSL/HTTPS is only available via *.appspot.com domains and not via
 Google Apps Domains

 I am not sure what this really means and what implication does it
 have?

 Thanks in advance,
 Divkia

 --
 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
 e...@googlegroups.com
 .
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@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] Question about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread fedex1
Hi,

What is the app engine limit for stored data?  It appears to be 41
Gigs according to the Quota Details page
But the billing report shows that the limit is 1 Gig.

I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
clear this up.  Maybe there are different interpretations of storage.
But is this Datastore storage?  log storage?  what data is the 41 Gig
limit for and what data is the 1 Gig limit for.

Thanks,
Ralph

Billing Report:
ResourceUsedFreeBillableCharge
Stored Data:
$0.005/GByte-day1.151.000.15$0.01

Quote Details Page:
Total Stored Data5%  1.91 of 41.00 GBytesOkay

app_id=race-results

-- 
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-appeng...@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 about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread fedex1
Hi Eli,

Thanks. After looking at it more, I understand and agree with you.
The Quota Details page is a little confusing since it does not
mention that 1 Gig is the free quota and 40 is the paid quota.

I looked at the Datastore Statistics for this application and it says:
Size of all entities278 MBytes

Do you know where the 2.15 Gigs is being counted from?

Thanks again.

On Aug 27, 4:25 pm, Eli Jones eli.jo...@gmail.com wrote:
 1GB of data storage is free.

 Any data store usage above 1GB but less than 41GB (the max storage is
 something you can set when you configure your Billing Settings) will be
 billed to you.

 If you look at your billing report, it states that Used = 1.15, Free = 1.00,
 and Billable = 0.15.







 On Fri, Aug 27, 2010 at 4:16 PM, fedex1 fed...@gmail.com wrote:
  Hi,

  What is the app engine limit for stored data?  It appears to be 41
  Gigs according to the Quota Details page
  But the billing report shows that the limit is 1 Gig.

  I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
  clear this up.  Maybe there are different interpretations of storage.
  But is this Datastore storage?  log storage?  what data is the 41 Gig
  limit for and what data is the 1 Gig limit for.

  Thanks,
  Ralph

  Billing Report:
  Resource        Used    Free    Billable        Charge
  Stored Data:
  $0.005/GByte-day        1.15    1.00    0.15    $0.01

  Quote Details Page:
  Total Stored Data                5%      1.91 of 41.00 GBytes    Okay

  app_id=race-results

  --
  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-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@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 about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread fedex1
Sorry.  I meant 1.15 Gigs.

On Aug 27, 4:59 pm, fedex1 fed...@gmail.com wrote:
 Hi Eli,

 Thanks. After looking at it more, I understand and agree with you.
 The Quota Details page is a little confusing since it does not
 mention that 1 Gig is the free quota and 40 is the paid quota.

 I looked at the Datastore Statistics for this application and it says:
 Size of all entities    278 MBytes

 Do you know where the 2.15 Gigs is being counted from?

 Thanks again.

 On Aug 27, 4:25 pm, Eli Jones eli.jo...@gmail.com wrote:







  1GB of data storage is free.

  Any data store usage above 1GB but less than 41GB (the max storage is
  something you can set when you configure your Billing Settings) will be
  billed to you.

  If you look at your billing report, it states that Used = 1.15, Free = 1.00,
  and Billable = 0.15.

  On Fri, Aug 27, 2010 at 4:16 PM, fedex1 fed...@gmail.com wrote:
   Hi,

   What is the app engine limit for stored data?  It appears to be 41
   Gigs according to the Quota Details page
   But the billing report shows that the limit is 1 Gig.

   I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
   clear this up.  Maybe there are different interpretations of storage.
   But is this Datastore storage?  log storage?  what data is the 41 Gig
   limit for and what data is the 1 Gig limit for.

   Thanks,
   Ralph

   Billing Report:
   Resource        Used    Free    Billable        Charge
   Stored Data:
   $0.005/GByte-day        1.15    1.00    0.15    $0.01

   Quote Details Page:
   Total Stored Data                5%      1.91 of 41.00 GBytes    Okay

   app_id=race-results

   --
   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-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
e...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@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 about Stored Data and Quota of 41 Gigs vs. 1 Gig

2010-08-27 Thread fedex1
Wow, thanks.  And yes, I've starred it.

On Aug 27, 5:19 pm, Robert Kluin robert.kl...@gmail.com wrote:
 Probably indexes.

 Star this issue:http://code.google.com/p/googleappengine/issues/detail?id=2740

 Robert







 On Fri, Aug 27, 2010 at 17:06, fedex1 fed...@gmail.com wrote:
  Sorry.  I meant 1.15 Gigs.

  On Aug 27, 4:59 pm, fedex1 fed...@gmail.com wrote:
  Hi Eli,

  Thanks. After looking at it more, I understand and agree with you.
  The Quota Details page is a little confusing since it does not
  mention that 1 Gig is the free quota and 40 is the paid quota.

  I looked at the Datastore Statistics for this application and it says:
  Size of all entities    278 MBytes

  Do you know where the 2.15 Gigs is being counted from?

  Thanks again.

  On Aug 27, 4:25 pm, Eli Jones eli.jo...@gmail.com wrote:

   1GB of data storage is free.

   Any data store usage above 1GB but less than 41GB (the max storage is
   something you can set when you configure your Billing Settings) will be
   billed to you.

   If you look at your billing report, it states that Used = 1.15, Free = 
   1.00,
   and Billable = 0.15.

   On Fri, Aug 27, 2010 at 4:16 PM, fedex1 fed...@gmail.com wrote:
Hi,

What is the app engine limit for stored data?  It appears to be 41
Gigs according to the Quota Details page
But the billing report shows that the limit is 1 Gig.

I'm over the 1 Gig limit but far below the 41 Gig limit, can someone
clear this up.  Maybe there are different interpretations of storage.
But is this Datastore storage?  log storage?  what data is the 41 Gig
limit for and what data is the 1 Gig limit for.

Thanks,
Ralph

Billing Report:
Resource        Used    Free    Billable        Charge
Stored Data:
$0.005/GByte-day        1.15    1.00    0.15    $0.01

Quote Details Page:
Total Stored Data                5%      1.91 of 41.00 GBytes    Okay

app_id=race-results

--
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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib
 e...@googlegroups.com
.
For more options, visit this group at
   http://groups.google.com/group/google-appengine?hl=en.

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

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@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] Datastore Indexes how can you tell how long it will take? ETA

2010-08-24 Thread fedex1
Hi,

I have an application at application id: race-results

And I see an index has been running for more than a day.

It needs adding jobs, but it's hard to tell if it's stuck or just
running.

Is there any way to find out an ETA for completion.

Thanks,
Ralph

-- 
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-appeng...@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] You haven't set the DATABASE_ENGINE setting yet

2010-04-28 Thread fedex1
Hi,

I am seeing a similar problem.

Below is the settings file and the stack trace.

This error seems to come and go.  I don't make any changes and it
appears and then goes without any change.

It seems to have to do with writing to the database.

Can someone explain what the error is to help me understand what to
change?  Thanks, Ralph

The typical code is something like this:

 entry.ip = request.META[REMOTE_ADDR]
 entry.eventid = int(event_id)
 entry.put()

The settings.py file is:

# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the License);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Django settings for this project.

import os

DEBUG = True

TEMPLATE_DEBUG = DEBUG

ADMINS = (
('XXX', 'x...@gmail.com'),
)

MANAGERS = ADMINS

DATABASE_ENGINE = ''   # 'postgresql_psycopg2', 'postgresql',
'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_NAME = '' # Or path to database file if using
sqlite3.
DATABASE_USER = '' # Not used with sqlite3.
DATABASE_PASSWORD = '' # Not used with sqlite3.
DATABASE_HOST = '' # Set to empty string for localhost.
Not used with sqlite3.
DATABASE_PORT = '' # Set to empty string for default. Not
used with sqlite3.

# Local time zone for this installation. Choices can be found here:
# 
http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
# although not all variations may be possible on all operating
systems.
# If running in a Windows environment this must be set to the same as
your
# system time zone.
TIME_ZONE = 'America/New_York'  # i.e., Brooklyn

# Language code for this installation. All choices can be found here:
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
LANGUAGE_CODE = 'en-us'

SITE_ID = 1

# If you set this to False, Django will make some optimizations so as
not
# to load the internationalization machinery.
USE_I18N = False

# Absolute path to the directory that holds media.
# Example: /home/media/media.lawrence.com/
MEDIA_ROOT = ''

# URL that handles the media served from MEDIA_ROOT.
# Example: http://media.lawrence.com;
MEDIA_URL = ''

# URL prefix for admin media -- CSS, JavaScript and images. Make sure
to use a
# trailing slash.
# Examples: http://foo.com/media/;, /media/.
ADMIN_MEDIA_PREFIX = '/media/'

# Whether to append trailing slashes to URLs.
APPEND_SLASH = False

# Make this unique, and don't share it with anybody.
SECRET_KEY = '123'

# List of callables that know how to import templates from various
sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
)

ROOT_URLCONF = 'urls'

MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.common.CommonMiddleware'
)


TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__), 'templates'),
# Put strings here, like /home/html/django_templates or C:/www/
django/templates.
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)

INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.contenttypes',
)

WEBSITE='http://move.brooklynmarathon.com/'


The stack trace is:
#

   1.
  04-28 02:02PM 14.612 /evententry/165101 500 133ms 300cpu_ms
145api_cpu_ms 2kb Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:
1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR
3.5.30729),gzip(gfe),gzip(gfe)
  See details

  65.220.69.114 - fedex1 [28/Apr/2010:14:02:14 -0700] POST /
evententry/165101 HTTP/1.1 500 2188 http://move.brooklynmarathon.com/
evententry/165101 Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:
1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR
3.5.30729),gzip(gfe),gzip(gfe) move.brooklynmarathon.com

   2.
  E 04-28 02:02PM 14.743

  class 'django.core.exceptions.ImproperlyConfigured': You
haven't set the DATABASE_ENGINE setting yet.
  Traceback (most recent call last):
File /base/data/home/apps/move/2.341563111878929596/
django_bootstrap.py, line 67, in main
  util.run_wsgi_app(application)
File /base/python_runtime/python_lib/versions/1/google/
appengine/ext/webapp/util.py, line 97, in run_wsgi_app
  run_bare_wsgi_app(add_wsgi_middleware(application))
File /base/python_runtime/python_lib/versions/1/google/
appengine/ext/webapp/util.py, line 115, in run_bare_wsgi_app
  result

[google-appengine] Re: You haven't set the DATABASE_ENGINE setting yet

2010-04-28 Thread fedex1
Hi Greg and Everyone,

Do you happen to know where the documentation on this is.

The odd thing is the code works fine with the DATABASE_ENGINE set to
'' 99% of the time.

It's only a few times that it fails.

I suspect it's a write failure and I simply have to perform a retest,
but I don't see the recommended solution for this.

Also I tried what you said sqlite3

But the error now is:
class 'django.core.exceptions.ImproperlyConfigured': Error loading
sqlite3 module: No module named pysqlite2
Traceback (most recent call last):
  File /base/data/home/apps/race-reviews/1.341587830625416005/
django_bootstrap.py, line 70, in module
main()
  File /base/data/home/apps/race-reviews/1.341587830625416005/
django_bootstrap.py, line 67, in main
util.run_wsgi_app(application)
  File /base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/util.py, line 97, in run_wsgi_app
run_bare_wsgi_app(add_wsgi_middleware(application))
  File /base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/util.py, line 115, in run_bare_wsgi_app
result = application(env, _start_response)
  File /base/python_runtime/python_lib/versions/third_party/
django-0.96/django/core/handlers/wsgi.py, line 184, in __call__
self.load_middleware()
  File /base/python_runtime/python_lib/versions/third_party/
django-0.96/django/core/handlers/base.py, line 29, in load_middleware
mod = __import__(mw_module, {}, {}, [''])
  File /base/python_runtime/python_lib/versions/third_party/
django-0.96/django/contrib/sessions/middleware.py, line 2, in
module
from django.contrib.sessions.models import Session
  File /base/python_runtime/python_lib/versions/third_party/
django-0.96/django/contrib/sessions/models.py, line 3, in module
from django.db import models
  File /base/python_runtime/python_lib/versions/third_party/
django-0.96/django/db/__init__.py, line 11, in module
backend = __import__('django.db.backends.%s.base' %
settings.DATABASE_ENGINE, {}, {}, [''])
  File /base/python_runtime/python_lib/versions/third_party/
django-0.96/django/db/backends/sqlite3/base.py, line 18, in module
raise ImproperlyConfigured, Error loading %s module: %s %
(module, e)
class 'django.core.exceptions.ImproperlyConfigured': Error loading
sqlite3 module: No module named pysqlite2

Thanks,
Ralph

On Apr 28, 6:38 pm, Greg g.fawc...@gmail.com wrote:
 Not sure which thread this is the tail of, but it seems obvious to me
 that you haven't set theDATABASE_ENGINE. Try eding your settings.py
 and changing the line to:

    DATABASE_ENGINE= sqllite3

 Sorry if I haven't understood your problem correctly.

 Cheers
 Greg.

 On Apr 29, 9:41 am,fedex1fed...@gmail.com wrote:

  The settings.py file is:
  ...
 DATABASE_ENGINE= ''           # 'postgresql_psycopg2', 'postgresql', 
 'mysql', 'sqlite3' or 'ado_mssql'.
  ...
  django-0.96/django/db/backends/dummy/base.py, line 13, in complain
            raise ImproperlyConfigured, You haven't set 
  theDATABASE_ENGINEsetting yet.

 --
 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@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] index building

2009-08-28 Thread fedex1

Hi,

I have an application id wsxnyc that is in index building and
deleting mode.

Can you tell me how to reset it or can you reset it.

I apologize but vacuum also returns an error.

Thanks,
Ralph
--~--~-~--~~~---~--~~
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] OAuth and text_db and google app engine and reading a google spreadsheet

2009-07-05 Thread fedex1

Hi,

I'm sure I'm missing something.  But I don't see the correct way to
read a google spreadsheet from google app engine using OAuth.

Is there a simple example?

I can get the documents and spreadsheets names, dates, etc. but I
would like to access the data.


This is an example of reading a spreadsheet via installed app but I
want to do it from google app engine using OAuth.

Thanks.

import gdata.spreadsheet.text_db

client = gdata.spreadsheet.text_db.DatabaseClient
(username='x...@gmail.com',password='')
db = client.GetDatabases(name='My Tracks-street running')
table=db[0].GetTables()[0]
rows=table.GetRecords(1,1000)
for row in rows:
 print row.content.get('name'),',', row.content.get('date'),',',
row.content.get('movingtime'),',',  row.content.get('distance'),',',
row.content.get('distanceunit'),',', row.content.get('map')

for row in rows:
   print '==='
   for cell in row.content:
   print '%s = %s' % (cell, row.content.get(cell), )
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---