Closed smakked closed 10 years ago
What version do you see this on? It looks like you're installing from the source directory, so the version isn't tagged in there.
yes you are correct, wrong error below is the zenpack install
zenpack --install ZenPacks.zenoss.Microsoft.Windows-_.egg
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in
@smakked: I just ran into this same error on a system to which I had direct access. The problem turned out to be that an older version of txwinrm was installed into the system and was being used instead of the version packaged with the ZenPack.
See if you can find this in your system with the following command.
find $ZENHOME/lib -name txwinrm\*
If this turns up a directory under the Python site-packages you should remove that directory to solve the problem.
Hi Guys
Trying to install this i get this error below
CODE:
[root@nit-monitoring zen]# zenpack --link --install ZenPacks.zenoss.Microsoft.Windows 2014-04-09 07:53:27,735 INFO zen.ZPLoader: Loading /zen/ZenPacks.zenoss.Microsoft.Windows/ZenPacks/zenoss/Microsoft/Windows/objects/objects.xml 2014-04-09 07:53:30,614 ERROR zen.ZenPackCMD: Error installing ZenPack ZenPacks.zenoss.Microsoft.Windows Traceback (most recent call last): File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 247, in InstallEggAndZenPack fromUI=fromUI) File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 477, in InstallDistAsZenPack zenPack, deferFileDeletion, existing = transactional_actions() File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g r = f(_args, *_kwargs) File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 436, in transactional_actions zenPack.install(dmd) File "/zen/ZenPacks.zenoss.Microsoft.Windows/ZenPacks/zenoss/Microsoft/Windows/init.py", line 89, in install super(ZenPack, self).install(app) File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install loader.load(self, app) File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 106, in load importer.loadObjectFromXML(xmlfile=f) File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectFromXML parser.parse(self.infile) File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 312, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 155, in startElement obj = self.createObject(attrs) File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 281, in createObject klass = importClass(attrs.get('module'), attrs.get('class')) File "/opt/zenoss/Products/ZenUtils/Utils.py", line 429, in importClass raise ex ImportError: cannot import name create_enum_info 2014-04-09 07:53:30,623 ERROR zen.ZenPackCmd: zenpack command failed Traceback (most recent call last): File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 263, in InstallEggAndZenPack
raise e
ImportError: cannot import name create_enum_info
Running Zenoss 4.2.4, i did have it working till i accidentaly removed it and now i cannot install it again