Re: Resolver404 exception in Django on Google App Engine?

2010-01-25 Thread Kumar McMillan
On Thu, Jan 14, 2010 at 10:58 PM, Kumar McMillan
 wrote:
> Is anyone else getting this on Google App Engine?  I have seen it
> across different versions of Django (1.0 to 1.1.1) but it only happens
> intermittently.  I am using the latest Google App Engine Django code
> and although I'm not sure it's a bug in their code I submitted an
> issue here (where you can see the traceback)
>
> http://code.google.com/p/google-app-engine-django/issues/detail?id=155
>
> : {'path':
> u'djdb/track/search.txt'}

if anyone happens across this thread, I haven't found a solution but
it is reproducible and discussed in depth here:
http://code.google.com/p/googleappengine/issues/detail?id=1409

for my particular situation, I was getting random datastore timeouts
in a module global which was causing a failed import and then messing
with some kind of mysterious App Engine module cache.  I've solved
this by implementing auto-retry code and that made the Resolver404
error go away.

>
> Is anyone else getting this?  the path obviously works and I only see
> this error about once a day on a site with 1 request every 5 secs on
> average.
>
> Any pointers as to what internal state might be out of sync?  Maybe I
> need to adjust the startup script somehow.
>
>
> thanks in advance,
> Kumar
>

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



Resolver404 exception in Django on Google App Engine?

2010-01-14 Thread Kumar McMillan
Is anyone else getting this on Google App Engine?  I have seen it
across different versions of Django (1.0 to 1.1.1) but it only happens
intermittently.  I am using the latest Google App Engine Django code
and although I'm not sure it's a bug in their code I submitted an
issue here (where you can see the traceback)

http://code.google.com/p/google-app-engine-django/issues/detail?id=155

: {'path':
u'djdb/track/search.txt'}

Is anyone else getting this?  the path obviously works and I only see
this error about once a day on a site with 1 request every 5 secs on
average.

Any pointers as to what internal state might be out of sync?  Maybe I
need to adjust the startup script somehow.


thanks in advance,
Kumar
-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




Re: Django on Google app engine

2009-04-26 Thread dartdog

Thanks for the clarification, that is what I meant!

App Engine patch seems to be the approach that is gaining momentum for
running more of Django features on App-Engine, was the only point I
was really trying to make.

On Apr 25, 10:29 am, Karen Tracey  wrote:
> On Sat, Apr 25, 2009 at 10:58 AM, dartdog  wrote:
>
> > I'd also add that the Django project had it's last release in Aug 08
> > and the App engine Patch is being actively worked on almost daily.
>
> This statement is rather unclear.  The "Django project" sounds like Django
> itself, and it is untrue that it's last release was in Aug 08.  I take it
> you mean the Google app engine helper for Django, as opposed to the app
> engine patch.
>
> Neither of these projects is more closely tied to Django than the other, so
> far as I know.  One (the app engine helper) may be more closely tied to
> Google, as it has Google employees listed among the project owners.
>
> Karen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django on Google app engine

2009-04-25 Thread Karen Tracey
On Sat, Apr 25, 2009 at 10:58 AM, dartdog  wrote:

>
> I'd also add that the Django project had it's last release in Aug 08
> and the App engine Patch is being actively worked on almost daily.
>

This statement is rather unclear.  The "Django project" sounds like Django
itself, and it is untrue that it's last release was in Aug 08.  I take it
you mean the Google app engine helper for Django, as opposed to the app
engine patch.

Neither of these projects is more closely tied to Django than the other, so
far as I know.  One (the app engine helper) may be more closely tied to
Google, as it has Google employees listed among the project owners.

Karen

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



Re: Django on Google app engine

2009-04-25 Thread dartdog

I'd also add that the Django project had it's last release in Aug 08
and the App engine Patch is being actively worked on almost daily.

