Skip to content

how to quit the program or pause it? also pomostats not working (noob user questions) #14

@arooni

Description

@arooni

so i run pomodoro 60 5; i got to the alarm. then i hit ctrl c

  1. is there a better way to stop it?
  2. is there an option to pause the pomodoros?
  3. it seems if i run ctrl c i cant seem to recover the pomdoro stats.

thanks!

^CInterrupting
[I] ~  pomostat thisweek
Traceback (most recent call last):
File "/usr/local/bin/pomostat", line 4, in
import('pkg_resources').run_script('pomodoro==0.1', 'pomostat')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 750, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1527, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/pomodoro-0.1-py2.7.egg/EGG-INFO/scripts/pomostat", line 157, in
run(main)
File "/usr/local/lib/python2.7/dist-packages/sigtools-2.0.1-py2.7.egg/sigtools/modifiers.py", line 158, in call
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/clize-4.0.3-py2.7.egg/clize/runner.py", line 360, in run
ret = cli(*args)
File "/usr/local/lib/python2.7/dist-packages/clize-4.0.3-py2.7.egg/clize/runner.py", line 220, in call
return func(*posargs, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/sigtools-2.0.1-py2.7.egg/sigtools/modifiers.py", line 158, in call
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pomodoro-0.1-py2.7.egg/EGG-INFO/scripts/pomostat", line 108, in main
D = D[D.start >= last_monday]
File "/usr/local/lib/python2.7/dist-packages/pandas-0.23.0rc2-py2.7-linux-x86_64.egg/pandas/core/ops.py", line 1201, in wrapper
pd.DatetimeIndex)
File "/usr/local/lib/python2.7/dist-packages/pandas-0.23.0rc2-py2.7-linux-x86_64.egg/pandas/core/ops.py", line 1098, in dispatch_to_index_op
result = op(left_idx, right)
File "/usr/local/lib/python2.7/dist-packages/pandas-0.23.0rc2-py2.7-linux-x86_64.egg/pandas/core/indexes/datetimes.py", line 133, in wrapper
(type(other), str(other)))
TypeError: <type 'datetime.date'> type object 2018-04-30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions