Closed rptaylor closed 1 year ago
Would be good to have e.g. CI running pylint or other testing to avoid basic errors. Aside from the error:
$ pylint /usr/share/cvmfs-servermon/webapi/cvmfsmon_api.py
************* Module cvmfsmon_api
/usr/share/cvmfs-servermon/webapi/cvmfsmon_api.py:115:39: E0001: inconsistent use of tabs and spaces in indentation (<unknown>, line 115) (syntax-error)
there are 103 other warnings.
FYI @vzokay this broke the monitoring. https://github.com/cvmfs-contrib/cvmfs-servermon/pull/48
It must have been only python3 that complained about it, because it has been installed elsewhere without a problem.
Would be good to have e.g. CI running pylint or other testing to avoid basic errors. Aside from the error:
$ pylint /usr/share/cvmfs-servermon/webapi/cvmfsmon_api.py ************* Module cvmfsmon_api /usr/share/cvmfs-servermon/webapi/cvmfsmon_api.py:115:39: E0001: inconsistent use of tabs and spaces in indentation (<unknown>, line 115) (syntax-error)
there are 103 other warnings.
Ouch, that sounds like it would be an awful lot of work to clean up warnings. Probably most of them aren't very important. I guess it could be used with -E
to just find errors.
pylint action was added in #52
This is now released in version 1.27. It would be good if you could verify it.
Yes I installed cvmfs-servermon-1.27-1.27.obs.el8.noarch.rpm and it works.
After updating to cvmfs-servermon-1.26-1.26.obs.el8.noarch the cvmfs-mon page does not work anymore. http://cvmfs-s1dev-arbutus.computecanada.ca:8000/cvmfsmon/api/v1.0/all&format=details
It shows Internal Server Error, and: