[Tutor] pyPgSQL and Slackware 9.1

Mike Hansen mhansen at cso.atmel.com
Thu Oct 14 23:06:31 CEST 2004


I did poke through that list earlier. I'll look a little deeper in the 
list and see.

I appreciate the help.

Thanks again.

Mike

nik wrote:

> I'm afraid I'm not that familiar with the postgreSQL stuff myself, I'm 
> using the firebird database with kinterbasdb. I think there's a 
> pypgsql-users forum that might be a better place for an answer 
> (http://lists.sourceforge.net/lists/listinfo/pypgsql-users )
>
> Mike Hansen wrote:
>
>> Thanks Nik. Changing the lib in the setup to /usr/local/pgsql/lib got 
>> the build to work. The install behaved as well. However, when I run 
>> the test cases, I get the failures below. I made a script that 
>> connects to a database and prints some records and it seems to work. 
>> I am concerned about these failures.
>>
>> $ python test/PgSQLTestCases.py
>> ........................................F.F.......................
>> ======================================================================
>> FAIL: CheckDoMoreResultObjectChecks (__main__.PgSQLTestCases)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File "test/PgSQLTestCases.py", line 817, in 
>> CheckDoMoreResultObjectChecks
>>    self.fail(msg)
>>  File "/usr/lib/python2.3/unittest.py", line 270, in fail
>>    raise self.failureException, msg
>> AssertionError: '7.4'
>>
>> ======================================================================
>> FAIL: Test execute() with a singleton string as the parameter.
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>>  File "test/PgSQLTestCases.py", line 639, in CheckExecuteWithSingleton
>>    "Length of cur.description is %d, it should be %d." %
>>  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
>>    raise self.failureException, \
>> AssertionError: Length of cur.description is 11, it should be 4.
>>
>> ----------------------------------------------------------------------
>> Ran 66 tests in 0.854s
>>
>> FAILED (failures=2)
>
>


More information about the Tutor mailing list