XiangJun Wu
2013-06-03 14:19:26 UTC
XiangJun Wu [http://community.zenoss.org/people/goafter1981] created the discussion
"Couldn't find index page for 'ZenPacks.fdeckert.myDeviceIssues'"
To view the discussion, visit: http://community.zenoss.org/message/73454#73454
--------------------------------------------------------------
When I try to install the following zenpack on my zenoss 4.2.3 box, I run into the following errors:
http://community.zenoss.org/docs/DOC-3581 http://community.zenoss.org/docs/DOC-3581
$ zenpack --install ZenPacks.fdeckert.myDeviceIssues-2.00-py2.6.egg
Link to http://pypi.python.org/simple/ZenPacks.fdeckert.myDeviceIssues/ http://pypi.python.org/simple/ZenPacks.fdeckert.myDeviceIssues/ ***BLOCKED*** by --allow-hosts
Couldn't find index page for 'ZenPacks.fdeckert.myDeviceIssues' (maybe misspelled?)
Link to http://pypi.python.org/simple/ http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts
No local packages or download links found for ZenPacks.fdeckert.myDeviceIssues==2.00
Couldn't find index page for 'ZenPacks.fdeckert.myDeviceIssues' (maybe misspelled?)
No local packages or download links found for ZenPacks.fdeckert.myDeviceIssues==2.00
ERROR:zen.ZenPackCMD:Error installing ZenPack ZenPacks.fdeckert.myDeviceIssues-2.00-py2.6.egg
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 233, 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 919, 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.7/distutils/core.py", line 152, in setup
   dist.run_commands()
 File "/opt/zenoss/lib/python2.7/distutils/dist.py", line 953, in run_commands
   self.run_command(cmd)
 File "/opt/zenoss/lib/python2.7/distutils/dist.py", line 972, 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'
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
   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 259, in InstallEggAndZenPack
   raise e
AttributeError: 'NoneType' object has no attribute 'clone'
Any way to fix that?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73454#73454]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Couldn't find index page for 'ZenPacks.fdeckert.myDeviceIssues'"
To view the discussion, visit: http://community.zenoss.org/message/73454#73454
--------------------------------------------------------------
When I try to install the following zenpack on my zenoss 4.2.3 box, I run into the following errors:
http://community.zenoss.org/docs/DOC-3581 http://community.zenoss.org/docs/DOC-3581
$ zenpack --install ZenPacks.fdeckert.myDeviceIssues-2.00-py2.6.egg
Link to http://pypi.python.org/simple/ZenPacks.fdeckert.myDeviceIssues/ http://pypi.python.org/simple/ZenPacks.fdeckert.myDeviceIssues/ ***BLOCKED*** by --allow-hosts
Couldn't find index page for 'ZenPacks.fdeckert.myDeviceIssues' (maybe misspelled?)
Link to http://pypi.python.org/simple/ http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts
No local packages or download links found for ZenPacks.fdeckert.myDeviceIssues==2.00
Couldn't find index page for 'ZenPacks.fdeckert.myDeviceIssues' (maybe misspelled?)
No local packages or download links found for ZenPacks.fdeckert.myDeviceIssues==2.00
ERROR:zen.ZenPackCMD:Error installing ZenPack ZenPacks.fdeckert.myDeviceIssues-2.00-py2.6.egg
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 233, 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 919, 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.7/distutils/core.py", line 152, in setup
   dist.run_commands()
 File "/opt/zenoss/lib/python2.7/distutils/dist.py", line 953, in run_commands
   self.run_command(cmd)
 File "/opt/zenoss/lib/python2.7/distutils/dist.py", line 972, 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'
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
   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 259, in InstallEggAndZenPack
   raise e
AttributeError: 'NoneType' object has no attribute 'clone'
Any way to fix that?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73454#73454]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]