Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76021 - [timew] on-modify taskwarrior hook still uses python2

Attached to Project: Community Packages
Opened by Rainer Beutelmann (rbeutelmann) - Monday, 26 September 2022, 12:44 GMT
Last edited by Toolybird (Toolybird) - Monday, 26 September 2022, 21:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The taskwarrior hook script "on-modify.timewarrior" still has
#!/usr/bin/env python2
in the shebang line and fails after dropping python2 from the system.
I locally changed it to
#!/usr/bin/env python
and everything was fine again.

Additional info:
* package version(s)
Name : task
Version : 2.6.2-1
Name : timew
Version : 1.4.3-3

Steps to reproduce:
- install task (taskwarrior) and timew (timewarrior)
- remove python2 package from system
- modify any task, e.g., task 12 done
- error message:
/usr/bin/env: ‘python2’: No such file or directory
Hook Error: Expected feedback from failing hook script: on-modify.timewarrior
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 26 September 2022, 21:42 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by loqs (loqs) - Monday, 26 September 2022, 20:30 GMT
usr/share/doc/timew/ext/on-modify.timewarrior supplied by community/timew 1.4.3-3 uses
#!/usr/bin/env python3

Loading...