Mailing List Archive

Problem Adding Plone Users (PostgreSQL/APE)
Hi Everyone,

I am running Plone using a PostgreSQL database and it works fine with the
exception of adding new users. When I attempt to add a user from the Plone
Configuration page, I get the following error:

This site encountered an error trying to fulfill your request. The errors
were:
Error Type
RuntimeError
Error Message
Unable to pickle the '_members' attribute, , of at '17'. Cannot pickle
objects.
Request made at
2005/07/23 14:27:38.481 GMT-4

I cannot find anything in the database log and I am able to add documents
and files to the site with no problems. I have made no modifications to
Zope or Plone.

The following software versions apply:
PostgreSQL 7.4.8
Plone 2.0.5
Zope 2.7.4
Python 2.3.4
Ape 1.0
Linux Fedora Core 3

Thanks in advance,
Steve
Re: Problem Adding Plone Users (PostgreSQL/APE) [ In reply to ]
Winn, Steven J wrote at 2005-7-28 14:15 -0400:
>I am running Plone using a PostgreSQL database and it works fine with the
>exception of adding new users. When I attempt to add a user from the Plone
>Configuration page, I get the following error:
>
>This site encountered an error trying to fulfill your request. The errors
>were:
>Error Type
>RuntimeError
>Error Message
>Unable to pickle the '_members' attribute, , of at '17'. Cannot pickle
>objects.
>Request made at
>2005/07/23 14:27:38.481 GMT-4

When you get errors, you should look at the traceback!

The traceback will tell you where (in the code) the exception
is raised.

I would catch the exception and analyse the content of the failing
attribute (to find out what precisely is not picklable).


--
Dieter
_______________________________________________
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
RE: Problem Adding Plone Users (PostgreSQL/APE) [ In reply to ]
Hi Dieter,

Thanks for the quick reply. I'm not a Python programmer but will keep
plugging away at it. In the meantime, maybe someone can make some quick
sense out of this traceback and give me a suggestion.

Thanks again.
Steve

2005-07-23T14:27:38 ERROR(200) SiteError
http://170.20.47.44:8080/Portal/join_form
Traceback (most recent call last):
File "/opt/Zope/lib/python/ZPublisher/Publish.py", line 107, in publish
transactions_manager.commit()
File "/opt/Zope/lib/python/Zope/App/startup.py", line 222, in commit
get_transaction().commit()
File "/opt/Zope/lib/python/ZODB/Transaction.py", line 241, in commit
ncommitted += self._commit_objects(objects)
File "/opt/Zope/lib/python/ZODB/Transaction.py", line 356, in
_commit_objects
jar.commit(o, self)
File "/opt/Zope/data/Products/Ape/lib/apelib/zodb3/connection.py", line
263, in commit
event, classification, state = osio.serialize(oid, obj)
File "/opt/Zope/data/Products/Ape/lib/apelib/core/io.py", line 152, in
serialize
state = mapper.serializer.serialize(event)
File "/opt/Zope/data/Products/Ape/lib/apelib/core/serializers.py", line
108, in serialize
state = s.serialize(event)
File "/opt/Zope/data/Products/Ape/lib/apelib/zodb3/serializers.py", line
256, in serialize
raise RuntimeError(
RuntimeError: Unable to pickle the '_members' attribute, <OOBTree object at
0xb094ddb0>, of <MemberDataTool at portal_memberdata> at '17'. Cannot
pickle <extension class Acquisition.ImplicitAcquirerWrapper at 1753a0>
objects.

-----Original Message-----
From: Dieter Maurer [mailto:dieter@handshake.de]
Sent: Friday, July 29, 2005 2:30 PM
To: Winn, Steven J
Cc: 'zope-db@zope.org'
Subject: Re: [Zope-DB] Problem Adding Plone Users (PostgreSQL/APE)

Winn, Steven J wrote at 2005-7-28 14:15 -0400:
>I am running Plone using a PostgreSQL database and it works fine with the
>exception of adding new users. When I attempt to add a user from the Plone
>Configuration page, I get the following error:
>
>This site encountered an error trying to fulfill your request. The errors
>were:
>Error Type
>RuntimeError
>Error Message
>Unable to pickle the '_members' attribute, , of at '17'. Cannot pickle
>objects.
>Request made at
>2005/07/23 14:27:38.481 GMT-4

When you get errors, you should look at the traceback!

The traceback will tell you where (in the code) the exception
is raised.

I would catch the exception and analyse the content of the failing
attribute (to find out what precisely is not picklable).


--
Dieter