Re: Problems installing on OpenBSD

"Mike C. Fletcher" <[email protected]> Mon, 26 Jan 2004 02:22:23 -0500
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
IIRC, you need to update to a newer release of pyPgSQL.  The first error 
is probably a check that version is <= 7.3.  Second is, again IIRC, also 
fixed in newer versions.

HTH,
Mike

Tom Longson wrote:

>Hi, I'm trying to install pyPgSQL on openBSD, and having a few problems. Can
>anyone assist me getting pyPgSQL to pass the tests below? They don't really
>tell me anything useful unfortunately.
>
>Thanks,
>Tom Longson
>
>-bash-2.05b$ python /www/devel/pypgsql/test/PgSQLTestCases.py
>........................................F.F.......................
>======================================================================
>FAIL: CheckDoMoreResultObjectChecks (__main__.PgSQLTestCases)
>----------------------------------------------------------------------
>Traceback (most recent call last):
>  File "/www/devel/pypgsql/test/PgSQLTestCases.py", line 817, in
>CheckDoMoreResultObjectChecks
>    self.fail(msg)
>  File
>"/usr/ports/lang/python/2.2/w-python-2.2.1p1/fake-i386/usr/local/lib/python2
>.2/unittest.py", line 254, 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 "/www/devel/pypgsql/test/PgSQLTestCases.py", line 639, in
>CheckExecuteWithSingleton
>    "Length of cur.description is %d, it should be %d." %
>  File
>"/usr/ports/lang/python/2.2/w-python-2.2.1p1/fake-i386/usr/local/lib/python2
>.2/unittest.py", line 286, in failUnlessEqual
>    raise self.failureException, \
>AssertionError: Length of cur.description is 11, it should be 4.
>
>----------------------------------------------------------------------
>Ran 66 tests in 0.840s
>
>FAILED (failures=2)
>  
>
 
_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn