Package Details: activitywatch-bin 0.11.0-3

Git Clone URL: https://aur.archlinux.org/activitywatch-bin.git (read-only, click to copy)
Package Base: activitywatch-bin
Description: Log what you do 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: 29
Popularity: 0.48
First Submitted: 2018-02-26 17:37 (UTC)
Last Updated: 2021-11-03 19:52 (UTC)

Latest Comments

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 2021-11-03 19: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.
  • [ ] 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.

erb commented on 2021-06-15 15:08 (UTC)

@caleb Sorry, but the release is completely broken on Linux, so there really isn't much point to run v0.11 as it was built (see https://github.com/ActivityWatch/activitywatch/issues/607).

Hopefully in those 15 min a limited number of people updated and they can fix it themselves.

This was my hope... Sorry for causing a mess.

Please just set it back to 0.11.0 with -2 pkgrel.

I'll do so as soon as we have a release that actually somewhat works.

alerque commented on 2021-06-15 14:32 (UTC)

@erb You can't downgrade a package like that, to make it work for people you have to bump the epoch. That being said, please don't. Epoch versions are forever and obnoxious at that. Hopefully in those 15 min a limited number of people updated and they can fix it themselves. Also people can run old versions by checking out the commit they want (or keeping their own built packages). I personally want the new version bugs and all. Please just set it back to 0.11.0 with -2 pkgrel.

alerque commented on 2020-12-10 14:44 (UTC)

This should be marked as conflicting/providing the aw-* series of packages (which confusingly don't mention the term "activitywatch" in the description so it is hard to search for, but they are there).

riscie commented on 2020-03-20 13:20 (UTC) (edited on 2020-03-20 13:43 (UTC) by riscie)

After the update to 9.0 I get the following error while starting aw-server:

Error loading Python lib '/usr/bin/libpython3.6m.so.1.0': dlopen: /usr/bin/libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

Should I post this to the authors repository or is this due to a missing dependency?

$ python --version
Python 3.8.2

Edit: I saw you are already on it: https://github.com/ActivityWatch/activitywatch/issues/378

erb commented on 2018-09-13 11:21 (UTC)

@attenuation That is a known problem, see this issue: https://github.com/ActivityWatch/activitywatch/issues/208

attenuation commented on 2018-09-13 09:10 (UTC) (edited on 2018-09-13 09:11 (UTC) by attenuation)

When i click open dashboard,my computer displayed these log

kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by kde-open5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5KIOWidgets.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5KIOCore.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5I18n.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5CoreAddons.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5JobWidgets.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5Service.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5Completion.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5IconThemes.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5WindowSystem.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5ConfigWidgets.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5WidgetsAddons.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5ConfigGui.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5ConfigCore.so.5)
kde-open5: /opt/activitywatch/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/libQt5Xml.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libQt5Xml.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5DBusAddons.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5Auth.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libQt5X11Extras.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5Archive.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5ItemViews.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5Codecs.so.5)
kde-open5: /opt/activitywatch/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/libKF5GuiAddons.so.5)