public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Edouard Bourguignon <madko@linuxed.net>
To: git-commits@fedoraproject.org
Subject: [rpms/glances] epel10: Patch to fix bug #914837 (noSuchProcess)
Date: Sun, 30 Aug 2026 14:22:47 GMT	[thread overview]
Message-ID: <178809976730.1.3383242081282600929.rpms-glances-0fc06cc24a2a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/glances
Branch : epel10
Commit : 0fc06cc24a2a4e672d1729fe45cf55d5653fc6b0
Author : Edouard Bourguignon <madko@linuxed.net>
Date   : 2013-02-22T07:50:26+01:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/glances/c/0fc06cc24a2a4e672d1729fe45cf55d5653fc6b0?branch=epel10

Log:
Patch to fix bug #914837 (noSuchProcess)

---
diff --git a/glances-1.5.2-noSuchProcess.patch b/glances-1.5.2-noSuchProcess.patch
new file mode 100644
index 0000000..caf6273
--- /dev/null
+++ b/glances-1.5.2-noSuchProcess.patch
@@ -0,0 +1,12 @@
+diff -Naur glances-1.5.2.ori/glances/glances.py glances-1.5.2/glances/glances.py
+--- glances-1.5.2.ori/glances/glances.py	2012-12-28 18:50:56.000000000 +0100
++++ glances-1.5.2/glances/glances.py	2013-02-22 06:41:35.073000000 +0100
+@@ -575,6 +575,8 @@
+             except KeyError:
+                 # Key did not exist, create it
+                 self.processcount[str(proc.status)] = 1
++            except NoSuchProcess:
++                continue
+             self.processcount['total'] += 1
+ 
+     def getcount(self):

diff --git a/glances.spec b/glances.spec
index 9d311be..d3b18dc 100644
--- a/glances.spec
+++ b/glances.spec
@@ -5,13 +5,14 @@
 
 Name:		glances		
 Version:	1.5.2
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	CLI curses based monitoring tool
 
 Group:		Applications/System		
 License:	GPLv3
 URL:		https://github.com/nicolargo/glances
 Source0:	https://github.com/downloads/nicolargo/%{name}/%{name}-%{version}.tar.gz
+Patch0:		glances-1.5.2-noSuchProcess.patch
 BuildArch:	noarch
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 %if 0%{?rhel} && 0%{?rhel} <= 5
@@ -31,6 +32,7 @@ It is developed in Python.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -57,6 +59,9 @@ rm -rf %{buildroot}
 %{_datadir}/man/man1/glances.1.gz
 
 %changelog
+* Sat Feb 23 2013 Edouard Bourguignon <madko@linuxed.net> - 1.5.2-3
+- Patch to fix bug #914837 (noSuchProcess)
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 

                 reply	other threads:[~2026-08-30 14:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178809976730.1.3383242081282600929.rpms-glances-0fc06cc24a2a@fedoraproject.org \
    --to=madko@linuxed.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox