...zdb in this case.
I need to make a global recompile function available, since zdb
requires the co_filename attribute of the script's func_code object to
be set to something meaningful, rather than the useless Script
(Python) it usually gets set to.
Once zdb is installed, any scripts
Hello zope-dev!
http://www.zope.org/Collectors/Zope/1911
I try to migrate my old database from zope 2.6.1.
I have Broken objects, but it is impossible to get its state in Zope 2.8.
In Zope 2.6 Broken objects have states, what i uses to migrate its.
I think this is because DB.classFactory
Victor Safronovich wrote:
I have Broken objects, but it is impossible to get its state in Zope 2.8.
In Zope 2.6 Broken objects have states, what i uses to migrate its.
I think that was more by luck than by design, but maybe whoever made the
change can help you out...
I think this is
Hello Chris Withers,
Thursday, September 29, 2005, 2:44:52 PM, you wrote:
CW I think that was more by luck than by design, but maybe whoever made the
CW change can help you out...
I think broken object MUST use ZODB.broken.Broken not OFS.Uninstalled.Broken
CW What makes it a bad persisten
Victor Safronovich wrote:
Hello zope-dev!
http://www.zope.org/Collectors/Zope/1911
I try to migrate my old database from zope 2.6.1.
I have Broken objects, but it is impossible to get its state in Zope 2.8.
In Zope 2.6 Broken objects have states, what i uses to migrate its.
I think
lavrinenko wrote:
I suspect the bug is in Image.py, and the whole database adapters thing is a
red herring.
Either that, or Shared.ZRDB has become geb0rken in 2.8 when it comes to
savepoints.
..or, as another possibility, both the DA's these errors have been
reported with haven't been
lavrinenko wrote:
RDB-based user folder? ZSQL methods being used somewhere?
Yes, exUserFolder with MySQL Authentication Source
Try SimpleUserFolder ;-)
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
Hello Jim Fulton,
Thursday, September 29, 2005, 2:57:47 PM, you wrote:
JF Victor Safronovich wrote:
Hello zope-dev!
http://www.zope.org/Collectors/Zope/1911
I try to migrate my old database from zope 2.6.1.
I have Broken objects, but it is impossible to get its state in Zope 2.8.
So I guess it didn't work. :)
I'll look into this. The first step will be to write a test for this.
The intent was definately that you would be able to get to a broken object's
state.
Jim
Victor Safronovich wrote:
Hello Jim Fulton,
Thursday, September 29, 2005, 2:57:47 PM, you wrote:
JF
Hello Victor Safronovich,
Thursday, September 29, 2005, 4:03:17 PM, you wrote:
VS I think __setattr__ and __setstate__ overriden by ExtensionClass, but
needfully
VS must be from Persistent. Or classFactory must return
VS ZODB.broken.{Persistent}Broken objects
I changed BrolenClass.__bases__
Victor Safronovich wrote:
Hello zope-dev!
http://www.zope.org/Collectors/Zope/1911
I try to migrate my old database from zope 2.6.1.
I have Broken objects, but it is impossible to get its state in Zope 2.8.
In Zope 2.6 Broken objects have states, what i uses to migrate its.
I think
Hello Jim Fulton,
Thursday, September 29, 2005, 4:34:31 PM, you wrote:
JF So I guess it didn't work. :)
JF I'll look into this. The first step will be to write a test for this.
JF The intent was definately that you would be able to get to a broken object's
JF state.
not Test but for example (
Hello Jim Fulton,
Thursday, September 29, 2005, 5:02:46 PM, you wrote:
JF Could you tell me more about what you want to happen?
i want to get the states of broken objects, to migrate them.
--
Best regards,
Victor Safronovich
NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru
I have found a strange security issue with Zope 2.8.1 that seems to
stem from code not doing what it was supposed to do in Zope 2.7.x,
but which works in 2.8.1 and then causes other side effects in code
that relied on the broken behavior.
Symptom: In Zope 2.8.1 it is *impossible* to
Jens Vagelpohl wrote:
I have found a strange security issue with Zope 2.8.1 that seems to
stem from code not doing what it was supposed to do in Zope 2.7.x, but
which works in 2.8.1 and then causes other side effects in code that
relied on the broken behavior.
Symptom: In Zope 2.8.1 it is
Chris Withers wrote at 2005-9-29 09:17 +0100:
...zdb in this case.
I need to make a global recompile function available, since zdb
requires the co_filename attribute of the script's func_code object to
be set to something meaningful, rather than the useless Script
(Python) it usually gets set
16 matches
Mail list logo