[google-appengine] Re: The queued task never executes, and see 302 in the logs, what am I doing wrong?

2009-06-28 Thread Jon McAlister

This is correct, great catch!

The 302 is it redirecting from a http:// url to an https:// url.

This is definitely a bug, would you mind filing it in the issue
tracker? Please include the behavior you expect to see in the issue.

On Sat, Jun 27, 2009 at 8:48 PM, gae123 wrote:
>
> Well this is a tip about an issue that took me a while to
> troubleshoot. If your app.yaml file has
>
>   secure: always
>
> at the URL of a task (possibly because it is also a WEB entry point)
> the task will fail to execute and you will just see a redirect/302 in
> the request logs. Then the task will be requeued.
>
> Google folks, is my observation correct and if yes is it a bug or a
> feature?
>
> 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: Admin Console functionality for Task Queue API

2009-06-28 Thread Jon McAlister

Thanks for the issues, Colin! Indeed a number of these things are on
our roadmap, but we appreciate you creating issues here and letting us
know from your perspective what are the things to add.

>From a high level viewpoint, the easiest things for us to add here
will be the queue actions and allowing more introspection into the
queues and tasks. Editing a task on the other hand will be pretty
hard, our system assumes a task is basically immutable until it is
done. Instead, we'd encourage you to delete the task and create a new
one. Obviously the way to delete a task right now is very weak (you
have to execute it), but this will improve with time.

On Sat, Jun 27, 2009 at 1:49 AM, hawkett wrote:
>
> Hi,
>
> Just a quick note that I have raised the following feature requests
> for admin console functionality relating to the Task Queue API -
>
> http://code.google.com/p/googleappengine/issues/detail?id=1770 - Task
> Details
> http://code.google.com/p/googleappengine/issues/detail?id=1771 - Task
> Functions
> http://code.google.com/p/googleappengine/issues/detail?id=1772 -
> Editing Tasks in the queue
> http://code.google.com/p/googleappengine/issues/detail?id=1773 - Queue
> Functions
> http://code.google.com/p/googleappengine/issues/detail?id=1774 -
> Tombstone Functions
>
> I figure a lot of this stuff is probably on your agenda anyway, but
> doesn't hurt.
>
> Probably the highest priority from my perspective would be
>
> - Clearing a queue and its tombstones
> - Deleting a task
> - Deleting a tombstone
>
> Cheers,
>
> Colin
> >
>

--~--~-~--~~~---~--~~
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: TransientError while using TaskQueue

2009-06-28 Thread Jon McAlister

A TransientError is an unexpected but transient failure. Typically it
is a deadlined or otherwise missed connection between two backends in
our system. We distinguish TransientError from InternalError to say
that transient errors failed but were expected to succeed (and
retrying will probably work), whereas InternalError is quite
unexpected and retries will have no effect.

http://code.google.com/appengine/docs/python/taskqueue/exceptions.html

On Wed, Jun 24, 2009 at 4:01 AM, frog wrote:
>
> "TransientError" - what does it mean? Can't find any information about
> it.
>
> 
> #
> E 06-23 06:15PM 15.165
>
> Traceback (most recent call last):
>  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> __init__.py", line 501, in __call__
>handler.get(*groups)
>  File "/base/data/home/apps/wea-srv/1.334418456097404432/
> wea_main.py", line 247, in get
>taskqueue.add(url='/entry2db', params={'dbentry': pickle.dumps
> (dbentry)})
>  File "/base/python_lib/versions/1/google/appengine/api/labs/
> taskqueue/taskqueue.py", line 637, in add
>return Task(*args, **kwargs).add()
>  File "/base/python_lib/versions/1/google/appengine/api/labs/
> taskqueue/taskqueue.py", line 495, in add
>return Queue(queue_name).add(self)
>  File "/base/python_lib/versions/1/google/appengine/api/labs/
> taskqueue/taskqueue.py", line 563, in add
>self.__TranslateError(e)
>  File "/base/python_lib/versions/1/google/appengine/api/labs/
> taskqueue/taskqueue.py", line 592, in __TranslateError
>raise TransientError(error.error_detail)
> TransientError
>
> =
>
> I've tried to run my app again and now there is no errors..
>
> >
>

--~--~-~--~~~---~--~~
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: about sharded counter

