Attribute error time
Laurent FRANCOIS <[email protected]> Thu, 10 Aug 2006 18:30:45 +1100
| Newsgroups | gmane.comp.python.db.pypgsql.user |
|---|---|
| Message-ID | <[email protected]> |
Hye,
Here is a very simple py file:
----
from pyPgSQL import PgSQL
----
$python testpgsql.py
Traceback (most recent call last):
File "testpgsql.py", line 1, in ?
from pyPgSQL import PgSQL
File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 444, in ?
from mx import DateTime
File "/usr/lib/python2.3/site-packages/mx/DateTime/__init__.py", line
8, in ?
from DateTime import *
File "/usr/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line
9, in ?
from mxDateTime import *
File
"/usr/lib/python2.3/site-packages/mx/DateTime/mxDateTime/__init__.py",
line 20, in ?
setnowapi(time.time)
AttributeError: 'module' object has no attribute 'time'
What's going on.
I am on Debian etch(=3Dtesting) and my pypgsql version is:
python-pgsql:
Install=E9 : 2.5.1-2
Candidat : 2.5.1-2
Table de version :
*** 2.5.1-2 0
And: python-egenix-mxdatetime
python-egenix-mxdatetime:
Install=E9 : 2.0.6-4
Candidat : 2.0.6-4
Table de version :
*** 2.0.6-4 0
Thanks for your advise
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642