Problem connecting to Timekpr-nExT daemon

Bug #2016165 reported by Guy Robert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Timekpr-nExT
Invalid
Undecided
Eduards Bezverhijs

Bug Description

Hi,
I'm running Ubuntu 22.04 on HP ProBook. I've installed Timekpr and it seems it works but when restricted users log in, they received a notification: "There is a problem connecting to Timekpr-nExT daemon (internal connection error, please check log files)!"
In /tmp/timekprc.*.log, the message is:
2023-04-13 17:46:46.165918: --=== ERROR sending message through timekpr dbus ===---
2023-04-13 17:46:46.166002: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 715, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3/dist-packages/timekpr/server/interface/dbus/daemon.py", line 522, in requestTimeLeft
    self._timekprUserList[pUserName].getTimeLeft(True)
  File "/usr/lib/python3/dist-packages/timekpr/server/user/userdata.py", line 603, in getTimeLeft
    self._timekprUserNotification.processTimeLeft(pForceNotifications, timeValues)
  File "/usr/lib/python3/dist-packages/timekpr/common/utils/notifications.py", line 139, in processTimeLeft
    self.timeLeftNotification(notifUrgency, max(pTimeValues[cons.TK_CTRL_LEFT], 0), max(pTimeValues[cons.TK_CTRL_LEFTD], 0), pTimeValues[cons.TK_CTRL_LIMITD])
  File "/usr/lib/python3/dist-packages/dbus/decorators.py", line 325, in emit_signal
    message.append(signature=signature, *args)
TypeError: 'float' object cannot be interpreted as an integer

2023-04-13 17:46:46.166029: --=== ERROR sending message through timekpr dbus ===---

What can I do to prevent such message?

Thanks in advance

Guy Robert

Revision history for this message
Eduards Bezverhijs (mjasnik) wrote (last edit ):

Please install the version privided by my ppa.

More details: https://launchpad.net/timekpr-next/+announcement/53933

Changed in timekpr-next:
status: New → Invalid
assignee: nobody → Eduards Bezverhijs (mjasnik)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.