Discussion:
Can't export membership list
Hamish Harvey
2009-03-25 12:26:41 UTC
Permalink
Hello,

I just tried to export the membership list of a listen list. I get the
following error:

Time 2009/03/25 12:20:29.449 GMT
User Name (User Id) myun (myuid)
Request URL http://www....org/lists/section/import-export
Exception Type KeyError
Exception Value '/siteroot/portal_memberdata/xxx'

Traceback (innermost last):

* Module ZPublisher.Publish, line 119, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 42, in call_object
* Module Products.listen.browser.import_export, line 38, in __call__
* Module Products.listen.extras.import_export, line 290, in
export_subscribers
* Module Products.ZCatalog.ZCatalog, line 595, in getMetadataForUID

KeyError: '/siteroot/portal_memberdata/xxx'

There are no such paths in the catalogue, nor indeed any member ids
with other paths. Rebuilding the catalog doesn't help.

Any ideas? Is there a configuration setting which stops members being
added to portal_catalog?

Thanks,
Hamish
--
Hamish Harvey
Research Associate, School of Civil Engineering and Geosciences,
Newcastle University
Robert Marianski
2009-03-25 15:50:46 UTC
Permalink
Post by Hamish Harvey
Hello,
I just tried to export the membership list of a listen list. I get the
Time 2009/03/25 12:20:29.449 GMT
User Name (User Id) myun (myuid)
Request URL http://www....org/lists/section/import-export
Exception Type KeyError
Exception Value '/siteroot/portal_memberdata/xxx'
* Module ZPublisher.Publish, line 119, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 42, in call_object
* Module Products.listen.browser.import_export, line 38, in __call__
* Module Products.listen.extras.import_export, line 290, in
export_subscribers
* Module Products.ZCatalog.ZCatalog, line 595, in getMetadataForUID
KeyError: '/siteroot/portal_memberdata/xxx'
There are no such paths in the catalogue, nor indeed any member ids
with other paths. Rebuilding the catalog doesn't help.
Any ideas? Is there a configuration setting which stops members being
added to portal_catalog?
Thanks,
Hamish
This is just a guess, but do you have membrane/remember installed? If
not, try installing it to see if it makes this error go away. We use
this buildout:
https://svn.plone.org/svn/collective/Products.listen/buildouts/p3.1-remember

Robert
Hamish Harvey
2009-08-11 13:20:13 UTC
Permalink
Robert,

On Wed, Mar 25, 2009 at 15:50, Robert Marianski
Post by Robert Marianski
Post by Hamish Harvey
I just tried to export the membership list of a listen list. I get the
...snip...
Post by Robert Marianski
Post by Hamish Harvey
KeyError: '/siteroot/portal_memberdata/xxx'
This is just a guess, but do you have membrane/remember installed? If
not, try installing it to see if it makes this error go away.
It's taken me a long time to get back to this, but well guessed! Of
course: no content objects => nothing in the catalog.

I guess I happily removed the membrane/remember references in the
buildout because I couldn't face the migration (adding Remember to an
existing site). Oops.

Thanks,
Hamish

Loading...