[google-appengine] Re: Anomaly at Datastore

2010-06-02 Thread Aaron
The status page says the datastore is back to normal.  However, I'm
still hitting the soft memory limit on every request.  Is the
datastore really back to normal operation?

Best,
Aaron

On Jun 2, 11:01 am, Rafael Sierra  wrote:
> On Wed, Jun 2, 2010 at 2:53 PM, Wesley C (Google)  wrote:
>
> > the status page should be working again... there was a configuration
> > issue this morning regarding that which has been resolved.
>
> > as far as performance goes, there's an active and ongoing effort to
> > address the increased latency developers are seeing... we'll post
> > updates when we have something concrete. believe it or not, we're
> > working on trying to make things *more* stable, and not the other way
> > around.
>
> Ok, I do believe, I just was missing the information :)
>
>
>
> > thanks for your patience!
> > -- wesley
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> Thank you.
>
> > "Core Python Programming", Prentice Hall, (c)2007,2001
> > "Python Fundamentals", Prentice Hall, (c)2009
> >   http://corepython.com
>
> > wesley.j.chun :: wesc+api-at-google-dot-com
> > developer relations :: google app engine
> > @app_engine :: googleappengine.blogspot.com
>
> > --
> > 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] Re: Questions concerning Datastore Growing Pains

2010-06-03 Thread Aaron
+1, the 'relatively slow data store performance' is unusable for us.
we are hitting the soft memory limit on every request.  this causes an
instance to respawn on every request (5+ seconds of latency).  Any
mission-critical application running on GAE would be dead in the water
right now.

On Jun 3, 12:13 pm, ten_foot_ninja  wrote:
> App engine is in google beta. I don't think you'll get the kind of
> answer you are looking for. Certainly you won't get any one guessing
> as to how many serious problems will occur a year.
>
> I can say though as another startup business, we decided to go with
> app engine and I can't say we run into any reliability problems often.
> We have never lost data and outages are few and far between. My
> biggest issue at the moment is the relatively slow data store
> performance (which Google says they are addressing).
>
> To be fair, we are in beta ourselves and don't have an extensive user
> base to thoroughly test things for us all the time.
>
> On Jun 2, 7:29 pm, Bill Edwards  wrote:
>
> > I would personally like more information on these datastore growing
> > pains.  As a startup, that has been strongly considering building
> > solely on Google App Engine, we are very, very concerned with these
> > instances of failure.
>
> > If possible, can somebody from the GAE team give us information, on a
> > technical level, about how serious these problems are, and how
> > preventable they are in the future?  Is it possible that after these
> > problems are fixed, that this will reoccur 2-3 times a year?  If so,
> > how likely?  If not, why not?
>
> > I think you all would be doing the community a huge service by giving
> > us a realistic outlook on problems to come.  If we can't depend 99.9%
> > on GAE right now, that is fine.  We will come back when you are
> > ready.  But, as a startup building a business application, we can't
> > risk these sort of downtimes.
>
> > I look forward to a candid response.

-- 
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: Please Help with Soft Memory Limit Issues

2010-06-09 Thread Aaron
Here is an example of the AppStats record for a sample page load.
This happens consistenly even when I"m only refreshing a static page.
As you can see, RPC's are extremely low, but Grand Total memory usage
is off the charts, which is requiring the application to cold start on
every load.

http://grab.by/4POM

On Jun 9, 12:21 am, Bill Edwards  wrote:
> Hi GAE Team!
>
> I am having a serious problem with my application.  As of recently,
> every request that is being issued is resulting in the following
> error:
>
> "After handling this request, the process that handled this request
> was found to be using too much memory and was terminated. This is
> likely to cause a new process to be used for the next request to your
> application. If you see this message frequently, you may have a memory
> leak in your application."
>
> I believe as a result, every request is requiring a new instance to be
> loaded up in memory.  This is giving me very high user latency.  These
> problems did not prop up until the beginning of the datastore issues.
>
> However, I have been talking to other GAE users, and they are not
> having the as serious problems as I am seeing.  I would think that
> this may have something to do with my query usage.  However, these
> errors prop up even on my static pages.
>
> Please help me look for a solution to this problem.  I greatly
> appreciate your time!

-- 
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] Deferred Library Not Working Intermittently

2010-06-12 Thread Aaron
Hi!

I am currently implementing the deferred library in my code, and I am
running into a very very strange problem.  The function that I am
deferring gets passed an entity key.  It does two tasks: 1) Gets the
entity,  retrieves a reference property, alters it, and then puts it
back 2)Sends out an email

The email is getting sent out every time the deferred function is
called.  BUT, the first task only completes 2/3 of the time.  I have
been replicating this error over and over and have yet to find any
pattern in the failures.  Here is the deferred function

def complete_insert(self, data, answer_key, userkey):
a = db.get(answer_key)
q = a.question
q.answercount += 1
q.answerers += [str(userkey)]
q.answerers = list(set(q.answerers))
q.answered = True
q.lastanswer = str(answer_key)
q.lastanswerdate = datetime.now()
q.put()

mail = Mail()
followers = db.get(q.indexes.followerlist)
emails = []
for follower in followers:
mail.send(emails, "question-followers-email", params =
{"question": common.strip_html(q.question),
"details":common.strip_html(q.details), "slug":q.slug,
"answer":common.strip_html(data["answer"])} )

A couple observations that make this even more boggling.  I can tell
when the function fails because the counter does not increment and the
other properties do not change.  However, when it fails, I can see the
put() being done in AppStats under /ah/deferred.  FURthermore, I have
checked that the values being passed into the function are the ones
that I am expecting.  (I did this by adding another put that wrote the
arguments to a test model)

I have absolutely no idea what could be going on here.  Is this a bug?

Very best and thanks for your time,
Aaron

-- 
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] New Bulkloader Error: The request to API call datastore_v3.Put() was too large.

2010-06-19 Thread Aaron
Hi!

I am using the new appcfg.py bulkloader to restore data to my SDK
datastore.  The command I am issuing is as follows:

python appcfg.py upload_data --application= --url=http://
localhost:8080/remote_api --filename bac
kup.csv --batch_size=1 --num_threads=1

After uploading ~7K entities, it fails with the following error:

  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\adaptive
_thread_pool.py", line 150, in WorkOnItems
status, instruction = item.PerformWork(self.__thread_pool)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 693, in PerformWork
transfer_time = self._TransferItem(thread_pool)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 850, in _TransferItem
self.request_manager.PostEntities(self.content)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 1294, in PostEntities
datastore.Put(entities)
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore.
py", line 282, in Put
'datastore_v3', 'Put', req, datastore_pb.PutResponse(), rpc)
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore.
py", line 186, in _MakeSyncCall
rpc.check_success()
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\apiproxy_s
tub_map.py", line 474, in check_success
self.__rpc.CheckSuccess()
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\apiproxy_r
pc.py", line 149, in _WaitImpl
self.request, self.response)
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\remote_api
\remote_api_stub.py", line 223, in MakeSyncCall
handler(request, response)
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\remote_api
\remote_api_stub.py", line 349, in _Dynamic_Put
'datastore_v3', 'Put', put_request, put_response)
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\remote_api
\remote_api_stub.py", line 155, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\remote_api
\remote_api_stub.py", line 175, in _MakeRealSyncCall
raise pickle.loads(response_pb.exception().contents())
RequestTooLargeError: The request to API call datastore_v3.Put() was
too large.
[INFO] Unexpected thread death: Thread-3
[INFO] An error occurred. Shutting down...
[ERROR   ] Error in Thread-3: The request to API call
datastore_v3.Put() was too
 large.

[INFO] 6570 entites total, 6366 previously transferred
[INFO] 0 entities (1621932 bytes) transferred in 126.5 seconds
[INFO] Some entities not successfully transferred

I watched the Google I/O talk on data migration, and I have played
around with the batch size and thread size to see if I could surpass
this error.  However, nothing I've tried has helped, and it seems to
me like a batch and thread size of 1 would cause the fewest problems.
Is there any way to find out what entity it's being held up on?

Thanks in advance.

-- 
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: TransientError adding to queue..

2010-07-08 Thread Aaron
Hi,

Did you ever figure this one out?  I'm getting these errors a lot over
the past week also.  It's hard to debug, because I can't seem to find
the information on what specific task is causing the error.

On May 20, 1:31 pm, bvelasquez  wrote:
> Specific error is below.  I am continually getting this error now.
> Additionally, 500 errors deploying to app engine when it gets to the
> CRON/Index phase.  Any clues what the transient error is and why I
> might be getting this now?
>
> Barry
>
> [ADD TASK] exception adding task.
> Traceback (most recent call last):
>   File "/base/data/home/apps/jacob-6/release.342090711789639314/libs/
> queue_helper.py", line 33, in add_task_to_queue
>     taskqueue.add(url=path, params={'key' : '8914EDFA-724A-11DE-
> BD26-396256D89593', 'data' : data_string})
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/labs/taskqueue/taskqueue.py", line 750, in add
>     return Task(*args, **kwargs).add(transactional=transactional)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/labs/taskqueue/taskqueue.py", line 543, in add
>     return Queue(queue_name).add(self, transactional=transactional)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/labs/taskqueue/taskqueue.py", line 597, in add
>     self.__AddTasks(tasks, transactional)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/labs/taskqueue/taskqueue.py", line 625, in __AddTasks
>     raise self.__TranslateError(e.application_error, e.error_detail)
> TransientError
> I 05-20 01:28PM 36.331
> Saved; key: __appstats__:009800, part: 195 bytes, full: 75163 bytes,
> overhead: 0.005 + 0.012; 
> link:http://www.jacobsix.com/stats/details?time=1274387309826
> I 05-20 01:28PM 36.341
> This request caused a new process to be started for your application,
> and thus caused your application code to be loaded for the first time.
> This request may thus take longer and use more CPU than a typical
> request for your application.
>
> --
> 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] Re: TransientError adding to queue..

2010-07-12 Thread Aaron
Is it best practice to surround every Taskqueue.add call with a try
except, so that we can catch the TransientErrors, and readd the task?

On Jul 10, 12:00 am, Waleed Abdulla  wrote:
> I've been getting a lot of those errors in the last few days as well. Also
> noticed a lot of tasks being run several times. I know this does happen in
> general on the app engine, but the frequency of it definitely increased a
> lot in the last few days.
>
>
>
> On Thu, Jul 8, 2010 at 11:29 PM, Aaron  wrote:
> > Hi,
>
> > Did you ever figure this one out?  I'm getting these errors a lot over
> > the past week also.  It's hard to debug, because I can't seem to find
> > the information on what specific task is causing the error.
>
> > On May 20, 1:31 pm, bvelasquez  wrote:
> > > Specific error is below.  I am continually getting this error now.
> > > Additionally, 500 errors deploying to app engine when it gets to the
> > > CRON/Index phase.  Any clues what the transient error is and why I
> > > might be getting this now?
>
> > > Barry
>
> > > [ADD TASK] exception adding task.
> > > Traceback (most recent call last):
> > >   File "/base/data/home/apps/jacob-6/release.342090711789639314/libs/
> > > queue_helper.py", line 33, in add_task_to_queue
> > >     taskqueue.add(url=path, params={'key' : '8914EDFA-724A-11DE-
> > > BD26-396256D89593', 'data' : data_string})
> > >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > > api/labs/taskqueue/taskqueue.py", line 750, in add
> > >     return Task(*args, **kwargs).add(transactional=transactional)
> > >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > > api/labs/taskqueue/taskqueue.py", line 543, in add
> > >     return Queue(queue_name).add(self, transactional=transactional)
> > >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > > api/labs/taskqueue/taskqueue.py", line 597, in add
> > >     self.__AddTasks(tasks, transactional)
> > >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > > api/labs/taskqueue/taskqueue.py", line 625, in __AddTasks
> > >     raise self.__TranslateError(e.application_error, e.error_detail)
> > > TransientError
> > > I 05-20 01:28PM 36.331
> > > Saved; key: __appstats__:009800, part: 195 bytes, full: 75163 bytes,
> > > overhead: 0.005 + 0.012; link:
> >http://www.jacobsix.com/stats/details?time=1274387309826
> > > I 05-20 01:28PM 36.341
> > > This request caused a new process to be started for your application,
> > > and thus caused your application code to be loaded for the first time.
> > > This request may thus take longer and use more CPU than a typical
> > > request for your application.
>
> > > --
> > > 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 > 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 > 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] What is the best way to Simulate Datastore Queries on a Python Data Structure

2010-07-28 Thread Aaron
Hi guys,

I have a static table of information (approx 1000 rows), and I need to
access information in this table many times per request.  Since the
data in the table is static, would you recommend storing it in a
python dictionary or adding it to the datastore and querying for it?

I would go immediately with storing it in a python data structure, but
I need to query by various columns and the datastore seems to be
efficient at this.  The downside of using the datastore/memcache is
that it increases the request time, since I have to do multiple
queries per request.  However, I'm wondering if "querying" the python
data structure is going to eat up my cpu usage considering that I have
to "query" the data structure by various columns.

If the data structure is the way to go, is there a recommended way to
store the table so that I can basically query for rows by any
combination of columns?

Thanks!
Aaron

-- 
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] Over Quota Error on TaskQueue when Quota is Available

2010-10-22 Thread Aaron
Hi!

After uploading a new version of my app today, I started receiving
Over Quota Errors as a result of a cron task that queues up sixty
tasks every minute.  As far as I can see from my admin dashboard, I
have not exceeded the quota (especially since the quotas just reset).
However, I'm still receiving these Over Quota Errors.

Just a note: I mistakenly let a task queue get out of hand yesterday,
so I exceeded my quota from yesterday.  Does this roll over and affect
my quota for future days?

Thanks,
Aaron

-- 
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: Over Quota Error on TaskQueue when Quota is Available

2010-10-22 Thread Aaron
This was my mistake.  Because I had exeeded the quota yesterday, there
were tasks queued up from yesterday that were sending those errors.

On Oct 22, 2:48 am, Aaron  wrote:
> Hi!
>
> After uploading a new version of my app today, I started receiving
> Over Quota Errors as a result of a cron task that queues up sixty
> tasks every minute.  As far as I can see from my admin dashboard, I
> have not exceeded the quota (especially since the quotas just reset).
> However, I'm still receiving these Over Quota Errors.
>
> Just a note: I mistakenly let a task queue get out of hand yesterday,
> so I exceeded my quota from yesterday.  Does this roll over and affect
> my quota for future days?
>
> Thanks,
> Aaron

-- 
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] Pipeline API Causing TaskTooLargeError when Payload is Small

2011-04-27 Thread Aaron
Hi,

I'm getting a TaskTooLarge Error when starting a pipeline, but I've
logged the arguments passed in, and the size of the parameters are all
well within the size limit.

I feel like maybe the pipeline api stores all child tasks within some
larger task, but can't find anything in the documentation related to
his.

I've attached the pipeline that is causing problems and the
traceback.  Does anyone know what is causing my problem?

Code:
class QueueDateContentReportPulls(pipeline.Pipeline):
def run(self, userkey, dates, organic, no_results,
*pipeline_values):
date = dates[0]
batch_size = 100
this_date_tasks = []
index = 1
while index+batch_size<=no_results:
this_date_tasks += [ (yield
PullContentReportPipelineItem(userkey,[date],index,organic)) ]
index += batch_size
this_date_tasks += [ (yield Blocker(*this_date_tasks)) ]
return


Traceback:
Running
logic.ga.QueueDateContentReportPulls(*(u'ahF3b3JkZmluLXN0YWdpbmcxMnINCxIFVXNlcnMYqcACDA',
[1303834299], True, 11125, 1), **{})#902f0f9c710a11e0b76a739846fa16a4
E 2011-04-27 13:14:30.839
Task size must be less than 10240; found 13203
Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/__init__.py", line 636, in __call__
handler.post(*groups)
  File "/base/data/home/apps/wordfin-staging12/1.350022175603504352/
pipeline/pipeline.py", line 2242, in post
attempt=int(self.request.get('attempt', '0')))
  File "/base/data/home/apps/wordfin-staging12/1.350022175603504352/
pipeline/pipeline.py", line 1985, in evaluate
pipelines_to_run=pipelines_to_run)
  File "/base/data/home/apps/wordfin-staging12/1.350022175603504352/
pipeline/pipeline.py", line 2095, in transition_run
db.run_in_transaction(txn)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 2148, in RunInTransaction
DEFAULT_TRANSACTION_RETRIES, function, *args, **kwargs)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 2247, in RunInTransactionCustomRetries
ok, result = _DoOneTry(new_connection, function, args, kwargs)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 2269, in _DoOneTry
result = function(*args, **kwargs)
  File "/base/data/home/apps/wordfin-staging12/1.350022175603504352/
pipeline/pipeline.py", line 2072, in txn
params=dict(pipeline_key=[str(key) for key in pipelines_to_run]))
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/labs/taskqueue/taskqueue.py", line 532, in __init__
(MAX_TASK_SIZE_BYTES, self.size))
TaskTooLargeError: Task size must be less than 10240; found 13203

-- 
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] Possible to Defer Tasks to Backend

2011-05-14 Thread Aaron
Hi,

The way my application is set up involves deferring a lot of long-
running tasks, which I now would like to move to a backend.  Is it
possible to defer a task so that it is processed in a backend?  Or, do
I have to create handlers for every deferred task in order to take
advantage of this feature?

Best,
Aaron

P.S. Thanks so much for the hard work!  The new features are very
exciting :).

-- 
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: Possible to Defer Tasks to Backend

2011-05-14 Thread Aaron
A follow up to this question is if we can use the new pipeline API
with backends.  If we start a pipeline in a backend, will all future
pipeline tasks be processed by the backend?

On May 14, 2:41 pm, Aaron  wrote:
> Hi,
>
> The way my application is set up involves deferring a lot of long-
> running tasks, which I now would like to move to a backend.  Is it
> possible to defer a task so that it is processed in a backend?  Or, do
> I have to create handlers for every deferred task in order to take
> advantage of this feature?
>
> Best,
> Aaron
>
> P.S. Thanks so much for the hard work!  The new features are very
> exciting :).

-- 
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: Possible to Defer Tasks to Backend

2011-05-14 Thread Aaron
Hi Greg,

Thanks for the response.  Just to be clear, the syntax to defer a task
to a backend is the following?
deferred.defer(deferred_fn_name, param1, param2, _target='http://
backend-name.app-id.appspot.com')

Also, you mentioned that we should be sure that the backend has the
same classes and configurations as the frontend?  As far as I have
read, the frontend and backend are using the same code base, so is
this implied already, or is there something extra I am missing?

Best,
Aaron

On May 14, 5:56 pm, "Greg Darke (Google)" 
wrote:
> You should be able to send a deferred task to a backend.
>
> Some points to remember though:
>  * You should ensure that any classes/etc you reference from the
> frontend must exist in the backend.
>  * The deferred function should pass the 'target' parameter on to taskqueue
>  * You must enable the deferred handler on the backend (just make sure
> it is enabled in app.yaml when you upload the backend).
>
> On 14 May 2011 14:41, Aaron  wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > The way my application is set up involves deferring a lot of long-
> > running tasks, which I now would like to move to a backend.  Is it
> > possible to defer a task so that it is processed in a backend?  Or, do
> > I have to create handlers for every deferred task in order to take
> > advantage of this feature?
>
> > Best,
> > Aaron
>
> > P.S. Thanks so much for the hard work!  The new features are very
> > exciting :).
>
> > --
> > 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 
> > 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-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: Possible to Defer Tasks to Backend

