Package: python-django
Version: 0.96.1-1
Severity: grave
Justification: renders package unusable
When using postgresql-8.3 I've got the following version number :
[EMAIL PROTECTED]:~$ psql --version
psql (PostgreSQL) 8.3RC2
Now when trying to syncdb in Django :
python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File
"/var/lib/python-support/python2.4/django/core/management.py",
line 1672,
in execute_manager
execute_from_command_line(action_mapping, argv)
File
"/var/lib/python-support/python2.4/django/core/management.py",
line 1571,
in execute_from_command_line
action_mapping[action](int(options.verbosity),
options.interactive)
File
"/var/lib/python-support/python2.4/django/core/management.py",
line 504,
in syncdb
cursor = connection.cursor()
File
"/var/lib/python-support/python2.4/django/db/backends/postgresql_psycopg2
/base.py", line 57, in cursor
postgres_version = [int(val) for val in
cursor.fetchone()[0].split()[1].split('.')]
ValueError: invalid literal for int(): 3RC2
The exact same problem is present both in Django's
db/backends/postgresql_psycopg2/ and db/backends/postgresql/
Should probably be reported upstream.
hth
Jerome
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-django depends on:
ii python 2.4.4-6 An interactive high-level object-o
ii python-support 0.7.6 automated rebuilding support for p
Versions of packages python-django recommends:
pn python-pysqlite2 <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]