I am getting the following error below when trying to view graphs for an 
interface under the OS tab.  Has anyone else seen this problem?



Type: AttributeError
Value: 'module' object has no attribute 'urlsafe_b64encode'

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 Products.ZenModel.ZenModelBase, line 52, in __call__
    * 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/viewIpInterface used for 
/zport/dmd/Devices/Network/Router/Cisco/devices/VILLAGES-SPRINT-INET1/os/interfaces/GigabitEthernet0_1>
    * 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 677, in do_condition
    * 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 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 651, in do_loop_tal
    * Module Products.PageTemplates.TALES, line 206, in setRepeat
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenModel/skins/zenmodel/viewPerformanceDetail.pt
      Line 41, Column 4
      Expression: <PythonExpr here.getDefaultGraphs(drange=drange)>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <IpInterface at 
/zport/dmd/Devices/Network/Router/Cisco/devices/VILLAGES-SPRINT-INET1/os/interfaces/GigabitEthernet0_1>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb755762c>,
       'here': <IpInterface at 
/zport/dmd/Devices/Network/Router/Cisco/devices/VILLAGES-SPRINT-INET1/os/interfaces/GigabitEthernet0_1>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb382104c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb756a54c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0xb382104c>,
       'request': <HTTPRequest, 
URL=http://172.30.110.6:8080/zport/dmd/Devices/Network/Router/Cisco/devices/VILLAGES-SPRINT-INET1/os/interfaces/GigabitEthernet0_1>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/viewIpInterface used for 
/zport/dmd/Devices/Network/Router/Cisco/devices/VILLAGES-SPRINT-INET1/os/interfaces/GigabitEthernet0_1>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.getDefaultGraphs(drange=drange)
    * Module Python expression "here.getDefaultGraphs(drange=drange)", line 1, 
in <expression>
    * Module Products.ZenModel.RRDView, line 182, in getDefaultGraphs
    * Module Products.ZenModel.RRDView, line 55, in getRRDGraphUrl
    * Module Products.ZenModel.PerformanceConf, line 296, in performanceGraphUrl

AttributeError: 'module' object has no attribute 'urlsafe_b64encode'

------------------------
Chad Ritch




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

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

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



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

Reply via email to