2011-05-15 Thread Aaron
Hi Greg,

I'm having trouble figuring out the exact syntax for deferring tasks
to a backend.

When I try to use the following syntax:
deferred.defer(PullReport,userkey,dates,_queue="googleanalytics",_target='processga')
I get the following error:
TypeError: PullReport() got an unexpected keyword argument '_target'

Also, how exactly do we specify to start a pipeline in a specific
backend.  I've tried pipeline.start(_target='backend-name') but get an
unexpected keyword argument as well.

Thanks!
Aaron

On May 14, 7:19 pm, "Greg Darke (Google)" 
wrote:
> Since backends and frontends are updated separately, the code in each
> may be different. Updating a frontend does not change the code that is
> running in a backend/vice versa.
>
> As for the syntax, I believe it should be:
> deferred.defer(deferred_fn_name, param1, param2, _target='backend-name')
>
> On 14 May 2011 18:22, Aaron  wrote:
>
>
>
>
>
>
>
> > Hi Greg,
>
> > Thanks for the response.  Just to be clear, the syntax to defer a task
> > to a backend is the following?
> > deferred.defer(deferred_fn_name, param1, param2, _target='http://
> > backend-name.app-id.appspot.com')
>
> > Also, you mentioned that we should be sure that the backend has the
> > same classes and configurations as the frontend?  As far as I have
> > read, the frontend and backend are using the same code base, so is
> > this implied already, or is there something extra I am missing?
>
> > Best,
> > Aaron
>
> > On May 14, 5:56 pm, "Greg Darke (Google)" 
> > wrote:
> >> You should be able to send a deferred task to a backend.
>
> >> Some points to remember though:
> >>  * You should ensure that any classes/etc you reference from the
> >> frontend must exist in the backend.
> >>  * The deferred function should pass the 'target' parameter on to taskqueue
> >>  * You must enable the deferred handler on the backend (just make sure
> >> it is enabled in app.yaml when you upload the backend).
>
> >> On 14 May 2011 14:41, Aaron  wrote:
>
> >> > Hi,
>
> >> > The way my application is set up involves deferring a lot of long-
> >> > running tasks, which I now would like to move to a backend.  Is it
> >> > possible to defer a task so that it is processed in a backend?  Or, do
> >> > I have to create handlers for every deferred task in order to take
> >> > advantage of this feature?
>
> >> > Best,
> >> > Aaron
>
> >> > P.S. Thanks so much for the hard work!  The new features are very
> >> > exciting :).
>
> >> > --
> >> > 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 
> >> > 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-appengine@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-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] Deferred Library Failing to Load in SDK When Using Backends

2011-05-18 Thread Aaron
Hi,

When I run the dev_appserver with the --backends flag, I get the
following traceback:

"/home/aaron/google_appengine/google/appengine/ext/deferred/
handler.py", line 34, in 
from google.appengine.ext import deferred
ImportError: cannot import name deferred

However, when I run the dev_appserver without the --backends flag, the
same handler runs perfectly fine.

My backend.yaml file is as follows:

backends:
- name: processga
  class: B2
  instances: 2
  options: dynamic

Any ideas would be appreciated!

Best,
Aaron

-- 
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] Deferred Library Failing to Load in SDK When Using Backends

2011-05-18 Thread Aaron
Hi,

When I run the dev_appserver with the --backends flag, I get the
following traceback:

"/home/aaron/google_appengine/google/appengine/ext/deferred/
handler.py", line 34, in 
from google.appengine.ext import deferred
ImportError: cannot import name deferred

However, when I run the dev_appserver without the --backends flag, the
same handler runs perfectly fine.

My backend.yaml file is as follows:

backends:
- name: processga
  class: B2
  instances: 2
  options: dynamic

Any ideas would be appreciated!

Best,
Aaron

-- 
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] App Engine Connected Android Project

2012-07-06 Thread aaron
I upgraded my App Engine plugin to 1.7 and App Engine tools to 3.0 and now 
there is no longer an option to create an App Engine Connected Android 
Project? I can "generate app engine backend" but that just errors out on 
top of the fact that there is no documentation on how to use the resulting 
code (it's not the same as the original project). 

I needed to change my package name on my connected project so now I need to 
rerun the wizard, but there is no wizard.

The documentation for app engine does not appear to have been updated, what 
are we supposed to do?  

Any help is appreciated. This is very urgent.

Thanks.

-- 
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/-/6pbXRGsAiIoJ.
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: App Engine 1.7.0 Release is Out!

2012-07-06 Thread aaron
1.7 removes the ability to create an app engine backed android project. Why 
did Google choose to do this and how do we create new app engine backed 
android apps? Is Google going to update the App Engine documentation? 

I found the option to "generate app engine backend" but it just errors and 
leaves me w/ code that maybe is broken and no documentation on how to use? 
Debugging as local connected project doesn't work anymore either.

Thoughts?

On Tuesday, June 26, 2012 7:42:16 PM UTC-4, Takashi Matsuo (Google) wrote:
>
>
> Hi App Engine users,
>
> We've just released the release of the 1.7.0 SDK.
>
> Release notes for Java:
> http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
>
> Release notes for Python:
> http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
>
> Release notes for Go:
> http://code.google.com/p/googleappengine/wiki/SdkForGoReleaseNotes
>
> Enjoy!
>
> -- 
> Takashi Matsuo
>  

-- 
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/-/X4J_6Ez78EEJ.
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: App engine connect android app not visible in the new project wizard

2012-07-06 Thread aaron
Same here

On Friday, June 29, 2012 2:38:56 AM UTC-4, Chandrashekar wrote:
>
> I followed the steps to get appengine connect android app but i dont see 
> that option in the new project options. 
>
>
> I have 
> eclipse Version: 3.7.2
>
> Android sdk api level 16
>
> app engine sdk 1.7.0
>
> GWT sdk 2.4.0
>
> I have installed the google plugin 3.7. 
>
> But when i got to the new project , i don;t see that option. 
>
>
>
> 
>
>
> This is what i currently see. 
>
>
> 
>
>
>
>

-- 
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/-/RTTMemLjwC0J.
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: App engine connect android app not visible in the new project wizard

2012-07-06 Thread aaron
I'm having the same problem.

On Friday, June 29, 2012 2:38:56 AM UTC-4, Chandrashekar wrote:
>
> I followed the steps to get appengine connect android app but i dont see 
> that option in the new project options. 
>
>
> I have 
> eclipse Version: 3.7.2
>
> Android sdk api level 16
>
> app engine sdk 1.7.0
>
> GWT sdk 2.4.0
>
> I have installed the google plugin 3.7. 
>
> But when i got to the new project , i don;t see that option. 
>
>
>
> 
>
>
> This is what i currently see. 
>
>
> 
>
>
>
>

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



Re: [google-appengine] Re: App Engine 1.7.0 Release is Out!

2012-07-10 Thread aaron
There is no error, there simply is not an option to do this, it is not 
present/visible. I can "generate app engine backend" but then  I cannot 
generate RPC service files using this 
documentation.
 
Again, the option simply does not exist, not an error, it's just no there. 
Endpoints are not an option since it is a closed beta.

-- 
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/-/Nd9jnAkxeqAJ.
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] Enable Billing Problem

2012-08-02 Thread Aaron
Last night the backend services for my android application went over quota 
on queries - which is exciting that my app is getting that much usage but a 
pain since I haven't set up billing in AppEngine yet.

I jumped in without thinking to enable billing and halfway through I 
changed my mind and closed the window and sent an e-mail to my partner to 
setup billing on his account instead.

Somehow that put the billing in a funky state that says:

Billing Status: Activating Billing

Billing will be enabled as soon as the new billing administrator's credit 
card has been authorized. It will take up to 15 minutes after billing is 
enabled for quotas to be updated. *(You will be able to make changes to 
your budget settings again once the outstanding payment is processed.)*

It's been almost 12 hours now and there is no change and won't be since I 
didn't enter in a credit card number - what can I do to complete the 
billing sign up?


Thanks,


-Aaron

Shawnee Kansas

*
*

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



Re: [google-appengine] Another application stuck "Activating Billing", need urgent support assistance

2012-08-02 Thread Aaron
I tried to enable billing as well but it seems to be hung - I may 
have inadvertently caused it but I still need to enable billing and I 
can't.  My app keeps going over quota and shutting down. 

Thanks,
-Aaron

On Monday, July 30, 2012 2:10:44 PM UTC-5, Amy Unruh wrote:
>
> Mustafa,
>
> It looks like your billing has been activated, so I think you should be 
> set now (follow up here if that's not the case).
>
> On 30 July 2012 11:34, Mustafa Paksoy wrote:
>
>> Hi,
>>
>> Our application sortmybox-hrd (www.sortmybox.com) is stuck 
>> in "Activating Billing" mode. We migrated to HRD from Master/Slave last 
>> night and attempted to enable billing around the same time but it didn't go 
>> through and we have been stuck since.
>>
>> We've submitted two tickets via the Billing Request 
>> form<http://support.google.com/code/bin/request.py?hl=en&contact_type=cloud_platform_billing&rd=1>but
>>  have not heard back. We've exhausted our free quota so our application 
>> has been disabled for several hours and we've have been unable our 
>> customers. We need somebody to reset the billing status so that we may 
>> re-enable billing and start serving our customers again. Please advise.
>>
>> Thank you,
>> Mustafa Paksoy
>>
>>

-- 
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/-/44F5ZsZFPnEJ.
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] Storing the Cursor for App Engine Pagination

2012-10-09 Thread aaron


I'm trying to implement pagination using App Engine's RPC and GWT (it's an 
app engine connected project).

How can I pass both the query results and the web-safe cursor object to the 
GWT client from the RPC?

I've seen examples using a servlet but I want to know how to do it without 
a servelt.

I've considered caching the cursor on the server using memcache but I'm not 
sure if that's appropriate or what should be used as the key (session 
identifier I would assume, but I'm not sure how those are handled on App 
Engine).

Links to example projects would be fantastic, I've been unable to find any.

-- 
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/-/Qla_fO_TXrgJ.
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] Accessing Object Attributes Dynamically

2008-09-01 Thread Aaron

Given that I have successfully stored a Model defined as:

class Book(db.Model):
   title = db.StringProperty(required=True)
   author = db.StringProperty(required=True)
   illustrator = db.StringProperty(required=True)

In the data store.

I want to send a command to update an attribute of the object.   I
would like to send over the name of the attribute I want to update and
it's new value.

I have tried all kinds of things and am unable to dynamically access
the attribute successfully.  I have tried all kinds of things such as:

attName = 'title'
book.__getattribute__[attName] = 'Learning Python'

or

attribute = getattr(book, 'author')
book.attribute = 'Mark Lutz'

or

attribute = getattr(book, 'title')
book.attribute('Learning Python')

none of these have worked.  I've tried several other options but they
are even worse than these

I guess my question boils down to "given a string what is the best way
to introspect the device to pull out the correct attribute so it can
be updated dynamically?"

Thanks in advance!

-Aaron O'Brien
Shawnee, KS
USA


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Case Insensitive Filter

2008-09-18 Thread Aaron

I'm sure there is a way to do this but I can't find it in the
documentation anywhwere:

given the example code below:
class Person(db.Model):
  first_name = db.StringProperty()
  last_name = db.StringProperty()
  city = db.StringProperty()
  birth_year = db.IntegerProperty()
  height = db.IntegerProperty()

# The Query interface prepares a query using instance methods.
q = Person.all()
q.filter("last_name =", "Smith")


How do you change the filter to return entities with last_name values
of "SMITH" or "smith"

Thanks!
-Aaron OBrien
Shawnee KS, USA
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Migrating a project from a personal account to an organizational account

2018-09-20 Thread aaron
I started two projects on my own personal email account, and now want to 
migrate them to an organizational account.  How can I do this?  I've got 
the organizational account setup.

I apologize if this is the wrong place to post.  Please let me know if 
there is a better one.

Thanks,

Aaron
JusticeMap --> http://www.justicemap.org

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b7043eb5-3183-411e-850e-70a096b56d3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron jobs not running

2010-03-15 Thread Aaron
My cron tasks just stopped running this afternoon.  I've tried
incrementing the version number, but that hasn't seemed to help.
Anyone else have similar problems?

On Feb 24, 11:51 am, Chris L  wrote:
> I incremented my version number in app.yaml, deployed, set the new
> version to default, and then thecronjobs started running again.

-- 
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] Cron Job Not Running

2010-03-15 Thread Aaron
Hi all,

I'm having troubles getting my cron jobs running.  They were running
fine this morning, and suddenly stopped with virtually no changes to
the code.

Here is my cron.yaml file:

cron:
- description: emails
  url: /cron/sendemails
  schedule: every 1 minutes

The URL is mapped to require admin login, but this hasn't presented a
problem in the past.  Has something recently changed, or is the cron
service down?

Thanks in advance for your help.

-- 
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] Fix for fake sendmail error: Error connecting with SSL

2010-03-28 Thread Aaron
As of March 14th, Google phased out SSLv2.  Since, Byron Jones' fake
sendmail application depended on it, all of us who were using it found
out that it no longer worked.

Here are step-by-step instructions to fix it.  You need stunnel.

1) Download and Install: 
http://www.stunnel.org/download/stunnel/win32/stunnel-4.32-installer.exe
2) In start menu, go to stunnel folder and click on 'Edit
stunnel.conf'
3) Copy the following into stunnel.conf and save.

cert = stunnel.pem
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 7
output = stunnel.log
client = yes
[smtpg]
accept = 127.0.0.1:25
connect = smtp.gmail.com:465

4) Run stunnel
5) Go edit sendmail.ini and change to the following:
smtp_server=localhost and smtp_port=25
6) Restart GAE

Hope this helps!

-- 
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] Timeouts

2009-01-02 Thread Aaron

My application is getting a very high number of data store timeouts.

Is there an unreported issue going on right now?

-Aaron O'Brien

--~--~-~--~~~---~--~~
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 google hosting services...

2009-03-23 Thread Aaron

   Hi, I am new to the google scene. I currently got a job at a
company which I create and modify their websites. I found out they are
using google for their website hosting services for their websites.
Now since I am totally new to google.  I want to know how can I upload
files to the companies space with google?

I was told by the ceo the previous person just downloaded google apps
engine and was able to do the rest. I am a programmer but from
learning about engines. I currently think google apps engine is
nothing but python code that will allow programmers to talk to google
services.

So, I want to ask here, does google provide hosting services?  I would
like to know what I need to do in order to access where this companies
website is stored.

Thanks for your time.

--~--~-~--~~~---~--~~
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 app engine ... how to access website of company?

2009-03-23 Thread Aaron

Hi, I just got hired in a company that claims they use google as their
web hosting service.

I currently never knew google has hosting services. They told me that
they are using google apps engine.

Now I am new to this scene. I have experience with making websites for
others. I am used to having to login to a panel and uploading files
to the server.

what I was told by the ceo. He told me that google apps engine is the
interface to the database and website.

>From my experience in programming. I assume that the google app engine
is just a libary of code that allows developers to make their web app
able to to communicate with google applications.

I don't think this engine will store or act like  a database in the
way like mysql does.

Well to make the story short. I need to update this companies
website.

I am totally lost on how I can do this.  What does the ceo need to do
for me  in order for me to have access to where the website files are
stored?

thanks for your time.

--~--~-~--~~~---~--~~
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] New to google app engine stuff...

2009-03-28 Thread Aaron

Hi, I just got hired in some job to basicly  update and make changes
to their website. So I already coded the changes in html and css. I
currently need to get a hold on the server sided scripts. I am used to
using php.

Now they told me they are using google to host the website. This was
news to me. I never heard google offers website hosting services.

So I got  here and the ceo of the company that I work for. He told me
that the old guy used  google app engine.

>From what I learned in programming. Engines are usally to assist
programmers to make applications  or to intergrad your software or web
app with someone elses software.

So I am thinking google apps engine is a engine that helps you make
web applications to host on google.

Now I am thinking web apps as in software type stuff for the website.
So  I thought it's like for exmple.

If I want people to be able to access their gmail account from my site
I would need this google app engine to build a application that I can
put it on my website.

I don't understand how you can make a website with google apps engine?

I am used to the regular way of website hosting  where you upload
files and config the server or settings your hosting company allows
you to change.

So you can make one file the default file where the users would see
when they type your domain name.

So can someone explain how it's done with google apps?

I also got admin rights well they call it developer rights.

they use their own domain name.
--~--~-~--~~~---~--~~
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 ... how to access website of company?

2009-04-01 Thread Aaron

ok, they have done this just a week ago.

They made a account for me and gave me rights as developer.

The ceo just got a hold of the old programmer.

He got files and gave me it. I already have the sdk the google app
engine files.

I have some experience with python never done anything hardcore.

can you explain what I need to do in order to add the new html?

I also have to change the code that handels the forms.

I was told after I make the changes I just run manage.py

I think the last programmer made manage.py or something.

So I just need some more detail on what I need to do to update the
website.

I never used google and I am new to this area.

I am used to web hosting providers having a cpanel or me manually
putting files on  a server that has apache.

I am new to the google scene and need to learn fast. The ceo wants
this up soon and is getting impatient.

I told him I am new to google.

So if you can tell me or give me a site that will explain where I need
to change the html code and also how I can edit the form inputs to
datastore.

cause I made changes to the forms on the website and I need to change
the code that submits it to the database.

I am used to php where I would use the get or post method.  I am used
to changing the php files and make changes to mysql to allow for the
changes.

I changed a form from  just like name and phone number and address
meaning contact info and I  then change it to a blog type input where
users can send their feedback to the company. So I assume I would need
to change the width allowed in the database and make changes to code
to transfer the form data to the database.

Thanks for the help so far.

