I see the following the first time a Zope instance is started under 2.9: 2006-04-03T10:59:30 ERROR Zope A problem was found when checking the global product registry. This is probably due to a Product being uninstalled or renamed. The traceback follows. Traceback (most recent call last): File "C:\Zope\2.9.2\lib\python\OFS\Application.py", line 260, in checkGlobalRegistry keys=list(self._p_jar.root()['ZGlobals'].keys()) File "C:\Zope\2.9.2\lib\python\OFS\Uninstalled.py", line 46, in __getattr__ raise AttributeError, escape(name) AttributeError: keys Seems odd. What does it mean? Should I expect it? How come it no longer happens on subsequent startups? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
This is an old ZODB, right? ZGlobals is used by ZClasses. There used to be a time when ZGlobals was still a BTree when it should have been a BTrees.BTree. Then some migration code was added. I suppose the error comes from the fact that BTree.so is now finally no longer part of Zope and your ZODB is old. Or something along these lines ;-) Anyway, as long as you don't use ZClasses (and I seem to remember you, err, are pretty explicit about your dislike) forget about it. Stefan On 3. Apr 2006, at 12:18, Chris Withers wrote:
I see the following the first time a Zope instance is started under 2.9:
2006-04-03T10:59:30 ERROR Zope A problem was found when checking the global product registry. This is probably due to a Product being uninstalled or renamed. The traceback follows. Traceback (most recent call last): File "C:\Zope\2.9.2\lib\python\OFS\Application.py", line 260, in checkGlobalRegistry keys=list(self._p_jar.root()['ZGlobals'].keys()) File "C:\Zope\2.9.2\lib\python\OFS\Uninstalled.py", line 46, in __getattr__ raise AttributeError, escape(name) AttributeError: keys
Seems odd. What does it mean? Should I expect it? How come it no longer happens on subsequent startups? -- Anything that happens, happens. --Douglas Adams
Stefan H. Holek wrote:
This is an old ZODB, right?
Yup, from Zope 2.7.6
ZGlobals is used by ZClasses. There used to be a time when ZGlobals was still a BTree when it should have been a BTrees.BTree. Then some migration code was added.
It obviously never kicked in ;-)
I suppose the error comes from the fact that BTree.so is now finally no longer part of Zope and your ZODB is old. Or something along these lines ;-)
Well, I guess the thing gets rebuilt, otherwise it'd keep whining...
Anyway, as long as you don't use ZClasses (and I seem to remember you, err, are pretty explicit about your dislike) forget about it.
...but given that I don't care, and it doesn't hurt anymore, I shall indeed forget about it. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (2)
-
Chris Withers -
Stefan H. Holek