2009-06-28 Thread Emil Kjer

You need to reach the incremental method on the db object from a
webapp.RequestHandler. From the source
http://google-app-engine-samples.googlecode.com/svn/trunk/sharded-counters/main.py
the counter-main-class is defined as:

import generalcounter
import simplecounter

class CounterHandler(webapp.RequestHandler):
  """Handles displaying the values of the counters
  and requests to increment either counter.
  """

  def get(self):
template_values = {
  'simpletotal': simplecounter.get_count(),
  'generaltotal': generalcounter.get_count('FOO')
}
template_file = os.path.join(os.path.dirname(__file__),
'counter.html')
self.response.out.write(template.render(template_file,
template_values))

  def post(self):
counter = self.request.get('counter')
if counter == 'simple':
  simplecounter.increment()
else:
  generalcounter.increment('FOO')
self.redirect("/")


So just make a post like the example eg. the simple counter:

  

  


And rewrite your class to your purpose by following the counter-
example. If it to any help this i the source
http://google-app-engine-samples.googlecode.com/svn/trunk/sharded-counters/simplecounter.py

Did that make sence? :)

On Jun 28, 8:13 am, xiaojay  wrote:
> Hi guys,
>
> I am new to gae and knew count() only return the exact num only when
> the num is less than 1000
> and I read the article about sharded counter
> here:http://code.google.com/intl/en/appengine/articles/sharding_counters.html.
>
> so I start to use it in my own project
> like this:
>
> import counter
> class MyModel(db.Model):
>   name = db.StringProperty()
>
> #overwrite put so when new one is saved, counter + 1
> def put(self):
>     def txn():
>            counter.increment('MyModel')
>            return super(Mymodel, self).put()
>     return db.run_in_transaction(txn)
>
> howerver, when I test this code, get a error "BadRequestError: Nested
> transactions are not supported.
> "
> I know why. howerver, i can not figure out how to go through it
> beacuse i want save a entity and increase counter in a transaction
>
> any ideas?
> 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: about sharded counter

2009-06-28 Thread xiaojay

Thanks.howerver, that is not i want.
I just want counter to record MyModel's number,so when a new entity is
saved the counter +1, and the above two operation should be in
transaction. And I just dont know how

On Jun 28, 9:16 pm, Emil Kjer  wrote:
> You need to reach the incremental method on the db object from a
> webapp.RequestHandler. From the 
> sourcehttp://google-app-engine-samples.googlecode.com/svn/trunk/sharded-cou...
> the counter-main-class is defined as:
>
> import generalcounter
> import simplecounter
>
> class CounterHandler(webapp.RequestHandler):
>   """Handles displaying the values of the counters
>   and requests to increment either counter.
>   """
>
>   def get(self):
>     template_values = {
>       'simpletotal': simplecounter.get_count(),
>       'generaltotal': generalcounter.get_count('FOO')
>     }
>     template_file = os.path.join(os.path.dirname(__file__),
> 'counter.html')
>     self.response.out.write(template.render(template_file,
> template_values))
>
>   def post(self):
>     counter = self.request.get('counter')
>     if counter == 'simple':
>       simplecounter.increment()
>     else:
>       generalcounter.increment('FOO')
>     self.redirect("/")
>
> So just make a post like the example eg. the simple counter:
>     
>       
>
>       
>     
>
> And rewrite your class to your purpose by following the counter-
> example. If it to any help this i the 
> sourcehttp://google-app-engine-samples.googlecode.com/svn/trunk/sharded-cou...
>
> Did that make sence? :)
>
> On Jun 28, 8:13 am, xiaojay  wrote:
>
> > Hi guys,
>
> > I am new to gae and knew count() only return the exact num only when
> > the num is less than 1000
> > and I read the article about sharded counter
> > here:http://code.google.com/intl/en/appengine/articles/sharding_counters.html.
>
> > so I start to use it in my own project
> > like this:
>
> > import counter
> > class MyModel(db.Model):
> >   name = db.StringProperty()
>
> > #overwrite put so when new one is saved, counter + 1
> > def put(self):
> >     def txn():
> >            counter.increment('MyModel')
> >            return super(Mymodel, self).put()
> >     return db.run_in_transaction(txn)
>
> > howerver, when I test this code, get a error "BadRequestError: Nested
> > transactions are not supported.
> > "
> > I know why. howerver, i can not figure out how to go through it
> > beacuse i want save a entity and increase counter in a transaction
>
> > any ideas?
> > 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] TinyMCE: Minimizing File Count

