#2827 closed defect (fixed)
manage.py broken after svn update
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Tools | Version: | dev |
Severity: | blocker | Keywords: | manage.py |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
After an update to the latest svn (r 3865), I get the following error when doing a 'python manage.py syncdb'
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File "/usr/lib/python2.4/site-packages/django/core/management.py", line 1404, in execute_manager
execute_from_command_line(action_mapping, argv)
File "/usr/lib/python2.4/site-packages/django/core/management.py", line 1315, in execute_from_command_line
action_mapping[action](int(options.verbosity), options.interactive)
File "/usr/lib/python2.4/site-packages/django/core/management.py", line 436, in syncdb
_check_for_validation_errors()
File "/usr/lib/python2.4/site-packages/django/core/management.py", line 1045, in _check_for_validation_errors
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.4/site-packages/django/core/management.py", line 868, in get_validation_errors
db_version = connection.get_server_version()
File "/usr/lib/python2.4/site-packages/django/db/backends/mysql/base.py", line 122, in get_server_version
self.server_version = tuple([int(x) for x in version[:3]]) + tuple(version[3:])
ValueError: invalid literal for int(): 24a
Here's my Python info:
Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58)
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Change History (4)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Looking at http://code.djangoproject.com/changeset/3855, the error is happening in the section that was recently added.