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
Opened by Rainer Beutelmann (rbeutelmann) - Monday, 26 September 2022, 12:44 GMT
Last edited by Toolybird (Toolybird) - Monday, 26 September 2022, 21:42 GMT
|
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
Monday, 26 September 2022, 21:42 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
#!/usr/bin/env python3