2009-06-28 Thread Stephen Mayer

So I was looking for a good way to impliment a rich text editor on a
site I'm building.  There are two obvious possible options: FckEdit
and TinyMCE.  TinyMCE is smaller and has a simpler design so I decided
to work with it instead.

Starting Point: 241 files, 101 folders, 1.41mb

But since I only need the simple version of tinyMCE listed here:
http://tinymce.moxiecode.com/examples/simple.php

So I used firebug's net tab to watch which files tinyMCE actually
loaded after adding it to my page.  I created a list of these files,
and then moved them into a tiny_mce_min folder.  Then I switched to
using my minimal installation directory ... eliminating most of the
unnecessary code quickly and easily:

Ending Point: 6 files, 7 folders, 182kb

The process
1) Add the full TinyMCE to your dev enviornment, update app.yaml
2) Add TinyMCE to your script ... set any options you need to get the
version you want
3) View TinyMCE in FireFox with Firebug powered up and the Net tab
open
4) Create a version of your TinyMCE install that includes only the
files from TinyMCE that are listed in the net tab
5) Use the minimal install in your deployment rather than the full
install

Now I think we could go one step further and eliminate a few file
loads (like the lang files) if we hacked tinyMCE js code ... and get
it down to one file (or three if you count the css + images).  But
right now I don't have time to do that.

I realize that the file limit is now bigger than it used to be (now
3000 files) ... but think that it's very constructive to go through
this process.  Ultimately I don't want to use 241 of my file count
limit towards something that could be loaded in one js file.  Much of
the time we have grown used to slapping in a library but using only a
very small percentage of it.  I'm hoping that library developers soon
begin offering "custom versions" of their code that are highly
optimized for a specific task.

Hope this post might be helpful for someone else who confronts the
same problem/issue.  Another suggestion to Google: perhaps they could
host some of these commonly requested libraries by default.  I don't
think that any of the rich text editors (fckedit or tinymce) are
available on a CDN anywhere right now.

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



[google-appengine] Re: The queued task never executes, and see 302 in the logs, what am I doing wrong?

2009-06-28 Thread gae123

OK I filed issue 1786.

On Jun 28, 2:36 am, Jon McAlister  wrote:
> This is correct, great catch!
>
> The 302 is it redirecting from a http:// url to an https:// url.
>
> This is definitely a bug, would you mind filing it in the issue
> tracker? Please include the behavior you expect to see in the issue.
>
>
>
> On Sat, Jun 27, 2009 at 8:48 PM, gae123 wrote:
>
> > Well this is a tip about an issue that took me a while to
> > troubleshoot. If your app.yaml file has
>
> >   secure: always
>
> > at the URL of a task (possibly because it is also a WEB entry point)
> > the task will fail to execute and you will just see a redirect/302 in
> > the request logs. Then the task will be requeued.
>
> > Google folks, is my observation correct and if yes is it a bug or a
> > feature?
>
> > Thanks- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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: TinyMCE: Minimizing File Count

2009-06-28 Thread Tim Hoffman

I am using nicedit  http://nicedit.com/ it just decorates textareas
so
very little is required to make it work unless you want custom image
uploading within in it.
It also externally hosted so it doesn't have to add to your static
file count.

T



