#11380: missed error description and line (and file) which contains it
---------------------------+------------------------------------------------
Reporter: pedromagnus | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.0
Keywords: error _meta | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
I had the following output for validating my aplication:
{{{
/var/lib/python-support/python2.6/MySQLdb/__init__.py:34:
DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/var/lib/python-
support/python2.6/django/core/management/__init__.py", line 340, in
execute_manager
utility.execute()
File "/var/lib/python-
support/python2.6/django/core/management/__init__.py", line 295, in
execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/lib/python-support/python2.6/django/core/management/base.py",
line 192, in run_from_argv
self.execute(*args, **options.__dict__)
File "/var/lib/python-support/python2.6/django/core/management/base.py",
line 219, in execute
output = self.handle(*args, **options)
File "/var/lib/python-support/python2.6/django/core/management/base.py",
line 348, in handle
return self.handle_noargs(**options)
File "/var/lib/python-
support/python2.6/django/core/management/commands/validate.py", line 9, in
handle_noargs
self.validate(display_num_errors=True)
File "/var/lib/python-support/python2.6/django/core/management/base.py",
line 246, in validate
num_errors = get_validation_errors(s, app)
File "/var/lib/python-
support/python2.6/django/core/management/validation.py", line 95, in
get_validation_errors
for r in rel_opts.get_all_related_objects():
File "/var/lib/python-support/python2.6/django/db/models/options.py",
line 338, in get_all_related_objects
self._fill_related_objects_cache()
File "/var/lib/python-support/python2.6/django/db/models/options.py",
line 367, in _fill_related_objects_cache
if f.rel and not isinstance(f.rel.to, str) and self == f.rel.to._meta:
AttributeError: 'unicode' object has no attribute '_meta'
}}}
My app has several subapps and models, so there's no way I could locate
the error with this output. By the way, someone knows why the validation
is failing by? :P
Sorry for my bad english)
Greetings
Pedro
--
Ticket URL: <http://code.djangoproject.com/ticket/11380>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---