Now I get this:

Traceback (most recent call last):
  File "C:\web2py\gluon\restricted.py", line 184, in restricted
    exec ccode in environment
  File "C:/web2py/applications/main/models/db.py"
<http://127.0.0.1:8000/admin/default/edit/main/models/db.py>, line 22,
in <module>
    db = SQLDB(dal_connection)
  File "C:\web2py\gluon\sql.py", line 1311, in __init__
    self._adapter = ADAPTERS[self._dbname](uri,pool_size,folder,db_codec)
  File "C:\web2py\gluon\sql.py", line 416, in __init__
    database = m.group('db')
IndexError: no such group



On Sun, Dec 13, 2009 at 10:46 AM, mdipierro <[email protected]> wrote:

> fixed both issues in trunk. Please try again. Thank you!
>
> On Dec 13, 5:38 am, DenesL <[email protected]> wrote:
> > Using changeset 21 and mssql :
> >
> > Traceback (most recent call last):
> >   File "C:\web2py\hg\gluon\restricted.py", line 184, in restricted
> >     exec ccode in environment
> >   File "C:/web2py/hg/applications/w2/models/db.py", line 4, in
> > <module>
> >     db3=SQLDB("mssql://usr:p...@localhost/w2pdb")
> >   File "C:\web2py\hg\gluon\sql.py", line 1312, in __init__
> >     self._adapter = ADAPTERS[self._dbname]
> > (uri,pool_size,folder,db_codec)
> >   File "C:\web2py\hg\gluon\sql.py", line 637, in __init__
> >     uri = uri.find('://')[1]
> > TypeError: 'int' object is unsubscriptable
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<web2py%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to