Skip to content

Instantly share code, notes, and snippets.

@linuxcaffe
linuxcaffe / gist:5067010
Created March 1, 2013 19:15
task-web install errors running updated debian wheezy
djp@tigger:~$ gem install taskwarrior-web
Fetching: rinku-1.7.2.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /var/lib/gems/1.9.1 directory.
djp@tigger:~$ sudo !!
sudo gem install taskwarrior-web
[sudo] password for djp:
Building native extensions. This could take a while...
ERROR: Error installing taskwarrior-web:
ERROR: Failed to build gem native extension.
@linuxcaffe
linuxcaffe / gist:5068616
Created March 1, 2013 22:55
tasky crashy This is the output/ traceback after trying to "f" change the filter
djp@tigger:~/tmp/Tasky-master$ tasky.py proj:tw
Traceback (most recent call last):
File "/home/djp/bin/tasky.py", line 155, in <module>
Tasky()
File "/home/djp/bin/tasky.py", line 46, in __init__
loop.run()
File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 274, in run
self.screen.run_wrapper(self._run)
djp@tigger:~/tmp/task-2.2.0$ sudo make install
[sudo] password for djp:
[ 35%] Built target task
[ 57%] Built target columns
[ 99%] Built target commands
[100%] Built target task_executable
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/share/doc/task/NEWS
-- Up-to-date: /usr/local/share/doc/task/ChangeLog
@linuxcaffe
linuxcaffe / gist:6405364
Created September 1, 2013 16:00
TWeb crash after auth
application error
NoMethodError at /tasks/pending
undefined method `encode' for nil:NilClass
file: csv.rb
location: block in <class:CSV>
line: 957
BACKTRACE
@linuxcaffe
linuxcaffe / gist:6405500
Created September 1, 2013 16:23
TWeb crashes again
application error
NoMethodError at /tasks/pending
undefined method `encode' for nil:NilClass
file: csv.rb
location: block in <class:CSV>
line: 957
BACKTRACE
@linuxcaffe
linuxcaffe / gist:6406180
Created September 1, 2013 18:05
TWeb 401 Unauthorized errors
djp@transit:~$ task-web -L
[2013-09-01 14:04:06 -0400] Starting 'taskwarrior-web'...
[2013-09-01 14:04:06 -0400] trying port 5678...
/usr/lib/ruby/1.9.1/open-uri.rb:346:in `open_http': 401 Unauthorized (OpenURI::HTTPError)
from /usr/lib/ruby/1.9.1/open-uri.rb:775:in `buffer_open'
from /usr/lib/ruby/1.9.1/open-uri.rb:203:in `block in open_loop'
from /usr/lib/ruby/1.9.1/open-uri.rb:201:in `catch'
from /usr/lib/ruby/1.9.1/open-uri.rb:201:in `open_loop'
from /usr/lib/ruby/1.9.1/open-uri.rb:146:in `open_uri'
from /usr/lib/ruby/1.9.1/open-uri.rb:677:in `open'
@linuxcaffe
linuxcaffe / gist:7201127
Last active December 26, 2015 19:28
ultimate vim-taskwarrior window split madness
here it is with everything open
_______________________________________________________
|ID_Age_D_P_Project_Description______|__R__|__P__|__T__|
| | | | |
| | | | |
| | | | |
| L | | | |
| | | | |
| | | | |
@linuxcaffe
linuxcaffe / gist:7432128
Created November 12, 2013 14:53
sample taskwarrior theme
###############################################################################
# Sample taskwarrior 1.9 (or later) dark 256-color theme
#
color=on
color.header=color3
color.footnote=color3
color.error=color3
color.debug=color3

%% TaskList: +DUE

  the following instance is a mysterious dupe

  • [] Toronto Hydro dupe +pay (2013-11-17 00:00) #baa8534c-9081-4f01-ab3c-82dc337a5963
  also a duplicate pair;

  • [] pay Citi Card +online (2013-11-20 00:00) #3baf1efe-3104-42a5-b886-bfa02f5d4bc5
  • [] pay Citi Card +online (2013-11-20 00:00) #9ee04b35-956a-4831-bc7a-01efeca93698
This is a line of text

  • [] Toronto Hydro +pay (2013-11-17 00:00) #f22b88b2-2f28-4fc9-a875-2a1a61a86b0a
################################################################################
# Sample taskwarrior 1.9 (or later) dark 16-color theme
#
# taskwarrior - a command line task list manager.
#
# Copyright 2006-2013, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights