﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3625	Test fixtures cause load_data to fail with Python 2.3	ned.phillips@…	Adrian Holovaty	"Database sync (sqlite) fails when trying to load initial data (in this case there is none). The error appears to stem from rsplit which is used in source:trunk/django/core/management.py and was introduced in [4659] with the test fixtures framework. I'm using the stock OS X Python (2.3.5) over here and I believe this function was introduced in 2.4.

Error:
{{{
Loading 'initial_data' fixtures...
Traceback (most recent call last):
  File ""manage.py"", line 11, in ?
    execute_manager(settings)
  File ""/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django/core/management.py"", line 1663, in execute_manager
    execute_from_command_line(action_mapping, argv)
  File ""/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django/core/management.py"", line 1562, in execute_from_command_line
    action_mapping[action](int(options.verbosity), options.interactive)
  File ""/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django/core/management.py"", line 590, in syncdb
    load_data(['initial_data'], verbosity=verbosity)
  File ""/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django/core/management.py"", line 1358, in load_data
    fixture_name, format = fixture_label.rsplit('.', 1)
AttributeError: 'str' object has no attribute 'rsplit'
}}}
"		closed	Testing framework	dev		fixed			Ready for checkin	1	0	0	0	0	0
