Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

V0.72 - nfs3-ops module fails to load #17

Closed
eccles opened this issue Feb 21, 2012 · 2 comments
Closed

V0.72 - nfs3-ops module fails to load #17

eccles opened this issue Feb 21, 2012 · 2 comments
Assignees
Labels
Milestone

Comments

@eccles
Copy link

eccles commented Feb 21, 2012

I installed dstat-0.7.2-1.el5.rfx.noarch.rpm. (rhel5)

Now the nfs3-ops module does not run:

[root@xxxxxxxxxxxxxx ~]# dstat --nfs3-ops
Module %s is still experimental.
Module dstat_nfs3_ops failed to load. (unsupported operand type(s) for %: 'NoneType' and 'str')
None of the stats you selected are available.

@eccles
Copy link
Author

eccles commented Feb 21, 2012

Investigation shows that ther is a misplaced ')' in the 'check' method - it should be at the end of the line instead of just before the '%'

change :

def check(self):
    info(1, 'Module %s is still experimental.' ) % self.filename 

to:

def check(self):
    info(1, 'Module %s is still experimental.' % self.filename )

@dagwieers
Copy link
Collaborator

This is already fixed in commit ef2ba25.

@ghost ghost assigned dagwieers Mar 12, 2012
@dagwieers dagwieers added this to the 0.7.3 milestone May 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants