I've been working on adding it to the DAL but I ran into some issues with 
it... the main thing is it doesn't support DSN syntax, but I got past that 
by modifying the DAL.py file myself (just to see what it would look like 
once I got past that point). 

Now I am getting an error (which I reported)

File "C:\Temp\web2py_src\web2py\gluon\dal.py", line 3452, in connector 
return 
self.driver.connect(server=host,database=db,user=user,password=password,port=1433,
 
tds_version=0x71000000) File 
"C:\Python27\lib\site-packages\pytds\dbapi.py", line 259, in __init__ 
self._open() File "C:\Python27\lib\site-packages\pytds\dbapi.py", line 171, 
in _open raise err AttributeError: '_TdsSession' object has no attribute 
'login'
I'm confident that once this issue gets fixed, everything should be good 
for the DSN implementation.

On that note, I have to question why the DAL insists on passing a DSN. It's 
merely a footnote in the DBAPI 2.0 specs, and it doesn't seem to be 
actually required to be compliant.


On Thursday, March 20, 2014 3:33:39 PM UTC-7, Tim Richardson wrote:
>
> +1 this, sounds great.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to