Zope 2.7.3b2 dies on startup
I appears to be a unicode error zopectl> debug Starting debugger (the name "app" is bound to the top-level Zope object) Traceback (most recent call last): File "<string>", line 1, in ? File "/usr/local/src/zope2.7/Zope-2.7/lib/python/Zope/__init__.py", line 51, in app startup() File "/usr/local/src/zope2.7/Zope-2.7/lib/python/Zope/__init__.py", line 47, in startup _startup() File "/usr/local/src/zope2.7/Zope-2.7/lib/python/Zope/App/startup.py", line 45, in startup OFS.Application.import_products() File "/usr/local/src/zope2.7/Zope-2.7/lib/python/OFS/Application.py", line 637, in import_products import_product(product_dir, product_name, raise_exc=debug_mode) File "/usr/local/src/zope2.7/Zope-2.7/lib/python/OFS/Application.py", line 660, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/src/zope2.7/Zope-2.7/lib/python/Products/ZReST/__init__.py", line 7, in ? import ZReST File "/usr/local/src/zope2.7/Zope-2.7/lib/python/Products/ZReST/ZReST.py", line 10, in ? import docutils.core, docutils.io File "/usr/local/src/zope2.7/Zope-2.7/lib/python/docutils/core.py", line 22, in ? from docutils import frontend, io, utils, readers, writers File "/usr/local/src/zope2.7/Zope-2.7/lib/python/docutils/utils.py", line 18, in ? from docutils import frontend, nodes File "/usr/local/src/zope2.7/Zope-2.7/lib/python/docutils/nodes.py", line 29, in ? import xml.dom.minidom File "/usr/local/lib/python2.3/site-packages/_xmlplus/dom/__init__.py", line 237, in ? import MessageSource File "/usr/local/lib/python2.3/site-packages/_xmlplus/dom/MessageSource.py", line 22, in ? gettext.install('4Suite', locale_dir) File "/usr/local/lib/python2.3/gettext.py", line 428, in install translation(domain, localedir, fallback=True).install(unicode) File "/usr/local/lib/python2.3/gettext.py", line 416, in translation t = _translations.setdefault(key, class_(open(mofile, 'rb'))) File "/usr/local/lib/python2.3/gettext.py", line 176, in __init__ self._parse(fp) File "/usr/local/lib/python2.3/gettext.py", line 304, in _parse tmsg = unicode(tmsg, self._charset) LookupError: unknown encoding: CHARSET The python is a fresh compile of 2.3.4 with PyXML-0.8.2. A quick google did not turn up anything useful. Any thoughts?
Looks to have been a problem with PyXML. Upgrading to 0.8.3 fixed the problem. On Sat, 23 Oct 2004, Dennis Allison wrote:
It appears to be a unicode error
zopectl> debug Starting debugger (the name "app" is bound to the top-level Zope object) [snip....snip...snip] File "/usr/local/lib/python2.3/gettext.py", line 304, in _parse tmsg = unicode(tmsg, self._charset) LookupError: unknown encoding: CHARSET
The python is a fresh compile of 2.3.4 with PyXML-0.8.2.
A quick google did not turn up anything useful. Any thoughts?
_______________________________________________ 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 )
participants (1)
-
Dennis Allison