On Apr 25, 3:13 am, Joshua Partogi  wrote:
> Hi Filip,
>
> Thanks for the long explanation. It saves me time to mess around with
> App Engine :-) Based on your explanation, it seems that using django
> on Appengine doesn't really get you anywhere.
>
> Thanks again.
>
> On Apr 24, 7:06 pm, kRON  wrote:
>
> > Basically, you can't use Django models on Google App Engine. So, in
> > brief, all Django applications that interact with a datastore will not
> > work on Google App Engine.
>
> > But - don't despair. There are two Django distributions ported for
> > Google App Engine that I'm aware of:
>
> > -http://code.google.com/p/app-engine-patch/
> > -http://code.google.com/p/google-app-engine-django/
>
> > I haven't played much with them, and I'm pretty green myself with
> > Django and Python, so I hope someone provides a better conclusion.
> > But, as far as the docs go, App Engine Patch provides the source for
> > Django and a set up project, and comes with Django 1.0 support. You'll
> > be able to access all Django's applications, such as django-admin.
>
> > Google App Engine Django has been developed by Django employees.
> > They've developed models that are compatible with Django's models, but
> > I don't know if any gotchas and caveats come packed with it. Also,
> > most Django apps (I believe) don't get support on Google App Engine
> > with the Google App Engine Django.
>
> > So, basically, I think the major issue with Google App Engine is that
> > you'll have to use the models provided with the SDK. Also, if you
> > previously deployed Django, you shouldn't have any trouble following
> > the guidelines for deploying Django on Google App Engine, so you
> > should definitely give it a try.
>
> > On Apr 24, 9:04 am, Joshua Partogi  wrote:
>
> > > Hi all,
>
> > > I came accross this 
> > > article:http://code.google.com/appengine/articles/django.html
> > > Which made me interested how far can you go with django on app engine?
> > > Because reading that article there are several things that you must
> > > turn off from the django configs namely session & database.
>
> > > Are we only able to deploy "Toy django application" with google app 
> > > engine?
>
> > > Has anyone used it before and would like to share their experience?
>
> > > Thank you very much in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django on Google app engine

2009-04-25 Thread dartdog

Actually you can download a sample app with App-Engine Patch and be up
and going very quickly, using non-ported apps is more problematic...
But also moving forward at a fair pace. Google's lack of support for
certain key features in the datastore are a real issue like lack of
full text search... (amazing for a search based company!) The sample
app now supports and has examples for jquery and static libraries.

But if you need to depend on the full Django framework and apps being
available,, that is a problem at this time.


On Apr 25, 3:13 am, Joshua Partogi  wrote:
> Hi Filip,
>
> Thanks for the long explanation. It saves me time to mess around with
> App Engine :-) Based on your explanation, it seems that using django
> on Appengine doesn't really get you anywhere.
>
> Thanks again.
>
> On Apr 24, 7:06 pm, kRON  wrote:
>
> > Basically, you can't use Django models on Google App Engine. So, in
> > brief, all Django applications that interact with a datastore will not
> > work on Google App Engine.
>
> > But - don't despair. There are two Django distributions ported for
> > Google App Engine that I'm aware of:
>
> > -http://code.google.com/p/app-engine-patch/
> > -http://code.google.com/p/google-app-engine-django/
>
> > I haven't played much with them, and I'm pretty green myself with
> > Django and Python, so I hope someone provides a better conclusion.
> > But, as far as the docs go, App Engine Patch provides the source for
> > Django and a set up project, and comes with Django 1.0 support. You'll
> > be able to access all Django's applications, such as django-admin.
>
> > Google App Engine Django has been developed by Django employees.
> > They've developed models that are compatible with Django's models, but
> > I don't know if any gotchas and caveats come packed with it. Also,
> > most Django apps (I believe) don't get support on Google App Engine
> > with the Google App Engine Django.
>
> > So, basically, I think the major issue with Google App Engine is that
> > you'll have to use the models provided with the SDK. Also, if you
> > previously deployed Django, you shouldn't have any trouble following
> > the guidelines for deploying Django on Google App Engine, so you
> > should definitely give it a try.
>
> > On Apr 24, 9:04 am, Joshua Partogi  wrote:
>
> > > Hi all,
>
> > > I came accross this 
> > > article:http://code.google.com/appengine/articles/django.html
> > > Which made me interested how far can you go with django on app engine?
> > > Because reading that article there are several things that you must
> > > turn off from the django configs namely session & database.
>
> > > Are we only able to deploy "Toy django application" with google app 
> > > engine?
>
> > > Has anyone used it before and would like to share their experience?
>
> > > Thank you very much in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django on Google app engine

2009-04-25 Thread Joshua Partogi

Hi Filip,

Thanks for the long explanation. It saves me time to mess around with
App Engine :-) Based on your explanation, it seems that using django
on Appengine doesn't really get you anywhere.

Thanks again.

