Hi, we had a problem after installing the ZenPack located here a few months 
ago: http://blog.dastrup.com/?p=13

After installation we were unable to access the ZenPacks tab under Settings and 
we could not look at the Perf tab of any Windows server [not that I care about 
Windows servers, but my boss seems to  [Twisted Evil]]

This has turned into a big problem - I tried removing it using the zenpack 
--remove from the command line, manually deleting it, reinstalling, removing 
from Zope interface. Nothing works. I am at a complete loss because this is 
preventing us from upgrading to 2.2.

Please see the debug output below:


Code:

$ zenpack --list
[...]
WMIPerformanceMonitor (/opt/zenoss/Products/ZenModel/ZenPack.py)
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 287, in ?
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 66, in run
    for extensionType, lst in zp.list(self.app):
  File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 167, in list
    result.append((loader.name,
  File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 125, in list
    return [obj.getPrimaryUrlPath() for obj in pack.packables()]
  File "/opt/zenoss/Products/ZenRelations/ToManyRelationship.py", line 67, in 
__call__
    return [ob.__of__(self) for ob in self._objects]
AttributeError: 'BTrees._IIBTree.IITreeSet' object has no attribute '__of__'
$




>From ZenPacks tab under Settings:

Code:

Zenoss Error

An error was encountered while publishing this resource. Please use the form 
below to submit details of this error to Zenoss, Inc. This information helps us 
identify and fix issues with the software, though we are unable to respond 
individually to all submissions.

The Zenoss community forums are very active and a good resource for solving 
problems and answering questions. Zenoss also provides commercial services and 
support packages.

Type: AttributeError
Value: 'BTrees._IIBTree.IITreeSet' object has no attribute '__of__'

Traceback (innermost last):

    * Module ZPublisher.Publish, line 114, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /zport/viewZenPacks used for /zport/dmd>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 653, in do_loop_tal
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 677, in do_condition
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 501, in do_insertText_tal
    * Module Products.PageTemplates.TALES, line 227, in evaluateText
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenModel/skins/zenmodel/viewZenPacks.pt
      Line 46, Column 6
      Expression: <PythonExpr len(pack.packables())>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <DataRoot at /zport/dmd>,
       'default': <Products.PageTemplates.TALES.Default instance at 
0x2aaab4778ab8>,
       'here': <DataRoot at /zport/dmd>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x1ea9f908>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0x2aaab4778ea8>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0x1ea9f908>,
       'request': <HTTPRequest, URL=http://monitor:8080/zport/dmd/viewZenPacks>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/viewZenPacks used for /zport/dmd>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: len(pack.packables())
    * Module Python expression "len(pack.packables())", line 1, in <expression>
    * Module Products.ZenRelations.ToManyRelationship, line 67, in __call__

AttributeError: 'BTrees._IIBTree.IITreeSet' object has no attribute '__of__' 





I've seen very little on this error but what I did see indicated that this is a 
problem with the python installation. This is a standard CentOS 5.1 system. I 
have also tried migrating it to a Debian 4.0 with Zenoss 2.2 but I run into the 
same error above during the zenmigrate.

Thank you for all of your help  8)




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=21154#21154

-------------------- m2f --------------------



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

Reply via email to