On Mar 23, 4:09 pm, OliWeiD 
wrote:
> Hi Aaron,
>
> first you have to find out, if your company is only using Google Apps
> alone
> (domain handling, static files, emails services integrated Google
> Docs...)
> or if they are using Google Apps (domain handling) and Google App
> Engine (here we are).
>
> To get started with App Engine you may have found 
> alreadyhttp://code.google.com/intl/de/appengine/
> together with the documentation 
> inhttp://code.google.com/intl/de/appengine/docs/.
> In short you need the SDK which you can download from the first link
> (or easy to find)
> and the original source files your predecessor in your company has
> used.
>
> But even if you have now the revised version on you development system
> (your computer),
> One of the former administrators needs to invite you as a developer/
> administrator.
>
> If it's only Google Apps, I cannot help, but also there an
> adminstrator should have access
> and should invite you.
>
> Hope that helps anyhow.
> OliWeiD
>
> On 21 Mrz., 16:08, Aaron  wrote:
>
> > Hi, I just got hired in a company that claims they use google as their
> > web hosting service.
>
> > I currently never knew google has hosting services. They told me that
> > they are using google apps engine.
>
> > Now I am new to this scene. I have experience with making websites for
> > others. I am used to having to login to a panel and uploading files
> > to the server.
>
> > what I was told by the ceo. He told me that google apps engine is the
> > interface to the database and website.
>
> > From my experience in programming. I assume that the google app engine
> > is just a libary of code that allows developers to make their web app
> > able to to communicate with google applications.
>
> > I don't think this engine will store or act like  a database in the
> > way like mysql does.
>
> > Well to make the story short. I need to update this companies
> > website.
>
> > I am totally lost on how I can do this.  What does the ceo need to do
> > for me  in order for me to have access to where the website files are
> > stored?
>
> > thanks for your time.
--~--~-~--~~~---~--~~
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: New to google app engine stuff...

2009-04-01 Thread Aaron

well I am hired in a job which I have to edit the companies html code
and css. They use google apps engine.

I am trying to figure out what google apps engine is all about.

the files are given to me and I have to add stuff to the website. I do
know python I just never used it hard core just done small labs.

I never made a program with it.

I need to at least know how I can edit files that are given to me and
upload the app in the dev.company domain   to test it and then make it
live.

I also do need  to edit datastore to change stuff. I had to change
some parts of the form on the website. Like a blog text basicly the
clients will leave feedback but I need to make changes on how it's
stored to store the whole text. It used to be a username input but
changed to a long text input.

On Mar 30, 3:17 am, adelevie  wrote:
> Don't think of Google App Engine as a typical hosting service. There
> is almost zero configuration and server administration. While this is
> very convenient, you lose some flexibility. The web applications are
> written only in Python (Java will soon be supported as well) which
> limits you to Python-based frameworks. You can't run PHP on Google App
> Engine.
>
> I suggest checking out Django before you get your hands dirty with
> GAE. Once you're comfortable with that, then start learning some GAE.
>
> On Mar 28, 12:41 pm, Aaron  wrote:
>
> > Hi, I just got hired in some job to basicly  update and make changes
> > to their website. So I already coded the changes in html and css. I
> > currently need to get a hold on the server sided scripts. I am used to
> > using php.
>
> > Now they told me they are using google to host the website. This was
> > news to me. I never heard google offers website hosting services.
>
> > So I got  here and the ceo of the company that I work for. He told me
> > that the old guy used  google app engine.
>
> > From what I learned in programming. Engines are usally to assist
> > programmers to make applications  or to intergrad your software or web
> > app with someone elses software.
>
> > So I am thinking google apps engine is a engine that helps you make
> > web applications to host on google.
>
> > Now I am thinking web apps as in software type stuff for the website.
> > So  I thought it's like for exmple.
>
> > If I want people to be able to access their gmail account from my site
> > I would need this google app engine to build a application that I can
> > put it on my website.
>
> > I don't understand how you can make a website with google apps engine?
>
> > I am used to the regular way of website hosting  where you upload
> > files and config the server or settings your hosting company allows
> > you to change.
>
> > So you can make one file the default file where the users would see
> > when they type your domain name.
>
> > So can someone explain how it's done with google apps?
>
> > I also got admin rights well they call it developer rights.
>
> > they use their own domain name.
--~--~-~--~~~---~--~~
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 ... how to access website of company?

2009-04-01 Thread Aaron

HI,  how do I get to  use http://dev.companydomain.com/?

I was told I need to upload the the web app well the website with
modifications by me. I need to add it to the url  shown above.

This is just to test if  it's working .  I looked in google apps
engine panel on the google apps site. I only see one application name
with 4 different versions.

I really do need someone to explain how this works. I am kinda getting
frustrated.

I need someone to explain to me what I need to do.  I do I add html
and css to the site?

I looked at the websites html files and I see alot of <%  things. I
try to look at the html file in my browser and I see only text not a
website.



On Apr 1, 8:06 am, Aaron  wrote:
> ok, they have done this just a week ago.
>
> They made a account for me and gave me rights as developer.
>
> The ceo just got a hold of the old programmer.
>
> He got files and gave me it. I already have the sdk the google app
> engine files.
>
> I have some experience with python never done anything hardcore.
>
> can you explain what I need to do in order to add the new html?
>
> I also have to change the code that handels the forms.
>
> I was told after I make the changes I just run manage.py
>
> I think the last programmer made manage.py or something.
>
> So I just need some more detail on what I need to do to update the
> website.
>
> I never used google and I am new to this area.
>
> I am used to web hosting providers having a cpanel or me manually
> putting files on  a server that has apache.
>
> I am new to the google scene and need to learn fast. The ceo wants
> this up soon and is getting impatient.
>
> I told him I am new to google.
>
> So if you can tell me or give me a site that will explain where I need
> to change the html code and also how I can edit the form inputs to
> datastore.
>
> cause I made changes to the forms on the website and I need to change
> the code that submits it to the database.
>
> I am used to php where I would use the get or post method.  I am used
> to changing the php files and make changes to mysql to allow for the
> changes.
>
> I changed a form from  just like name and phone number and address
> meaning contact info and I  then change it to a blog type input where
> users can send their feedback to the company. So I assume I would need
> to change the width allowed in the database and make changes to code
> to transfer the form data to the database.
>
> Thanks for the help so far.
>
> On Mar 23, 4:09 pm, OliWeiD 
> wrote:
>
> > HiAaron,
>
> > first you have to find out, if your company is only using Google Apps
> > alone
> > (domain handling, static files, emails services integrated Google
> > Docs...)
> > or if they are using Google Apps (domain handling) and Google App
> > Engine (here we are).
>
> > To get started with App Engine you may have found 
> > alreadyhttp://code.google.com/intl/de/appengine/
> > together with the documentation 
> > inhttp://code.google.com/intl/de/appengine/docs/.
> > In short you need the SDK which you can download from the first link
> > (or easy to find)
> > and the original source files your predecessor in your company has
> > used.
>
> > But even if you have now the revised version on you development system
> > (your computer),
> > One of the former administrators needs to invite you as a developer/
> > administrator.
>
> > If it's only Google Apps, I cannot help, but also there an
> > adminstrator should have access
> > and should invite you.
>
> > Hope that helps anyhow.
> > OliWeiD
>
> > On 21 Mrz., 16:08,Aaron wrote:
>
> > > Hi, I just got hired in a company that claims they use google as their
> > > web hosting service.
>
> > > I currently never knew google has hosting services. They told me that
> > > they are using google apps engine.
>
> > > Now I am new to this scene. I have experience with making websites for
> > > others. I am used to having to login to a panel and uploading files
> > > to the server.
>
> > > what I was told by the ceo. He told me that google apps engine is the
> > > interface to the database and website.
>
> > > From my experience in programming. I assume that the google app engine
> > > is just a libary of code that allows developers to make their web app
> > > able to to communicate with google applications.
>
> > > I don't think this engine will store or act like  a database in the
> > > way like mysql does.
>
> > > Well to make the story short. I need to update this companies
> > > website.
>

[google-appengine] google apps engine installation problem.

2009-04-03 Thread Aaron

HI, I am trying to install antlr3 for the google apps engine.

I am using linux ubuntu.

When I run the setup.py  I get a error on line 2  import mod
ez_setup.py error.

It say's can't find such a module.

Where is this module located?

I can't seem to find it.

any 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: google apps engine installation problem.

2009-04-03 Thread Aaron

I ran a search and I get no results. I only searched the google engine
folder.

It his script part of python? or is it a standalone that google engine
uses.



On Apr 3, 2:25 pm, Xavier Mathews  wrote:
> Run A Search On The System!  http://www.alternc.org/wiki/MigrationTrac
> <http://www.alternc.org/wiki/MigrationTrac>
>
> Although you are right you just can't say find or run because the problem
> will still come up and with the same error msg also!
>
> "Sent From Sony Slim-Line PSP"
>
> Xavier A. Mathews
> Web-Developer
>
> Sent from Chicago, Illinois, United States
>
> On Fri, Apr 3, 2009 at 1:19 PM, Aaron  wrote:
>
> > HI, I am trying to install antlr3 for the google apps engine.
>
> > I am using linux ubuntu.
>
> > When I run the setup.py  I get a error on line 2  import mod
> > ez_setup.py error.
>
> > It say's can't find such a module.
>
> > Where is this module located?
>
> > I can't seem to find it.
>
> > any 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: google apps engine installation problem.

2009-04-03 Thread Aaron

Does anyone know where this python script might be? I am sure it has
to be in the google engine folder.

unless this is a common shared module that is commonly used with
python apps.

I am no expert on python. I do know what language but I never done
anything hard core with it.



On Apr 3, 2:29 pm, Aaron  wrote:
> I ran a search and I get no results. I only searched the google engine
> folder.
>
> It his script part of python? or is it a standalone that google engine
> uses.
>
> On Apr 3, 2:25 pm, Xavier Mathews  wrote:
>
> > Run A Search On The System!  http://www.alternc.org/wiki/MigrationTrac
> > <http://www.alternc.org/wiki/MigrationTrac>
>
> > Although you are right you just can't say find or run because the problem
> > will still come up and with the same error msg also!
>
> > "Sent From Sony Slim-Line PSP"
>
> > Xavier A. Mathews
> > Web-Developer
>
> > Sent from Chicago, Illinois, United States
>
> > On Fri, Apr 3, 2009 at 1:19 PM, Aaron  wrote:
>
> > > HI, I am trying to install antlr3 for the google apps engine.
>
> > > I am using linux ubuntu.
>
> > > When I run the setup.py  I get a error on line 2  import mod
> > > ez_setup.py error.
>
> > > It say's can't find such a module.
>
> > > Where is this module located?
>
> > > I can't seem to find it.
>
> > > any 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: google apps engine installation problem.

2009-04-03 Thread Aaron

Thanks man. I am stressed out. The ceo wants this site up really soon.
So I been working on it since yesterday.

Then today decided why not ask here.

I found others which was a missing file and found the permissions were
not allowing to install so I changed those and found those files
quickly.

thanks for the help.

On Apr 3, 2:32 pm, Xavier Mathews  wrote:
> I Am Not Sure Good QuestionLet Me Go See!
>
> "Sent From Sony Slim-Line PSP"
>
> Xavier A. Mathews
> Web-Developer
>
> Sent from Chicago, Illinois, United States
>
> On Fri, Apr 3, 2009 at 1:29 PM, Aaron  wrote:
>
> > I ran a search and I get no results. I only searched the google engine
> > folder.
>
> > It his script part of python? or is it a standalone that google engine
> > uses.
>
> > On Apr 3, 2:25 pm, Xavier Mathews  wrote:
> > > Run A Search On The System!  http://www.alternc.org/wiki/MigrationTrac
> > > <http://www.alternc.org/wiki/MigrationTrac>
>
> > > Although you are right you just can't say find or run because the problem
> > > will still come up and with the same error msg also!
>
> > > "Sent From Sony Slim-Line PSP"
>
> > > Xavier A. Mathews
> > > Web-Developer
>
> > > Sent from Chicago, Illinois, United States
>
> > > On Fri, Apr 3, 2009 at 1:19 PM, Aaron  wrote:
>
> > > > HI, I am trying to install antlr3 for the google apps engine.
>
> > > > I am using linux ubuntu.
>
> > > > When I run the setup.py  I get a error on line 2  import mod
> > > > ez_setup.py error.
>
> > > > It say's can't find such a module.
>
> > > > Where is this module located?
>
> > > > I can't seem to find it.
>
> > > > any 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: google apps engine installation problem.

2009-04-03 Thread Aaron

not really.

I am just trying to install install antlr3 I ran setup.py of that and
I get error on line 2.

When I look at the python script of setup on line 2  this is what I
see.

import ez_setup
ez_setup.use_setuptools()

I get a error in the terminal that says error can't find such a module
"ez_setup" line 2  on setup.py

this is where I am stuck. I just need to install this and run a script
the previous programmer made and it should upload a the new admin
interface on the site.

This way I can just directly grab the html code and css code I made
and update the website files by using this persons interface.

I later on do have to find the script that handles the form data and
make some changes to it.



On Apr 3, 2:46 pm, Xavier Mathews  wrote:
> Your Answer Should Be Here This Is The Python Script From Google's End! I
> Just Did A Search! And Went To The Info Base!
>
> https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html
>
> Hopes This Helps! I Am Not Very Big On Python Either! If Anybody Else Has
> Any Advice please Post! I Would Hate To See This Mn Loss His Deadline!
>
> "Sent From Sony Slim-Line PSP"
>
> Xavier A. Mathews
> Web-Developer
>
> Sent from Chicago, Illinois, United States
>
> On Fri, Apr 3, 2009 at 1:36 PM, Aaron  wrote:
>
> > Thanks man. I am stressed out. The ceo wants this site up really soon.
> > So I been working on it since yesterday.
>
> > Then today decided why not ask here.
>
> > I found others which was a missing file and found the permissions were
> > not allowing to install so I changed those and found those files
> > quickly.
>
> > thanks for the help.
>
> > On Apr 3, 2:32 pm, Xavier Mathews  wrote:
> > > I Am Not Sure Good QuestionLet Me Go See!
>
> > > "Sent From Sony Slim-Line PSP"
>
> > > Xavier A. Mathews
> > > Web-Developer
>
> > > Sent from Chicago, Illinois, United States
>
> > > On Fri, Apr 3, 2009 at 1:29 PM, Aaron  wrote:
>
> > > > I ran a search and I get no results. I only searched the google engine
> > > > folder.
>
> > > > It his script part of python? or is it a standalone that google engine
> > > > uses.
>
> > > > On Apr 3, 2:25 pm, Xavier Mathews  wrote:
> > > > > Run A Search On The System!
> >http://www.alternc.org/wiki/MigrationTrac
> > > > > <http://www.alternc.org/wiki/MigrationTrac>
>
> > > > > Although you are right you just can't say find or run because the
> > problem
> > > > > will still come up and with the same error msg also!
>
> > > > > "Sent From Sony Slim-Line PSP"
>
> > > > > Xavier A. Mathews
> > > > > Web-Developer
>
> > > > > Sent from Chicago, Illinois, United States
>
> > > > > On Fri, Apr 3, 2009 at 1:19 PM, Aaron 
> > wrote:
>
> > > > > > HI, I am trying to install antlr3 for the google apps engine.
>
> > > > > > I am using linux ubuntu.
>
> > > > > > When I run the setup.py  I get a error on line 2  import mod
> > > > > > ez_setup.py error.
>
> > > > > > It say's can't find such a module.
>
> > > > > > Where is this module located?
>
> > > > > > I can't seem to find it.
>
> > > > > > any 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: google apps engine installation problem.

2009-04-03 Thread Aaron

Thanks for the help.

I found the site. I can just download it off their and try installing
it manually.

here is the site just in case anyone gets into the same problem I
have.

The site is below:

http://peak.telecommunity.com/DevCenter/EasyInstall

On Apr 3, 3:15 pm, Aaron  wrote:
> not really.
>
> I am just trying to install install antlr3 I ran setup.py of that and
> I get error on line 2.
>
> When I look at the python script of setup on line 2  this is what I
> see.
>
> import ez_setup
> ez_setup.use_setuptools()
>
> I get a error in the terminal that says error can't find such a module
> "ez_setup" line 2  on setup.py
>
> this is where I am stuck. I just need to install this and run a script
> the previous programmer made and it should upload a the new admin
> interface on the site.
>
> This way I can just directly grab the html code and css code I made
> and update the website files by using this persons interface.
>
> I later on do have to find the script that handles the form data and
> make some changes to it.
>
> On Apr 3, 2:46 pm, Xavier Mathews  wrote:
>
> > Your Answer Should Be Here This Is The Python Script From Google's End! I
> > Just Did A Search! And Went To The Info Base!
>
> >https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html
>
> > Hopes This Helps! I Am Not Very Big On Python Either! If Anybody Else Has
> > Any Advice please Post! I Would Hate To See This Mn Loss His Deadline!
>
> > "Sent From Sony Slim-Line PSP"
>
> > Xavier A. Mathews
> > Web-Developer
>
> > Sent from Chicago, Illinois, United States
>
> > On Fri, Apr 3, 2009 at 1:36 PM, Aaron  wrote:
>
> > > Thanks man. I am stressed out. The ceo wants this site up really soon.
> > > So I been working on it since yesterday.
>
> > > Then today decided why not ask here.
>
> > > I found others which was a missing file and found the permissions were
> > > not allowing to install so I changed those and found those files
> > > quickly.
>
> > > thanks for the help.
>
> > > On Apr 3, 2:32 pm, Xavier Mathews  wrote:
> > > > I Am Not Sure Good QuestionLet Me Go See!
>
> > > > "Sent From Sony Slim-Line PSP"
>
> > > > Xavier A. Mathews
> > > > Web-Developer
>
> > > > Sent from Chicago, Illinois, United States
>
> > > > On Fri, Apr 3, 2009 at 1:29 PM, Aaron  wrote:
>
> > > > > I ran a search and I get no results. I only searched the google engine
> > > > > folder.
>
> > > > > It his script part of python? or is it a standalone that google engine
> > > > > uses.
>
> > > > > On Apr 3, 2:25 pm, Xavier Mathews  wrote:
> > > > > > Run A Search On The System!
> > >http://www.alternc.org/wiki/MigrationTrac
> > > > > > <http://www.alternc.org/wiki/MigrationTrac>
>
> > > > > > Although you are right you just can't say find or run because the
> > > problem
> > > > > > will still come up and with the same error msg also!
>
> > > > > > "Sent From Sony Slim-Line PSP"
>
> > > > > > Xavier A. Mathews
> > > > > > Web-Developer
>
> > > > > > Sent from Chicago, Illinois, United States
>
> > > > > > On Fri, Apr 3, 2009 at 1:19 PM, Aaron 
> > > wrote:
>
> > > > > > > HI, I am trying to install antlr3 for the google apps engine.
>
> > > > > > > I am using linux ubuntu.
>
> > > > > > > When I run the setup.py  I get a error on line 2  import mod
> > > > > > > ez_setup.py error.
>
> > > > > > > It say's can't find such a module.
>
> > > > > > > Where is this module located?
>
> > > > > > > I can't seem to find it.
>
> > > > > > > any 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: google apps engine installation problem.

2009-04-03 Thread Aaron

also  found the exact file needed:

here is the link

http://pylonshq.com/project/pylonshq/browser/ez_setup.py

that's the ez_setup.py  file that I was looking for. I just copied it
and then ran the setup.py file provided from google engine folders
etc.

this willl install the  antlr3

