diff --git a/NEWS b/NEWS index cc919bd7..b7942d45 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,12 @@ Enhancements and new features: * Add a connector to Riemann (issue #822 by Greogo Nagy) +Bugs corrected: + + * Browsing for servers which are in the [serverlist] is broken (issue #819) + * [WebUI] Glances will not get past loading screen (issue #815) opened 9 days ago + * Python error after upgrading from 2.5.1 to 2.6 bug (issue #813) + Version 2.6 =========== @@ -41,6 +47,7 @@ Enhancements and new features: * InfluxDB > 0.9.3 needs float and not int for numerical value (issue#749 and issue#750 by nicolargo) Bugs corrected: + * Can't read sensors on a Thinkpad (issue #711) * InfluxDB/OpenTSDB: tag parsing broken (issue #713) * Grafana Dashboard outdated for InfluxDB 0.9.x (issue #648) diff --git a/README.rst b/README.rst index f5fdd494..60e02778 100644 --- a/README.rst +++ b/README.rst @@ -229,21 +229,19 @@ Known issue on RHEL/CentOS/Fedora installation For Python 2.6 RedHat-based distros there might be an issue with starting Glances: -``` -Traceback (most recent call last): -File "/usr/bin/glances", line 5, in -from pkg_resources import load_entry_point -File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in -workingset.require(_requires) -File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require -needed = self.resolve(parse_requirements(requirements)) -File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve -raise DistributionNotFound(req) -pkg_resources.DistributionNotFound: argparse -``` + Traceback (most recent call last): + File "/usr/bin/glances", line 5, in + from pkg_resources import load_entry_point + File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in + workingset.require(_requires) + File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require + needed = self.resolve(parse_requirements(requirements)) + File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve + raise DistributionNotFound(req) + pkg_resources.DistributionNotFound: argparse + +Try upgrading setuptools, has been proven to solve the problem: -Try upgrading setuptools, has been proven to solve the problem: - sudo pip install -U setuptools Usage diff --git a/docs/man/glances.1 b/docs/man/glances.1 index 81505cd9..e1adc7bd 100644 --- a/docs/man/glances.1 +++ b/docs/man/glances.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GLANCES" "1" "March 16, 2016" "2.6" "Glances" +.TH "GLANCES" "1" "March 26, 2016" "2.6.1" "Glances" .SH NAME glances \- An eye on your system . diff --git a/glances/__init__.py b/glances/__init__.py index ebcb1bba..e381f305 100644 --- a/glances/__init__.py +++ b/glances/__init__.py @@ -27,7 +27,7 @@ import sys # Global name __appname__ = 'glances' -__version__ = '2.7_BETA' +__version__ = '2.6.1' __author__ = 'Nicolas Hennion ' __license__ = 'LGPL' diff --git a/glances/exports/glances_riemann.py b/glances/exports/glances_riemann.py index 12ac55b3..a6ec1465 100644 --- a/glances/exports/glances_riemann.py +++ b/glances/exports/glances_riemann.py @@ -84,10 +84,9 @@ class Export(GlancesExport): if not isinstance(points[i], Number): continue else: - data = { 'host': self.hostname, 'service': name + " " + columns[i], 'metric': points[i] } + data = {'host': self.hostname, 'service': name + " " + columns[i], 'metric': points[i]} logger.debug(data) try: self.client.send(data) except Exception as e: logger.error("Can not export stats to Riemann (%s)" % e) - diff --git a/glances/outputs/glances_curses_browser.py b/glances/outputs/glances_curses_browser.py index 04e1ec88..11543fb9 100644 --- a/glances/outputs/glances_curses_browser.py +++ b/glances/outputs/glances_curses_browser.py @@ -271,4 +271,3 @@ class GlancesCursesBrowser(_GlancesCurses): line += 1 return True - diff --git a/setup.py b/setup.py index a22a465a..0f8a64e0 100755 --- a/setup.py +++ b/setup.py @@ -50,13 +50,12 @@ def get_requires(): setup( name='Glances', - version='2.6', + version='2.6.1', description="A cross-platform curses-based monitoring tool", long_description=open('README.rst').read(), author='Nicolas Hennion', author_email='nicolas@nicolargo.com', url='https://github.com/nicolargo/glances', - # download_url='https://s3.amazonaws.com/glances/glances-2.6.tar.gz', license="LGPL", keywords="cli curses monitoring system", install_requires=get_requires(), diff --git a/sonar-project.properties b/sonar-project.properties index 4ff2e981..069a541a 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,7 +1,7 @@ # Required metadata sonar.projectKey=glances sonar.projectName=Glances -sonar.projectVersion=2.6 +sonar.projectVersion=2.6.1 # Path to the parent source code directory. # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.