![]() |
![]() |
Subject: | Encoding PosKey |
Author: | [Not Specified] |
Posted: | 2015-06-15 06:01 |
Hi,
i have som problems PosKey Error that seems to be related to some kind of Encoding problem.
if i try to check the catalag with zencatalogscan:
Traceback (most recent call last):
File "/usr/bin/zencatalogscan", line 9, in
load_entry_point('zenoss.toolbox==0.6.0', 'console_scripts', 'zencatalogscan')()
File "/usr/lib/python2.6/site-packages/zenoss.toolbox-0.6.0-py2.6.egg/zenoss/toolbox/zencatalogscan.py", line 283, in main
dmd = ZenScriptBase(noopts=True, connect=True).dmd
File "/opt/zenoss/Products/ZenUtils/ZenScriptBase.py", line 36, in __init__
CmdBase.__init__(self, noopts)
File "/opt/zenoss/Products/ZenUtils/CmdBase.py", line 100, in __init__
import_products()
File "/opt/zenoss/lib/python/OFS/Application.py", line 583, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File "/opt/zenoss/lib/python/OFS/Application.py", line 606, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/opt/zenoss/Products/ZenStatus/__init__.py", line 14, in
import nmap
File "/opt/zenoss/Products/ZenStatus/nmap/__init__.py", line 25, in
from lxml import etree as _etree
File "lxml.etree.pyx", line 123, in init lxml.etree (src/lxml/lxml.etree.c:156336)
LookupError: unknown encoding: 8
if i try to run a reindex() from zendmd i get this:
Traceback (most recent call last):
File "
File "/opt/zenoss/Products/ZenModel/zendmd.py", line 147, in reindex
dmd.Devices.reIndex()
File "/opt/zenoss/Products/ZenModel/DeviceClass.py", line 833, in reIndex
dev._delObject('componentSearch')
File "/opt/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py", line 120, in _delObject
ObjectManager._delObject(self, id, dp, suppress_events)
File "/opt/zenoss/lib/python/OFS/ObjectManager.py", line 390, in _delObject
notify(ObjectWillBeRemovedEvent(ob, self, id))
File "/opt/zenoss/lib/python/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/opt/zenoss/lib/python/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/opt/zenoss/lib/python/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/zenoss/lib/python/zope/interface/registry.py", line 336, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/zenoss/lib/python/zope/interface/adapter.py", line 583, in subscribers
subscription(*objects)
File "/opt/zenoss/lib/python/zope/component/event.py", line 32, in objectEventNotify
zope.component.subscribers((event.object, event), None)
File "/opt/zenoss/lib/python/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/opt/zenoss/lib/python/zope/interface/registry.py", line 336, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/zenoss/lib/python/zope/interface/adapter.py", line 583, in subscribers
subscription(*objects)
File "/opt/zenoss/lib/python/OFS/subscribers.py", line 101, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/opt/zenoss/lib/python/zope/container/contained.py", line 150, in dispatchToSublocations
for sub in subs.sublocations():
File "/opt/zenoss/lib/python/OFS/subscribers.py", line 81, in sublocations
for ob in self.container.objectValues():
File "/opt/zenoss/lib/python/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/opt/zenoss/lib/python/ZODB/Connection.py", line 901, in _setstate
p, serial = self._storage.load(obj._p_oid, '')
File "/opt/zenoss/lib/python/relstorage/storage.py", line 476, in load
raise POSKeyError(oid)
POSKeyError: 0x10495474
guess it would be a good idea to find the device that creates this problem, any one knows how to solve this
/Mathias
Mathias
Subject: | fixed |
Author: | [Not Specified] |
Posted: | 2015-06-17 01:09 |
.
Mathias
Subject: | same problem |
Author: | [Not Specified] |
Posted: | 2017-01-27 12:11 |
Hi Lunne.
Have a similar problem.
Seems that you have fixedit, can you share or give me a clue of what you did.
Thanks,
Nelson.
< |
Previous Does Zenoss support time based monitoring |
Next Nginx: 413 Request Entity Too Large Error |
> |