Skip to content

AttributeError: 'module' object has no attribute 'RedisStatus' #1

@MWers

Description

@MWers

I encountered the following exception when running the RedisStatus.py plugin:

2015-07-16 10:20:22,703 - main - ERROR - getPlugins (RedisStatus): exception = Traceback (most recent call last):
  File "/usr/bin/sd-agent/checks.py", line 2406, in getPlugins
    pluginClass = getattr(importedPlugin, pluginName)
AttributeError: 'module' object has no attribute 'RedisStatus'

I fixed the problem locally by renaming the file to Redis.py to match the class name within. I assume that you could also rename the class to RedisStatus to fix the problem.

I'm running Server Density Agent 1.13.4, Python 2.6.6, and RHEL 6.2 64-bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions