[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Fle3-users] Problem with export...
From: |
Richard Ford |
Subject: |
RE: [Fle3-users] Problem with export... |
Date: |
Thu, 3 Apr 2003 21:10:26 -0500 |
> We've seen this error in a few instances and if I remember correctly,
> modifying WebtopItem.py method setAuthor to look like this should
> correct the problem:
>
> def set_author(self,author):
> """Set the author (owner) of this item."""
> self.manage_setLocalRoles(author,('Owner',))
> try:
>
> self.changeOwnership(self.acl_users.getUser(author).__of__(sel
> f.acl_users))
> except AttributeError:
> pass
>
> This error occurs if some webtop or group folder items have been
> created by users that have been frozen. We'll make a good fix for this
> when we get to it, but this quick patch should help.
>
> Note, btw, that Zope 2.6.1 does not show stack traces in error
> messages. I don't know why, but it makes debugging very difficult. So
> I suggest using Zope 2.5.x unless upgrading to 2.6.1 is necessary for
> other reasons.
I've rolled back to 2.5.1 to make things easier. The error Zope throws is:
Traceback (innermost last):
File /usr/local/Zope2.5.1/lib/python/ZPublisher/Publish.py, line 150, in
publish_module
File /usr/local/Zope2.5.1/lib/python/ZPublisher/Publish.py, line 114, in
publish
File /usr/local/Zope2.5.1/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
File /usr/local/Zope2.5.1/lib/python/ZPublisher/Publish.py, line 98, in
publish
File /usr/local/Zope2.5.1/lib/python/ZPublisher/mapply.py, line 88, in
mapply
(Object: manage_addFLE)
File /usr/local/Zope2.5.1/lib/python/ZPublisher/Publish.py, line 39, in
call_object
(Object: manage_addFLE)
File /usr/local/Zope2.5.1/lib/python/Products/FLE/FLE.py, line 796, in
manage_addFLE
File /usr/local/Zope2.5.1/lib/python/OFS/ObjectManager.py, line 267, in
_setObject
(Object: Zope)
File /usr/local/Zope2.5.1/lib/python/Products/FLE/FLE.py, line 365, in
manage_afterAdd
(Object: Praxis)
File /usr/local/Zope2.5.1/lib/python/Products/FLE/ImportExport.py, line
143, in __init__
File /usr/local/Zope2.5.1/lib/python/Products/FLE/ImportExport.py, line
209, in loadZip
File /usr/local/Zope2.5.1/lib/python2.1/xml/dom/minidom.py, line 915, in
parseString
File /usr/local/Zope2.5.1/lib/python2.1/xml/dom/minidom.py, line 901, in
_doparse
(Object: parseString)
File /usr/local/Zope2.5.1/lib/python2.1/xml/dom/pulldom.py, line 301, in
parseString
File /usr/local/Zope2.5.1/lib/python2.1/xml/sax/__init__.py, line 76, in
make_parser
File /usr/local/Zope2.5.1/lib/python2.1/xml/sax/__init__.py, line 101, in
_create_parser
AttributeError: (see above)
Is this still fixed by the patch you posted above?
Much thanks for your help, I very much appreciate it!
Richard