Package Details: watson 2.1.0-3

Git Clone URL: (read-only, click to copy)
Package Base: watson
Description: A wonderful CLI to track your time!
Upstream URL:
Keywords: monitoring report time time-tracking tracking watson
Licenses: MIT
Submitter: loonies
Maintainer: loonies
Last Packager: loonies
Votes: 17
Popularity: 0.23
First Submitted: 2016-02-09 11:50 (UTC)
Last Updated: 2024-05-17 14:57 (UTC)

Pinned Comments

loonies commented on 2019-12-08 22:14 (UTC) (edited on 2019-12-10 07:36 (UTC) by loonies)

Prior to flagging the package out-of-date or reporting build errors please:

  • Make sure that your system is up-to-date (pacman -Syu)
  • Rebuild and reinstall dependencies (especially ones from AUR)
  • Rebuild and reinstall the package

Do not expect AUR packages to trigger rebuild or suggest bumping "pkgrel" number. This is expected behaviour and the way Arch packing is designed to work.

For more information read the official documentation and man pages.

Latest Comments

1 2 3 Next › Last »

nraleigh commented on 2024-04-30 21:05 (UTC) (edited on 2024-05-02 23:10 (UTC) by nraleigh)

Just started getting a new error as of a few days ago:

Traceback (most recent call last):
  File "/usr/lib/python3.12/importlib/metadata/", line 397, in from_name
    return next(

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/watson", line 33, in <module>
    sys.exit(load_entry_point('td-watson==2.1.0', 'console_scripts', 'watson')())
  File "/usr/bin/watson", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.12/importlib/metadata/", line 862, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.12/importlib/metadata/", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for td-watson

I installed watson with paru. I could fix the issue by doing the following things:

  1. Remove watson: paru -R watson
  2. Delete cache: rm -rf ~/.cache/paru/clone/watson
  3. Reinstall watson: paru watson

Reylak commented on 2024-04-09 13:28 (UTC)

Should the proposed patch be included in this package? It applies and fixes things fine for me, with theses changes to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index a955bfe..4f3944a 100644
@@ -2,7 +2,7 @@

 pkgdesc='A wonderful CLI to track your time!'
@@ -17,8 +17,15 @@ depends=(

+    "fix-completions.patch")
+            '344a305cd2934aa5481d2da5cdb36b059bef62ce5368c0083493b7525889094a')
+prepare() {
+    cd "$srcdir/Watson-$pkgver"
+    patch --strip=1 --input=../fix-completions.patch

 build() {
     cd "$srcdir/Watson-$pkgver"

Moxon commented on 2022-12-07 08:19 (UTC)

@j.r: great idea! I wasn't aware of that option...

j.r commented on 2022-12-07 08:11 (UTC)

@Moxon I would rather suggest only applying as patch. Instead of changing the whole source to a third party fork.

Moxon commented on 2022-12-07 07:39 (UTC) (edited on 2022-12-07 07:40 (UTC) by Moxon)

Completion stopped working a while ago, but there is a fix available on which works for me. I uses python-click 8.1.3-1 and I needed to change PKGBUILD to this:

diff --git a/PKGBUILD b/PKGBUILD
index a955bfe..f20f979 100644
@@ -2,7 +2,7 @@

 pkgdesc='A wonderful CLI to track your time!'
@@ -17,16 +17,16 @@ depends=(


 build() {
-    cd "$srcdir/Watson-$pkgver"
+    cd "$srcdir/Watson"
     python build

 package() {
-    cd "$srcdir/Watson-$pkgver"
+    cd "$srcdir/Watson"

     install -D -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
     install -D -m 644 watson.completion "$pkgdir/usr/share/bash-completion/completions/$pkgname"

ab2422 commented on 2022-01-10 23:32 (UTC) (edited on 2022-01-10 23:33 (UTC) by ab2422)

@fabean here's what I did to get watson to work after the python update:

  1. Used pip to install click version 7.1.2, via pip install --user click==7.1.2 (before doing this, running pip list didn't list any version of click, since I ignore click updates to avoid the click 8.0 issue, and so updating to python3.10 did not automatically reinstall click for me)
  2. Reinstalled watson (in my case on Manjaro, using pacaur)

Perhaps this will work for you?

fabean commented on 2022-01-05 18:23 (UTC)

@drScience for me as of today, moving all python-click on my system, building it from PKGBUILD then installing watson still isn't working for me. This is really sad, been using watson for years to track all my work time, really need to get this working.

drScience commented on 2022-01-02 12:12 (UTC)

@somini since the Python 3.10 update, at least on my system, I can only get python-click working when building through makepkg (see the PKGBUILD in @loonies pinned comment). Relying on pacman will only install python-click 7.2.1 as a Python 3.9 package, and then watson complains it doesn't find click although the package dependency is satisfied.

loonies commented on 2021-12-28 16:20 (UTC)

@somini, please read the pinned comment.

somini commented on 2021-12-27 18:57 (UTC)

There was a major Python update to v3.10, this needs to be rebuild.

Please bump the package version.