gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] float() problem


From: ju0815nk
Subject: Re: [Gnumed-devel] float() problem
Date: Mon, 2 Sep 2002 16:30:34 +0200 (MEST)

> Under Debian with psycopg the following line triggers:
>  assert(float(dbapi.apilevel) >= 2.0)
> with a
>  ValueError: invalid literal for float()
> 
> - type of psycopg.apilevel is string
> - value is 2.0

I saw this error with a self-compiled python 2.1.x. The bug triggered always
after importing wxpython. The wxpython source docu advises to recompile (at
least relink) the python binary with with the linker set to g++ (since
wxWindows has a c++ interface). Did that, worked for me. Never happened again.

> This is under Python 2.1.3
> 
> Anyone got any idea of what is going on ?
> (No, it is not the Python version. I am running 2.1.1 on Suse
> and it doesn't hiccup).
> 
> Karsten
> -- 
> GPG key ID E4071346 @ wwwkeys.pgp.net
> E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
> 
> 
> _______________________________________________
> Gnumed-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnumed-devel
> 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net





reply via email to

[Prev in Thread] Current Thread [Next in Thread]