Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package timekpr-next for openSUSE:Factory 
checked in at 2026-10-22 15:50:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/timekpr-next (Old)
 and      /work/SRC/openSUSE:Factory/.timekpr-next.new.2252680 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "timekpr-next"

Thu Oct 22 15:50:29 2026 rev:4 rq:1386968 version:0.5.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/timekpr-next/timekpr-next.changes        
2026-09-21 12:22:37.015781228 +0200
+++ /work/SRC/openSUSE:Factory/.timekpr-next.new.2252680/timekpr-next.changes   
2026-10-22 15:54:15.452066146 +0200
@@ -1,0 +2,7 @@
+Sat Oct 17 16:01:19 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.5.11:
+  * fix leftover process killer crashing when a process
+    disappears while iterating over processes (lp#2167185)
+
+-------------------------------------------------------------------

Old:
----
  timekpr-next-0.5.10.tar.gz

New:
----
  timekpr-next-0.5.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ timekpr-next.spec ++++++
--- /var/tmp/diff_new_pack.zgJiiC/_old  2026-10-22 15:54:17.616156859 +0200
+++ /var/tmp/diff_new_pack.zgJiiC/_new  2026-10-22 15:54:17.620157026 +0200
@@ -18,7 +18,7 @@
 %define         _confdir %{?_distconfdir}%{!?_distconfdir:%{_sysconfdir}}
 %define         _sitelib %( echo %{python3_sitelib} | cut -c 10- )
 Name:           %{shortname}-next
-Version:        0.5.10
+Version:        0.5.11
 Release:        0
 Summary:        Keep control of computer usage
 License:        GPL-3.0-only

++++++ timekpr-next-0.5.10.tar.gz -> timekpr-next-0.5.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/timekpr-next/common/constants/constants.py 
new/timekpr-next/common/constants/constants.py
--- old/timekpr-next/common/constants/constants.py      2026-08-04 
10:20:08.000000000 +0200
+++ new/timekpr-next/common/constants/constants.py      2026-10-17 
13:50:34.000000000 +0200
@@ -15,7 +15,7 @@
 
 # ## constants ##
 # version (in case config is corrupt or smth like that)
-TK_VERSION = "0.5.10"
+TK_VERSION = "0.5.11"
 TK_DEV_ACTIVE = False  # change this accordingly when running in DEV or PROD
 TK_DEV_BUS = "ses"  # this sets up which bus to use for development (sys or 
ses)
 TK_DEV_SUPPORT_PAGE = "https://tinyurl.com/yc9x85v2";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/timekpr-next/common/utils/misc.py 
new/timekpr-next/common/utils/misc.py
--- old/timekpr-next/common/utils/misc.py       2026-08-04 10:20:08.000000000 
+0200
+++ new/timekpr-next/common/utils/misc.py       2026-10-17 13:50:34.000000000 
+0200
@@ -216,7 +216,11 @@
     # get all processes for this user
     for userProc in psutil.process_iter():
         # process info
-        procInfo = userProc.as_dict(attrs=["pid", "ppid", "name", "username", 
"terminal"])
+        try:
+            procInfo = userProc.as_dict(attrs=["pid", "ppid", "name", 
"username", "terminal"])
+        except psutil.NoSuchProcess as psErr:
+            continue
+
         # check for username and for processes that originates from init (the 
rest should be terminated along with the session)
         if procInfo["username"] == pUserName:
             # if originates from init
@@ -236,6 +240,8 @@
                         else:
                             # asking process to terminate
                             userPrc.terminate()
+                    except psutil.NoSuchProcess as psErr:
+                        pass
                     except psutil.Error as psErr:
                         log.log(cons.TK_LOG_LEVEL_ERR, "ERROR: killing %s 
failed (%s)" % (procInfo["pid"], str(psErr)))
                         pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/timekpr-next/debian/changelog 
new/timekpr-next/debian/changelog
--- old/timekpr-next/debian/changelog   2026-08-04 10:27:02.000000000 +0200
+++ new/timekpr-next/debian/changelog   2026-10-17 13:50:34.000000000 +0200
@@ -1,3 +1,11 @@
+timekpr-next (0.5.11-1ubuntu1~ppa1) unstable; urgency=medium
+
+  * a fix for leftover process killer
+      when enabled it should handle the case when process disapear while 
system walks through all processes
+      fixes #2167185
+
+ -- Eduards Bezverhijs <[email protected]>  Sat, 17 Oct 2026 13:43:54 +0300
+
 timekpr-next (0.5.10-1ubuntu1~ppa1) stable; urgency=medium
 
   * timekpra will now exit with non zero exit code when there are errors 
processing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/timekpr-next/spec/README new/timekpr-next/spec/README
--- old/timekpr-next/spec/README        2026-08-04 10:22:38.000000000 +0200
+++ new/timekpr-next/spec/README        2026-10-17 13:50:34.000000000 +0200
@@ -37,7 +37,7 @@
 
---------------------------------------------------------------------------------------------------------------------------
     # set version
     Fedora / openSUSE:
-        export TNVER="0.5.10"
+        export TNVER="0.5.11"
         export TNREL="1.0"
 
     # install build tools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/timekpr-next/spec/timekpr-next.spec 
new/timekpr-next/spec/timekpr-next.spec
--- old/timekpr-next/spec/timekpr-next.spec     2026-08-04 10:22:21.000000000 
+0200
+++ new/timekpr-next/spec/timekpr-next.spec     2026-10-17 13:50:34.000000000 
+0200
@@ -2,7 +2,7 @@
 %define _sitelib %( echo %{python3_sitelib} | cut -c 10- )
 
 Name:             timekpr-next
-Version:          0.5.10
+Version:          0.5.11
 Release:          1.0%{?dist}
 Summary:          Keep control of computer usage
 Group:            System Environment/Daemons
@@ -132,6 +132,10 @@
 %{_sysconfdir}/xdg/autostart/*
 
 %changelog
+* Sat Oct 17 2026 Eduards Bezverhijs <[email protected]> - 0.5.11-1.0
+- Updated spec file for version 0.5.11, release 1.0 (STABLE)
+* Sat Oct 17 2026 Eduards Bezverhijs <[email protected]> - 0.5.11-0.1
+- Updated spec file for version 0.5.11, release 0.1 (BETA)
 * Tue Aug 4 2026 Eduards Bezverhijs <[email protected]> - 0.5.10-1.0
 - Updated spec file for version 0.5.10, release 1.0 (STABLE)
 * Thu Jul 9 2026 Eduards Bezverhijs <[email protected]> - 0.5.10-0.4

Reply via email to