On Apr 3, 3:20 pm, Aaron  wrote:
> Thanks for the help.
>
> I found the site. I can just download it off their and try installing
> it manually.
>
> here is the site just in case anyone gets into the same problem I
> have.
>
> The site is below:
>
> http://peak.telecommunity.com/DevCenter/EasyInstall
>
> On Apr 3, 3:15 pm, Aaron  wrote:
>
> > not really.
>
> > I am just trying to install install antlr3 I ran setup.py of that and
> > I get error on line 2.
>
> > When I look at the python script of setup on line 2  this is what I
> > see.
>
> > import ez_setup
> > ez_setup.use_setuptools()
>
> > I get a error in the terminal that says error can't find such a module
> > "ez_setup" line 2  on setup.py
>
> > this is where I am stuck. I just need to install this and run a script
> > the previous programmer made and it should upload a the new admin
> > interface on the site.
>
> > This way I can just directly grab the html code and css code I made
> > and update the website files by using this persons interface.
>
> > I later on do have to find the script that handles the form data and
> > make some changes to it.
>
> > On Apr 3, 2:46 pm, Xavier Mathews  wrote:
>
> > > Your Answer Should Be Here This Is The Python Script From Google's End! I
> > > Just Did A Search! And Went To The Info Base!
>
> > >https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html
>
> > > Hopes This Helps! I Am Not Very Big On Python Either! If Anybody Else Has
> > > Any Advice please Post! I Would Hate To See This Mn Loss His Deadline!
>
> > > "Sent From Sony Slim-Line PSP"
>
> > > Xavier A. Mathews
> > > Web-Developer
>
> > > Sent from Chicago, Illinois, United States
>
> > > On Fri, Apr 3, 2009 at 1:36 PM, Aaron  wrote:
>
> > > > Thanks man. I am stressed out. The ceo wants this site up really soon.
> > > > So I been working on it since yesterday.
>
> > > > Then today decided why not ask here.
>
> > > > I found others which was a missing file and found the permissions were
> > > > not allowing to install so I changed those and found those files
> > > > quickly.
>
> > > > thanks for the help.
>
> > > > On Apr 3, 2:32 pm, Xavier Mathews  wrote:
> > > > > I Am Not Sure Good QuestionLet Me Go See!
>
> > > > > "Sent From Sony Slim-Line PSP"
>
> > > > > Xavier A. Mathews
> > > > > Web-Developer
>
> > > > > Sent from Chicago, Illinois, United States
>
> > > > > On Fri, Apr 3, 2009 at 1:29 PM, Aaron  wrote:
>
> > > > > > I ran a search and I get no results. I only searched the google 
> > > > > > engine
> > > > > > folder.
>
> > > > > > It his script part of python? or is it a standalone that google 
> > > > > > engine
> > > > > > uses.
>
> > > > > > On Apr 3, 2:25 pm, Xavier Mathews  wrote:
> > > > > > > Run A Search On The System!
> > > >http://www.alternc.org/wiki/MigrationTrac
> > > > > > > <http://www.alternc.org/wiki/MigrationTrac>
>
> > > > > > > Although you are right you just can't say find or run because the
> > > > problem
> > > > > > > will still come up and with the same error msg also!
>
> > > > > > > "Sent From Sony Slim-Line PSP"
>
> > > > > > > Xavier A. Mathews
> > > > > > > Web-Developer
>
> > > > > > > Sent from Chicago, Illinois, United States
>
> > > > > > > On Fri, Apr 3, 2009 at 1:19 PM, Aaron 
> > > > wrote:
>
> > > > > > > > HI, I am trying to install antlr3 for the google apps engine.
>
> > > > > > > > I am using linux ubuntu.
>
> > > > > > > > When I run the setup.py  I get a error on line 2  import mod
> > > > > > > > ez_setup.py error.
>
> > > > > > > > It say's can't find such a module.
>
> > > > > > > > Where is this module located?
>
> > > > > > > > I can't seem to find it.
>
> > > > > > > > any 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: google apps engine installation problem.

2009-04-03 Thread Aaron

I currently have trouble uploading a applicaiton.

this is what I get in the terminal when I type in my e-mail address
and password.


Cloning 69 static files.
Cloning 2535 application files.
Cloned 100 files.
Cloned 200 files.
Cloned 300 files.
Cloned 400 files.
Cloned 500 files.
Cloned 600 files.
Cloned 700 files.
Cloned 800 files.
Cloned 900 files.
Cloned 1000 files.
Cloned 1100 files.
Cloned 1200 files.
Cloned 1300 files.
Cloned 1400 files.
Cloned 1500 files.
Cloned 1600 files.
Cloned 1700 files.
Cloned 1800 files.
Cloned 1900 files.
Cloned 2000 files.
Cloned 2100 files.
Cloned 2200 files.
Cloned 2300 files.
Cloned 2400 files.
Cloned 2500 files.
Uploading 95 files.
ERROR:root:An unexpected error occurred. Aborting.
Traceback (most recent call last):
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/appcfg.py", line 1221, in
DoUpload
self.UploadFile(missing_file, file_handle)
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/appcfg.py", line 1083, in
UploadFile
payload=file_handle.read())
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/appengine_rpc.py", line 303,
in Send
f = self.opener.open(req)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request
Rolling back the update.
Error 400: --- begin server output ---
Max number of files and blobs is 1000.
--- end server output ---
Regenerating uncompressed media


any idea how to fix this?
--~--~-~--~~~---~--~~
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] uploading app failed.... need help to fix..

2009-04-03 Thread Aaron

I currently have trouble uploading a applicaiton.

I am using linux ubuntu OS.

this is what I get in the terminal when I type in my e-mail address
and password.

Cloning 69 static files.
Cloning 2535 application files.
Cloned 100 files.
Cloned 200 files.
Cloned 300 files.
Cloned 400 files.
Cloned 500 files.
Cloned 600 files.
Cloned 700 files.
Cloned 800 files.
Cloned 900 files.
Cloned 1000 files.
Cloned 1100 files.
Cloned 1200 files.
Cloned 1300 files.
Cloned 1400 files.
Cloned 1500 files.
Cloned 1600 files.
Cloned 1700 files.
Cloned 1800 files.
Cloned 1900 files.
Cloned 2000 files.
Cloned 2100 files.
Cloned 2200 files.
Cloned 2300 files.
Cloned 2400 files.
Cloned 2500 files.
Uploading 95 files.
ERROR:root:An unexpected error occurred. Aborting.
Traceback (most recent call last):
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/appcfg.py", line 1221, in
DoUpload
self.UploadFile(missing_file, file_handle)
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/appcfg.py", line 1083, in
UploadFile
payload=file_handle.read())
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/appengine_rpc.py", line 303,
in Send
f = self.opener.open(req)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request
Rolling back the update.
Error 400: --- begin server output ---
Max number of files and blobs is 1000.
--- end server output ---
Regenerating uncompressed media

any idea how to fix this?
--~--~-~--~~~---~--~~
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: uploading app failed.... need help to fix..

2009-04-03 Thread Aaron

So it's basicly saying I am going over a free limit?

I am working for a company and they had the previous programmer to
make a admin interface where I can just copy and paste in my css and
html code to make changes to the website.

So this basicly is saying I am exceeding a limit  based on free
service. So the company if they want this content on their website
they need to pay for it or more.

On Apr 3, 8:55 pm, WallyDD  wrote:
> from;http://code.google.com/appengine/docs/quotas.html
>
> You can upload up to 1,000 code and 1,000 static files with your
> application.
>
> On Apr 3, 5:02 pm, Aaron  wrote:
>
> > I currently have trouble uploading a applicaiton.
>
> > I am using linux ubuntu OS.
>
> > this is what I get in the terminal when I type in my e-mail address
> > and password.
>
> > Cloning 69 static files.
> > Cloning 2535 application files.
> > Cloned 100 files.
> > Cloned 200 files.
> > Cloned 300 files.
> > Cloned 400 files.
> > Cloned 500 files.
> > Cloned 600 files.
> > Cloned 700 files.
> > Cloned 800 files.
> > Cloned 900 files.
> > Cloned 1000 files.
> > Cloned 1100 files.
> > Cloned 1200 files.
> > Cloned 1300 files.
> > Cloned 1400 files.
> > Cloned 1500 files.
> > Cloned 1600 files.
> > Cloned 1700 files.
> > Cloned 1800 files.
> > Cloned 1900 files.
> > Cloned 2000 files.
> > Cloned 2100 files.
> > Cloned 2200 files.
> > Cloned 2300 files.
> > Cloned 2400 files.
> > Cloned 2500 files.
> > Uploading 95 files.
> > ERROR:root:An unexpected error occurred. Aborting.
> > Traceback (most recent call last):
> >   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> > google_appengine/google/appengine/tools/appcfg.py", line 1221, in
> > DoUpload
> >     self.UploadFile(missing_file, file_handle)
> >   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> > google_appengine/google/appengine/tools/appcfg.py", line 1083, in
> > UploadFile
> >     payload=file_handle.read())
> >   File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> > google_appengine/google/appengine/tools/appengine_rpc.py", line 303,
> > in Send
> >     f = self.opener.open(req)
> >   File "/usr/lib/python2.5/urllib2.py", line 387, in open
> >     response = meth(req, response)
> >   File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
> >     'http', request, response, code, msg, hdrs)
> >   File "/usr/lib/python2.5/urllib2.py", line 425, in error
> >     return self._call_chain(*args)
> >   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
> >     result = func(*args)
> >   File "/usr/lib/python2.5/urllib2.py", line 506, in
> > http_error_default
> >     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > HTTPError: HTTP Error 400: Bad Request
> > Rolling back the update.
> > Error 400: --- begin server output ---
> > Max number of files and blobs is 1000.
> > --- end server output ---
> > Regenerating uncompressed media
>
> > any idea how to fix this?
--~--~-~--~~~---~--~~
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] Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

Hi, I just done a test of my app. It's a website. I just used the
local host test.

I got about 50 errors which all points the errors to the app engine
python scripts.

How could this happen?

I will just post a few here or some of the errors:

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
 /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/dev_appserver.py in
_HandleRequest
(self=)
 2709   infile,
 2710   outfile,
error here->  2711
base_env_dict=env_dict)
 2712 finally:
 2713   self.module_manager.UpdateModuleFileModificationTimes
()
base_env_dict undefined, env_dict = {'APPLICATION_ID': 'mobile-
consulting-inc', 'CURRENT_VERSION_ID': '5.1', 'REMOTE_ADDR':
'127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost',
'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SOFTWARE': 'Development/1.0'}
 /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/dev_appserver.py in Dispatch
(self=, relative_url='/', path=None, headers=, infile=, outfile=,
base_env_dict={'APPLICATION_ID': 'mobile-consulting-inc',
'CURRENT_VERSION_ID': '5.1', 'REMOTE_ADDR': '127.0.0.1',
'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT':
'8000', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/
1.0'})
  378   infile,
  379   outfile,
  error here-> 380
base_env_dict=base_env_dict)
  381
  382 if forward:
base_env_dict = {'APPLICATION_ID': 'mobile-consulting-inc',
'CURRENT_VERSION_ID': '5.1', 'REMOTE_ADDR': '127.0.0.1',
'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT':
'8000', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/
1.0'}
 /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/google/appengine/tools/dev_appserver.py in Dispatch
(self=, relative_url='/', path='common/appenginepatch/main.py',
headers=,
infile=,
outfile=, base_env_dict=
{'APPLICATION_ID': 'mobile-consulting-inc', 'CURRENT_VERSION_ID':
'5.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET',
'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL':
'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
 1996  infile,
 1997  outfile,
Errror here-> 1998  self._module_dict)
 1999   handler.AddDebuggingConsole(relative_url, env, outfile)
 2000 finally:
self = , self._module_dict = {'Cookie': , 'UserDict': , '__main__': , '_bisect': , '_functools': , '_hashlib':
,
'_locale': , '_random': , '_struct': , '_threading_local': , ...}

what could cause all these errors. If you notice they are errors in
the python files google app engine provided.




I am new to google apps engine but not new to python. I however never
hardcore used python for any web or software application development.


do you think it's something to do with how the files are being linked?

I mean I was given a mange.py file and a folder for the app. The
manage.py was in that folder.  I tried running it and I got an error
saying can't find the sdk.

When I moved the manage.py  to the directory of the google apps engine
it worked.

Could you tell me were should my app files be and how can I run
manage.py and have it to be able to see the SDK.


--~--~-~--~~~---~--~~
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: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

well those are the errors I had in the brower.

Now after I restart the test server.

I get a 404 errror.

I then took a look at the terminal and this is what came after I type
the command runserver.

here are those errors:

WARNING:root:Could not read datastore data from /tmp/django_mobile-
consulting-inc.datastore
Running on app-engine-patch 1.0dev
INFO:root:Server: appengine.google.com
INFO:root:Checking for updates to the SDK.
INFO:root:The SDK is up to date.
WARNING:root:Could not read datastore data from /tmp/django_mobile-
consulting-inc.datastore
INFO:root:Running application mobile-consulting-inc on port 8000:
http://localhost:8000
DEBUG:root:Matched "/" to CGI dispatcher with path common/
appenginepatch/main.py
DEBUG:root:Executing CGI with env:
{'APPLICATION_ID': 'mobile-consulting-inc',
 'AUTH_DOMAIN': 'gmail.com',
 'CONTENT_LENGTH': '',
 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
 'CURRENT_VERSION_ID': '5.1',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_HOST': 'localhost:8000',
 'HTTP_KEEP_ALIVE': '300',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
1.9.0.8) Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8',
 'PATH_INFO': '/',
 'PATH_TRANSLATED': u'/home/aaron/websites/Chillenvillen.com/apps/
google_app_engine/google_appengine/common/appenginepatch/main.py',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '127.0.0.1',
 'REQUEST_METHOD': 'GET',
 'SCRIPT_NAME': '',
 'SERVER_NAME': 'localhost',
 'SERVER_PORT': '8000',
 'SERVER_PROTOCOL': 'HTTP/1.0',
 'SERVER_SOFTWARE': 'Development/1.0',
 'TZ': 'UTC',
 'USER_EMAIL': ''}
DEBUG:root:Could not import "strop": Disallowed C-extension or built-
in module
DEBUG:root:Could not import "fcntl": Disallowed C-extension or built-
in module
DEBUG:root:Access to module file denied: /usr/lib/python2.5/site-
packages/mod_python
INFO:root:"GET / HTTP/1.1" 404 -
INFO:root:Detected manual index.yaml, will not update


On Apr 4, 1:29 pm, Aaron  wrote:
> Hi, I just done a test of my app. It's a website. I just used the
> local host test.
>
> I got about 50 errors which all points the errors to the app engine
> python scripts.
>
> How could this happen?
>
> I will just post a few here or some of the errors:
>
> A problem occurred in a Python script. Here is the sequence of
> function calls leading up to the error, in the order they occurred.
>  /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/google/appengine/tools/dev_appserver.py in
> _HandleRequest
> (self= instance at 0x90443ec>)
>  2709                               infile,
>  2710                               outfile,
> error here->  2711
> base_env_dict=env_dict)
>  2712         finally:
>  2713           self.module_manager.UpdateModuleFileModificationTimes
> ()
> base_env_dict undefined, env_dict = {'APPLICATION_ID': 'mobile-
> consulting-inc', 'CURRENT_VERSION_ID': '5.1', 'REMOTE_ADDR':
> '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost',
> 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.0',
> 'SERVER_SOFTWARE': 'Development/1.0'}
>  /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> google_appengine/google/appengine/tools/dev_appserver.py in Dispatch
> (self= at 0x8b5710c>, relative_url='/', path=None, headers= instance at 0x8b50e2c>, infile= 0x8a6d200>, outfile=,
> base_env_dict={'APPLICATION_ID': 'mobile-consulting-inc',
> 'CURRENT_VERSION_ID': '5.1', 'REMOTE_ADDR': '127.0.0.1',
> 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT':
> '8000', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/
> 1.0'})
>   378                                       infile,
>   379                                       outfile,
>   error here-> 380
> base_env_dict=base_env_dict)
>   381
>   382       

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

ya but how would you fix it?

I restarted the test server about 4 times. I would get a 404 once. I
got 3  times where it gave me a python error.

It listed all the google app engine where errors occured inthe app
engine python scripts.

so how can I fix this? Like I said I aint a python guru.



On Apr 4, 1:58 pm, Xavier Mathews  wrote:
> Well 404 Is A Not Found Error So That Would Be The Browser Or Test
> Connection Which Can Be A Problem In It's Self!
>
> On 04/04/2009, Aaron  wrote:
>
>
>
>
>
> > well those are the errors I had in the brower.
>
> > Now after I restart the test server.
>
> > I get a 404 errror.
>
> > I then took a look at the terminal and this is what came after I type
> > the command runserver.
>
> > here are those errors:
>
> > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > consulting-inc.datastore
> > Running on app-engine-patch 1.0dev
> > INFO:root:Server: appengine.google.com
> > INFO:root:Checking for updates to the SDK.
> > INFO:root:The SDK is up to date.
> > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > consulting-inc.datastore
> > INFO:root:Running application mobile-consulting-inc on port 8000:
> >http://localhost:8000
> > DEBUG:root:Matched "/" to CGI dispatcher with path common/
> > appenginepatch/main.py
> > DEBUG:root:Executing CGI with env:
> > {'APPLICATION_ID': 'mobile-consulting-inc',
> >  'AUTH_DOMAIN': 'gmail.com',
> >  'CONTENT_LENGTH': '',
> >  'CONTENT_TYPE': 'application/x-www-form-urlencoded',
> >  'CURRENT_VERSION_ID': '5.1',
> >  'GATEWAY_INTERFACE': 'CGI/1.1',
> >  'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> > xml;q=0.9,*/*;q=0.8',
> >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> >  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> >  'HTTP_CONNECTION': 'keep-alive',
> >  'HTTP_HOST': 'localhost:8000',
> >  'HTTP_KEEP_ALIVE': '300',
> >  'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
> > 1.9.0.8) Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8',
> >  'PATH_INFO': '/',
> >  'PATH_TRANSLATED': u'/home/aaron/websites/Chillenvillen.com/apps/
> > google_app_engine/google_appengine/common/appenginepatch/main.py',
> >  'QUERY_STRING': '',
> >  'REMOTE_ADDR': '127.0.0.1',
> >  'REQUEST_METHOD': 'GET',
> >  'SCRIPT_NAME': '',
> >  'SERVER_NAME': 'localhost',
> >  'SERVER_PORT': '8000',
> >  'SERVER_PROTOCOL': 'HTTP/1.0',
> >  'SERVER_SOFTWARE': 'Development/1.0',
> >  'TZ': 'UTC',
> >  'USER_EMAIL': ''}
> > DEBUG:root:Could not import "strop": Disallowed C-extension or built-
> > in module
> > DEBUG:root:Could not import "fcntl": Disallowed C-extension or built-
> > in module
> > DEBUG:root:Access to module file denied: /usr/lib/python2.5/site-
> > packages/mod_python
> > INFO:root:"GET / HTTP/1.1" 404 -
> > INFO:root:Detected manual index.yaml, will not update
>
> > On Apr 4, 1:29 pm, Aaron  wrote:
> >> Hi, I just done a test of my app. It's a website. I just used the
> >> local host test.
>
> >> I got about 50 errors which all points the errors to the app engine
> >> python scripts.
>
> >> How could this happen?
>
> >> I will just post a few here or some of the errors:
>
> >> A problem occurred in a Python script. Here is the sequence of
> >> function calls leading up to the error, in the order they occurred.
> >>  /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> >> google_appengine/google/appengine/tools/dev_appserver.py in
> >> _HandleRequest
> >> (self= >> instance at 0x90443ec>)
> >>  2709                               infile,
> >>  2710                               outfile,
> >> error here->  2711
> >> base_env_dict=env_dict)
> >>  2712         finally:
> >>  2713           self.module_manager.UpdateModuleFileModificationTimes
> >> ()
> >> base_env_dict undefined, env_dict = {'APPLICATION_ID': 'mobile-
> >

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

ya but how would you fix it?

I restarted the test server about 4 times. I would get a 404 once. I
got 3  times where it gave me a python error.

It listed all the google app engine where errors occured inthe app
engine python scripts.

so how can I fix this? Like I said I aint a python guru.



On Apr 4, 1:58 pm, Xavier Mathews  wrote:
> Well 404 Is A Not Found Error So That Would Be The Browser Or Test
> Connection Which Can Be A Problem In It's Self!
>
> On 04/04/2009, Aaron  wrote:
>
>
>
>
>
> > well those are the errors I had in the brower.
>
> > Now after I restart the test server.
>
> > I get a 404 errror.
>
> > I then took a look at the terminal and this is what came after I type
> > the command runserver.
>
> > here are those errors:
>
> > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > consulting-inc.datastore
> > Running on app-engine-patch 1.0dev
> > INFO:root:Server: appengine.google.com
> > INFO:root:Checking for updates to the SDK.
> > INFO:root:The SDK is up to date.
> > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > consulting-inc.datastore
> > INFO:root:Running application mobile-consulting-inc on port 8000:
> >http://localhost:8000
> > DEBUG:root:Matched "/" to CGI dispatcher with path common/
> > appenginepatch/main.py
> > DEBUG:root:Executing CGI with env:
> > {'APPLICATION_ID': 'mobile-consulting-inc',
> >  'AUTH_DOMAIN': 'gmail.com',
> >  'CONTENT_LENGTH': '',
> >  'CONTENT_TYPE': 'application/x-www-form-urlencoded',
> >  'CURRENT_VERSION_ID': '5.1',
> >  'GATEWAY_INTERFACE': 'CGI/1.1',
> >  'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> > xml;q=0.9,*/*;q=0.8',
> >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> >  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> >  'HTTP_CONNECTION': 'keep-alive',
> >  'HTTP_HOST': 'localhost:8000',
> >  'HTTP_KEEP_ALIVE': '300',
> >  'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
> > 1.9.0.8) Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8',
> >  'PATH_INFO': '/',
> >  'PATH_TRANSLATED': u'/home/aaron/websites/Chillenvillen.com/apps/
> > google_app_engine/google_appengine/common/appenginepatch/main.py',
> >  'QUERY_STRING': '',
> >  'REMOTE_ADDR': '127.0.0.1',
> >  'REQUEST_METHOD': 'GET',
> >  'SCRIPT_NAME': '',
> >  'SERVER_NAME': 'localhost',
> >  'SERVER_PORT': '8000',
> >  'SERVER_PROTOCOL': 'HTTP/1.0',
> >  'SERVER_SOFTWARE': 'Development/1.0',
> >  'TZ': 'UTC',
> >  'USER_EMAIL': ''}
> > DEBUG:root:Could not import "strop": Disallowed C-extension or built-
> > in module
> > DEBUG:root:Could not import "fcntl": Disallowed C-extension or built-
> > in module
> > DEBUG:root:Access to module file denied: /usr/lib/python2.5/site-
> > packages/mod_python
> > INFO:root:"GET / HTTP/1.1" 404 -
> > INFO:root:Detected manual index.yaml, will not update
>
> > On Apr 4, 1:29 pm, Aaron  wrote:
> >> Hi, I just done a test of my app. It's a website. I just used the
> >> local host test.
>
> >> I got about 50 errors which all points the errors to the app engine
> >> python scripts.
>
> >> How could this happen?
>
> >> I will just post a few here or some of the errors:
>
> >> A problem occurred in a Python script. Here is the sequence of
> >> function calls leading up to the error, in the order they occurred.
> >>  /home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
> >> google_appengine/google/appengine/tools/dev_appserver.py in
> >> _HandleRequest
> >> (self= >> instance at 0x90443ec>)
> >>  2709                               infile,
> >>  2710                               outfile,
> >> error here->  2711
> >> base_env_dict=env_dict)
> >>  2712         finally:
> >>  2713           self.module_manager.UpdateModuleFileModificationTimes
> >> ()
> >> base_env_dict undefined, env_dict = {'APPLICATION_ID': 'mobile-
> >

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

ok, I just fixed the 404 error.  The test server was looking for the
app in the static folder.

I didn't have to app in their so I moved it in their and I get now
python errors. Like about 50 like before.



On Apr 4, 2:44 pm, Aaron  wrote:
> ya but how would you fix it?
>
> I restarted the test server about 4 times. I would get a 404 once. I
> got 3  times where it gave me a python error.
>
> It listed all the google app engine where errors occured inthe app
> engine python scripts.
>
> so how can I fix this? Like I said I aint a python guru.
>
> On Apr 4, 1:58 pm, Xavier Mathews  wrote:
>
> > Well 404 Is A Not Found Error So That Would Be The Browser Or Test
> > Connection Which Can Be A Problem In It's Self!
>
> > On 04/04/2009, Aaron  wrote:
>
> > > well those are the errors I had in the brower.
>
> > > Now after I restart the test server.
>
> > > I get a 404 errror.
>
> > > I then took a look at the terminal and this is what came after I type
> > > the command runserver.
>
> > > here are those errors:
>
> > > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > > consulting-inc.datastore
> > > Running on app-engine-patch 1.0dev
> > > INFO:root:Server: appengine.google.com
> > > INFO:root:Checking for updates to the SDK.
> > > INFO:root:The SDK is up to date.
> > > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > > consulting-inc.datastore
> > > INFO:root:Running application mobile-consulting-inc on port 8000:
> > >http://localhost:8000
> > > DEBUG:root:Matched "/" to CGI dispatcher with path common/
> > > appenginepatch/main.py
> > > DEBUG:root:Executing CGI with env:
> > > {'APPLICATION_ID': 'mobile-consulting-inc',
> > >  'AUTH_DOMAIN': 'gmail.com',
> > >  'CONTENT_LENGTH': '',
> > >  'CONTENT_TYPE': 'application/x-www-form-urlencoded',
> > >  'CURRENT_VERSION_ID': '5.1',
> > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > >  'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> > > xml;q=0.9,*/*;q=0.8',
> > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> > >  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> > >  'HTTP_CONNECTION': 'keep-alive',
> > >  'HTTP_HOST': 'localhost:8000',
> > >  'HTTP_KEEP_ALIVE': '300',
> > >  'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
> > > 1.9.0.8) Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8',
> > >  'PATH_INFO': '/',
> > >  'PATH_TRANSLATED': u'/home/aaron/websites/Chillenvillen.com/apps/
> > > google_app_engine/google_appengine/common/appenginepatch/main.py',
> > >  'QUERY_STRING': '',
> > >  'REMOTE_ADDR': '127.0.0.1',
> > >  'REQUEST_METHOD': 'GET',
> > >  'SCRIPT_NAME': '',
> > >  'SERVER_NAME': 'localhost',
> > >  'SERVER_PORT': '8000',
> > >  'SERVER_PROTOCOL': 'HTTP/1.0',
> > >  'SERVER_SOFTWARE': 'Development/1.0',
> > >  'TZ': 'UTC',
> > >  'USER_EMAIL': ''}
> > > DEBUG:root:Could not import "strop": Disallowed C-extension or built-
> > > in module
> > > DEBUG:root:Could not import "fcntl": Disallowed C-extension or built-
> > > in module
> > > DEBUG:root:Access to module file denied: /usr/lib/python2.5/site-
> > > packages/mod_python
> > > INFO:root:"GET / HTTP/1.1" 404 -
> > > INFO:root:Detected manual index.yaml, will not update
>
> > > On Apr 4, 1:29 pm, Aaron  wrote:
> > >> Hi, I just done a test of my app. It's a website. I just used the
> > >> local host test.
>
> > >> I got about 50 errors which all points the errors to the app engine
> > >> python scripts.
>
> > >> How could this happen?
>
> > >> I will just post a few here or some of the errors:
>
> > >> A problem occurred in a Python script. Here is the sequence of
> > >> function calls leading up to the error, in the order they occurred.
> > >>  /home/aaron/websites/Chillenvill

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