On Jun 28, 11:26 pm, Stephen Mayer  wrote:
> So I was looking for a good way to impliment a rich text editor on a
> site I'm building.  There are two obvious possible options: FckEdit
> and TinyMCE.  TinyMCE is smaller and has a simpler design so I decided
> to work with it instead.
>
> Starting Point: 241 files, 101 folders, 1.41mb
>
> But since I only need the simple version of tinyMCE listed 
> here:http://tinymce.moxiecode.com/examples/simple.php
>
> So I used firebug's net tab to watch which files tinyMCE actually
> loaded after adding it to my page.  I created a list of these files,
> and then moved them into a tiny_mce_min folder.  Then I switched to
> using my minimal installation directory ... eliminating most of the
> unnecessary code quickly and easily:
>
> Ending Point: 6 files, 7 folders, 182kb
>
> The process
> 1) Add the full TinyMCE to your dev enviornment, update app.yaml
> 2) Add TinyMCE to your script ... set any options you need to get the
> version you want
> 3) View TinyMCE in FireFox with Firebug powered up and the Net tab
> open
> 4) Create a version of your TinyMCE install that includes only the
> files from TinyMCE that are listed in the net tab
> 5) Use the minimal install in your deployment rather than the full
> install
>
> Now I think we could go one step further and eliminate a few file
> loads (like the lang files) if we hacked tinyMCE js code ... and get
> it down to one file (or three if you count the css + images).  But
> right now I don't have time to do that.
>
> I realize that the file limit is now bigger than it used to be (now
> 3000 files) ... but think that it's very constructive to go through
> this process.  Ultimately I don't want to use 241 of my file count
> limit towards something that could be loaded in one js file.  Much of
> the time we have grown used to slapping in a library but using only a
> very small percentage of it.  I'm hoping that library developers soon
> begin offering "custom versions" of their code that are highly
> optimized for a specific task.
>
> Hope this post might be helpful for someone else who confronts the
> same problem/issue.  Another suggestion to Google: perhaps they could
> host some of these commonly requested libraries by default.  I don't
> think that any of the rich text editors (fckedit or tinymce) are
> available on a CDN anywhere right now.
>
> - Stephen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] "Too many versions error" during upload

2009-06-28 Thread Alex Epshteyn

I've been having the same problem since yesterday (with a Java app),
Judging by how many messages there are on the groups about this the
past couple of days, this is most likely a global app engine issue
happening this weekend.  I don't think it's related to the actual
number of versions people currently have deployed nor their deployment
quota (both of mine are fine).

Cross posted:

http://groups.google.com/group/google-appengine-java/browse_thread/thread/5083c89588258546/fba352f293600709#fba352f293600709

On Jun 27, 12:11 am, Stephen Mayer  wrote:
> Howmanydeployments are you currently using?  If you delete a few old
> ones it will probably let you add a new one.  Or you could overwrite
> an old version and then deploy under that version since it probably
> takes some time before your quota resets once you reach the max number
> ofversions.  See the Deployments in your Quota Details in AppEngine
> Control Panel.
>
> Hope that helps!
> Stephen
>
> On Jun 26, 7:29 pm, manuelaraoz  wrote:
>
> > PLEASE HELP
> > this is urgent
>
> > when trying to deploy, I get this error message:
>
> > Rolling back the update.
> > Error403: --- begin server output ---
>
> >TooManyVersions(403)
> > The application already has the maximum number ofversions.
> > --- end server output ---
>
> > WHAT DOES THAT MEAN
>
> > I really need to deploy today, it's urgent
> > please please please someone help me
>
> > I've tried deleting oldversionsof my app and deploying a new one
> > (changing version id)
> > but nothing...
>
> > I'm getting desperate!!! I REALLY HAVE TO DEPLOY TODAY
> > 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: Lots of errors, using tasks to delete all the data of an app, is my experience typical?

2009-06-28 Thread djidjadji

For the Transaction to succeed more often you can lower the rate at
which the tasks are called. They battle for the same entity group
simultaneous.

--~--~-~--~~~---~--~~
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: TinyMCE: Minimizing File Count

2009-06-28 Thread johntray

To anyone using TinyMCE, I would recommend using zipserve to serve the
editor from the distribution .zip file (so that it only counts as 1
file). zipserve is not well documented, but see the source file in the
GAE distribution (google\appengine\ext\zipserve\__init__.py), also at
http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/zipserve/__init__.py.
There is also a zipserve example at 
http://code.google.com/p/google-app-engine-samples/.





