Well, I'm stumped.

Just to be sure: you are restarting everything between svn updates, right? In particular, make sure that Zope has been restarted. I find that Zope is sometimes resistant to my attempts to restart it.

-Eric

Denny Parker wrote:
Eric. Thanks for your help.

[p for p in dmd.Manufacturers.getProductsGen() if type(p) ==
type(u'')]
[]



I guess that's no output. The re-index didn't work. But at least im
learning ;)

Heres the code again, when I attempt to "Collect" SNMP Information from
the Server(s)

Traceback (most recent call last): File
"/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 54, in
processClient changed = self._applyDataMap(device, datamap) File
"/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 95, in
_applyDataMap changed = self._updateRelationship(tobj, datamap) File
"/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 129, in
_updateRelationship self._createRelObject(device, objmap, rname) File
"/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 205, in
_createRelObject self._updateObject(remoteObj, objmap) File
"/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 170, in
_updateObject setter(value) File
"/usr/local/zenoss/Products/ZenModel/Software.py", line 125, in
setProductKey prodobj = manufs.createSoftwareProduct(prodKey) File
"/usr/local/zenoss/Products/ZenModel/ManufacturerRoot.py", line 157, in
createSoftwareProduct return self._getProduct(prodName, manufacturer,
SoftwareClass, **kwargs) File
"/usr/local/zenoss/Products/ZenModel/ManufacturerRoot.py", line 164, in
_getProduct prod = self.findProduct(prodid) File
"/usr/local/zenoss/Products/ZenModel/ManufacturerRoot.py", line 141, in
findProduct brains = cat({'productKeys': query}) File
"usr/local/zenoss/lib/python/Products/ZCatalog/ZCatalog.py", line 690,
in searchResults File
"usr/local/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 733, in
searchResults File
"usr/local/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 476, in
search File
"usr/local/zenoss/lib/python/Products/PluginIndexes/common/UnIndex.py",
line 393, in _apply_index UnicodeDecodeError: 'ascii' codec can't decode
byte 0x96 in position 27: ordinal not in range(128)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Newton
Sent: 11 September 2006 16:05
To: General discussion of using zenoss system
Subject: Re: [zenoss-users] Windows Model Errors - can't decode byte
0x96

The data is stored in the Zeo object database.

You could attempt to re-install from an empty $ZENHOME, but you would
lose your current configuration.

Let's try something simple.   Let's just reindex the Manufacturers
catalog.
Run "zendmd" to access the object database:

    $ zendmd
    >>> dmd.Manufacturers.reIndex()
    >>> commit()
    >>> ^D

Let me know if that helps.

Assuming that it still doesn't work, send the output of this:

    >>> [p for p in dmd.Manufacturers.getProductsGen() if type(p) ==
type(u'')]

-Eric

Denny Parker wrote:
Hi Eric, thanks for trying, but I still get the same error on multiple

servers. ( SVN 2290 )

How would I purge the database, edit the SQL Directly?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Newton
Sent: 11 September 2006 14:59
To: General discussion of using zenoss system
Subject: Re: [zenoss-users] Windows Model Errors - can't decode byte 0x96

Hi Denny,

Try now (v 2290).  I made a small fix that may help.  Note that I'm
not able to reproduce the problem, so it may be that some unicode values
have snuck into the database and may have to be purged before this works
for you.
-Eric

Denny Parker wrote:
Im still getting Traceback errors, using the latest SVN update?
2286 Trunk should have had a fix according to Eric, I think im on
2289.
(I updated yesterday)

Sorry guys to be a pain.

Below is code.


Traceback (most recent call last): File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 54, in processClient changed = self._applyDataMap(device, datamap) File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 95, in _applyDataMap changed = self._updateRelationship(tobj, datamap) File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line

129, in _updateRelationship self._createRelObject(device, objmap,
rname) File
"/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 205,

in _createRelObject self._updateObject(remoteObj, objmap) File "/usr/local/zenoss/Products/DataCollector/ApplyDataMap.py", line 170,

in _updateObject setter(value) File "/usr/local/zenoss/Products/ZenModel/Software.py", line 125, in setProductKey prodobj = manufs.createSoftwareProduct(prodKey) File "/usr/local/zenoss/Products/ZenModel/ManufacturerRoot.py", line 157, in createSoftwareProduct return self._getProduct(prodName, manufacturer, SoftwareClass, **kwargs) File "/usr/local/zenoss/Products/ZenModel/ManufacturerRoot.py", line 163, in _getProduct prod = self.findProduct(prodName) File "/usr/local/zenoss/Products/ZenModel/ManufacturerRoot.py", line 141, in findProduct brains = cat({'productKeys': query}) File "usr/local/zenoss/lib/python/Products/ZCatalog/ZCatalog.py", line 690, in searchResults File "usr/local/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 733,

in searchResults File "usr/local/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 476,

in search File
"usr/local/zenoss/lib/python/Products/PluginIndexes/common/UnIndex.py"
, line 393, in _apply_index UnicodeDecodeError: 'ascii' codec can't decode byte 0x96 in position 27: ordinal not in range(128)

Denny Parker, Technical Support Officer Technical Services Department

YHA (England & Wales) Ltd



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to