> Is your house built on an old burial ground? Because I'm willing to > entertain the possibility your computer might be possessed. :-) > > Hmm. Sometimes it's seems so but I'm pretty sure that's not the case. ;)
> How are you running the webserver? Via 'manage.py runserver' or some > other way? And when you are trying this at the interactive prompt, are > you running 'manage.py shell' or doing something else? > > Right now I am running the webserver through manage.py runserver and access the shell through the manage.py shell command. I have removed all traces of old versions of Django (I did a find for django and verified they are all pointing to the only version of Django I now have installed). > If you are doing everything through the same manage.py process then I am > completely stumped. I'll keep thinking, but I can't think of any other > debugging hints to try. Check that the paths printed to the files in the > traceback output point the directories where you think they should (if > you have multiple copies of Django code lying around), maybe, but you've > probably already done that. > > I double checked the paths that are printed out when it errors and they are all pointing to the right place. It is very weird. If I try to look at the sites.__dict__ everything looks right: In [6]: a1.sites.__dict__ Out[6]: {'_pk_val': 1L, 'core_filters': {'article__pk': 1L}, 'creation_counter': 72, 'instance': <Article: Article object>, 'join_table': '`shop_article_sites`', 'model': <class 'shop.models.Site'>, 'source_col_name': '`article_id`', 'symmetrical': False, 'target_col_name': '`site_id`'} I get the same error if I try a1.sites.count() or a1.sites.values() I'm running Python 2.4.2 compiled on Gentoo. My MYSQL is version 4.1.14. Looking at the database the table names look right and the data is in there. I can post the detailed traceback but I'm not sure that would help you out. Thanks for all your efforts. -Chris --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---