pymmsql needs to go to latest released v1.0.2 http://pymssql.sourceforge.net/ Version 1.0.0 (currently in portage) has some issues where SQL statements, that used to work in v0.8, don't execute and throw back errors: Traceback (most recent call last): File "./xyz.py", line 42, in <module> c.execute(sql) File "//usr/lib/python2.5/site-packages/pymssql.py", line 182, in execute self._source.execute_query(operation, params) TypeError: not all arguments converted during string formatting Upgrading to v1.0.2 fixes these errors. Reproducible: Always Steps to Reproduce:
Created attachment 190450 [details] pymssql-1.0.2.ebuild I just changed the version number to the latest one and confirm that this compiles, installs and works on my machine (x86).
1.0.2 is in tree .. (just commited now) please test as i do not currently have a mssql server to test it with (nor am I familiar with the bug) also if the new ebuild is just a renamed old one you don't need to submit it just mention that u made a copy with the new filename :)
(In reply to comment #2) > 1.0.2 is in tree .. (just commited now) please test as i do not currently have > a mssql server to test it with (nor am I familiar with the bug) Have just compiled the version found in the tree and run the script and can confirm that it works and returns the expected results. > also if the new ebuild is just a renamed old one you don't need to submit it > just mention that u made a copy with the new filename :) Good to know, will have to remember that for the future.