Thanks Jason,
but the root problem is that no matter which ZenPack I add, even ones with no 
dependencies, I cannot browse the Zenpack UI

here, I removed the HTTP pack and installed the Ntp pack

Code:

[EMAIL PROTECTED] ~]# su - zenoss
[EMAIL PROTECTED] ~]$ zenpack --list
ZenPacks.zenoss.HttpMonitor 
(/home/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg)
[EMAIL PROTECTED] ~]$ zenpack -remove ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4
usage: zenpack.py [options]

zenpack.py: error: no such option: -r
[EMAIL PROTECTED] ~]$ zenpack -remove=ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4
usage: zenpack.py [options]

zenpack.py: error: no such option: -r
[EMAIL PROTECTED] ~]$ zenpack --remove=ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4
ZenPack ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4 is not installed.
[EMAIL PROTECTED] ~]$ zenpack 
--remove=ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg
ZenPack ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg is not installed.
[EMAIL PROTECTED] ~]$ zenpack --remove=ZenPacks.zenoss.HttpMonitor

Using /home/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg

Because this distribution was installed --multi-version or --install-dir,
before you can import modules from this package in an application, you
will need to 'import pkg_resources' and then use a 'require()' call
similar to one of these examples, in order to select the desired version:

    pkg_resources.require("ZenPacks.zenoss.HttpMonitor")  # latest installed 
version
    pkg_resources.require("ZenPacks.zenoss.HttpMonitor==2.0.0")  # this exact 
version
    pkg_resources.require("ZenPacks.zenoss.HttpMonitor>=2.0.0")  # this version 
or higher

[EMAIL PROTECTED] ~]$ zenpack --list
[EMAIL PROTECTED] ~]$ cd /tmp/ZenPacks
[EMAIL PROTECTED] ZenPacks]$ l
total 196
-rw-r--r--  1 root root 16371 May 29  2008 
ZenPacks.zenoss.ApacheMonitor-2.0.0-py2.4.egg
-rw-r--r--  1 root root 14259 May 29  2008 
ZenPacks.zenoss.DellMonitor-2.0.0-py2.4.egg
-rw-r--r--  1 root root 10707 May 29  2008 
ZenPacks.zenoss.DigMonitor-1.0-py2.4.egg
-rw-r--r--  1 root root 12588 May 29  2008 
ZenPacks.zenoss.DnsMonitor-2.0.0-py2.4.egg
-rw-r--r--  1 root root 11345 May 29  2008 
ZenPacks.zenoss.FtpMonitor-1.0-py2.4.egg
-rw-r--r--  1 root root 12136 May 29  2008 
ZenPacks.zenoss.HPMonitor-2.0.0-py2.4.egg
-rw-r--r--  1 root root 13360 May 29  2008 
ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg
-rw-r--r--  1 root root 12248 May 29  2008 
ZenPacks.zenoss.IRCDMonitor-1.0-py2.4.egg
-rw-r--r--  1 root root 10799 May 29  2008 
ZenPacks.zenoss.JabberMonitor-1.0-py2.4.egg
-rw-r--r--  1 root root 11457 May 29  2008 
ZenPacks.zenoss.LDAPMonitor-1.0-py2.4.egg
-rw-r--r--  1 root root 21008 May 29  2008 
ZenPacks.zenoss.MySqlMonitor-2.0.0-py2.4.egg
-rw-r--r--  1 root root  9522 May 29  2008 
ZenPacks.zenoss.NNTPMonitor-1.0-py2.4.egg
-rw-r--r--  1 root root 10495 May 29  2008 
ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
-rw-r--r--  1 root root 10901 May 29  2008 
ZenPacks.zenoss.RPCMonitor-1.0-py2.4.egg
[EMAIL PROTECTED] ZenPacks]$ easy_install --site-dirs=$ZENHOME/ZenPacks -d 
/home/zenoss/ZenPacks ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
Processing ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
creating /home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
Extracting ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg to /home/zenoss/ZenPacks
Adding ZenPacks.zenoss.NtpMonitor 2.0.0 to easy-install.pth file

