Zope 2.7b3 & CMF1.4.2 conflict on Win2K and WinXP?
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
Marcel Maré wrote at 2003-12-5 22:02 +0100:
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: ... 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
This tool wants Python 2.3: "datetime" comes with Python 2.3. -- Dieter
Dieter Maurer schrieb:
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: ... 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
This tool wants Python 2.3: "datetime" comes with Python 2.3.
Same problem with CMF 1.3.1 (for Plone) & Zope 2.7.0b3 on WinXP. The Python version shipping with this is 2.3.2; is it incomplete? Tobias
Tobias Herp wrote at 2003-12-7 15:52 +0100:
Dieter Maurer schrieb: ...
ImportError: No module named datetime
This tool wants Python 2.3: "datetime" comes with Python 2.3.
Same problem with CMF 1.3.1 (for Plone) & Zope 2.7.0b3 on WinXP. The Python version shipping with this is 2.3.2; is it incomplete?
Apparently, something is wrong as seen by this transscript: linux: python2.3 Python 2.3.2 (#1, Dec 6 2003, 09:35:04) [GCC 3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import datetime
I cannot tell you what precisely is wrong. But "python2.3" should have a "datetime" module and should be able to import it. -- Dieter
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
The collector issues is actually 1128: http://zope.org/Collectors/Zope/1128 But a number of others opened up similar issues :) 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
participants (4)
-
Dieter Maurer -
Marcel Maré -
Rechenberg, Andrew -
Tobias Herp