Date: Fri, 8 Jun 2012 16:46:26 +0100 From: Kaya Saman <kayasaman@gmail.com> To: freebsd-ports <freebsd-ports@freebsd.org> Subject: Zenoss Zenpacks not installing?? Message-ID: <CAPj0R5L9FJk3b4te9zWHGo2PrB30bmkeyCP4qB2HwGJa_JUhPQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I'm trying to install a Zenpack on my demo of Zenoss in order to be able to query our MSSQL backend servers however I'm having quite a few issues. These are what I'm trying to install: ZenPacks.community.WMIDataSource-3.0.egg ZenPacks.community.WMIDataSource-3.0.egg.zip ZenPacks.community.WMIPerf_MSSQL-2.0.1-py2.6.egg ZenPacks.community.WMIPerf_MSSQL-2.0.1-py2.6.egg.zip ZenPacks.community.ZenODBC-4.0.egg ZenPacks.community.ZenODBC-4.0.egg.zip A typical error is this: $ zenpack --install /root/ZenPacks.community.WMIDataSource-3.0.egg Link to http://pypi.python.org/simple/ZenPacks.community.SQLDataSource/ ***BLOCKED*** by --allow-hosts Couldn't find index page for 'ZenPacks.community.SQLDataSource' (maybe misspelled?) Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts No local packages or download links found for ZenPacks.community.SQLDataSource>=2.0 Couldn't find index page for 'ZenPacks.community.SQLDataSource' (maybe misspelled?) No local packages or download links found for ZenPacks.community.SQLDataSource>=2.0 ERROR:zen.ZenPackCmd:zenpack command failed Traceback (most recent call last): File "/usr/local/zenoss/Products/ZenUtils/zenpack.py", line 406, in <module> zp.run() File "/usr/local/zenoss/Products/ZenUtils/zenpack.py", line 134, in run previousVersion= self.options.previousVersion) File "/usr/local/zenoss/Products/ZenUtils/ZenPackCmd.py", line 240, in InstallEggAndZenPack zpDists = InstallEgg(dmd, eggPath, link=link) File "/usr/local/zenoss/Products/ZenUtils/ZenPackCmd.py", line 303, in InstallEgg DoEasyUninstall(eggPath) File "/usr/local/zenoss/Products/ZenUtils/ZenPackCmd.py", line 891, in DoEasyUninstall easy_install.main(args) File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 1712, in main with_ei_usage(lambda: File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 1700, in with_ei_usage return f() File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 1716, in <lambda> distclass=DistributionWithoutHelpCommands, **kw File "/usr/local/zenoss/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/local/zenoss/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/usr/local/zenoss/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 211, in run self.easy_install(spec, not self.no_deps) File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 427, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 478, in install_item self.process_distribution(spec, dist, deps) File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 519, in process_distribution [requirement], self.local_index, self.easy_install File "/usr/local/zenoss/lib/python/pkg_resources.py", line 563, in resolve dist = best[req.key] = env.best_match(req, self, installer) File "/usr/local/zenoss/lib/python/pkg_resources.py", line 799, in best_match return self.obtain(req, installer) # try and download/install File "/usr/local/zenoss/lib/python/pkg_resources.py", line 811, in obtain return installer(requirement) File "/usr/local/zenoss/lib/python/setuptools/command/easy_install.py", line 434, in easy_install self.local_index File "/usr/local/zenoss/lib/python/setuptools/package_index.py", line 475, in fetch_distribution return dist.clone(location=self.download(dist.location, tmpdir)) AttributeError: 'NoneType' object has no attribute 'clone' Reading up about the error it seems that the version of Python is wrong however, 2.6 is installed and attempting to install the: ZenPacks.community.WMIPerf_MSSQL-2.0.1-py2.6.egg pack gives the same errors?? Can anyone help? I'm not sure if this is a Zenoss Generic issue or if it's something to do with the Zenoss 'port'! Regards, Kaya
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPj0R5L9FJk3b4te9zWHGo2PrB30bmkeyCP4qB2HwGJa_JUhPQ>