Code

Ticket #3163: traceback2.txt

File traceback2.txt, 2.5 KB (added by guneeyoufix, 6 years ago)

This one is a problem. I just updated to revision 8621, and apparently, the parameter doesn't exist.

Line 
1:~/mysite $ python manage.py runserver
2Validating models...
3Unhandled exception in thread started by <function inner_run at 0xb79c6a74>
4Traceback (most recent call last):
5  File "/usr/lib/python2.3/site-packages/django/core/management/commands/runserver.py", line 47, in inner_run
6    self.validate(display_num_errors=True)
7  File "/usr/lib/python2.3/site-packages/django/core/management/base.py", line 122, in validate
8    num_errors = get_validation_errors(s, app)
9  File "/usr/lib/python2.3/site-packages/django/core/management/validation.py", line 28, in get_validation_errors
10    for (app_name, error) in get_app_errors().items():
11  File "/usr/lib/python2.3/site-packages/django/db/models/loading.py", line 128, in get_app_errors
12    self._populate()
13  File "/usr/lib/python2.3/site-packages/django/db/models/loading.py", line 57, in _populate
14    self.load_app(app_name, True)
15  File "/usr/lib/python2.3/site-packages/django/db/models/loading.py", line 72, in load_app
16    mod = __import__(app_name, {}, {}, ['models'])
17  File "/home/wollivie/workspace/AvlDefSite/../AvlDefSite/AvlDefApp/models.py", line 161, in ?
18    admin.site.register(Availability, AvailabilityAdmin)
19  File "/usr/lib/python2.3/site-packages/django/contrib/admin/sites.py", line 91, in register
20    validate(admin_class, model)
21  File "/usr/lib/python2.3/site-packages/django/contrib/admin/validation.py", line 22, in validate
22    models.get_apps()
23  File "/usr/lib/python2.3/site-packages/django/db/models/loading.py", line 97, in get_apps
24    self._populate()
25  File "/usr/lib/python2.3/site-packages/django/db/models/loading.py", line 57, in _populate
26    self.load_app(app_name, True)
27  File "/usr/lib/python2.3/site-packages/django/db/models/loading.py", line 72, in load_app
28    mod = __import__(app_name, {}, {}, ['models'])
29  File "/home/wollivie/workspace/AvlDefSite/../AvlDefSite/ATLASAvlDef/models.py", line 3, in ?
30    class Vo(models.Model):
31  File "/usr/lib/python2.3/site-packages/django/db/models/base.py", line 57, in __new__
32    new_class.add_to_class('_meta', Options(meta, **kwargs))
33  File "/usr/lib/python2.3/site-packages/django/db/models/base.py", line 137, in add_to_class
34    value.contribute_to_class(cls, name)
35  File "/usr/lib/python2.3/site-packages/django/db/models/options.py", line 88, in contribute_to_class
36    raise TypeError, "'class Meta' got invalid attribute(s): %s" % ','.join(meta_attrs.keys())
37TypeError: 'class Meta' got invalid attribute(s): create_db_schema
38
39:~/django $ svn up
40D    django/contrib/comments/urls
41Updated to revision 8621.