[Zope] Problems with ExternalEditor & CMS

joachim@zope.aixtraware.de joachim@zope.aixtraware.de
Sun, 9 Jun 2002 13:19:50 +0200 (CEST)


Hi Maik,

search the mailing list for external editor booth problems have been
solved ;-)

The version 0.2 solves the uninstall problem.

On 9 Jun 2002, Maik Jablonski wrote:

> hi,
> 
> I wanted to install CMS (tried 1.3beta & CVS). After adding a CMS-SITE I
> always get a RuntimeError (traceback 1 below) when I want to manage my
> ZOPE-Root. Tried the same with a fresh install of ZOPE without Caseys
> excellent ExternalEditor and all works fine.
> 
> So I tried to deinstall ExternalEditor... but this didn't work!!! I
> deleted it from Control_Panel/Products and removed the Products-Folder,
> restarted ZOPE... and ZOPE didn't start up at all (traceback 2).
> 
> any hints? any help?
> 
> greetings, maik
> 
> 
> Traceback 1
> ************************
> Error Type: RuntimeError
> Error Value: function attributes not accessible in restricted mode
> 
> Traceback (innermost last):
>   File /home/zope/lib/python/ZPublisher/Publish.py, line 150, in
> publish_module
>   File /home/zope/lib/python/ZPublisher/Publish.py, line 114, in publish
>   File /home/zope/lib/python/Zope/__init__.py, line 159, in
> zpublisher_exception_hook
>     (Object: )
>   File /home/zope/lib/python/ZPublisher/Publish.py, line 98, in publish
>   File /home/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
>     (Object: manage_main)
>   File /home/zope/lib/python/ZPublisher/Publish.py, line 39, in
> call_object
>     (Object: manage_main)
>   File /home/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in
> __call__
>     (Object: manage_main)
>   File /home/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in
> _bindAndExec
>     (Object: manage_main)
>   File /home/zope/lib/python/App/special_dtml.py, line 172, in _exec
>     (Object: manage_main)
>   File /home/zope/lib/python/DocumentTemplate/DT_In.py, line 695, in
> renderwob
>     (Object: objectItems)
>   File /home/zope/lib/python/DocumentTemplate/DT_Let.py, line 76, in
> render
>     (Object: explicit="_.getitem('sequence-item').aq_explicit")
>   File /home/zope/lib/python/DocumentTemplate/DT_Util.py, line 159, in
> eval
>     (Object: _.hasattr(explicit, 'manage_FTPget')
>                    or _.hasattr(explicit, 'read')
>                    or _.getattr(explicit, 'content_type',
>                    '').startswith('text/'))
>     (Info: explicit)
>   File <string>, line 0, in ?
> RuntimeError: (see above)
> *************
> 
> Traceback 2
> **************
> 2002-06-09T08:35:45 ERROR(200) ZODB Couldn't load state for
> '\x00\x00\x00\x00\x00\x00\x00\x02'
> Traceback (innermost last):
>   File /home/zope/lib/python/ZODB/Connection.py, line 472, in setstate
> ImportError: No module named ExternalEditor.ExternalEditor
> 
> Traceback (innermost last):
>   File /home/zope/z2.py, line 497, in ?
>   File <string>, line 1, in ?
>   File /home/zope/lib/python/Zope/__init__.py, line 71, in ?
>   File /home/zope/lib/python/OFS/Application.py, line 254, in initialize
>   File /home/zope/lib/python/ZODB/Connection.py, line 472, in setstate
> ImportError: No module named ExternalEditor.ExternalEditor
> 
> ------
> 2002-06-09T08:35:45 PROBLEM(100) zdaemon zdaemon: Sun Jun  9 10:35:45
> 2002: The kid, 1350, died on me.
> ************
> 
>