[web2py] Re: pytds support for mssql?

2014-08-25 Thread Derek
So just an update, it appears there is an issue in tds.py and the author has added a branch sp1d3rx-problem and it does fix it. Now the only issue with pytds is DSN support.\ To fix the tds.py look around line 2570 or so and comment out this: #if not msg['server'] and self.login: #

[web2py] Re: pytds support for mssql?

2014-08-21 Thread Derek
my bad, wrong error pasted. Here's the same error on the latest version... Traceback (most recent call last): File "C:\Temp\web2py_src\web2py\gluon\restricted.py", line 220, in restricted exec ccode in environment File "C:/Temp/web2py_src/web2py/applications/test/models/db.py"

[web2py] Re: pytds support for mssql?

2014-08-21 Thread Niphlod
BTW: I don't see any dbapi.py in the main repo. are you on the latest version ? On Thursday, August 21, 2014 10:53:06 PM UTC+2, Niphlod wrote: > > > > On Thursday, August 21, 2014 10:34:17 PM UTC+2, Derek wrote: >> >> I've been working on adding it to the DAL but I ran into some issues with

[web2py] Re: pytds support for mssql?

2014-08-21 Thread Niphlod
On Thursday, August 21, 2014 10:34:17 PM UTC+2, Derek wrote: > > 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 > o

[web2py] Re: pytds support for mssql?

2014-08-21 Thread Derek
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

[web2py] Re: pytds support for mssql?

2014-03-20 Thread Tim Richardson
+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-

[web2py] Re: pytds support for mssql?

2014-03-20 Thread Niphlod
+1. It's been sitting on my todolist (and I submitted a patch to make it work without requiring an install) but until DSN/SSPI are kinda "transparent" I didn't want to introduce it in DAL's core. There were also some problems on properly closing connections, but I didn't dig deeper in it. On