Re: [ZODB-Dev] How to extract users info from ZODB?

smita kamdar <[email protected]> Wed, 25 Jan 2012 16:26:31 +0530
Newsgroups gmane.comp.web.zope.database,gmane.comp.web.zope.zodb
Message-ID <CALcPEFnJu6c=iBSYd+bqUHFz0_=yK7Qv5skAFF=wfCr-k7=f=Q@mail.gmail.com>
Hi,

I have exported the acl_users file in zexp format. But the file is
unreadable. How can i make that file readable? i.e. In which format
should i open the zexp file?


On 1/25/12, Malthe Borch <[email protected]> wrote:
> On 25 January 2012 11:14, smita kamdar <[email protected]> wrote:
>> You mean to say, i click 'acl_users' & then click export?
>
> That might work you as well =96 but if you've got something like a
> pluggable authentication storage, then there's any number of plugins
> inside your "acl_users" folder. You might want to export a particular
> plugin's data instead of trying to export the whole thing.
>
> That said, it might be better for you to start up the instance's debug
> console and work with your application root object:
>
>   $ bin/instance debug
>
> This gets you into Python; try playing around with the "app" object:
>
>   >>> app
>   ...
>
> \malthe
>