What steps will reproduce the problem?
1. Using python 2.3, run ./manage.py graph_models -a
What is the expected output? What do you see instead?
16:30:09[wlcg]lxvm0304.c$./manage.py graph_models -a
Traceback (most recent call last):
File "./manage.py", line 11, in ?
execute_manager(settings)
File
"/usr/lib/python2.3/site-packages/django/core/management/__init__.py", line
272, in execute_manager
utility.execute()
File
"/usr/lib/python2.3/site-packages/django/core/management/__init__.py", line
219, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.3/site-packages/django/core/management/base.py",
line 72, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.3/site-packages/django/core/management/base.py",
line 86, in execute
output = self.handle(*args, **options)
File
"/usr/lib/python2.3/site-packages/extensions/management/commands/graph_models.py
",
line 30, in handle
dotdata = generate_dot(args, **options)
File
"/usr/lib/python2.3/site-packages/extensions/management/modelviz.py", line
163, in generate_dot
graph = Context({
AttributeError: 'str' object has no attribute 'rsplit'
What version of the product are you using? On what operating system?
0.4_pre (svn revision 77)
Python 2.3.4 - Scientific Linux 4 (RHEL4 compatible)
Please provide any additional information below.
Patch attached.
Original issue reported on code.google.com by jamesc.000@gmail.com on 17 Jul 2008 at 2:41
Original issue reported on code.google.com by
jamesc.000@gmail.com
on 17 Jul 2008 at 2:41Attachments: