[Pkg-zenoss-team] zope version for zenoss - zope 2.10 fails :(
Bernd Zeimetz
bernd at bzed.de
Fri Aug 10 12:41:11 UTC 2007
hi,
yesterday I've given Zope2.10 a try to run zenoss in, unfortunately Zenhub
fails with ZODB - so Ive moved back to Zope2.9.
If anybody would like to try to fix things or Zope 2.10, please checkout
r272,
I've attached the backtrace below. It would be cool if we could use
Zope2.10,
it would save us and the users to migrate later.
Cheers,
Bernd
1.
Traceback (most recent call last):
2.
File "/var/lib/zenoss/Products/ZenHub/zenhub.py", line 182, in
processQueue
3.
self.doProcessQueue()
4.
File "/var/lib/zenoss/Products/ZenHub/zenhub.py", line 196, in
doProcessQueue
5.
obj = obj.__of__(self.dmd).primaryAq()
6.
File
"/var/lib/zope2.10/instance/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py",
line 78, in primaryAq
7.
return getObjByPath(app, self.getPrimaryPath())
8.
File
"/var/lib/zope2.10/instance/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py",
line 51, in getPrimaryPath
9.
basepath = getattr(obj, "zPrimaryBasePath", [])
10.
File
"/var/lib/zope2.10/instance/zenoss/Products/ZenRelations/ToManyContRelationship.py",
line 72, in __getattr__
11.
if objects.has_key(name): return objects[name]
12.
File "/usr/lib/zope2.10/lib/python/ZODB/Connection.py", line
761, in setstate
13.
self._setstate(obj)
14.
File "/usr/lib/zope2.10/lib/python/ZODB/Connection.py", line
819, in _setstate
15.
self._reader.setGhostState(obj, p)
16.
File "/usr/lib/zope2.10/lib/python/ZODB/serialize.py", line 605,
in setGhostState
17.
obj.__setstate__(state)
18.
TypeError: __setstate__() takes exactly 2 arguments (1 given)
19.
2007-08-09 16:01:33 ERROR log: 'NoneType' object has no attribute
'_getOb'
20.
Traceback (most recent call last):
21.
File
"/var/lib/zope2.10/instance/zenoss/Products/ZenHub/services/EventService.py",
line 26, in remote_sendEvent
22.
return self.zem.sendEvent(evt)
23.
File
"/var/lib/zope2.10/instance/zenoss/Products/ZenEvents/MySqlSendEvent.py",
line 64, in sendEvent
24.
event = self.applyEventContext(event)
25.
File
"/var/lib/zope2.10/instance/zenoss/Products/ZenEvents/MySqlSendEvent.py",
line 149, in applyEventContext
26.
events = self.getDmdRoot("Events")
27.
File
"/var/lib/zope2.10/instance/zenoss/Products/ZenModel/ZenModelBase.py",
line 216, in getDmdRoot
28.
return dmd._getOb(name)
29.
AttributeError: 'NoneType' object has no attribute '_getOb'
More information about the Pkg-zenoss-team
mailing list