Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2827 closed defect (fixed) broken after svn update

Reported by: gtaylor@… Owned by: Adrian Holovaty
Component: Tools Version: master
Severity: blocker Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


After an update to the latest svn (r 3865), I get the following error when doing a 'python syncdb'

Traceback (most recent call last):

File "", line 11, in ?


File "/usr/lib/python2.4/site-packages/django/core/", line 1404, in execute_manager

execute_from_command_line(action_mapping, argv)

File "/usr/lib/python2.4/site-packages/django/core/", line 1315, in execute_from_command_line

action_mapping[action](int(options.verbosity), options.interactive)

File "/usr/lib/python2.4/site-packages/django/core/", line 436, in syncdb


File "/usr/lib/python2.4/site-packages/django/core/", line 1045, in _check_for_validation_errors

num_errors = get_validation_errors(s, app)

File "/usr/lib/python2.4/site-packages/django/core/", line 868, in get_validation_errors

db_version = connection.get_server_version()

File "/usr/lib/python2.4/site-packages/django/db/backends/mysql/", 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 Changed 12 years ago by gtaylor@…

Looking at, the error is happening in the section that was recently added.

comment:2 Changed 12 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [3867]) Fixed #2827 -- Reverted [3855]

comment:3 Changed 12 years ago by Adrian Holovaty

(In [3868]) Removed one more legacy bit from [3855]. Refs #2827.

comment:4 Changed 12 years ago by Malcolm Tredinnick

(In [3872]) Reintroduced the changes from [3855] with more flexible handling of version
strings. Refs #2188, #2827.

Note: See TracTickets for help on using tickets.
Back to Top