Coder Social home page Coder Social logo

Failure to pass Unicode characters to callproc; failing test: tests.test_sprocs.TestCallProcFancy.testCallProcWithUnicodeStringWithRussianCharacters about pymssql HOT 7 CLOSED

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Failure to pass Unicode characters to callproc; failing test: tests.test_sprocs.TestCallProcFancy.testCallProcWithUnicodeStringWithRussianCharacters

from pymssql.

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
I'm sorry, I don't.  I do know that when I ran through the SQLAlchemy test 
suite with pymssql, I had some unicode related tests fail.  I can do the 
byte/unicode dance at the python level, but dropping down into cython & 
freetds, I'm pretty lost.

Original comment by [email protected] on 15 Jan 2013 at 2:59

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024

Original comment by [email protected] on 27 Feb 2013 at 6:45

  • Changed title: Failure to pass Unicode characters to callproc; failing test: tests.test_sprocs.TestCallProcFancy.testCallProcWithUnicodeStringWithRussianCharacters

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
This can be reproduced with:

tox -e py27 -- -v 
tests.test_sprocs:TestCallProcFancy.testCallProcWithUnicodeStringWithRussianChar
acters

Original comment by [email protected] on 27 Feb 2013 at 6:53

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
This appears to be due to an issue in FreeTDS that has already been fixed in 
the [FreeTDS git repo](http://gitorious.org/freetds/freetds).

See http://lists.ibiblio.org/pipermail/freetds/2013q1/028272.html

Original comment by [email protected] on 5 Mar 2013 at 12:19

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
With a recent version of FreeTDS from git 
(a11092a21fc9ba5996854244c573248ef208e04f) installed on my OS X 10.8.2 system, 
all of the stored proc tests pass:

tox -e py27 -- -s -v tests.test_sprocs
...
tests.test_sprocs.TestCallProcFancy.testCallProcWithAsciiString ... ok
tests.test_sprocs.TestCallProcFancy.testCallProcWithNone ... ok
tests.test_sprocs.TestCallProcFancy.testCallProcWithUnicodeStringWithNoFunnyChar
acters ... ok
tests.test_sprocs.TestCallProcFancy.testCallProcWithUnicodeStringWithRussianChar
acters ... ok
tests.test_sprocs.TestCallProcFancy.testExecuteWithAsciiString ... ok
tests.test_sprocs.TestCallProcFancy.testExecuteWithNone ... ok
tests.test_sprocs.TestCallProcFancy.testExecuteWithUnicodeStringWithNoFunnyChara
cters ... ok
tests.test_sprocs.TestCallProcFancy.testExecuteWithUnicodeWithRussianCharacters
... ok
tests.test_sprocs.TestFixedTypeConversion.testBigInt ... ok
tests.test_sprocs.TestFixedTypeConversion.testBit ... ok
tests.test_sprocs.TestFixedTypeConversion.testDateTime ... ok
tests.test_sprocs.TestFixedTypeConversion.testDecimal ... SKIP
tests.test_sprocs.TestFixedTypeConversion.testInt ... ok
tests.test_sprocs.TestFixedTypeConversion.testMoney ... ok
tests.test_sprocs.TestFixedTypeConversion.testNumeric ... SKIP
tests.test_sprocs.TestFixedTypeConversion.testSmallInt ... ok
tests.test_sprocs.TestFixedTypeConversion.testTinyInt ... ok
tests.test_sprocs.TestStringTypeConversion.testChar ... ok
tests.test_sprocs.TestStringTypeConversion.testText ... ok
tests.test_sprocs.TestStringTypeConversion.testVarChar ... ok


Ran 20 tests in 0.392s

OK (SKIP=2)

Original comment by [email protected] on 5 Mar 2013 at 12:26

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
Change 
http://code.google.com/p/pymssql/source/detail?r=d053412736735062ebe009ad4ec34f8
fbaab0025

makes it skip this test since it's not a bug in pymssql; it's dependent on the 
version of FreeTDS installed.

Original comment by [email protected] on 5 Mar 2013 at 12:37

  • Changed state: Fixed

from pymssql.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 18, 2024
I'm not sure I'd skip the test.  Rather, we should build pymssql with the 
FreeTDS that works.  That is one of the reasons I liked the idea of bundling 
our own FreeTDS, we wouldn't need to worry about version compatibility, we 
could just use what works.

Original comment by [email protected] on 5 Mar 2013 at 2:23

from pymssql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.