[Zope] where have all the DateTime gone?

Andreas Jung Andreas Jung" <andreas@zope.com
Mon, 27 Aug 2001 08:50:50 -0400


Instead import DateTime from the DateTime package.

Andreas
----- Original Message -----
From: "Max Møller Rasmussen" <maxm@normik.dk>
To: <zope@zope.org>
Sent: Montag, 27. August 2001 08:37
Subject: [Zope] where have all the DateTime gone?


I am trying to migrate an old 2.3.1 site to a 2.4 server. But when I try to
start the site I get an error (see the bottom of the message.)

It seems that the problem is because My product cannot find DateTime no
more. My imports looks like this::

from OFS import SimpleItem
from Globals import HTMLFile, Acquisition, Persistent, DateTime

If DateTime is no longer in Globals, where can I then find it?

regards Max M

------
2001-08-27T12:23:33 ERROR(200) Zope Could not import Products.ots_Calendar
Traceback (innermost last):
  File /home/zope/Zope-2.4.0-linux2-x86/lib/python/OFS/Application.py, line
552, in import_product
  File
/home/zope/Zope-2.4.0-linux2-x86/lib/python/Products/ots_Calendar/__init__.p
y, line 1, in ?
  File
/home/zope/Zope-2.4.0-linux2-x86/lib/python/Products/ots_Calendar/ots_Calend
ar.py, line 2, in ?
    (Object: Acquisition)
ImportError: cannot import name DateTime


------
2001-08-27T12:23:33 ERROR(200) Zope Could not import Products.ots_Diskuss
Traceback (innermost last):
  File /home/zope/Zope-2.4.0-linux2-x86/lib/python/OFS/Application.py, line
552, in import_product
  File
/home/zope/Zope-2.4.0-linux2-x86/lib/python/Products/ots_Diskuss/__init__.py
, line 1, in ?
  File
/home/zope/Zope-2.4.0-linux2-x86/lib/python/Products/ots_Diskuss/ots_Diskuss
.py, line 2, in ?
    (Object: Acquisition)
ImportError: cannot import name DateTime


------
2001-08-27T12:23:33 ERROR(200) Zope Could not import Products.ots_Poll
Traceback (innermost last):
  File /home/zope/Zope-2.4.0-linux2-x86/lib/python/OFS/Application.py, line
552, in import_product
  File
/home/zope/Zope-2.4.0-linux2-x86/lib/python/Products/ots_Poll/__init__.py,
line 1, in ?
  File
/home/zope/Zope-2.4.0-linux2-x86/lib/python/Products/ots_Poll/ots_Poll.py,
line 2, in ?
    (Object: Acquisition)
ImportError: cannot import name DateTime


                         - Nørgård Mikkelsen a/s -
             www.normik.dk - Vandværksvej 18 - DK 5000 Odense C
               Tlf (+45) 66 14 14 80 - Fax (+45) 66 14 19 43
                     Max M - Direkte (+45) 63 14 47 15


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )