liloman / pomodorotasks2 Goto Github PK
View Code? Open in Web Editor NEWSystray app for pomodoro with taskwarrior
License: GNU General Public License v3.0
Systray app for pomodoro with taskwarrior
License: GNU General Public License v3.0
Hi, I would love to try this out. Can you by any chance make the build for Fedora to work again?
cheers.
Hello,
I have installed the tasklib, taskwarrior and timewarrior, but when I am trying to execute the pomodoro daemon, I get this error:
~/.local/bin $ ./pomodoro-daemon.py Traceback (most recent call last): File "./pomodoro-daemon.py", line 6, in <module> from tasklib import TaskWarrior, Task ImportError: No module named tasklib
Any idea how to fix it? I am not familiar with python scripts :/
I was working on a setuptools script for a possible AUR package and noticed you often make use of subprocesses where you could instead have imported the module and called any functions directly. Is there any particular reason why you chose to do things this way?
I ask because if you want to install this on a system, it breaks the relative paths for these subprocess calls whereas importing these as modules would work from anywhere. You'll obviously get to review any changes for a pull request, but I figured I'd ask for your reasoning before I start making drastic changes.
The url doesn't work for me (https://git.tasktools.org/scm/tm/timew.git)
On timewarrior website they show this url
$ git clone --recursive https://git.tasktools.org/TM/timew.git timew.git
I'm trying to install on Ubuntu 17.04 without success.
The first problem is that the readme seems to be outdated. It tell me to run ./pomodoro-daemon.py
but this file does not exists. There is a pomodorotasks/daemon.py
. Is this the same thing?
I've tried to run that and got an error:
Traceback (most recent call last):
File "./pomodorotasks/daemon.py", line 6, in <module>
from builtins import str
ImportError: No module named builtins
I've noticed a setup.py
file on the root of the project. Do I have to run that?
I've tried, bug the shebang is pointing to the wrong path. It's pointing to /bin/env
but my Ubuntu install has the env
utility on /usr/bin/env
. So I edited it and then I tried:
./setup.py build
./setup.py install
This seems to work. I got:
Installing pomodoro-tasks-client script to /usr/local/bin
Installing pomodoro-tasks-daemon script to /usr/local/bin
But trying to run the daemon throws me this:
Traceback (most recent call last):
File "/usr/local/bin/pomodoro-tasks-daemon", line 6, in <module>
from pomodorotasks.daemon import main
File "/usr/local/lib/python2.7/dist-packages/pomodorotasks/daemon.py", line 6, in <module>
from builtins import str
ImportError: No module named builtins
Maybe I have the wrong Python version? I'm using Python 2.7.13
.
/home/carlosonrails/.config/pomodoroTasks2/./pomodoro-daemon.py:324: PyGIDeprecationWarning: GObject.MainLoop is deprecated; use GLib.MainLoop instead loop = GObject.MainLoop() File "/home/carlosonrails/.config/pomodoroTasks2/./pomodoro-systray.py", line 263 print "No pomodoro daemon found" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Anyone knows how to solve it?
Great project!
I guess there was a reason to use Python 2 but given this is a relatively new project, wouldn't it be better to switch Python 3 instead?
https://wiki.python.org/moin/Python2orPython3
(Porting now may be easier than later.)
hi,
i get this below error
./pomodoro-daemon.py
No pomodoro daemon found
Segmentation fault (core dumped)
user@code-B250M-D2V:~/code/python/pomodoroTasks2$
please guide.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.