Archived community.zenoss.org | full text search
Skip navigation
2864 Views 3 Replies Latest reply: Jul 5, 2012 3:52 PM by dswope RSS
dswope Rank: White Belt 60 posts since
Jul 10, 2009
Currently Being Moderated

Jun 27, 2012 4:25 PM

Unable to install Zenpack

[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?

  • dpetzel Rank: Brown Belt 1,141 posts since
    Oct 17, 2010
    Currently Being Moderated
    2. Jun 28, 2012 12:05 AM (in response to dswope)
    Re: Unable to install Zenpack

    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.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points