Jun 27, 2012 4:25 PM
Unable to install Zenpack
-
Like (0)
[zenoss@ZENOSS zenoss.installs]$ zenpack --install 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 "/opt/zenoss/Products/ZenUtils/zenpack.py", line 406, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 134, in run
previousVersion= self.options.previousVersion)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 240, in InstallEggAndZenPack
zpDists = InstallEgg(dmd, eggPath, link=link)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 303, in InstallEgg
DoEasyUninstall(eggPath)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 891, in DoEasyUninstall
easy_install.main(args)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1712, in main
with_ei_usage(lambda:
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1700, in with_ei_usage
return f()
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 1716, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/opt/zenoss/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/opt/zenoss/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/opt/zenoss/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 478, in install_item
self.process_distribution(spec, dist, deps)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 519, in process_distribution
[requirement], self.local_index, self.easy_install
File "/opt/zenoss/lib/python/pkg_resources.py", line 563, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/opt/zenoss/lib/python/pkg_resources.py", line 799, in best_match
return self.obtain(req, installer) # try and download/install
File "/opt/zenoss/lib/python/pkg_resources.py", line 811, in obtain
return installer(requirement)
File "/opt/zenoss/lib/python/setuptools/command/easy_install.py", line 434, in easy_install
self.local_index
File "/opt/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'
Any ideas?
Ok, more details..I kept getting an error trying to post this whole thing.
I am trying to bring up a Zenoss box at this new location and I happen to be behind POS Smoothwall Proxy and I think that has to be what this is because i've set up many Zenoss boxes over hte years but this is my first behind a Proxy.
Obviously IE settings have the proxy there, I added the http://pypi.python.org to the approved list, no go. Is there any way I can configure Zenoss itself to use the Proxy? I've been looking but nothing is clear. I am also using CentOS 5 so FYI there.
Zenoss 3.2.1
CentOS 5
I have two ZenPacks I want installed as they are my mainstay
ZenPacks.community.WMIDataSource-3.0.egg
ZenPacks.community.WMIPerf_Windows-2.6.80.egg
It appears from your output that you dont have a dependency installed:
No local packages or download links found for ZenPacks.community.SQLDataSource>=2.0
From the zenpack page: docs/DOC-3392
ZenPack Dependencies: SQL Data Source
Install the dependency first and you should be good.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||