Re: ImportError with Django rev. 10087

2009-03-18 Thread bobbyc

Well, it appears that r10088 fixed things up, actually.
http://code.djangoproject.com/changeset/10088

Thanks for your interest in helping anyway, Ramiro!

On Mar 18, 12:10 pm, Ramiro Morales  wrote:
> On Wed, Mar 18, 2009 at 12:06 PM, bobbyc  wrote:
>
> > r10071 was the last successful one.
>
> Ok. Several questions, hopefully you have the time
> needed to answer them:
>
> What value does your DEBUG setting have?
>
> Can you checkout different revisions of Django
> and test to confirm if 10074 is the revision where your
> problems started?
>
> Can you reduce your problematic models to a minimal test case?
> and paste it to dpaste.com?
>
> Do the problematic models have circular references among them?.
>
> Regards,
>
> --
> Ramiro Moraleshttp://rmorales.net
--~--~-~--~~~---~--~~
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: ImportError with Django rev. 10087

2009-03-18 Thread Ramiro Morales

On Wed, Mar 18, 2009 at 12:06 PM, bobbyc  wrote:
>
> r10071 was the last successful one.
>

Ok. Several questions, hopefully you have the time
needed to answer them:

What value does your DEBUG setting have?

Can you checkout different revisions of Django
and test to confirm if 10074 is the revision where your
problems started?

Can you reduce your problematic models to a minimal test case?
and paste it to dpaste.com?

Do the problematic models have circular references among them?.

Regards,

-- 
Ramiro Morales
http://rmorales.net

--~--~-~--~~~---~--~~
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: ImportError with Django rev. 10087

2009-03-18 Thread bobbyc

r10071 was the last successful one.

On Mar 18, 11:00 am, Ramiro Morales  wrote:
> On Wed, Mar 18, 2009 at 11:24 AM, bobbyc  wrote:
>
> > Is anyone else having trouble with importing models into other models
> > with the latest Django rev. (as I write this, 10087).
>
> > ../python2.5/site-packages/django/db/models/loading.py", line 57, in
> > _populate
> >    self.load_app(app_name, True)
> > ../python2.5/site-packages/django/db/models/loading.py", line 72, in
> > load_app
> >    mod = __import__(app_name, {}, {}, ['models'])
> > ../gchub_db/apps/joblog/models.py", line 11, in 
> >    from gchub_db.apps.workflow.models import Job, Item
> > ImportError: cannot import name Job
>
> > This has worked fine for months. I've looked at the changes in that
> > revision, but don't see what could be doing this.
>
> I've just tested this with trunk at r10087 and I'm not seeing
> this problem.
>
> What would be more useful is to also know which revision
> you had been (successfully) using before so we can
> search for a commit in the range, not necessarily 10087.
>
> --
> Ramiro Moraleshttp://rmorales.net
--~--~-~--~~~---~--~~
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: ImportError with Django rev. 10087

2009-03-18 Thread Ramiro Morales

On Wed, Mar 18, 2009 at 11:24 AM, bobbyc  wrote:
>
> Is anyone else having trouble with importing models into other models
> with the latest Django rev. (as I write this, 10087).
>
> ../python2.5/site-packages/django/db/models/loading.py", line 57, in
> _populate
>    self.load_app(app_name, True)
> ../python2.5/site-packages/django/db/models/loading.py", line 72, in
> load_app
>    mod = __import__(app_name, {}, {}, ['models'])
> ../gchub_db/apps/joblog/models.py", line 11, in 
>    from gchub_db.apps.workflow.models import Job, Item
> ImportError: cannot import name Job
>
> This has worked fine for months. I've looked at the changes in that
> revision, but don't see what could be doing this.

I've just tested this with trunk at r10087 and I'm not seeing
this problem.

What would be more useful is to also know which revision
you had been (successfully) using before so we can
search for a commit in the range, not necessarily 10087.

-- 
Ramiro Morales
http://rmorales.net

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



ImportError with Django rev. 10087

2009-03-18 Thread bobbyc

Is anyone else having trouble with importing models into other models
with the latest Django rev. (as I write this, 10087).

../python2.5/site-packages/django/db/models/loading.py", line 57, in
_populate
self.load_app(app_name, True)
../python2.5/site-packages/django/db/models/loading.py", line 72, in
load_app
mod = __import__(app_name, {}, {}, ['models'])
../gchub_db/apps/joblog/models.py", line 11, in 
from gchub_db.apps.workflow.models import Job, Item
ImportError: cannot import name Job

This has worked fine for months. I've looked at the changes in that
revision, but don't see what could be doing this.

Thanks in advance for any help!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---