Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 918807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:26:15+00:00 2026-05-15T18:26:15+00:00

I have been running zope / plone site for about a year now –

  • 0

I have been running zope / plone site for about a year now – it seemed to be a pretty fast way of getting a CMS up and running and it’s a great job for this – it’s running 3.1.2 of plone. I am in now way a zope or plone expert (in fact the more I read about it – the less I know I know!) , but I am handy at python.

I have tried to export the users as xml – it fails with the unicode / id bug. I have tried export as a zexp file, but I can’t actually find out how to read this file (I have tried import zope etc but I don’t know what to do next !

I have found scripts that run listing all users, but these are for zope2 and, if I am honest, I wouldn’t actually know how to install them anyway.

Can someone please either

1) tell me how to fix the id / unicode xml export bug? And please tell me in ways I can do directly on the site ?
or
2) show me how to read and zope zexp file and do something simple like put it into a dict ?

I didn’t know so many people were going to sign up for using my site and now I wish to move the email list management to another system – hence the requirement for the export.

Thanks in advance,

Richard.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:26:15+00:00Added an answer on May 15, 2026 at 6:26 pm

    Another way of extracting the email addresses of the users:

    1. Go to the root of the Plone site in the ZMI.
    2. Add a “Script (Python)”.
      1. Come up with a nice id e.g. “export_email”.
      2. Click on “Add and edit”.
      3. Replace the code in the text field with the code listed below.
      4. Don’t forget to save your changes.
    3. Go to the “test tab”.

    The code for the script:

    for member in context.portal_membership.listMembers():
        print member.getProperty('email')
    return printed
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been running a WP site for a little over 6 months now
I have been running this random walk simulation for a while now and I
We have been running an SSIS package successfully in production now for 3 weeks,
I have been running tests towards a Core Data model (SQLite3). I now need
I have suddenly been getting the memory exception errors for two programs running on
I have been running Visual Studio 2008 Team Edition for some time now and
I have been running SQL Server 2005 Express Management Studio (SSMSE), and I now
I have been running YSlow against my site and the Microsoft Ajax files are
I have been running delayed_job and was hitting some errors, but now I don't
I have been running Apache and PHP successfully for a while and would now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.