Installed /home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
Processing dependencies for ZenPacks.zenoss.NtpMonitor==2.0.0
[EMAIL PROTECTED] ZenPacks]$ zenpack --list
[EMAIL PROTECTED] ZenPacks]$ zenpack 
--install=ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg

Installed /home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
INFO:zen.ZPLoader:Loading 
/home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg/ZenPacks/zenoss/NtpMonitor/objects/objects.xml
WARNING:zen.AddToPack:Object /zport/dmd/Devices/rrdTemplates/NtpMonitor already 
exists skipping
WARNING:zen.AddToPack:Object NtpMonitor already exists skipping
WARNING:zen.AddToPack:Object offset already exists skipping
WARNING:zen.AddToPack:Object offset already exists skipping
WARNING:zen.AddToPack:Object offset already exists skipping
WARNING:zen.AddToPack:Object /zport/dmd/Events/Status/Ntp already exists 
skipping
INFO:zen.AddToPack:End loading objects
INFO:zen.AddToPack:Processing links
INFO:zen.AddToPack:Loaded 0 objects into database
INFO:zen.HookReportLoader:loading reports 
from:/home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg/ZenPacks/zenoss/NtpMonitor/reports
[EMAIL PROTECTED] ZenPacks]$ zenpack --list
ZenPacks.zenoss.NtpMonitor 
(/home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg)
[EMAIL PROTECTED] ZenPacks]$ easy_install --site-dirs=$ZENHOME/ZenPacks -d 
/home/zenoss/ZenPacks ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
Processing ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
removing '/home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg' 
(and everything under it)
creating /home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
Extracting ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg to /home/zenoss/ZenPacks
ZenPacks.zenoss.NtpMonitor 2.0.0 is already the active version in 
easy-install.pth

Installed /home/zenoss/ZenPacks/ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg
Processing dependencies for ZenPacks.zenoss.NtpMonitor==2.0.0
[EMAIL PROTECTED] ZenPacks]$ easy_install --site-dirs=$ZENHOME/ZenPacks -d 
/home/zenoss/ZenPacks ZenPacks.zenoss.NtpMonitor-2.0.0-py2.4.egg




browsing to Zenpacks from ui generates this error.


Code:

 Type: DistributionNotFound
Value: ZenPacks.zenoss.NtpMonitor

Traceback (innermost last):

    * Module ZPublisher.Publish, line 114, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /zport/viewZenPacks used for /zport/dmd/ZenPackManager>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 653, in do_loop_tal
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 477, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenModel/skins/zenmodel/viewZenPacks.pt
      Line 33, Column 5
      Expression: <PythonExpr not hasattr(pack,'isBroken') or pack.isBroken()>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <ZenPackManager at /zport/dmd/ZenPackManager>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb721da2c>,
       'here': <ZenPackManager at /zport/dmd/ZenPackManager>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb32742ec>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb7221a8c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0xb32742ec>,
       'request': <HTTPRequest, 
URL=http://zenoss:8080/zport/dmd/ZenPackManager/viewZenPacks>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/viewZenPacks used for 
/zport/dmd/ZenPackManager>,
       'traverse_subpath': [],
       'user': hrant}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: not hasattr(pack,'isBroken') or pack.isBroken()
    * Module Python expression "not hasattr(pack,'isBroken') or 
pack.isBroken()", line 1, in <expression>
    * Module Products.ZenModel.ZenPack, line 812, in isBroken
    * Module Products.ZenModel.ZenPack, line 616, in path
    * Module Products.ZenModel.ZenPack, line 729, in getModule
    * Module Products.ZenModel.ZenPack, line 712, in getEntryPoint
    * Module Products.ZenModel.ZenPack, line 702, in getDistribution
    * Module pkg_resources, line 229, in get_distribution
    * Module pkg_resources, line 115, in get_provider
    * Module pkg_resources, line 585, in require
    * Module pkg_resources, line 483, in resolve

DistributionNotFound: ZenPacks.zenoss.NtpMonitor







-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=20608#20608

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to