Peter Bengtsson wrote at 2006-1-31 10:50 +:
> ...
> if RefreshFuncs.performFullRefresh(self._p_jar, self.id):
>from ZODB import Connection
>Connection.resetCaches() # Clears cache in future connections.
The call above is responsible to clear the ZODB caches.
After your problem descrip
On 1/30/06, Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Peter Bengtsson wrote at 2006-1-30 18:54 +:
> >I've noticed another strange behaviour with the Acquisition module in
> >Zope 2.9 that might give us some clues as to why refreshing doesn't
> >work.
> >
> >Imagine some code that looks like th
On 1/30/06, Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Lennart Regebro wrote at 2006-1-30 15:18 +0100:
> > ...
> >Personally I haven't had a situation trivial enough for refresh to
> >work for years...
>
> As I reported earlier, all that is needed is a small tool
> to allows to register product dep
Peter Bengtsson wrote at 2006-1-30 18:54 +:
>I've noticed another strange behaviour with the Acquisition module in
>Zope 2.9 that might give us some clues as to why refreshing doesn't
>work.
>
>Imagine some code that looks like this::
>
>from Acquisition import aq_parent
>
>class MyProduct(Fold
Lennart Regebro wrote at 2006-1-30 15:18 +0100:
> ...
>Personally I haven't had a situation trivial enough for refresh to
>work for years...
As I reported earlier, all that is needed is a small tool
to allows to register product dependencies and that, when
one product is refreshed, automatically r
Peter Bengtsson wrote at 2006-1-30 13:57 +:
> ...
>> "reloaded but not refreshed" means what?
>>
>Suppose my code looks like this::
>
> class MyProduct(Folder):
> blablabla
> print "class MyProduct has just been reloaded"
>
>Then I start zope with ./bin/runzopt, debug-mode off, make a chan
On 1/30/06, Andreas Jung <[EMAIL PROTECTED]> wrote:
>
>
> --On 30. Januar 2006 17:39:11 + Peter Bengtsson <[EMAIL PROTECTED]>
> wrote:
> >
> > It's not a strange product. It's quite simple in fact.
> > Not being able to refresh without restarting means that I can't use
> > Zope 2.9 for python p
I've noticed another strange behaviour with the Acquisition module in
Zope 2.9 that might give us some clues as to why refreshing doesn't
work.
Imagine some code that looks like this::
from Acquisition import aq_parent
class MyProduct(Folder):
def index_html(self):
print type(aq_pare
On 1/30/06, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
> It's not a strange product. It's quite simple in fact.
> Not being able to refresh without restarting means that I can't use
> Zope 2.9 for python product development.
Explain "Can't". I have developed complex products where the Refresh
hasn
--On 30. Januar 2006 17:39:11 + Peter Bengtsson <[EMAIL PROTECTED]>
wrote:
It's not a strange product. It's quite simple in fact.
Not being able to refresh without restarting means that I can't use
Zope 2.9 for python product development.
Why is refresh a requirement for doing Zope deve
On 1/30/06, Jens Vagelpohl <[EMAIL PROTECTED]> wrote:
>
> On 30 Jan 2006, at 15:01, Peter Bengtsson wrote:
> > That's not good enough. The only thing that changed between my
> > development environments was the version of zope and then it stopped
> > working. Python product refresh is crucial to zo
On 30 Jan 2006, at 15:01, Peter Bengtsson wrote:
That's not good enough. The only thing that changed between my
development environments was the version of zope and then it stopped
working. Python product refresh is crucial to zope2 and this problem
needs to be sorted out.
I'm calling bullshit
On 1/30/06, Tino Wildenhain <[EMAIL PROTECTED]> wrote:
> Peter Bengtsson schrieb:
>
> > Suppose my code looks like this::
> >
> > class MyProduct(Folder):
> > blablabla
> > print "class MyProduct has just been reloaded"
> >
> > Then I start zope with ./bin/runzopt, debug-mode off, make a ch
On 1/30/06, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
> class MyProduct(Folder):
> blablabla
> print "class MyProduct has just been reloaded"
>
> Then I start zope with ./bin/runzopt, debug-mode off, make a change in
> the product and press the Refresh button in the Control_Panel and
> not
Peter Bengtsson schrieb:
Suppose my code looks like this::
class MyProduct(Folder):
blablabla
print "class MyProduct has just been reloaded"
Then I start zope with ./bin/runzopt, debug-mode off, make a change in
the product and press the Refresh button in the Control_Panel and
notice h
On 1/27/06, Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Peter Bengtsson wrote at 2006-1-27 16:42 +:
> > ...
> >But, in that example they are using Five and I'm not. I've just got a
> >Zope 2.9 install and a python product that I started on before Five
> >even existed. Does that give us any hope
Peter Bengtsson wrote at 2006-1-27 16:42 +:
> ...
>But, in that example they are using Five and I'm not. I've just got a
>Zope 2.9 install and a python product that I started on before Five
>even existed. Does that give us any hope for non-Five python products?
>Anybody?
I cannot believe that
It appears that product refreshing is futile in Zope 2.9 which is
according to zope.org the current stable version :( Think again.
According to:
http://comments.gmane.org/gmane.comp.web.zope.z3base.five/977
Philipp von Weitershausen informs us that if you have a product that
uses Five in zope2 an
18 matches
Mail list logo