theunraveler/taskwarrior-web — Issue #12: Add a Task errors
Author: djp
Created: 2012-01-19 16:48:53+00:00
State: open

using the Add a Task dialog, with a super-simple description of "test2" and a tag "test2", the following is displayed in the task listing;

test2 JSON::ParserError - 387: unexpected token at 'There are not enough operands for the ' and ' operator.]' : /home/ djp/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/json/common.rb:148:in `parse' /home/ djp/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/json/common.rb:148:in `parse' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/taskwarrior-web-0.0.11/lib/taskwarrior-web/task.rb:60:in `query' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/taskwarrior-web-0.0.11/lib/taskwarrior-web/app.rb:146:in `block in < class:App>' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `block in compile!' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `[]' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block ( 3 levels) in route!' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:in `route_eval' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block ( 2 levels) in route!' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:822:in `block in process_route' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `catch' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `process_route' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:784:in `block in route!' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `each' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `route!' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/nulllogger.rb:9:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/head.rb:9:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in `block in call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:1416:in `synchronize' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in `call' /home/ djp/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service' /home/ djp/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/ djp/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/ djp/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start _thread' localhost - - [19/Jan/2012:11:45:19 EST] "GET /ajax/projects?term=it HTTP/1.1" 500 3756 http://localhost:5678/tasks/new /ajax/ projects?term=it