blindFS / vim-taskwarrior

vim interface for taskwarrior
Other
518 stars 42 forks source link

Modify not working #119

Open mariovor opened 9 years ago

mariovor commented 9 years ago

Hi, I installed vim-taskwarrior today via vundle on my vim 7.4.576 (Debian Jessie). Taskwarrior 2.5.0 is used. When I try to modify a entry, e.g. the prio, I get this error message

Fehler beim Ausführen von "function taskwarrior#action#modify..taskwarrior#data#get_args..taskwarrior#data#get_value_by_column..taskwarrior#d
ata#get_query..webapi#json#decode":
Zeile    8:
E605: Ausnahme nicht aufgefangen: [^@{"id":4,"description":"Test Enrty","due":"20151026T230000Z","entry":"20151026T142519Z","modified":"20151
026T142519Z","priority":"H","project":"test","status":"pending","uuid":"55c7e00f-b4b4-48b5-b11f-aa0b09a3d6d0","urgency":15.6366}^@]^@Configur
ation override rc.verbose:off^@
Fehler beim Ausführen von "function taskwarrior#action#modify..taskwarrior#data#get_args..taskwarrior#data#get_value_by_column":
Zeile    8:
E171: Fehlendes :endif
Fehler beim Ausführen von "function taskwarrior#action#modify..taskwarrior#data#get_args":
Zeile    8:
E170: Fehlendes :endfor
Fehler beim Ausführen von "function taskwarrior#action#modify":
Zeile   12:
E171: Fehlendes :endif

Let me know if more information is needed.

tcfunk commented 9 years ago

I'm experiencing the same issue, MacVim 7.4-79

Error detected while processing function taskwarrior#action#modify[10]..taskwarrior#data#get_args[8]..taskwarrior#data#get_value_by_column[8
]..taskwarrior#data#get_query[5]..webapi#json#decode:
line    8:
E605: Exception not caught: [^@{"id":1,"description":"Archive for ArtUps past events view for events tagged as ArtUp","entry":"20151029T1416
29Z","modified":"20151103T191511Z","priority":"M","project":"idca","status":"pending","uuid":"1f3bb5c4-2a4f-4822-875d-57787ab4a7a3","urgency
":4.93288}^@]^@Configuration override rc.verbose:off^@
Error detected while processing function taskwarrior#action#modify[10]..taskwarrior#data#get_args[8]..taskwarrior#data#get_value_by_column:
line    8:
E171: Missing :endif
Error detected while processing function taskwarrior#action#modify[10]..taskwarrior#data#get_args:
line    8:
E170: Missing :endfor
Error detected while processing function taskwarrior#action#modify:
line   10:
E171: Missing :endif
johnloy commented 9 years ago

+1 Same issue

linuxcaffe commented 9 years ago

Task 2.5.x introduced some significant changes (http://taskwarrior.org/news/news.20151021.html) including the default JSON export syntax (now fully formed JSON) I'm just guessing, but maybe one (or more) of these changes affects vim-tw.

jeaye commented 8 years ago

I'm seeing this on my machine as well.

crestenstclair commented 8 years ago

:+1: , still seeing this issue, along with a few others.

fradeve commented 8 years ago

+1 same for me with Task 2.3.0 and Vim 7.4

cedef commented 8 years ago

Hi, Same issue here, using: Debian Jessie, vim 7.4, taskwarrior 2.3.0+dfsg-3 and vim-taskwarrior plugin commit 3063dd7afc88e8d50f2ec578b9fd5afcc578024b

Please, let me know if you need more info to debug this. Regards,

fradeve commented 8 years ago

good news! In my case, reverting to the commit before the last one gives me a working vim-tw:

git checkout c37ed61fc2a30284d7538ebad7a33fbea530ec90 .

Now when I edit a task, I get:

due:20160302T000000Z

which is a bit weird anyway, but still better than the errors in the latest revision.

So I would suggest that the latest revision introduced the issue.

Anticris commented 8 years ago

Same error msg when I try to open an annotation.