I opened a Zope Collector item on this issue last week: http://zope.org/Collectors/Zope/1143 I just grabbed datetime.pyd from a Python23 install and placed it in C:\Zope-2.7.0b3\bin\DLLs and now everything works fine. On Fri, 2003-12-05 at 16:02, Marcel Maré wrote:
I have installed a new Zope 2.7.b3 and put the CMF products in the zope-instance/Products folder. Zope then fails to start with this error:
Traceback (most recent call last): File "C:\devel\python\Zope-2.7.0-b3\lib\python\Zope\Startup\run.py", line 27, in ? run() File "C:\devel\python\Zope-2.7.0-b3\lib\python\Zope\Startup\run.py", line 24, in run start_zope(opts.configroot) File "C:\devel\python\Zope-2.7.0-b3\lib\python\Zope\Startup\__init__.py", line 50, in start_zope starter.startZope() File "C:\devel\python\Zope-2.7.0-b3\lib\python\Zope\Startup\__init__.py", line 218, in startZope Zope.startup() File "C:\devel\python\Zope-2.7.0-b3\lib\python\Zope\__init__.py", line 46, in startup _startup() File "C:\devel\python\Zope-2.7.0-b3\lib\python\Zope\App\startup.py", line 47, in startup OFS.Application.import_products() File "C:\devel\python\Zope-2.7.0-b3\lib\python\OFS\Application.py", line 512, in import_products import_product(product_dir, product_name, raise_exc=debug_mode) File "C:\devel\python\Zope-2.7.0-b3\lib\python\OFS\Application.py", line 534, in import_product product=__import__(pname, global_dict, global_dict, silly) File "C:\devel\python\Zope-instance\Products\CMFCalendar\__init__.py", line 20, in ? import CalendarTool File "C:\devel\python\Zope-instance\Products\CMFCalendar\CalendarTool.py", line 18, in ? import calendar File "C:\devel\python\Zope-2.7.0-b3\bin\Lib\calendar.py", line 8, in ? import datetime ImportError: No module named datetime
I get the same error with CMF 1.4.1 and also on 2 different PCs (2000 and XP). Using CMF1.4.2 with Zope 2.6.1 works fine.
Any ideas?
TIA
Marcel
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) --
Regards, Andrew Rechenberg Infrastructure Team, Sherman Financial Group 513.707.3809