Package Details: activitywatch-bin 0.13.2-1

Git Clone URL: https://aur.archlinux.org/activitywatch-bin.git (read-only, click to copy)
Package Base: activitywatch-bin
Description: Track how you spend time on your computer. Simple, extensible, no third parties.
Upstream URL: https://github.com/ActivityWatch/activitywatch
Keywords: productivity rescuetime time timetracking tracker tracking
Licenses: MPL2
Conflicts: activitywatch
Provides: activitywatch
Submitter: erb
Maintainer: erb (zenolijo)
Last Packager: erb
Votes: 63
Popularity: 1.94
First Submitted: 2018-02-26 17:37 (UTC)
Last Updated: 2024-10-05 15:11 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

andean_engineer commented on 2021-11-06 01:05 (UTC)

@erb: It works fine in my system now. Thanks a lot.

erb commented on 2021-11-03 19:39 (UTC) (edited on 2023-07-09 14:56 (UTC) by erb)

Thanks to your previous links I started investigating the Steam case and found this gem: https://www.gamingonlinux.com/2021/09/steam-not-working-right-on-arch-linux-its-an-issue-with-freetype-and-theres-a-fix/comment_id=209960

I tried removing libharfbuzz.so.0, and now it runs fine. Not sure what implications there may be though, if any. This comment describes a previous and similar experience: https://github.com/ActivityWatch/activitywatch/issues/388#issuecomment-859465196

  • [x] Will add the removal of the lib to the PKGBUILD and make a new rev.
  • [x] Will probably have to fix something upstream too once harfbuzz 3.0 hits more distros (suggestions welcome! is just leaving libharfbuzz out enough?).

The issue for this is here: https://github.com/ActivityWatch/activitywatch/issues/660

andean_engineer commented on 2021-09-05 10:39 (UTC)

It seems something with freetype2 2.11.0.

Case with other package: https://github.com/ValveSoftware/steam-for-linux/issues/7935

andean_engineer commented on 2021-09-04 12:29 (UTC) (edited on 2021-09-04 12:31 (UTC) by andean_engineer)

I have found this information:

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/activitywatch/platforms" ...
Cannot load library /opt/activitywatch/PyQt5/Qt/plugins/platforms/libqxcb.so: (/usr/lib/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language)
QLibraryPrivate::loadPlugin failed on "/opt/activitywatch/PyQt5/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /opt/activitywatch/PyQt5/Qt/plugins/platforms/libqxcb.so: (/usr/lib/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

I had installed some Python extensions. Some of these extensions seems the cause of the issue, maybe. I reinstalled freetype2. It didn't help. I will follow tracing.

andean_engineer commented on 2021-09-03 11:24 (UTC)

I uninstalled activitywatch-bin and reinstalled it. The error is here yet.

andean_engineer commented on 2021-09-03 11:22 (UTC) (edited on 2021-09-03 11:22 (UTC) by andean_engineer)

@alerque: I updated pacman, I updated AUR, I installed the productivity packages: Trello, Notion, Jira.

andean_engineer commented on 2021-09-03 11:19 (UTC)

Hi. After several months of using this package, I can't use it since yesterday. If I try to run the command aw-qt in the console, I get:

2021-09-03 06:24:03 [INFO ]: Starting module aw-watcher-afk  (aw_qt.manager:128)
2021-09-03 06:24:03 [INFO ]: Starting module aw-watcher-window  (aw_qt.manager:128)
2021-09-03 06:24:03 [INFO ]: Creating trayicon...  (aw_qt.trayicon:206)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

2021-09-03 06:24:04 [ERROR]: Another instance is already running, quitting.  (aw_client.singleinstance:40)
2021-09-03 06:24:04 [ERROR]: Another instance is already running, quitting.  (aw_client.singleinstance:40)
WARNING:root:Could not import pymongo, not available as a datastore backend
2021-09-03 06:24:04 [INFO ]: Using storage method: peewee  (aw_server.main:32)
2021-09-03 06:24:04 [INFO ]: Starting up...  (aw_server.main:37)
2021-09-03 06:24:04 [INFO ]: Using database file: /home/pablo/.local/share/activitywatch/aw-server/peewee-sqlite.v2.db  (aw_datastore.storages.peewee:116)
 * Serving Flask app "aw-server" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
2021-09-03 06:24:04 [ERROR]: [Errno 98] Address already in use  (aw_server.server:112)
2021-09-03 06:24:04 [ERROR]: Unhandled exception  (root:43)
Traceback (most recent call last):
  File "__main__.py", line 3, in <module>
  File "aw_server/main.py", line 38, in main
  File "aw_server/server.py", line 113, in _start
  File "aw_server/server.py", line 103, in _start
  File "flask/app.py", line 990, in run
  File "werkzeug/serving.py", line 1052, in run_simple
  File "werkzeug/serving.py", line 996, in inner
  File "werkzeug/serving.py", line 862, in make_server
  File "werkzeug/serving.py", line 740, in __init__
  File "socketserver.py", line 452, in __init__
  File "http/server.py", line 138, in server_bind
  File "socketserver.py", line 466, in server_bind
OSError: [Errno 98] Address already in use
[4501] Failed to execute script __main__
Abortado (`core' generado)

If I input http://localhost:5600/ in my browser, it works fine.

EDIT: Sorry, I deleted this comment unintentionally.

alerque commented on 2021-09-03 10:59 (UTC)

@andean_engineer What did you update or remove from your system yesterday? This is clearly missing some dependencies — that you must have had up until yesterday.

alerque commented on 2021-06-15 15:36 (UTC)

Fair enough, I didn't see how bad it was (the only part I happen to be using runs fine from 0.11.0 as installed during that 15 min window) but I see they pulled the tag upstream so that's something.