On Apr 24, 7:06 pm, kRON  wrote:
> Basically, you can't use Django models on Google App Engine. So, in
> brief, all Django applications that interact with a datastore will not
> work on Google App Engine.
>
> But - don't despair. There are two Django distributions ported for
> Google App Engine that I'm aware of:
>
> -http://code.google.com/p/app-engine-patch/
> -http://code.google.com/p/google-app-engine-django/
>
> I haven't played much with them, and I'm pretty green myself with
> Django and Python, so I hope someone provides a better conclusion.
> But, as far as the docs go, App Engine Patch provides the source for
> Django and a set up project, and comes with Django 1.0 support. You'll
> be able to access all Django's applications, such as django-admin.
>
> Google App Engine Django has been developed by Django employees.
> They've developed models that are compatible with Django's models, but
> I don't know if any gotchas and caveats come packed with it. Also,
> most Django apps (I believe) don't get support on Google App Engine
> with the Google App Engine Django.
>
> So, basically, I think the major issue with Google App Engine is that
> you'll have to use the models provided with the SDK. Also, if you
> previously deployed Django, you shouldn't have any trouble following
> the guidelines for deploying Django on Google App Engine, so you
> should definitely give it a try.
>
> On Apr 24, 9:04 am, Joshua Partogi  wrote:
>
> > Hi all,
>
> > I came accross this 
> > article:http://code.google.com/appengine/articles/django.html
> > Which made me interested how far can you go with django on app engine?
> > Because reading that article there are several things that you must
> > turn off from the django configs namely session & database.
>
> > Are we only able to deploy "Toy django application" with google app engine?
>
> > Has anyone used it before and would like to share their experience?
>
> > Thank you very much in advance.

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



Re: Django on Google app engine

2009-04-24 Thread Karen Tracey
On Fri, Apr 24, 2009 at 5:06 AM, kRON  wrote:

> Google App Engine Django has been developed by Django employees.


Typo correction -- Google employees are contributors to this project.   The
Django project doesn't have a company that employs people.

Karen

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



Re: Django on Google app engine

2009-04-24 Thread kRON

Basically, you can't use Django models on Google App Engine. So, in
brief, all Django applications that interact with a datastore will not
work on Google App Engine.

But - don't despair. There are two Django distributions ported for
Google App Engine that I'm aware of:

- http://code.google.com/p/app-engine-patch/
- http://code.google.com/p/google-app-engine-django/

I haven't played much with them, and I'm pretty green myself with
Django and Python, so I hope someone provides a better conclusion.
But, as far as the docs go, App Engine Patch provides the source for
Django and a set up project, and comes with Django 1.0 support. You'll
be able to access all Django's applications, such as django-admin.

Google App Engine Django has been developed by Django employees.
They've developed models that are compatible with Django's models, but
I don't know if any gotchas and caveats come packed with it. Also,
most Django apps (I believe) don't get support on Google App Engine
with the Google App Engine Django.

So, basically, I think the major issue with Google App Engine is that
you'll have to use the models provided with the SDK. Also, if you
previously deployed Django, you shouldn't have any trouble following
the guidelines for deploying Django on Google App Engine, so you
should definitely give it a try.

On Apr 24, 9:04 am, Joshua Partogi  wrote:
> Hi all,
>
> I came accross this 
> article:http://code.google.com/appengine/articles/django.html
> Which made me interested how far can you go with django on app engine?
> Because reading that article there are several things that you must
> turn off from the django configs namely session & database.
>
> Are we only able to deploy "Toy django application" with google app engine?
>
> Has anyone used it before and would like to share their experience?
>
> Thank you very much in advance.
>
> --
> If you can't believe in God the chances are your God is too small.
>
> Read my blog:http://joshuajava.wordpress.com/
> Follow us on twitter:http://twitter.com/scrum8
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Django on Google app engine

2009-04-24 Thread Joshua Partogi

Hi all,

I came accross this article:
http://code.google.com/appengine/articles/django.html
Which made me interested how far can you go with django on app engine?
Because reading that article there are several things that you must
turn off from the django configs namely session & database.

Are we only able to deploy "Toy django application" with google app engine?

Has anyone used it before and would like to share their experience?

Thank you very much in advance.

-- 
If you can't believe in God the chances are your God is too small.

Read my blog: http://joshuajava.wordpress.com/
Follow us on twitter: http://twitter.com/scrum8

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