[BlueBream] problems working with ZODB in bluebream....

Войнаровський Тарас voyn1991 at gmail.com
Mon Nov 18 12:00:10 CET 2013


As for a debugger, you have direct access to root in the `root` veriable
there. You will not have such a simple thing while processing requests.

> Welcome to the interactive debug prompt.
> *The 'root' variable contains the ZODB root folder*.
> The 'app' variable contains the Debugger, 'app.publish(path)' simulates
> a request.



2013/11/18 Tamer Higazi <th982a at googlemail.com>

> Didn't seem to help very much.....
>
>
>
> 2013-11-18T11:12:32 INFO zope.generations main db: evolving in mode
> EVOLVEMINIMUM
> Welcome to the interactive debug prompt.
> The 'root' variable contains the ZODB root folder.
> The 'app' variable contains the Debugger, 'app.publish(path)' simulates
> a request.
> >>> from zope.site import hooks
> >>> site = hooks.getSite()
> >>> print site
> None
> >>>
>
>
>
> On 11/18/13 10:05, FLORAC, Thierry wrote:
> > Hi,
> >
> > Did you tried:
> >
> >   >>> from zope.site import hooks
> >   >>> site = hooks.getSite()
> >
> > Regards,
> > Thierry
>
> _______________________________________________
> bluebream mailing list
> bluebream at zope.org
> https://mail.zope.org/mailman/listinfo/bluebream
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/bluebream/attachments/20131118/a5b134a4/attachment.html>


More information about the bluebream mailing list