On Jun 28, 12:14 pm, Tim Hoffman  wrote:
> I am using nicedit  http://nicedit.com/it just decorates textareas
> so
> very little is required to make it work unless you want custom image
> uploading within in it.
> It also externally hosted so it doesn't have to add to your static
> file count.
>
> T
>
> On Jun 28, 11:26 pm, Stephen Mayer  wrote:
>
>
>
> > So I was looking for a good way to impliment a rich text editor on a
> > site I'm building.  There are two obvious possible options: FckEdit
> > and TinyMCE.  TinyMCE is smaller and has a simpler design so I decided
> > to work with it instead.
>
> > Starting Point: 241 files, 101 folders, 1.41mb
>
> > But since I only need the simple version of tinyMCE listed 
> > here:http://tinymce.moxiecode.com/examples/simple.php
>
> > So I used firebug's net tab to watch which files tinyMCE actually
> > loaded after adding it to my page.  I created a list of these files,
> > and then moved them into a tiny_mce_min folder.  Then I switched to
> > using my minimal installation directory ... eliminating most of the
> > unnecessary code quickly and easily:
>
> > Ending Point: 6 files, 7 folders, 182kb
>
> > The process
> > 1) Add the full TinyMCE to your dev enviornment, update app.yaml
> > 2) Add TinyMCE to your script ... set any options you need to get the
> > version you want
> > 3) View TinyMCE in FireFox with Firebug powered up and the Net tab
> > open
> > 4) Create a version of your TinyMCE install that includes only the
> > files from TinyMCE that are listed in the net tab
> > 5) Use the minimal install in your deployment rather than the full
> > install
>
> > Now I think we could go one step further and eliminate a few file
> > loads (like the lang files) if we hacked tinyMCE js code ... and get
> > it down to one file (or three if you count the css + images).  But
> > right now I don't have time to do that.
>
> > I realize that the file limit is now bigger than it used to be (now
> > 3000 files) ... but think that it's very constructive to go through
> > this process.  Ultimately I don't want to use 241 of my file count
> > limit towards something that could be loaded in one js file.  Much of
> > the time we have grown used to slapping in a library but using only a
> > very small percentage of it.  I'm hoping that library developers soon
> > begin offering "custom versions" of their code that are highly
> > optimized for a specific task.
>
> > Hope this post might be helpful for someone else who confronts the
> > same problem/issue.  Another suggestion to Google: perhaps they could
> > host some of these commonly requested libraries by default.  I don't
> > think that any of the rich text editors (fckedit or tinymce) are
> > available on a CDN anywhere right now.
>
> > - Stephen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] api method to obtain version deploy time

2009-06-28 Thread Mariano Benitez

Hello,

I want to use the version deploy time as my sitemap last modified
date. The fact is that I don't find a way to do it.
I know that the CURRENT_VERSION_ID variable holds something related...

Is there a way to obtain the deploy time from CURRENT_VERSION_ID?

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: Over Quota: Datastore Indices Count

2009-06-28 Thread Thomas McKay - www.winebythebar.com

Dashboard says over quota on indices again. No updates or vacuums
today.
App: winebythebar



On Jun 23, 12:46 pm, "Jeff S (Google)"  wrote:
> Hi Thomas,
> I've reset the index count, apologies for the inconvenience.
>
> Happy coding,
>
> Jeff
>
> On Tue, Jun 23, 2009 at 9:12 AM, Thomas McKay -www.winebythebar.com<
>
> thomasfmc...@gmail.com> wrote:
>
> > My app is getting "Your application is exceeding a quota: Datastore
> > Indices Count" after a vacuum. Could I get a reset of indices count
> > please?
> > App:  winebythebar
>
> > On May 23, 11:50 pm, fedestabile  wrote:
> > > Thanks Jeff, it's working fine now :)
>
> > > Cheers,
> > > Fred
>
> > > On May 20, 5:48 am, "Jeff S (Google)"  wrote:
>
> > > > Fred, I've reset the indexcountso you should be all set. Kaspars
> > > > I've reset the indexquotaforyourapp as well and it looks like you
> > > > had some indexes which were stuck in the building state so I've moved
> > > > them to error.
>
> > > > Happy coding,
>
> > > > Jeff
>
> > > > On May 19, 2:11 am, "kaspars...@gmail.com" 
> > > > wrote:
>
> > > > > I've only 8 indexes at the moment and I'm also getting "Your
> > > > >applicationisexceedingaquota:DatastoreIndicesCount". The
> > > > >applicationis basically stuck for couple days.
>
> > > > > Could you please reset thequota, app ID is lasi2.
>
> > > > > Thanks,
> > > > > Kaspars
>
>
--~--~-~--~~~---~--~~
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: TinyMCE: Minimizing File Count