ok, I just fixed the 404 error.  The test server was looking for the
app in the static folder.

I didn't have to app in their so I moved it in their and I get now
python errors. Like about 50 like before.



On Apr 4, 2:44 pm, Aaron  wrote:
> ya but how would you fix it?
>
> I restarted the test server about 4 times. I would get a 404 once. I
> got 3  times where it gave me a python error.
>
> It listed all the google app engine where errors occured inthe app
> engine python scripts.
>
> so how can I fix this? Like I said I aint a python guru.
>
> On Apr 4, 1:58 pm, Xavier Mathews  wrote:
>
> > Well 404 Is A Not Found Error So That Would Be The Browser Or Test
> > Connection Which Can Be A Problem In It's Self!
>
> > On 04/04/2009, Aaron  wrote:
>
> > > well those are the errors I had in the brower.
>
> > > Now after I restart the test server.
>
> > > I get a 404 errror.
>
> > > I then took a look at the terminal and this is what came after I type
> > > the command runserver.
>
> > > here are those errors:
>
> > > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > > consulting-inc.datastore
> > > Running on app-engine-patch 1.0dev
> > > INFO:root:Server: appengine.google.com
> > > INFO:root:Checking for updates to the SDK.
> > > INFO:root:The SDK is up to date.
> > > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > > consulting-inc.datastore
> > > INFO:root:Running application mobile-consulting-inc on port 8000:
> > >http://localhost:8000
> > > DEBUG:root:Matched "/" to CGI dispatcher with path common/
> > > appenginepatch/main.py
> > > DEBUG:root:Executing CGI with env:
> > > {'APPLICATION_ID': 'mobile-consulting-inc',
> > >  'AUTH_DOMAIN': 'gmail.com',
> > >  'CONTENT_LENGTH': '',
> > >  'CONTENT_TYPE': 'application/x-www-form-urlencoded',
> > >  'CURRENT_VERSION_ID': '5.1',
> > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > >  'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> > > xml;q=0.9,*/*;q=0.8',
> > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> > >  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> > >  'HTTP_CONNECTION': 'keep-alive',
> > >  'HTTP_HOST': 'localhost:8000',
> > >  'HTTP_KEEP_ALIVE': '300',
> > >  'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
> > > 1.9.0.8) Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8',
> > >  'PATH_INFO': '/',
> > >  'PATH_TRANSLATED': u'/home/aaron/websites/Chillenvillen.com/apps/
> > > google_app_engine/google_appengine/common/appenginepatch/main.py',
> > >  'QUERY_STRING': '',
> > >  'REMOTE_ADDR': '127.0.0.1',
> > >  'REQUEST_METHOD': 'GET',
> > >  'SCRIPT_NAME': '',
> > >  'SERVER_NAME': 'localhost',
> > >  'SERVER_PORT': '8000',
> > >  'SERVER_PROTOCOL': 'HTTP/1.0',
> > >  'SERVER_SOFTWARE': 'Development/1.0',
> > >  'TZ': 'UTC',
> > >  'USER_EMAIL': ''}
> > > DEBUG:root:Could not import "strop": Disallowed C-extension or built-
> > > in module
> > > DEBUG:root:Could not import "fcntl": Disallowed C-extension or built-
> > > in module
> > > DEBUG:root:Access to module file denied: /usr/lib/python2.5/site-
> > > packages/mod_python
> > > INFO:root:"GET / HTTP/1.1" 404 -
> > > INFO:root:Detected manual index.yaml, will not update
>
> > > On Apr 4, 1:29 pm, Aaron  wrote:
> > >> Hi, I just done a test of my app. It's a website. I just used the
> > >> local host test.
>
> > >> I got about 50 errors which all points the errors to the app engine
> > >> python scripts.
>
> > >> How could this happen?
>
> > >> I will just post a few here or some of the errors:
>
> > >> A problem occurred in a Python script. Here is the sequence of
> > >> function calls leading up to the error, in the order they occurred.
> > >>  /home/aaron/websites/Chillenvill

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

I just need help on where my files needs to be.

I have my app in it's own folder. I had the app inside the directory
of google app engine.

the problem is when I run manage.py inside my own app folder. The
manage.py can't find the source development kit of google apps engine.

So I took the manage.py out and put it directly in the google app
engine which then can find the SDK.

Then I got the problem with finding the application which I notice
manage.py made the test server to look for the app in the static
folder.

So I moved the app to the static folder and then I got python error
messages instead of a 404.  This is where I am at.

I am not sure if the files are in the right place where it needs to be
placed.

I am getting like 50 errors. All or most of them are coming from the
app engine python scripts.

I am guessing the files are not in the proper place in order for it to
run or be found.

So I ask where does my application need to be  in order for it to run.
I think the config is in the default state.

I only changed the app.yaml to the application that I need to update.

any ideas what could be the problem? I been working on this all day.
I got an impatient ceo barking down my neck.

He never gave me a deadline but he want's it up as soon as possible.
He wants updates from day to day basis.



