What steps will reproduce the problem?
1. Get pyodbc from its repository
2. Change to a different branch
3. Install it
4. Try to run an app with django-pyodbc
What is the expected output? What do you see instead?
The application was expected to run normally, but I see this error insted:
/usr/local/lib/python2.6/dist-packages/sql_server/pyodbc/base.py in <module>()
11 import re
12 m = re.match(r'(\d+)\.(\d+)\.(\d+)(?:-beta(\d+))?', Database.version)
---> 13 vlist = list(m.groups())
14 if vlist[3] is None: vlist[3] = '9999'
15 pyodbc_ver = tuple(map(int, vlist))
AttributeError: 'NoneType' object has no attribute 'groups'
What version of the product are you using? On what operating system?
I'm using the HEAD revision under Ubuntu server 10.10
Please provide any additional information below.
I've attached a patch which solves the problem.
Original issue reported on code.google.com by herberth...@gmail.com on 4 May 2012 at 4:29
Original issue reported on code.google.com by
herberth...@gmail.com
on 4 May 2012 at 4:29Attachments: