You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The management of installed Perl modules on macOS is not as simple and well thought through like with package managers on Linux systems, e.g. via pacman on Arch Linux. There are problems when is comes to configuring the runtime path the modules have been installed to even when using the most popular module manager called cpanminus. This causes the Taskwarrior plugin taskopen fail to load because the Perl core module JSON can't be found and loaded.
As a workaround a custom script should be implemented to create and open a attached note of an task:
Simply pass the file to an editor (in this case Atom) which will…
…create a new file if it doesn't exist yet.
…open the file if it already exists.
Note that this script is not limited to macOS but can also be used for any other Linux host! It is only necessary to use it on macOS due to the problems described above.
The text was updated successfully, but these errors were encountered:
The management of installed Perl modules on macOS is not as simple and well thought through like with package managers on Linux systems, e.g. via pacman on Arch Linux. There are problems when is comes to configuring the runtime path the modules have been installed to even when using the most popular module manager called cpanminus. This causes the Taskwarrior plugin taskopen fail to load because the Perl core module
JSON
can't be found and loaded.As a workaround a custom script should be implemented to create and open a attached note of an task:
_get
function of the Taskwarrior DOM API to extract any stored piece of information of an task. This allows to receive the UUID of an task.on
(open note) Taskwarrior alias to run the implemented custom script via theexecute
command.The logic of the script should follow the same like taskopen uses for default notes:
Note that this script is not limited to macOS but can also be used for any other Linux host! It is only necessary to use it on macOS due to the problems described above.
The text was updated successfully, but these errors were encountered: