WhatPulse Forums
Whatpulse 3.2 on Ubuntu 21.04 - Printable Version

+- WhatPulse Forums (https://whatpulse.org/forums)
+-- Forum: Support (https://whatpulse.org/forums/forum-38.html)
+--- Forum: Client software (https://whatpulse.org/forums/forum-58.html)
+--- Thread: Whatpulse 3.2 on Ubuntu 21.04 (/thread-7941.html)



Whatpulse 3.2 on Ubuntu 21.04 - Lieutenant_Dan - 04-24-2021

Hi there,

I installed the latest revision of Ubuntu on a spare laptop yesterday, and I'm getting the following terminal output when starting the application. It installed without issue, but when starting the window prompting me to log in through a browser appears for a second or so before closing.

Here is the output from the terminal. From my absolutely untrained eyes, it almost appears to be an issue with Ubuntu 21.04 using wayland?

redacted@redacted-ThinkPad-T470:~$ whatpulse
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
Using Wayland-EGL
24-04-2021 13:29:24.116 INFO "Starting WhatPulse 3.2..."
QObject:ConfusedtartTimer: Timers cannot have negative intervals
24-04-2021 13:29:24.132 DEBUG Creating db connection with name: "wp-db-connection"
24-04-2021 13:29:24.132 DEBUG Database file: "/home/redacted/snap/whatpulse/7/.local/share/whatpulse.db"
24-04-2021 13:29:24.133 DEBUG Database check: "ok"
24-04-2021 13:29:24.134 DEBUG Opened database in: 2 ms
24-04-2021 13:29:24.134 DEBUG Database size: 0 MB
24-04-2021 13:29:24.152 DEBUG Encrypted file: "/home/redacted/snap/whatpulse/7/.local/share/whatpulse.wpw"
24-04-2021 13:29:24.152 DEBUG Unable to open savefile
24-04-2021 13:29:24.152 WARN Failed to load ' "/home/redacted/snap/whatpulse/7/.local/share/whatpulse.wpw" ' - trying backup file
24-04-2021 13:29:24.152 DEBUG Unable to open savefile
24-04-2021 13:29:24.159 DEBUG Loaded application aliases
24-04-2021 13:29:24.159 WARN PF_PACKET is not available.
Fallback to ProcNetworkTrafficMonitor. Only interface statistics available.
24-04-2021 13:29:24.182 WARN Cannot open lspci-command
QObject::connect: No such signal QPlatformNativeInterface:ConfusedystemTrayWindowChanged(QScreen*)
24-04-2021 13:29:24.319 DEBUG WhatPulse 3.2 has started
24-04-2021 13:29:24.321 DEBUG found /var/lib/snapd/hostfs/etc/os-release
24-04-2021 13:29:24.323 WARN Unable to detect videocard from lspci
libpng warning: iCCP: known incorrect sRGB profile
Using the 'xdg-shell' shell integration
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
24-04-2021 13:29:24.584 DEBUG Starting timers and collector..
24-04-2021 13:29:24.592 DEBUG Creating device listener for "/dev/input/event0"
24-04-2021 13:29:24.592 DEBUG Creating device listener for "/dev/input/event1"
24-04-2021 13:29:24.592 DEBUG Creating device listener for "/dev/input/event11"
24-04-2021 13:29:24.593 DEBUG Creating device listener for "/dev/input/event12"
24-04-2021 13:29:24.593 DEBUG Creating device listener for "/dev/input/event13"
24-04-2021 13:29:24.593 DEBUG Creating device listener for "/dev/input/event14"
24-04-2021 13:29:24.593 DEBUG Creating device listener for "/dev/input/event15"
24-04-2021 13:29:24.593 DEBUG Creating device listener for "/dev/input/event16"
24-04-2021 13:29:24.593 DEBUG Creating device listener for "/dev/input/event17"
24-04-2021 13:29:24.593 DEBUG Creating device listener for "/dev/input/event18"
24-04-2021 13:29:24.593 DEBUG Creating device listener for "/dev/input/event19"
24-04-2021 13:29:24.594 DEBUG Creating device listener for "/dev/input/event2"
24-04-2021 13:29:24.594 DEBUG Creating device listener for "/dev/input/event20"
24-04-2021 13:29:24.594 DEBUG Creating device listener for "/dev/input/event21"
24-04-2021 13:29:24.594 DEBUG Creating device listener for "/dev/input/event22"
24-04-2021 13:29:24.594 DEBUG Creating device listener for "/dev/input/event3"
24-04-2021 13:29:24.594 DEBUG Creating device listener for "/dev/input/event4"
24-04-2021 13:29:24.594 DEBUG Creating device listener for "/dev/input/event5"
24-04-2021 13:29:24.594 DEBUG Creating device listener for "/dev/input/event6"
24-04-2021 13:29:24.595 DEBUG Creating device listener for "/dev/input/event8"
24-04-2021 13:29:24.598 DEBUG Network ports description file ( "/home/redacted/snap/whatpulse/7/.local/share/network-ports.csv" ) does not exist! The client will not be able to translate port numbers to human readable form.
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0x0
Serial number of failed request: 13
Current serial number in output stream: 13
redacted@redacted-ThinkPad-T470:~$

Any advice is greatly appreciated. Thanks!


RE: Whatpulse 3.2 on Ubuntu 21.04 - buggy - 04-25-2021

I haven't tested WhatPulse 3.2 (mine is 3.1, I believe), but I encountered almost exactly the same issue when I updated my Ubuntu to 21.04 beta with WhatPulse 3.1. I installed my client before the update, so I didn't see the login prompt, since it was already logged in. But the client always closed itself, right after it became an active window. Even if I don't touch the client at all, it sort of lives on the task bar without dying, but it didn't seem to record anything.

However, according to this page, that is a known limitation.
Quote: https://help.whatpulse.org/articles/linux-installation
Known limitations:
Not supported in Wayland (yet).

After I set my Ubuntu to use Xorg, it works fine. But I haven't found a solution with wayland. You can switch back to Xorg on the login screen (the option is next to the login button).


RE: Whatpulse 3.2 on Ubuntu 21.04 - Lieutenant_Dan - 04-26-2021

(04-25-2021, 07:39 AM)buggy Wrote: I haven't tested WhatPulse 3.2 (mine is 3.1, I believe), but I encountered almost exactly the same issue when I updated my Ubuntu to 21.04 beta with WhatPulse 3.1. I installed my client before the update, so I didn't see the login prompt, since it was already logged in. But the client always closed itself, right after it became an active window. Even if I don't touch the client at all, it sort of lives on the task bar without dying, but it didn't seem to record anything.

However, according to this page, that is a known limitation.
Quote: https://help.whatpulse.org/articles/linux-installation
Known limitations:
Not supported in Wayland (yet).

After I set my Ubuntu to use Xorg, it works fine. But I haven't found a solution with wayland. You can switch back to Xorg on the login screen (the option is next to the login button).

Ahhh, thank you for the information. I suffered from a severe lack of RTFM right there, my apologies.


RE: Whatpulse 3.2 on Ubuntu 21.04 - kitliasteele - 09-10-2021

Are there any plans to implement XWayland support at the very least as a compatibility layer? WhatPulse is the remaining thing holding me back from switching to Wayland, and the XWayland compat layer would certainly get it working