On Apr 4, 3:04 pm, Aaron  wrote:
> ok, I just fixed the 404 error.  The test server was looking for the
> app in the static folder.
>
> I didn't have to app in their so I moved it in their and I get now
> python errors. Like about 50 like before.
>
> On Apr 4, 2:44 pm, Aaron  wrote:
>
> > ya but how would you fix it?
>
> > I restarted the test server about 4 times. I would get a 404 once. I
> > got 3  times where it gave me a python error.
>
> > It listed all the google app engine where errors occured inthe app
> > engine python scripts.
>
> > so how can I fix this? Like I said I aint a python guru.
>
> > On Apr 4, 1:58 pm, Xavier Mathews  wrote:
>
> > > Well 404 Is A Not Found Error So That Would Be The Browser Or Test
> > > Connection Which Can Be A Problem In It's Self!
>
> > > On 04/04/2009, Aaron  wrote:
>
> > > > well those are the errors I had in the brower.
>
> > > > Now after I restart the test server.
>
> > > > I get a 404 errror.
>
> > > > I then took a look at the terminal and this is what came after I type
> > > > the command runserver.
>
> > > > here are those errors:
>
> > > > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > > > consulting-inc.datastore
> > > > Running on app-engine-patch 1.0dev
> > > > INFO:root:Server: appengine.google.com
> > > > INFO:root:Checking for updates to the SDK.
> > > > INFO:root:The SDK is up to date.
> > > > WARNING:root:Could not read datastore data from /tmp/django_mobile-
> > > > consulting-inc.datastore
> > > > INFO:root:Running application mobile-consulting-inc on port 8000:
> > > >http://localhost:8000
> > > > DEBUG:root:Matched "/" to CGI dispatcher with path common/
> > > > appenginepatch/main.py
> > > > DEBUG:root:Executing CGI with env:
> > > > {'APPLICATION_ID': 'mobile-consulting-inc',
> > > >  'AUTH_DOMAIN': 'gmail.com',
> > > >  'CONTENT_LENGTH': '',
> > > >  'CONTENT_TYPE': 'application/x-www-form-urlencoded',
> > > >  'CURRENT_VERSION_ID': '5.1',
> > > >  'GATEWAY_INTERFACE': 'CGI/1.1',
> > > >  'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
> > > > xml;q=0.9,*/*;q=0.8',
> > > >  'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> > > >  'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> > > >  'HTTP_CONNECTION': 'keep-alive',
> > > >  'HTTP_HOST': 'localhost:8000',
> > > >  'HTTP_KEEP_ALIVE': '300',
> > > >  'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
> > > > 1.9.0.8) Gecko/2009032711 Ubuntu/8.04 (hardy) Firefox/3.0.8',
> > > >  'PATH_INFO': '/',
> > > >  'PATH_TRANSLATED': u'/home/aaron/websites/Chillenvillen.com/apps/
> > > > google_app_engine/google_appengine/common/appenginepatch/main.py',
> > > >  'QUERY_STRING': '',
> > > >  'REMOTE_ADDR&#x

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

No I can't even run the test server anymore.

I get a new error:

Traceback (most recent call last):
  File "manage.py", line 4, in 
setup_env(manage_py_env=True)
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/aecmd.py", line 63, in
setup_env
patch_all()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 21, in patch_all
    patch_django()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 535, in patch_django
    from ragendja import template
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/template.py", line 84,
in 
app_template_dirs = get_app_dirs('templates')
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 38,
in get_app_dirs
for appname, module in get_app_modules().items():
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 32,
in get_app_modules
if module_name in list_modules(import_module(app)):
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 5,
in import_module
return __import__(module_name, {}, {}, [''])
ImportError: No module named contact
r...@demonicproductions:/home/aaron/websites/Chillenvillen.com/apps/
google_app_engine/google_appengine# python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 4, in 
setup_env(manage_py_env=True)
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/aecmd.py", line 63, in
setup_env
patch_all()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 21, in patch_all
patch_django()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 535, in patch_django
from ragendja import template
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/template.py", line 84,
in 
app_template_dirs = get_app_dirs('templates')
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 38,
in get_app_dirs
for appname, module in get_app_modules().items():
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 32,
in get_app_modules
if module_name in list_modules(import_module(app)):
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 5,
in import_module
return __import__(module_name, {}, {}, [''])
ImportError: No module named contact


that's what the terminal spits out.

I am using linux ubuntu OS.

I have not changed anything. This just happended when I restarted the
test server.

On Apr 4, 3:30 pm, Aaron  wrote:
> I just need help on where my files needs to be.
>
> I have my app in it's own folder. I had the app inside the directory
> of google app engine.
>
> the problem is when I run manage.py inside my own app folder. The
> manage.py can't find the source development kit of google apps engine.
>
> So I took the manage.py out and put it directly in the google app
> engine which then can find the SDK.
>
> Then I got the problem with finding the application which I notice
> manage.py made the test server to look for the app in the static
> folder.
>
> So I moved the app to the static folder and then I got python error
> messages instead of a 404.  This is where I am at.
>
> I am not sure if the files are in the right place where it needs to be
> placed.
>
> I am getting like 50 errors. All or most of them are coming from the
> app engine python scripts.
>
> I am guessing the files are not in the proper place in order for it to
> run or be found.
>
> So I ask where does my application need to be  in order for it to run.
> I think the config is in the default state.
>
> I only changed the app.yaml to the application that I need to update.
>
> any ideas what could be the problem? I been working on this all day.
> I got an impatient ceo barking down my neck.
>
&g

[google-appengine] Re: Need help. Getting many python errors on localhost test.

2009-04-04 Thread Aaron

No I can't even run the test server anymore.

I get a new error:

Traceback (most recent call last):
  File "manage.py", line 4, in 
setup_env(manage_py_env=True)
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/aecmd.py", line 63, in
setup_env
patch_all()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 21, in patch_all
    patch_django()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 535, in patch_django
    from ragendja import template
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/template.py", line 84,
in 
app_template_dirs = get_app_dirs('templates')
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 38,
in get_app_dirs
for appname, module in get_app_modules().items():
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 32,
in get_app_modules
if module_name in list_modules(import_module(app)):
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 5,
in import_module
return __import__(module_name, {}, {}, [''])
ImportError: No module named contact
r...@demonicproductions:/home/aaron/websites/Chillenvillen.com/apps/
google_app_engine/google_appengine# python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 4, in 
setup_env(manage_py_env=True)
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/aecmd.py", line 63, in
setup_env
patch_all()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 21, in patch_all
patch_django()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 535, in patch_django
from ragendja import template
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/template.py", line 84,
in 
app_template_dirs = get_app_dirs('templates')
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 38,
in get_app_dirs
for appname, module in get_app_modules().items():
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 32,
in get_app_modules
if module_name in list_modules(import_module(app)):
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 5,
in import_module
return __import__(module_name, {}, {}, [''])
ImportError: No module named contact


that's what the terminal spits out.

I am using linux ubuntu OS.

I have not changed anything. This just happended when I restarted the
test server.

On Apr 4, 3:30 pm, Aaron  wrote:
> I just need help on where my files needs to be.
>
> I have my app in it's own folder. I had the app inside the directory
> of google app engine.
>
> the problem is when I run manage.py inside my own app folder. The
> manage.py can't find the source development kit of google apps engine.
>
> So I took the manage.py out and put it directly in the google app
> engine which then can find the SDK.
>
> Then I got the problem with finding the application which I notice
> manage.py made the test server to look for the app in the static
> folder.
>
> So I moved the app to the static folder and then I got python error
> messages instead of a 404.  This is where I am at.
>
> I am not sure if the files are in the right place where it needs to be
> placed.
>
> I am getting like 50 errors. All or most of them are coming from the
> app engine python scripts.
>
> I am guessing the files are not in the proper place in order for it to
> run or be found.
>
> So I ask where does my application need to be  in order for it to run.
> I think the config is in the default state.
>
> I only changed the app.yaml to the application that I need to update.
>
> any ideas what could be the problem? I been working on this all day.
> I got an impatient ceo barking down my neck.
>
&g

[google-appengine] test server won't work anymore getting errors...

2009-04-04 Thread Aaron

Now I can't even run the test server anymore.

I get a new error:

Traceback (most recent call last):
  File "manage.py", line 4, in 
setup_env(manage_py_env=True)
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/aecmd.py", line 63, in
setup_env
patch_all()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 21, in patch_all
    patch_django()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 535, in patch_django
    from ragendja import template
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/template.py", line 84,
in 
app_template_dirs = get_app_dirs('templates')
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 38,
in get_app_dirs
for appname, module in get_app_modules().items():
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 32,
in get_app_modules
if module_name in list_modules(import_module(app)):
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 5,
in import_module
return __import__(module_name, {}, {}, [''])
ImportError: No module named contact
r...@demonicproductions:/home/aaron/websites/Chillenvillen.com/apps/
google_app_engine/google_appengine# python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 4, in 
setup_env(manage_py_env=True)
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/aecmd.py", line 63, in
setup_env
patch_all()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 21, in patch_all
patch_django()
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/appenginepatcher/patch.py",
line 535, in patch_django
from ragendja import template
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/template.py", line 84,
in 
app_template_dirs = get_app_dirs('templates')
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 38,
in get_app_dirs
for appname, module in get_app_modules().items():
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 32,
in get_app_modules
if module_name in list_modules(import_module(app)):
  File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
google_appengine/common/appenginepatch/ragendja/apputils.py", line 5,
in import_module
return __import__(module_name, {}, {}, [''])
ImportError: No module named contact

that's what the terminal spits out.

I am using linux ubuntu OS.

I have not changed anything. This just happened when I restarted the
test server.

I now got a headache urgh.  I been working on this all day today.

I work for a company and this ceo wants it up as soon as possible and
is losing patience.

How do I fix these errors.

I typed in python manage.py runserver.

then I get what I posted above.

Then it dosen't start the test server.

I was able this morning to run the test server just now for some
reason it dosen't allow me.

I didn't change anything. I just restarted the test server 4 times
today and then this happens.



--~--~-~--~~~---~--~~
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] Noobie with google app engine. Need some help.

2009-04-07 Thread Aaron

HI, I am very confused on how to use google app engine. I have a job
as a vp of technlology. I was a website developer.

I only know html,css, php, python.  I never heavily used python so I
am rusty with it.

I only had experience with using apache and mysql.

I am new to google application and have been doing research on it. I
found it uses a different database system.

I already made the website for the company now I need to upload it to
google apps and also make modifications in python scripts to add some
server sided functionalities.

So far it's been about 4 weeks. My ceo is really upset. He never gave
a deadline but he wanted it to be done as soon as possible. He is now
breathing down my neck. I am stressed out .

So to make matters worst I need to learn how google apps engine works
and how I can use it in a quick manner.


The ceo has been talking to the previous VP of technology.

He is the one the made the website. I just added onto it. So He gave
me the original website files meaningthe python and the folder.

He told me I have to use manage.py  to update or test run the app
meaning the website.

Currently I tried the manage.py which was inthe apps folder  and this
folder was in googles engine folder.

I been getting a error saying can't find SDK.

So I moved the manage.py to googles app engine folder and it worked.
Yet when I tried updating It showed 96 files trying to be updated to
googles server then I got a limit error.

I e-mailed the ceo which e-mailed the previous programmer. He told me
that the manage.py needs to stay in the app folder not the google
engine folder.

He told me I need to use  PATH=$PATH:/path/to/google_

I don't understand what he ment by that.   I am guessing  I had to add
that to manage.py?

Not sure I might e-mail them back.

So currently I need to just update a website which is a web app on
google app engine.

So I need to learn the structure of how to use  google apps engine.

I need a tutorial that would explain  me the structure  from a php/
mysql apache user point of view.

Meaning I need a explanation  what's used with php and what is used in
google that relates to php in the server sided way.

I thiink that would be the quickest way i can learn this else I might
get fired. I do really need to keep this job.

I told the ceo that I am not experienced in google nor python. I  did
some coding in python but it wasn't that much to make any app.
--~--~-~--~~~---~--~~
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: Noobie with google app engine. Need some help.

2009-04-07 Thread Aaron

I don't think  he means updating.

I was given the website application files. I need to modify and also
import my html and css code into this folder on my computer.

The problem is when manage.py is in that app folder and when I run it
in terminal I get a error sayin g can't find SDK.

yet when I move that manage.py file to the google app engine folder It
finds the SDK  and runs fine well I get also a error saying module
contact is missing.

So I told the programmer that problem. He told me it needs to stay in
that app folder.

Then to fix the cannot find SDK error I have to use that path stuff.

I wasn't sure if  he means  to add that as code to manage.py  or to
type that in the terminal.

Or if it was a example of where the path should be.

I am not totally sure.   I just have to figure this all out quickly.
The ceo is very ticked off and really wants it done really soon.

He is now asking me when I will be done with making my changes to the
site. He already got another project for me.

I am not making big bucks but I need some experience on my resume
because alot of jobs turned me down because I didn't have industry
experience.

So this is the only reason I am doing this. I am just getting paid 75
bucks for the first modifications.

So I really do need a faster way to understand how to use google
engine.

I have experience in html, css, php, apache, mysql, microsoft access.
I do have experience with python.

I don't hever experience with google apps engine. I am not even well
experienced with python to work on big software apps.

So if you do know php and what I basicly know. I would like someone to
explain it in terms what I know saying for like php mysql

you would use code like this for python/google apps etc.

I wish I had more time where I can look at the guides and take my time
learning and experiencing google apps but I don't.

the ceo knows I don't have experience with google.

I am also the only one doing it cheap for him. Others asked him for
1,500 bucks.

SO currently I am stressing out. He wants me to say a deadline but yet
I can't really say when I will be finished unless I have control and
understand the structure of the google app engine so I would know what
to do and work on it quickly.

Last night I didn't get to go to bed cause while I am trying to learn
this stuff I was also studying for exams for college classes and also
had to do a tax problem.

So I  hope you understand my stress level. I wish I had more time but
I don't I normally don't ask alot of questions but since I have
limited time I need to know what links I would need so I don't waste
any time looking at something that I wouldn't need at all to learn.



On Apr 7, 11:18 am, Ray Malone  wrote:
> Take a look at the documentation for uploading an app 
> herehttp://code.google.com/appengine/docs/python/tools/uploadinganapp.html
>
> However, I think you are using the app engine patch and may need this
> instead.  http://code.google.com/p/app-engine-patch/wiki/GettingStarted
>
> I don't use the path and don't have experience setting it up, but this
> should help.
>
> On Apr 7, 10:52 am, Aaron  wrote:
>
> > HI, I am very confused on how to use google app engine. I have a job
> > as a vp of technlology. I was a website developer.
>
> > I only know html,css, php, python.  I never heavily used python so I
> > am rusty with it.
>
> > I only had experience with using apache and mysql.
>
> > I am new to google application and have been doing research on it. I
> > found it uses a different database system.
>
> > I already made the website for the company now I need to upload it to
> > google apps and also make modifications in python scripts to add some
> > server sided functionalities.
>
> > So far it's been about 4 weeks. My ceo is really upset. He never gave
> > a deadline but he wanted it to be done as soon as possible. He is now
> > breathing down my neck. I am stressed out .
>
> > So to make matters worst I need to learn how google apps engine works
> > and how I can use it in a quick manner.
>
> > The ceo has been talking to the previous VP of technology.
>
> > He is the one the made the website. I just added onto it. So He gave
> > me the original website files meaningthe python and the folder.
>
> > He told me I have to use manage.py  to update or test run the app
> > meaning the website.
>
> > Currently I tried the manage.py which was inthe apps folder  and this
> > folder was in googles engine folder.
>
> > I been getting a error saying can't find SDK.
>
> > So I moved the manage.py to googles app engine folder and it worked.
> > Yet when I tried updating It showed 96 files trying to be updated to
> > googles server the

[google-appengine] Re: Noobie with google app engine. Need some help.

2009-04-07 Thread Aaron

Is their any instant chat room that can help me with google apps
engine?

On Apr 7, 2:29 pm, Aaron  wrote:
> I don't think  he means updating.
>
> I was given the website application files. I need to modify and also
> import my html and css code into this folder on my computer.
>
> The problem is when manage.py is in that app folder and when I run it
> in terminal I get a error sayin g can't find SDK.
>
> yet when I move that manage.py file to the google app engine folder It
> finds the SDK  and runs fine well I get also a error saying module
> contact is missing.
>
> So I told the programmer that problem. He told me it needs to stay in
> that app folder.
>
> Then to fix the cannot find SDK error I have to use that path stuff.
>
> I wasn't sure if  he means  to add that as code to manage.py  or to
> type that in the terminal.
>
> Or if it was a example of where the path should be.
>
> I am not totally sure.   I just have to figure this all out quickly.
> The ceo is very ticked off and really wants it done really soon.
>
> He is now asking me when I will be done with making my changes to the
> site. He already got another project for me.
>
> I am not making big bucks but I need some experience on my resume
> because alot of jobs turned me down because I didn't have industry
> experience.
>
> So this is the only reason I am doing this. I am just getting paid 75
> bucks for the first modifications.
>
> So I really do need a faster way to understand how to use google
> engine.
>
> I have experience in html, css, php, apache, mysql, microsoft access.
> I do have experience with python.
>
> I don't hever experience with google apps engine. I am not even well
> experienced with python to work on big software apps.
>
> So if you do know php and what I basicly know. I would like someone to
> explain it in terms what I know saying for like php mysql
>
> you would use code like this for python/google apps etc.
>
> I wish I had more time where I can look at the guides and take my time
> learning and experiencing google apps but I don't.
>
> the ceo knows I don't have experience with google.
>
> I am also the only one doing it cheap for him. Others asked him for
> 1,500 bucks.
>
> SO currently I am stressing out. He wants me to say a deadline but yet
> I can't really say when I will be finished unless I have control and
> understand the structure of the google app engine so I would know what
> to do and work on it quickly.
>
> Last night I didn't get to go to bed cause while I am trying to learn
> this stuff I was also studying for exams for college classes and also
> had to do a tax problem.
>
> So I  hope you understand my stress level. I wish I had more time but
> I don't I normally don't ask alot of questions but since I have
> limited time I need to know what links I would need so I don't waste
> any time looking at something that I wouldn't need at all to learn.
>
> On Apr 7, 11:18 am, Ray Malone  wrote:
>
> > Take a look at the documentation for uploading an app 
> > herehttp://code.google.com/appengine/docs/python/tools/uploadinganapp.html
>
> > However, I think you are using the app engine patch and may need this
> > instead.  http://code.google.com/p/app-engine-patch/wiki/GettingStarted
>
> > I don't use the path and don't have experience setting it up, but this
> > should help.
>
> > On Apr 7, 10:52 am, Aaron  wrote:
>
> > > HI, I am very confused on how to use google app engine. I have a job
> > > as a vp of technlology. I was a website developer.
>
> > > I only know html,css, php, python.  I never heavily used python so I
> > > am rusty with it.
>
> > > I only had experience with using apache and mysql.
>
> > > I am new to google application and have been doing research on it. I
> > > found it uses a different database system.
>
> > > I already made the website for the company now I need to upload it to
> > > google apps and also make modifications in python scripts to add some
> > > server sided functionalities.
>
> > > So far it's been about 4 weeks. My ceo is really upset. He never gave
> > > a deadline but he wanted it to be done as soon as possible. He is now
> > > breathing down my neck. I am stressed out .
>
> > > So to make matters worst I need to learn how google apps engine works
> > > and how I can use it in a quick manner.
>
> > > The ceo has been talking to the previous VP of technology.
>
> > > He is the one the made the website. I just added onto it. So He gave
> &g

[google-appengine] Re: Noobie with google app engine. Need some help.

2009-04-07 Thread Aaron

ya that is where I am at right now.   I am trying to get my computer
to a point where I can then focus on getting the site uploaded.

I am having problems getting the scripts that the previous coder made
and also getting manage.py to see or find SDK of  google app engine.

I asked the ceo to ask the old programmer about what he meant about
path stuff.

So currently I followed his directions and put manage.py in the app
folder but when I ran it in terminal I get a Cannot find SDK  error.

I mean it's frustrating. I spent about 3 weeks and I am only getting
75 bucks for this. It took up alot of my time just to download the kit
and install it.

and do that Django package installation. and other packages. Now after
doing that. I took a look at the website files given to me from the
previous programmer.

I am struggling on getting the development area to have no errors so I
can focus on the coding part. I have some experience with python and
do know the lango.

That's not the problem. I just have to look at how the pervious
programmer stored data. I don't have problems with doing the changes
to the site and uploading it.

I am doing this will going to college full time so I am stressed out.
The ceo even calls me at times at midnight asking how far I am on the
project.

He told me he is getting concern about the project.

At the start of the job I was never told I had to use google apps that
was unstil I was done with the website addons coded in css and html on
my server.

I then thought he had a hosting services where I just use a panel to
upload the files. Yet I was wrong he tells me he uses google servers.
I then was like what?

I never knew google does that. I never heard anything about that. I
ask him if he was sure it's google.  He said he was pretty sure.

So I thought that google must have it and would provide a upload
cpanel to load in the scripts.

So I ask for the login and stuff and he made an account and then
contacted the old program to get guided on what to do to make my
account.

Then he told me I had to download google apps engine. I then knew that
this must be something big. I was thinking in my head why would a
hosting serivce provider need to give a engine out.

So then he told me out flat that I need to know python and know how to
use google apps engine. I told I know python but never done anything
heavy with it.

I never used google apps and don't know where to go.

So he said don't worry if you have questions I can ask the old
programmer.

So this is where we are at. Usally when I ask the ceo to ask something
to the old programmer this takes time to get a reply.

Cause the old programmer isn't working at this company anymore and I
am sure he looks at his e-mail later on in the day.

So this going back and forth is costing me time and the ceo is getting
impatient.

from what I know. I don't have to code anything heavily. I just have
to make modifications and that is it.

yet still have that error where manage.py dosen't find the SDK of
google apps even though google apps is installed on my system.

So looks like the manage.py dosen't know where google apps is located
for some reason.

I don't know if I have to add  a path on manage.py to point to where
the python script of the SDK is located at?

On Apr 7, 3:56 pm, dartdog1  wrote:
> It is not easy.. 1st you need to get your machine set to use the
> Google App engine SDK and development server... I put my experience
> with that herehttp://tombrander.wordpress.com... then you need to get
> your current version of the app running there... from other messages I
> see you have left it seems that you have problems at that point...so
> get those solved... If you don't have a useful development environment
> your going to have a long road.. I've found Eclipse with Pydev to be
> very helpful but it too has a learning curve.
>
> I'm currently struggling with Google App engine patch and Django
> examples but the above steps are how I got that far. FWIW, Finding the
> files for modifying code within Django is not very easy and my guess
> id that if you are using the app-engine patch you probably got Django
> as well,, so looking at that doccumentation might help...
>
> Good luck, you may have bitten off too much ??
>
> As I said I'm still struggling... but keeping at it as there seems to
> be some gold at the end of the rainbow!
>
> On Apr 7, 1:50 pm, Aaron  wrote:
>
> > Is their any instant chat room that can help me with google apps
> > engine?
>
> > On Apr 7, 2:29 pm, Aaron  wrote:
>
> > > I don't think  he means updating.
>
> > > I was given the website application files. I need to modify and also
> > > import my html and css code into this folder on my computer.
>
> > > The problem is when manage.py is in that app folder and when I ru

[google-appengine] Need some help learning the structure of using Django templates making websites..

2009-04-09 Thread Aaron

Ok, I finally got the app development setup and workng.

Now I can finally focus on coding and making modifications.

I have already made html files for this companies website. Now I need
to make modifications so my css and html code will work just like how
I have it setup.

Is their any tutorials or guides that would be useful for me to assist
me. So I can understand what changes I need to get the website layout
I designed to work like how it's supposed to.

The website uses Django  templates.  I also need resources I can look
at that can help me learn data models for python which is used in
google apps engine.

I am experienced with mysql databases types. So I am new to this type
of database the model data.

I have previous code to work with. So I am not starting from scratch.
I just need to know where I need to make the modifications.

So I have to learn the structure of what's used.

So basicly I need to understand data models  and Django and  the
templates.

Thanks for your time.
--~--~-~--~~~---~--~~
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] Any way to download back the web applications on google apps?

2009-04-14 Thread Aaron

Question is in the subject.

I want to know if their is any way I can download the web app in my
case a website so I can back it up.

Just asking because I need a backup of the website.
--~--~-~--~~~---~--~~
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] Templates...

2009-04-15 Thread Aaron

Hi, I am using django .

I  am trying to use a If statement with an or.

what I am trying to do is   make a if statement like  if  the website
title is this  or that then  do this.

so It's like  IF  title = "home"  or  "request" do this{

}

when I tried that I got a error wrong block or something like that.

Then I tried using the code  if  code to grab title ="home" or  code
to grab title ="request" {do this}

Basicly I have a request form and I only want to show it on 2 pages.

How can I do this. I even played with the if equal.  I got an Error
saying that I have 2 or more arguments.

So how can I do this?  I currently have  2 if statements  meaning have
them seperate which took away the errors but displays nothing.

I know that if I put those 2 if statements then it will cancel each
other out because it's like saying if those 2 pages are loaded at the
same time then display the form.

So I am trying to find how I can display this form for only 2 pages.


basicly here is the if statements I am using :

{% ifequal flatpage.title "Sign Up" %}
{% ifequal flatpage.title "Services" %}

I know it's wrong. The reason it cancels each others out.

I tried if statements and it gives me errors saying wrong block. I
then tried if equal which gave me an error saying I have 2 or more
arguments which I think I can't have.

I did took a look at django's guide area on their project site. I
can't really find a solution.

any idea how I can do this. I know how to do it in php.
--~--~-~--~~~---~--~~
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] errors with django.

2009-04-18 Thread Aaron

I need to know how the urls work.

I  would get errors on all 3 pages plus the admin.

here is the error:

: Caught an exception
while rendering: Reverse for 'settings.contact-consultation-request'
with arguments '()' and keyword arguments '{}' not found. Original
Traceback (most recent call last): File "/home/aaron/websites/
Chillenvillen.com/apps/google_app_engine/mci-new2/common/zip-packages/
django-1.0.2.zip/django/template/debug.py", line 71, in render_node
File "/home/aaron/websites/Chillenvillen.com/apps/google_app_engine/
mci-new2/common/zip-packages/django-1.0.2.zip/django/template/
defaulttags.py", line 378, in render args=args, kwargs=kwargs) File "/
home/aaron/websites/Chillenvillen.com/apps/google_app_engine/mci-new2/
common/zip-packages/django-1.0.2.zip/django/core/urlresolvers.py",
line 254, in reverse File "/home/aaron/websites/Chillenvillen.com/apps/
google_app_engine/mci-new2/common/zip-packages/django-1.0.2.zip/django/
core/urlresolvers.py", line 243, in reverse NoReverseMatch: Reverse
for 'settings.contact-consultation-request' with arguments '()' and
keyword arguments '{}' not found.
  args = (u"Caught an exception while rendering: Reverse
for...uments '()' and keyword arguments '{}' not found.",)
  exc_info = (,
NoReverseMatch("Reverse for 'settings.contact-co...nts '()' and
keyword arguments '{}' not found.",), )
  message = u"Caught an exception while rendering: Reverse
for...uments '()' and keyword arguments '{}' not found."
  source = (, (894, 932))



when I change the url.py and take out contact.views  out of url.py.
then this error would disappear.
yet the forms would still not work.

I would get this error when I submit the forms:

'str' object is not callable

that's it. I don't know whats the problem. I asked in django's group
and not many people had any idea what's wrong.

Some told me to try this and that but it didn't work.

does anyone here know what could be the problem?
--~--~-~--~~~---~--~~
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] I need help with passing variable values from datastore to html files.

2009-04-30 Thread Aaron

the subject  says it all.  I am working on  a ad rotation system.  I
have to grab the url data of the ad from the datastore database and
then  send that data to a html file to put that url  in a  html image
tag.

any ideas how I should go abouts doing  this?  Here is what I have so
far:


here is the views.py code:


def get_ad(request):
  total_entries = Ad.all().count()
  ad_all = Ad.all()[:total_entries]
  ad = random.choice(ad_all)
  return HttpResponse(ad.adurl)


here is the models.py  code


class Ad(db.Model):
   name = db.StringProperty()
   adurl = db.StringProperty()
   number= db.IntegerProperty()


Here is the html code :



any ideas?

currently with the code I show I still  see no ads showing up. I even
tried printing some variables and I s till see nothing getting
fetched.

any ideas what I should do?

--~--~-~--~~~---~--~~
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: I need help with passing variable values from datastore to html files.

2009-04-30 Thread Aaron

This is what I have so far:

def get_ad():
  total_count = Ad.all().count()
  all_Ads = Query(Ad).fetch(1000)
  memcache.add("total_count_of_ads", total_count)

  # assume total_ads to be less than 1000 for now
  a_random_Ad = random.randint(0, total_count - 1)
  my_random_Ad = all_Ads[a_random_Ad]
  #print my_random_Ad.name

  # if you are using Django templates, it can be passed to the HTMl
form as
  template_values = dict()
  template_values['ad_url'] = my_random_Ad.adurl

  # and then pass this template values and render the template
  # render_to_response(request, template, data, mimetype)
  template_path = string.join(os.path.dirname(__file__).split('/')
[:-1], '/')+ '/templates/root.html'

  t = get_template(template_path)
  html = t.render(Context(template_values))
  return html
--~--~-~--~~~---~--~~
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] passing a variable value from html file to views.py

2009-05-05 Thread Aaron

HI, I need help on passing a variable from the html file to views.py

what I am doing is making a ad system. Currently working on making a
clicks per ad count.

So I have it structured like this:

Their is 2 files:  views.py   and  context.py

context.py  this files job is to send variable values to the html
file.

This will be the ads graphic url and also the website url.

then at the html file.  I put the ads url to the site variable in a
form with a input type hidden.

I then have javascript that will autmaticly submit the forms. The
forms action is the url that I specified in urls.py.

Now  I have in the urls.py to point to the function in views.py that
will handel the processing.

So right now I am getting an Error  :   MultiValueDictKeyError

then it says : "Key 'adr' not found in "

The adr  code is :  url = request.POST['adr']


what do I need to pass a variable value from a form or any other
method.

I need to have a way that when they click the ad that I would send the
ads url to the website to views.py

because the views.py  will update the database by a field named
number of clicks  and it would just add 1 to that number.

Then it would redirect the user to the ads url to the ads website.

thats what I need to do and so far am having trouble getting something
to work.


I am new to google apps engine and django.

we use both google apps engine and django.
--~--~-~--~~~---~--~~
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 apps how to make a test url...

2009-05-14 Thread Aaron


I know that but  the company had a previous programmer that made the
site.

He made some app that  will test the site it's for testing purposes.
For example the url would be  dev.mydomain.com

that would be the url where I can go to and check out how the site
looks and test the functions of it.
It will be live but  it's not the offical version just for testing
purposes then I would  upload it to the app that will  use the url:
www.mydomain.com

Currently the previous programmer dosen't remeber what that app name
was.

So I am woundering if  their is any way I can recover that app name?

I mean I know the url. I thought if I send a e-mail to google  asking
if they can look it up .

Cause I am new to google app engine  So I am not 100% sure how it
works.


--~--~-~--~~~---~--~~
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 apps engine online error.

2009-05-19 Thread Aaron

ok, I am getting a server error 500.

currently I got  django ... www.mydomain.com/admin to work.

this is djangos admin area where I need to login too.

what I need to do is go to the url  www.mydomain.com/account/login

this supposed to bring up a login screen where I put a e-mail address
and password which when submitted it will automaticly be the admin
account used for the admin area.

Yet when I go to that url I don't see a login screen but get
redirected to www.mydomain.com

So how can I fix this?  In google apps engine online when I look at
the datastore data view I get the server error 500.

any ideas what the problem could be?
--~--~-~--~~~---~--~~
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] using django with google app engine.

2009-05-20 Thread Aaron

Hi, i uploaded a app that uses django.

here is where it is  dev.mobileconsultinginc.com/admin

this admin area is django.

I already asked on djangos group and also the IRC rooms.

I was told that django admin won't work properly because that it uses
djangos models not datastore database models.

so they told me to ask here. They said someone here should have a work
around this problem.


I can't create a superuser meaning an admin account for the django
admin area.


Does anyone know a work around this?  or what I should do?

I am stuck.
--~--~-~--~~~---~--~~
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] Need help with making additational html pages

2009-05-26 Thread Aaron

Hi, how can I add more html pages with my app?

I am just using google app engine.

I already got the first page working. Now I need to add additonal
pages.

for example  the url / is root meaning the main page.

I want to add  /home   url which will direct the request to home.html

I  want the url to be /home and not /home/home.html.

How can I do this?

in the app.yaml I tried to add the static_files code followed up
upload files.

this shows nothing for the url /home.


any ideas how to add html files that uses a url we specified?
--~--~-~--~~~---~--~~
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: Novice getting started: advice on getting to grips with App Engine

2010-11-14 Thread aaron
Thanks @Derrick and @Robert for your quick responses. I'll definitely
check out those references and hope to get some apps up and running
soon.

On Nov 14, 8:37 pm, Derrick Schneider 
wrote:
> I actually found the upcoming Code in the Cloud from Pragmatic Programmers
> to be a good starting point. It won't give you a ton of depth, but it does
> give you some examples that get you well grounded for the rest of the
> AppEngine experience.
>
> On Sun, Nov 14, 2010 at 12:08 PM, Robert Kluin wrote:
>
>
>
>
>
>
>
>
>
> > For learning Python the docs, like the tutorial, at python.org are
> > very useful.  Dive Into Python is a pretty good reference.
> >  http://docs.python.org/tutorial/
> >  http://diveintopython.org/
>
> > If you are trying to get a handle on App Engine read through some of
> > the reference.
> >  http://code.google.com/appengine/docs/python/overview.html
> > You might want to focus on the webapp and datastore sections:
> >  http://code.google.com/appengine/docs/python/tools/webapp/
> >  http://code.google.com/appengine/docs/python/datastore/
>
> > There are many good resources for learning.  If you have specific
> > questions, or topics that are confusing post back to the list and I am
> > sure people will offer suggestions about resources they find / found
> > helpful.
>
> > Robert
>
> > On Sun, Nov 14, 2010 at 14:48, Aaron Jerling 
> > wrote:
> > > Hi guys,
> > > I've got an idea for a web app that I'd love to put together. I started
> > off
> > > (last week) learning PHP and SQL until someone pointed me towards app
> > engine
> > > as a better solution / platform to launch my project. I have no python
> > > experience, limited html experience and despite going through the app
> > engine
> > > python tutorial seemed to have 'missed' the keys to getting started.
> > > I do have programming experience (scientific languages like matlab,
> > labview
> > > etc.), and spent the last few days working through How To Learn Python
> > The
> > > Hard Way and have gotten through it alright. But I've got 20 pages left
> > (out
> > > of 160) and still have no real concept on how to get started. Are there
> > any
> > > good resources, tips or whatever that you know of to get me up to speed?
> > > cheers.
>
> > > --
> > > 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 > >  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 > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Writer. Programmer. Puzzle Designer.http://www.obsessionwithfood.com

-- 
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: Novice getting started: advice on getting to grips with App Engine

2010-11-15 Thread aaron
Hi there,

I have gone through that tutorial, but as I mentioned i did miss the
key points, so right now I'm brushing up on python and am just
starting off with using python in conjuction with app engine.

Resources I've found helpful so far (I left out the ones that could
have been better):

For Python (my first port of call in this mission and all very good)

Learn Python the Hard Way
http://docs.python.org/tutorial/
http://diveintopython.org/ -
Python for Software design by Allen Downey

For google apps

Oreilly - Programming Google Apps Engine (just working through this
now)
As soon as I've been through this book I'll have a look at the google
apps getting started guide and docs again.



On Nov 15, 7:53 pm, Ben  wrote:
> I assume you have checked out the getting started guide already, but
> since no one linked it 
> yet:http://code.google.com/appengine/docs/python/gettingstarted/
> this will take you from nothing to "hello world".
>
> On Nov 15, 1:30 am, Wim den Ouden  wrote:
>
>
>
>
>
>
>
> >http://code.google.com/p/relat/wiki/gaetips
> > gr
> > wim
>
> > On Sun, Nov 14, 2010 at 8:48 PM, Aaron Jerling  
> > wrote:
> > > Hi guys,
> > > I've got an idea for a web app that I'd love to put together. I started 
> > > off
> > > (last week) learning PHP and SQL until someone pointed me towards app 
> > > engine
> > > as a better solution / platform to launch my project. I have no python
> > > experience, limited html experience and despite going through the app 
> > > engine
> > > python tutorial seemed to have 'missed' the keys to getting started.
> > > I do have programming experience (scientific languages like matlab, 
> > > labview
> > > etc.), and spent the last few days working through How To Learn Python The
> > > Hard Way and have gotten through it alright. But I've got 20 pages left 
> > > (out
> > > of 160) and still have no real concept on how to get started. Are there 
> > > any
> > > good resources, tips or whatever that you know of to get me up to speed?
> > > cheers.
>
> > > --
> > > 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.
>
> > --
> > gr
> > wdo
>
> > Demo free E-business:https://e-comm.appspot.com
> > Wim den Ouden Google App Engine (cloud)

-- 
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] google app engine & the EU data protection act

2010-11-16 Thread aaron
Hi guys,

I was just wondering whether google app engine datastore made any
accommodation for the EU data protection act - specifically the
principal:

"Personal data shall not be transferred to a country or territory
outside the European Economic Area unless that country or territory
ensures an adequate level of protection for the rights and freedoms of
data subjects in relation to the processing of personal data."

The principal and the data protection act is obligatory for any
organisation operating within the EU.

I had a quick search on the app engine site but couldn't see anything
mentioning 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-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: Novice getting started: advice on getting to grips with App Engine

2010-11-18 Thread aaron
Hi there,

not sure if that unpublished comment was directed at my list - and if
so, not sure why...

Anyway Martin I have had a look at the GAE tutorial and it was useful,
however I wasn't clear on the very basics of python spits out this
variable / object, the seperate html file displays said variable /
object to the user. The tutorial just jumps in the deep end. A good
friend of mine helped me understand it though - I'll put some code on
github soon showing how to do it in baby steps (suitable for novices
like me).

Aaron

On Nov 16, 8:19 pm, Martin Melin  wrote:
> On Mon, Nov 15, 2010 at 10:06 PM, B Woods  wrote:
> > So how do you have access to a book that isnt even in print yet?
> > Sounds like more of a boast than a recommendation.
>
> Chill out. They publish upcoming books in "beta" - you get an ebook
> version right away and new "releases" of the book every now and then.
>
> OP: If you've gone through Learn Python the Hard Way and think you get
> it, I'd start out with Google'sGettingStartedguide for Python that
> Ben linked to. I thought it was great for agettingstartedguide and
> you get to upload an app pretty quickly.
>
> Cheers,
> Martin

-- 
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] Copying Entities to Another Application Failing

2011-01-08 Thread Aaron
Hi App Engine Team,

I am trying to copy ~160GB of data to a new application for backup/failback 
purposes.  I have followed the instructions outlined here 
http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html#Copy_Your_Data.
 
 

However, when I try to start the copy job, I am getting the following error: 
 Datastore writes have been disabled by an application administrator. Writes 
can be re-enabled in the admin console.

I only disabled datastore writes for my "source" application (the app that 
data is being copied from). The target application has writes enabled. Any 
help on this issue would be greatly appreciated.

I could try to re-enable writes on my source application. However, I fear 
that this may result in corruption of data in my datastore.

Thanks in advance.

-- 
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: Copying Entities to Another Application Failing

2011-01-10 Thread Aaron
Hi,

I just wanted to bump this a little because I'm still stuck on this
problem.  Would really appreciate any help.

On Jan 8, 11:27 pm, Aaron  wrote:
> Hi App Engine Team,
>
> I am trying to copy ~160GB of data to a new application for backup/failback
> purposes.  I have followed the instructions outlined 
> herehttp://code.google.com/appengine/docs/adminconsole/datastoreadmin.htm
>
> However, when I try to start the copy job, I am getting the following error:
>  Datastore writes have been disabled by an application administrator. Writes
> can be re-enabled in the admin console.
>
> I only disabled datastore writes for my "source" application (the app that
> data is being copied from). The target application has writes enabled. Any
> help on this issue would be greatly appreciated.
>
> I could try to re-enable writes on my source application. However, I fear
> that this may result in corruption of data in my datastore.
>
> Thanks in advance.

-- 
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: Copying Entities to Another Application Failing

2011-01-13 Thread Aaron
I ended up enabling writes, and the copy finished successfully.

Thanks, Aaron

On Jan 11, 9:01 pm, Alfred Fuller 
wrote:
> Can you give us the source app id and a stack trace?
>
> Thanks,
>
> Alfred
>
>
>
>
>
>
>
> On Mon, Jan 10, 2011 at 9:43 AM, Aaron  wrote:
> > Hi,
>
> > I just wanted to bump this a little because I'm still stuck on this
> > problem.  Would really appreciate any help.
>
> > On Jan 8, 11:27 pm, Aaron  wrote:
> > > Hi App Engine Team,
>
> > > I am trying to copy ~160GB of data to a new application for
> > backup/failback
> > > purposes.  I have followed the instructions outlined herehttp://
> > code.google.com/appengine/docs/adminconsole/datastoreadmin.htm
>
> > > However, when I try to start the copy job, I am getting the following
> > error:
> > >  Datastore writes have been disabled by an application administrator.
> > Writes
> > > can be re-enabled in the admin console.
>
> > > I only disabled datastore writes for my "source" application (the app
> > that
> > > data is being copied from). The target application has writes enabled.
> > Any
> > > help on this issue would be greatly appreciated.
>
> > > I could try to re-enable writes on my source application. However, I fear
> > > that this may result in corruption of data in my datastore.
>
> > > Thanks in advance.
>
> > --
> > 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 > 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-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] Admin Console Charging and Using Quota For No Reason

2011-01-13 Thread Aaron
Hi,

My app id is the-rainmaker-backup.  I have only sent two page requests
(loading static html), and my daily CPU quota of $2 has been used up.
This is verified when I look at 'All Requests' in the admin console, I
only see two requests.  Please advise.

-- 
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: IP geocoding/geolocation in Google App Engine

2011-01-14 Thread Aaron
Nice, I'll try it out.

-- 
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] BadRequestError: Too many indexed properties

2011-01-30 Thread Aaron
Hi,

I'm getting the following error:

BadRequestError: Too many indexed properties for entity
datastore_types.Key.from_path(u'Users', 2897472L, _app=u'').

At first, I thought this might be an exploding index problem, but I do
not have any indexes built for this entity kind.  Is there another
reason this error might be occuring?

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] Pre-Call Hooks to UrlFetch Not Working - possible bug?

2011-03-03 Thread Aaron
Hi,

In my testing, it seems like setting a default deadline for urlfetch
is not working in production.  I have replicated the behavior that I'm
seeing in the barest form below.  Essentially, I'm trying to do a GET
request for a URL that hangs for six seconds before returning.  With
the default time out of 5 on urlfetch, this times out.  So, I'm trying
to use a pre-call hook to extend the default timeout to 10 seconds.

On dev_appserver, this code works perfectly.  The timeout set in the
pre-call hook is respected.  However, in production, the default time
out is never observed.  As a result, the TestFetch handler times out.
I'm logging the pre-call hook, so I know that the hook is being
installed and used.  It seems like set_deadline is just not being
observed.

I will leave up the hanging request, so that anybody can replicate the
behavior I'm seeing.  Does anyone know what might be going on?

#BELOW IS main.py IN ITS BAREST FORM
import logging
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.api import urlfetch
from google.appengine.api import apiproxy_stub_map

def urlfetch_timeout_hook(service, call, request, response):
  if call != 'Fetch':
return
  # Make the default deadline 10 seconds instead of 5.
  if not request.has_deadline():
request.set_deadline(10.0)
logging.info("HAS DEADLINE: %s" % str(request.has_deadline()))

apiproxy_stub_map.apiproxy.GetPreCallHooks().Append('urlfetch_timeout_hook',
urlfetch_timeout_hook, 'urlfetch')

class TestFetch(webapp.RequestHandler):
def get(self):
host='http://184.72.254.178:7071'
urlfetch.fetch(host+'/proxy')
return
def main():

handlers = [
(r"/test1", TestFetch),
]

application = webapp.WSGIApplication(handlers,debug=True)
logging.getLogger().setLevel(logging.DEBUG)
run_wsgi_app(application)

if __name__ == "__main__":
main()

-- 
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] Cant Update Indexes or Access Indexes in Datastore Admin

2011-03-03 Thread Aaron
Hi,

For the past two days, I haven't been able to upload my index
definitions when I deploy.  I receive a message saying: "Your app was
updated, but there was an error updating your indexes. Please retry
later with appcfg.py update_indexes."

When I try to update_indexes I get a 500 error.  In addition, when I
log into my admin console, I get a server error when trying to view my
Datastore Indexes.

Any help in this matter would be greatly appreciated.

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: Cant Update Indexes or Access Indexes in Datastore Admin

2011-03-04 Thread Aaron
Never mind.  I'm in now.

On Mar 3, 11:20 pm, Aaron  wrote:
> Hi,
>
> For the past two days, I haven't been able to upload my index
> definitions when I deploy.  I receive a message saying: "Your app was
> updated, but there was an error updating your indexes. Please retry
> later with appcfg.py update_indexes."
>
> When I try to update_indexes I get a 500 error.  In addition, when I
> log into my admin console, I get a server error when trying to view my
> Datastore Indexes.
>
> Any help in this matter would be greatly appreciated.
>
> 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] Solutions to an Exploding Index Problem

2011-03-11 Thread Aaron
Hi, I'm currently running into an exploding index problem with the
following model:
class Keywords(db.Model):
owners_saved = db.ListProperty(db.Key)#list of user keys who saved
this keyword
topics = db.ListProperty(db.Key)#list of keys of topic objects
sort1property = db.IntegerProperty#need to sort by this

Keywords can mark as saved, and I need to be able to query for
keywords a user has saved that are in a specific topic area.  I'm
running into an exploding index problem because I need to be able to
query by a composite index on two list properties (owners_saved and
topics)...both list properties can potentially become really long.

Can anyone suggest a way for me to be able to avoid the exploding
index problem AND be able to sort by property?

Thanks in advance!

-- 
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: Solutions to an Exploding Index Problem

2011-03-11 Thread Aaron
Hi Jay,

Exactly, I need to query for keywords based on user and topic.

That's an interesting suggestion, but the list of saved keywords can
get longer than 5000.  I also need to be able to sort by a number of
different integer properties that I didn't explicitly include in the
model.

On Mar 11, 9:40 am, Jay  wrote:
> So you have the user and the topic, and want the key words? Do I have that
> right?
>
> What about moving the saved keywords to the user? You might do something
> like cat them together in a list on user. How big do you expect the list to
> get per user?

-- 
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] Datastore Admin Tasks Stuck

2011-03-31 Thread Aaron
Hi,

I have had two tasks in my datastre admin console that were started
several weeks ago that still say they are active.  I believe this may
have been caused by a purged queue.  Is there a way to mark these
tasks as complete?

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.



Re: [google-appengine] Re: Please Help with Soft Memory Limit Issues

2010-06-09 Thread Aaron Cheung
Is there no way to find out what is sucking up all this memory?  Thanks!

On Wed, Jun 9, 2010 at 12:40 AM, Brandon Thomson  wrote:

> This issue has been open for about a year:
>
> http://code.google.com/p/googleappengine/issues/detail?id=1646
>
> Also, appstats is showing total CPU usage, not total memory usage.
>
> On Jun 9, 3:29 am, Aaron  wrote:
> > Here is an example of the AppStats record for a sample page load.
> > This happens consistenly even when I"m only refreshing a static page.
> > As you can see, RPC's are extremely low, but Grand Total memory usage
> > is off the charts, which is requiring the application to cold start on
> > every load.
> >
> > http://grab.by/4POM
> >
> > On Jun 9, 12:21 am, Bill Edwards  wrote:
> >
> >
> >
> > > Hi GAE Team!
> >
> > > I am having a serious problem with my application.  As of recently,
> > > every request that is being issued is resulting in the following
> > > error:
> >
> > > "After handling this request, the process that handled this request
> > > was found to be using too much memory and was terminated. This is
> > > likely to cause a new process to be used for the next request to your
> > > application. If you see this message frequently, you may have a memory
> > > leak in your application."
> >
> > > I believe as a result, every request is requiring a new instance to be
> > > loaded up in memory.  This is giving me very high user latency.  These
> > > problems did not prop up until the beginning of the datastore issues.
> >
> > > However, I have been talking to other GAE users, and they are not
> > > having the as serious problems as I am seeing.  I would think that
> > > this may have something to do with my query usage.  However, these
> > > errors prop up even on my static pages.
> >
> > > Please help me look for a solution to this problem.  I greatly
> > > appreciate your time!
>
> --
> 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.
>
>

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



Re: [google-appengine] Deferred Library Not Working Intermittently

2010-06-13 Thread Aaron Cheung
Hi guys,

I'm still having trouble debugging this error.  Would appreciate any
thoughts!

Thanks,
Aaron

On Sat, Jun 12, 2010 at 3:55 AM, Aaron  wrote:

> Hi!
>
> I am currently implementing the deferred library in my code, and I am
> running into a very very strange problem.  The function that I am
> deferring gets passed an entity key.  It does two tasks: 1) Gets the
> entity,  retrieves a reference property, alters it, and then puts it
> back 2)Sends out an email
>
> The email is getting sent out every time the deferred function is
> called.  BUT, the first task only completes 2/3 of the time.  I have
> been replicating this error over and over and have yet to find any
> pattern in the failures.  Here is the deferred function
>
> def complete_insert(self, data, answer_key, userkey):
>a = db.get(answer_key)
>q = a.question
>q.answercount += 1
>q.answerers += [str(userkey)]
>q.answerers = list(set(q.answerers))
>q.answered = True
>q.lastanswer = str(answer_key)
>q.lastanswerdate = datetime.now()
>q.put()
>
>mail = Mail()
>followers = db.get(q.indexes.followerlist)
>emails = []
>for follower in followers:
>mail.send(emails, "question-followers-email", params =
> {"question": common.strip_html(q.question),
> "details":common.strip_html(q.details), "slug":q.slug,
> "answer":common.strip_html(data["answer"])} )
>
> A couple observations that make this even more boggling.  I can tell
> when the function fails because the counter does not increment and the
> other properties do not change.  However, when it fails, I can see the
> put() being done in AppStats under /ah/deferred.  FURthermore, I have
> checked that the values being passed into the function are the ones
> that I am expecting.  (I did this by adding another put that wrote the
> arguments to a test model)
>
> I have absolutely no idea what could be going on here.  Is this a bug?
>
> Very best and thanks for your time,
> Aaron
>
> --
> 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.
>
>

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



Re: [google-appengine] Deferred Library Not Working Intermittently

2010-06-13 Thread Aaron Cheung
Hi Nick,

Unfortunately, putting the update inside a transaction didn't solve the
problem.  This problem is currently occuring on the SDK, where there
shouldn't be any concurrency issues.  I looked into AppStats again, and I
can clearly seeing the datastore.v3Commit taking place.  And, I am pretty
sure the values are being passed in and set properly.  It just fails a large
portion of the time.  Any other ideas?

Very best and thanks for your help,
Aaron

On Sun, Jun 13, 2010 at 4:47 AM, Nick Johnson (Google) <
nick.john...@google.com> wrote:

> Hi Aaron,
>
> Since you're not doing the update inside a transaction, it's likely that
> what's happening is that multiple tasks are updating the entity at the same
> time, which results in a concurrency issue: Both tasks fetch the entity and
> modify it, and the one that does the put last is the one whose results are
> visible.
>
> Doing the update in a transaction should fix this.
>
> -Nick Johnson
>
> On Sun, Jun 13, 2010 at 8:50 AM, Aaron Cheung wrote:
>
>> Hi guys,
>>
>> I'm still having trouble debugging this error.  Would appreciate any
>> thoughts!
>>
>> Thanks,
>> Aaron
>>
>>
>> On Sat, Jun 12, 2010 at 3:55 AM, Aaron  wrote:
>>
>>> Hi!
>>>
>>> I am currently implementing the deferred library in my code, and I am
>>> running into a very very strange problem.  The function that I am
>>> deferring gets passed an entity key.  It does two tasks: 1) Gets the
>>> entity,  retrieves a reference property, alters it, and then puts it
>>> back 2)Sends out an email
>>>
>>> The email is getting sent out every time the deferred function is
>>> called.  BUT, the first task only completes 2/3 of the time.  I have
>>> been replicating this error over and over and have yet to find any
>>> pattern in the failures.  Here is the deferred function
>>>
>>> def complete_insert(self, data, answer_key, userkey):
>>>a = db.get(answer_key)
>>>q = a.question
>>>q.answercount += 1
>>>q.answerers += [str(userkey)]
>>>q.answerers = list(set(q.answerers))
>>>q.answered = True
>>>q.lastanswer = str(answer_key)
>>>q.lastanswerdate = datetime.now()
>>>q.put()
>>>
>>>mail = Mail()
>>>followers = db.get(q.indexes.followerlist)
>>>emails = []
>>>for follower in followers:
>>>mail.send(emails, "question-followers-email", params =
>>> {"question": common.strip_html(q.question),
>>> "details":common.strip_html(q.details), "slug":q.slug,
>>> "answer":common.strip_html(data["answer"])} )
>>>
>>> A couple observations that make this even more boggling.  I can tell
>>> when the function fails because the counter does not increment and the
>>> other properties do not change.  However, when it fails, I can see the
>>> put() being done in AppStats under /ah/deferred.  FURthermore, I have
>>> checked that the values being passed into the function are the ones
>>> that I am expecting.  (I did this by adding another put that wrote the
>>> arguments to a test model)
>>>
>>> I have absolutely no idea what could be going on here.  Is this a bug?
>>>
>>> Very best and thanks for your time,
>>> Aaron
>>>
>>> --
>>> 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.
>>>
>>>
>>  --
>> 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.
>>
>
>
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd.
> :: Registered in Dublin, Ireland, Registration Number: 368047
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047
>
> --
> 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.
>

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



Re: [google-appengine] Deferred Library Not Working Intermittently

2010-06-14 Thread Aaron Cheung
I'd like to update this thread with a new set of observations.  Most
importantly, I have divorced myself from the notion that this has anythign
to do with the deferred library.

When I took the datastore puts out of the deferred function, they still
failed to complete.  When I put the puts inside a transaction, it helps a
little bit, but the puts still fail about a third of the time.  My question
is why this would be happening on the SDK.  There is nothing else running in
the background when these puts are getting issued.

Your thoughts are much appreciated!

On Sun, Jun 13, 2010 at 2:58 PM, Alon Carmel  wrote:

> having the same issue exactly. deferred lib runs two tasks then halts
> without uppering the counter. i thought i had some issue.
> -
> Cheers,
> public static function AlonCarmel() {
> //Contact me
> var email = 'a...@aloncarmel.me';
> var twitter = '@aloncarmel';
> var web = 'http://aloncarmel.me';
> var phone = '+972-54-4860380';
> }
>
> * If you received an unsolicited email from by mistake that wasn't of your
> matter please delete immediately. All E-mail sent from Alon Carmel is
> copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
> Alon Carmel are owned by the Author only. Any attempt to duplicate or
> imitate any of the Content is prohibited under copyright law 2008.
>
>
>
> On Sun, Jun 13, 2010 at 11:00 PM, Aaron Cheung 
> wrote:
>
>> Hi Nick,
>>
>> Unfortunately, putting the update inside a transaction didn't solve the
>> problem.  This problem is currently occuring on the SDK, where there
>> shouldn't be any concurrency issues.  I looked into AppStats again, and I
>> can clearly seeing the datastore.v3Commit taking place.  And, I am pretty
>> sure the values are being passed in and set properly.  It just fails a large
>> portion of the time.  Any other ideas?
>>
>> Very best and thanks for your help,
>> Aaron
>>
>>
>> On Sun, Jun 13, 2010 at 4:47 AM, Nick Johnson (Google) <
>> nick.john...@google.com> wrote:
>>
>>> Hi Aaron,
>>>
>>> Since you're not doing the update inside a transaction, it's likely that
>>> what's happening is that multiple tasks are updating the entity at the same
>>> time, which results in a concurrency issue: Both tasks fetch the entity and
>>> modify it, and the one that does the put last is the one whose results are
>>> visible.
>>>
>>> Doing the update in a transaction should fix this.
>>>
>>> -Nick Johnson
>>>
>>> On Sun, Jun 13, 2010 at 8:50 AM, Aaron Cheung 
>>> wrote:
>>>
>>>> Hi guys,
>>>>
>>>> I'm still having trouble debugging this error.  Would appreciate any
>>>> thoughts!
>>>>
>>>> Thanks,
>>>> Aaron
>>>>
>>>>
>>>> On Sat, Jun 12, 2010 at 3:55 AM, Aaron wrote:
>>>>
>>>>> Hi!
>>>>>
>>>>> I am currently implementing the deferred library in my code, and I am
>>>>> running into a very very strange problem.  The function that I am
>>>>> deferring gets passed an entity key.  It does two tasks: 1) Gets the
>>>>> entity,  retrieves a reference property, alters it, and then puts it
>>>>> back 2)Sends out an email
>>>>>
>>>>> The email is getting sent out every time the deferred function is
>>>>> called.  BUT, the first task only completes 2/3 of the time.  I have
>>>>> been replicating this error over and over and have yet to find any
>>>>> pattern in the failures.  Here is the deferred function
>>>>>
>>>>> def complete_insert(self, data, answer_key, userkey):
>>>>>a = db.get(answer_key)
>>>>>q = a.question
>>>>>q.answercount += 1
>>>>>q.answerers += [str(userkey)]
>>>>>q.answerers = list(set(q.answerers))
>>>>>q.answered = True
>>>>>q.lastanswer = str(answer_key)
>>>>>q.lastanswerdate = datetime.now()
>>>>>q.put()
>>>>>
>>>>>mail = Mail()
>>>>>followers = db.get(q.indexes.followerlist)
>>>>>emails = []
>>>>>for follower in followers:
>>>>>mail.send(emails, "question-followers-email", params =
>>>>> {"question": common.strip_html(q.question),
>>>

[google-appengine] Building a web development business on App engine

2011-08-08 Thread Aaron Groves
I'm looking at doing some web development to help pay my way through Uni, 
and I've been trying to find out if GAE is an appropriate platform to use as 
a... hosting provider provider I suppose. It seems very well suited to it.

For example, if a local business contracts me to build a site for them, 
would I be able to charge them for this service, and while I know I can't 
charge for hosting, can I charge for ongoing monthly maintenance or updates?

If I can do this, what's the best way to organize this? Should I build their 
website/app on my account, or should I get the customer to create an account 
and then push to that?

My apologies if this is answered somewhere, I spent some time searching and 
couldn't get a clear answer.

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



Re: [google-appengine] Building a web development business on App engine

2011-08-08 Thread Aaron Groves
Ikai,

Awesome! Thank you very much for the information! I better get started then 
=)

Cheers,

Aaron Groves

-- 
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/-/NDiRansQM4wJ.
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] App was down from 2011-08-08 17:28 (EDT) to 2011-08-08 17:51 (EDT). How do I find out what happened?

2011-08-09 Thread Aaron Shepherd
My application was down for 23 minutes this afternoon.

When going to the app it just stated "/ not found on this server".  There 
were no instances showing in the dashboard.

Now my "always on" instances are missing.  And my monitoring is showing 
extremely high latency (like 15second response time).

How can I find out what happened?

Aaron Shepherd

-- 
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/-/3zzgS2-QqP4J.
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] How do you check your current load?

2011-11-13 Thread Aaron Hildebrandt
You used to be able to check your current load in your app's control panel 
-- it seems to be gone now, or I have gone completely blind. I'm rapidly 
approaching my Frontend Instance Hours quota, and I'd like to know exactly 
what's the biggest strain on the system.

-- 
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/-/pyGk16OIfsYJ.
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] How do you know if your Frontend Instance Hours are 'normal'?

2011-11-21 Thread Aaron Hildebrandt
I have a site on GAE that is mostly just serving a small website that has 
all the HTML in Memcache (but even when it's not, the site is extremely 
light to rerender). I get 4k to 6k hits a day.

My daily frontend instance hours hovers between 30 and 60. Also, around ten 
times a day, I get the following message in my logs: This request caused a 
new process to be started for your application, and thus caused your 
application code to be loaded for the first time. This request may thus 
take longer and use more CPU than a typical request for your application.

Does this seem right for such a simple site? I would have thought that 
having all the HTML in Memcache would have kept my instance hours much 
smaller than that, and starting new instances ten times a day seems like 
overkill. But I really have no idea -- there seems to be a lack of tools 
that actually narrow down what's causing spikes in instance hours or 
instances.

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



Re: [google-appengine] Multiple domains and multiple applications on same apps account

2012-01-10 Thread Aaron Roller
It is as easy as Robert describes with one exception.  Make sure your 
secondary domain is added as an "alias" of your primary domain rather than 
"independent".  I went deep down the rabbit hole until I deleted my 
"independent" domain and re-added it as an alias...and my mapping was 
working seconds later.  Hopefully my addition will keep someone else from 
going down the rabbit hole.

-- 
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/-/ejLNKGDJT3EJ.
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] Deployment failure with Python SDK 1.6.1

2012-01-29 Thread Aaron Steele
Hey Everyone, 

I'm seeing a strange deployment error when uploading my app via "appcfg.py 
update -V test ." with Python SDK 1.6.1 and Python 2.7.2+ on Ubuntu:

Cloning 212 static files.
Cloned 100 files.
Cloned 200 files.
Cloning 25 application files.
Rolling back the update.
Error 400: --- begin server output ---
The POST body must be a newline delimited list of "path|hash" pairs.
--- end server output ---


Thoughts?

Thanks!
Aaron

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



  1   2   >