Zope startup errors
When starting up Zope (2.6.4) on OS/2 using Python 2.3.3 with Plone 2.0 installed, I get these msgs:- [C:\USR\local\zope]python z2.py -D -u zope -W 8088 ------ 2004-03-15T18:32:37 ERROR(200) Archetypes None Traceback (innermost last): File C:/USR/local/zope/lib/python/Products/Archetypes/content_driver/__init__.py, line 15, in ? (Object: Products.Archetypes.content_driver.RTF) File C:/USR/local/zope/lib/python/Products/Archetypes/content_driver/MSWord.py, line 25, in ? File C:/USR/local/zope/lib/python/Products/Archetypes/content_driver/OfficeDocumentCOM.py, line 1, in ? ImportError: No module named win32com ------ 2004-03-15T18:32:38 INFO(0) Archetypes Products/Archetypes/content_driver/__init__.py[25]:? Unable to import MSWord content driver, this is most likely due to missing the win32 extensions on win32 for which COM is used to support document conversion. See the README.txt ------ 2004-03-15T18:32:44 INFO(0) IngeniWeb NOTICE global_symbols.py:20:Mon Mar 15 18:32:44 2004: 'Starting C:/USR/local/zope/lib/python/Products/GroupUserFolder at 4 debug level' ------ 2004-03-15T18:32:51 INFO(0) ZODB Opening database for mounting: '15436400_1079218321.370000' ------ 2004-03-15T18:32:51 INFO(0) ZODB Mounted database '15436400_1079218321.370000' at /temp_folder ------ 2004-03-15T18:32:54 INFO(0) Plone Option ExternalEditor not found. If you want the external edit functionality, please download it from http://www.zope.org/Members/Caseman/ExternalEditor ------ 2004-03-15T18:32:54 INFO(0) Plone Option Epoz not found. If you want WYSIWYG capabilities in Plone, you can download it from http://www.zope.org/Members/mjablonski/Epoz/ ------ 2004-03-15T18:33:02 INFO(0) PlacelessTranslationService Initialized: ['archetypes-bg.po', 'archetypes-pt-br.po', 'archetypes-sv.po'] from C:/USR/local/zope/lib/python/Products/Archetypes/i18n ------ 2004-03-15T18:33:04 PROBLEM(100) PlacelessTranslationService Message Catalog has errors plone-bg.poTraceback (innermost last): File C:/USR/local/zope/lib/python/Products/PlacelessTranslationService/PlacelessTranslationService.py, line 226, in _load_catalog_file (Object: TranslationService) File C:/USR/local/zope/lib/python/Products/PlacelessTranslationService/GettextMessageCatalog.py, line 196, in __init__ File C:/USR/local/zope/lib/python/Products/PlacelessTranslationService/GettextMessageCatalog.py, line 202, in _prepareTranslations File C:/USR/local/zope/lib/python/Products/PlacelessTranslationService/GettextMessageCatalog.py, line 218, in _doPrepareTranslations File /usr/local/python/Lib/gettext.py, line 176, in __init__ File /usr/local/python/Lib/gettext.py, line 304, in _parse UnicodeDecodeError: 'utf8' codec can't decode bytes in position 382-383: invalid data ------ 2004-03-15T18:33:04 INFO(0) PlacelessTranslationService adding Products.CMFPlone.i18n.plone-bg.po: Broken Gettext Message Catalog ------ 2004-03-15T18:33:28 INFO(0) PlacelessTranslationService Initialized: ['plone-af.po', 'plone-ar.po', 'plone-bg.po', 'plone-ca.po', 'plone-cs.po', 'plone-da.po', 'plone-de.po', 'plone-en.po', 'plone-eo.po', 'plone-es.po', 'plone-et.po', 'plone-eu.po', 'plone-fi.po', 'plone-fr.po', 'plone-he.po', 'plone-hu.po', 'plone-hy.po', 'plone-it.po', 'plone-ja.po', 'plone-ko.po', 'plone-nl.po', 'plone-no.po', 'plone-pl.po', 'plone-pt-br.po', 'plone-pt.po', 'plone-ro.po', 'plone-ru.po', 'plone-sv.po', 'plone-tr.po', 'plone-uk.po', 'plone-zh-cn.po', 'plone-zh-hk.po', 'plone-zh-tw.po', 'plone-zh.po'] from C:/USR/local/zope/lib/python/Products/CMFPlone/i18n ------ 2004-03-15T18:33:28 INFO(0) PlacelessTranslationService Initialized: ['pts-de.po', 'pts-pt-br.po'] from C:/USR/local/zope/lib/python/Products/PlacelessTranslationService/i18n ------ 2004-03-15T18:33:28 INFO(0) PlacelessTranslationService Initialized: ['ploneerrorreporting-pt-br.po'] from C:/USR/local/zope/lib/python/Products/PloneErrorReporting/i18n ------ 2004-03-15T18:33:31 INFO(0) ZServer HTTP server started at Mon Mar 15 18:33:31 2004 Hostname: localhost Port: 8080 ------ 2004-03-15T18:33:31 INFO(0) ZServer HTTP server started at Mon Mar 15 18:33:31 2004 Hostname: localhost Port: 8088 ------ 2004-03-15T18:33:31 INFO(0) ZServer FTP server started at Mon Mar 15 18:33:31 2004 Hostname: localhost Port: 8021 Can anyone suggest why I get the Gettext errors? They may be due to missing features in Python, but I'm not sure. Would they disappear if I removed if I made the system English only? -- John
John Poltorak wrote:
2004-03-15T18:32:38 INFO(0) Archetypes Products/Archetypes/content_driver/__init__.py[25]:? Unable to import MSWord content driver, this is most likely due to missing the win32 extensions on win32 for which COM is used to support document conversion. See the README.txt
Well, that's pretty clear ;-) Unless you want to convert word docs on import, you don't need to worry about this...
2004-03-15T18:32:54 INFO(0) Plone Option ExternalEditor not found. If you want the external edit functionality, please download it from http://www.zope.org/Members/Caseman/ExternalEditor ------ 2004-03-15T18:32:54 INFO(0) Plone Option Epoz not found. If you want WYSIWYG capabilities in Plone, you can download it from http://www.zope.org/Members/mjablonski/Epoz/ ------
Again, pretty clear... it'd be nicer if Plone let you say which options you wanted, rather than trying everything and complaining about what didn't work...
File /usr/local/python/Lib/gettext.py, line 304, in _parse UnicodeDecodeError: 'utf8' codec can't decode bytes in position 382-383: invalid data
...because it makes if difficult to decipher if that's a "real" error or not. Mindyou, unless you're planning a multi-lingual site, it probably doens't matter.
Can anyone suggest why I get the Gettext errors? They may be due to missing features in Python, but I'm not sure.
Might well be a file system or python weirdity on OS/2, ah, the joys of being in the minority... Chris - why are you on OS/2, btw? -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On Tue, Mar 16, 2004 at 09:16:16AM +0000, Chris Withers wrote:
John Poltorak wrote:
2004-03-15T18:32:38 INFO(0) Archetypes Products/Archetypes/content_driver/__init__.py[25]:? Unable to import MSWord content driver, this is most likely due to missing the win32 extensions on win32 for which COM is used to support document conversion. See the README.txt
Well, that's pretty clear ;-) Unless you want to convert word docs on import, you don't need to worry about this...
I hadn't wished to do anything with word docs, but when you say convert, what do they get converted to?
Again, pretty clear... it'd be nicer if Plone let you say which options you wanted, rather than trying everything and complaining about what didn't work...
Yes, they were pretty self-explanatory - I just copied all the startup msgs. I agree that it would be nice to switch those msgs off...
File /usr/local/python/Lib/gettext.py, line 304, in _parse UnicodeDecodeError: 'utf8' codec can't decode bytes in position 382-383: invalid data
...because it makes if difficult to decipher if that's a "real" error or not. Mindyou, unless you're planning a multi-lingual site, it probably doens't matter.
I don't need any other languages apart from English but haven't managed to remove them so far
Can anyone suggest why I get the Gettext errors? They may be due to missing features in Python, but I'm not sure.
Might well be a file system or python weirdity on OS/2, ah, the joys of being in the minority...
Well at least you could say it was a close knit community :-).
Chris - why are you on OS/2, btw?
I remember Lord Gates telling me, many years ago, that OS/2 was going to be the biggest program of all time and I believed him ;-)... I guess I just stuck with it since I didn't want to be on the upgrade treadmill, didn't like viruses and wanted to be in control of what my computer was doing rather than having mysterious upgrades being auto-installed.
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
-- John
John Poltorak wrote:
Well, that's pretty clear ;-) Unless you want to convert word docs on import, you don't need to worry about this...
I hadn't wished to do anything with word docs, but when you say convert, what do they get converted to?
Go ask on an Archetypes or Plone list ;-)
Chris - why are you on OS/2, btw?
I remember Lord Gates telling me, many years ago, that OS/2 was going to be the biggest program of all time and I believed him ;-)...
I guess I just stuck with it since I didn't want to be on the upgrade treadmill, didn't like viruses and wanted to be in control of what my computer was doing rather than having mysterious upgrades being auto-installed.
So go for Linux or MacOS X and end your pain on suffering. FWIW, I'm on Win2K, don't have any autoupdating going on and don't use any M$ software apart from Windows and Office, so don't have too many viri to contend with... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On Wed, Mar 17, 2004 at 09:12:56AM +0000, Chris Withers wrote:
John Poltorak wrote:
Chris - why are you on OS/2, btw?
I remember Lord Gates telling me, many years ago, that OS/2 was going to be the biggest program of all time and I believed him ;-)...
I guess I just stuck with it since I didn't want to be on the upgrade treadmill, didn't like viruses and wanted to be in control of what my computer was doing rather than having mysterious upgrades being auto-installed.
So go for Linux or MacOS X and end your pain on suffering. FWIW, I'm on Win2K, don't have any autoupdating going on and don't use any M$ software apart from Windows and Office, so don't have too many viri to contend with...
I actually like OS/2, and unlike Linux it has had threading built into it from day one and it works pretty well. Personally I would not be surprised if Zope running on OS/2 outperformed Zope running on Linux using the same hardware. Besides that, more and more open source software is now buildable on OS/2 so there is little point in moving away. In fact XFree86 4.4.0 became available for OS/2 before Linux, AFAIK. Now it looks as though I can build Zope 2.7.0 straight from source without requiring any patches at all, so there is much less suffering involved than there used to be. As for virii, I am not aware of a single one which affects OS/2. 'Security through obscurity' is quite a useful motto ;-)...
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
-- John
participants (2)
-
Chris Withers -
John Poltorak