2009-06-28 Thread Stephen Mayer

I'm uncomfortable using zipserve because of its performance
characteristics.  Niceedit looks like a good option as well ...
perhaps a bit smaller than TinyMCE minimal in bytes ... since it
offers customized js packages.

On Jun 28, 8:20 pm, johntray  wrote:
> To anyone using TinyMCE, I would recommend using zipserve to serve the
> editor from the distribution .zip file (so that it only counts as 1
> file). zipserve is not well documented, but see the source file in the
> GAE distribution (google\appengine\ext\zipserve\__init__.py), also 
> athttp://code.google.com/p/googleappengine/source/browse/trunk/python/g
> There is also a zipserve example 
> athttp://code.google.com/p/google-app-engine-samples/.
>
> On Jun 28, 12:14 pm, Tim Hoffman  wrote:
>
>
>
> > I am using nicedit  http://nicedit.com/itjust decorates textareas
> > so
> > very little is required to make it work unless you want custom image
> > uploading within in it.
> > It also externally hosted so it doesn't have to add to your static
> > file count.
>
> > T
>
> > On Jun 28, 11:26 pm, Stephen Mayer  wrote:
>
> > > So I was looking for a good way to impliment a rich text editor on a
> > > site I'm building.  There are two obvious possible options: FckEdit
> > > and TinyMCE.  TinyMCE is smaller and has a simpler design so I decided
> > > to work with it instead.
>
> > > Starting Point: 241 files, 101 folders, 1.41mb
>
> > > But since I only need the simple version of tinyMCE listed 
> > > here:http://tinymce.moxiecode.com/examples/simple.php
>
> > > So I used firebug's net tab to watch which files tinyMCE actually
> > > loaded after adding it to my page.  I created a list of these files,
> > > and then moved them into a tiny_mce_min folder.  Then I switched to
> > > using my minimal installation directory ... eliminating most of the
> > > unnecessary code quickly and easily:
>
> > > Ending Point: 6 files, 7 folders, 182kb
>
> > > The process
> > > 1) Add the full TinyMCE to your dev enviornment, update app.yaml
> > > 2) Add TinyMCE to your script ... set any options you need to get the
> > > version you want
> > > 3) View TinyMCE in FireFox with Firebug powered up and the Net tab
> > > open
> > > 4) Create a version of your TinyMCE install that includes only the
> > > files from TinyMCE that are listed in the net tab
> > > 5) Use the minimal install in your deployment rather than the full
> > > install
>
> > > Now I think we could go one step further and eliminate a few file
> > > loads (like the lang files) if we hacked tinyMCE js code ... and get
> > > it down to one file (or three if you count the css + images).  But
> > > right now I don't have time to do that.
>
> > > I realize that the file limit is now bigger than it used to be (now
> > > 3000 files) ... but think that it's very constructive to go through
> > > this process.  Ultimately I don't want to use 241 of my file count
> > > limit towards something that could be loaded in one js file.  Much of
> > > the time we have grown used to slapping in a library but using only a
> > > very small percentage of it.  I'm hoping that library developers soon
> > > begin offering "custom versions" of their code that are highly
> > > optimized for a specific task.
>
> > > Hope this post might be helpful for someone else who confronts the
> > > same problem/issue.  Another suggestion to Google: perhaps they could
> > > host some of these commonly requested libraries by default.  I don't
> > > think that any of the rich text editors (fckedit or tinymce) are
> > > available on a CDN anywhere right now.
>
> > > - Stephen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Smipple - Social Code Snippets

2009-06-28 Thread Ian Lewis
Hi all,

I just wanted to let everyone know about a site I created for sharing code
snippets in a social way. You can check it out at http://www.smipple.net/.
Smipple allows you to save, organize, and share snippets with others easily.
The best part though is that you can follow other people who have
interesting snippets and see the snippets that users you are following in
one place. You can also favorite any snippet that you find interesting so
you can retrieve it easily later.

Smipple is implemented using Google Appengine, Django, and appengine-patch
but that shouldn't stop anyone from contributing any kind of snippets that
they want. We'd love it if Ruby, PHP, Java, JavaScript or Perl developers
would use the site as well! What kind of social sharing site would it be if
there were only certain types of developers using it after all!

Happy Coding,

Ian

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