Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project, tag report errors #114

Open
linuxcaffe opened this issue Apr 28, 2015 · 14 comments
Open

project, tag report errors #114

linuxcaffe opened this issue Apr 28, 2015 · 14 comments

Comments

@linuxcaffe
Copy link
Collaborator

(looks like it's related to #113)
When invoking a project or tag report, with < CR > over related field, I see these errors:
vim-tw_project-report-errors_screenshot

(actually, seeing similar errors in all reports (due, entry, urgency, etc) everything but info, which is now fixed)

I'm guessing this is related to recent (2 months?) taskwarrior changes.

@blindFS
Copy link
Owner

blindFS commented Apr 28, 2015

You can try to add color=no to taskrc.

@linuxcaffe
Copy link
Collaborator Author

Yikes! in .taskrc that renders task reports colorless.
In g:task_rc_override that doesn't render vim-tw colorless, but it also doesn't fix the errors.
Neither of these are optimal, and I fear that if this is related to task 2.4.3 changes, we'll be seeing more of these errors. (task development is now on 2.4.4)

@blindFS
Copy link
Owner

blindFS commented Apr 29, 2015

I am using 2.4.3 without such problem. Anyway, please pull and see whether the latest commit will help.

@linuxcaffe
Copy link
Collaborator Author

latest commit pulled, 1 file changed, 1 insertion(+), 1 deletion(-)
problem still persists!

@blindFS
Copy link
Owner

blindFS commented Apr 29, 2015

I forgot to change the other one, please try again.

@linuxcaffe
Copy link
Collaborator Author

vim-tw_project-report-errors_screenshot_3

So sorry to report, still borked!
I'm wondering if this might be a plug-in interaction, and I'll start "uninstalling" some of them, see if that might be the source of the problem.

 djp  ~  ls .vim/bundle/
blockit          nerdtree                unite.vim           vimproc.vim
calendar.vim     nvim                    vcal                vim-sensible
Colorizer        pandoc-vim              vim-airline         vim-startify
csv.vim          promptline.vim          vim-commentary      vim-taskwarrior
DistractFree     ShowTrailingWhitespace  vim-eunuch          vim-template
extra            Spacegray.vim           vimfiler.vim        vimux
gist-vim         tagbar                  vimform_vim         vimwiki
googletasks-vim  task-vim                vim-fugitive        viske
goyo.vim         taskwiki                vim-ledger          webapi-vim
gundo.vim        unicode.vim             vimpanel
limelight.vim    unite-taskwarrior       vim-plugin-AnsiEsc

@blindFS
Copy link
Owner

blindFS commented Apr 30, 2015

It has nothing to do with other plugins, :echo system('task rc.color=no stats') should not show that (ansi color).

@gsusrafael
Copy link

I have the same issue and i've executed :echo system('task rc.color=no stats') in a new vim window
image

image

@blindFS
Copy link
Owner

blindFS commented Jul 13, 2015

It's a bug of taskwarrior then.

@linuxcaffe
Copy link
Collaborator Author

It's a shame to see this stay broken! There has been a lot of big changes and active development of taskwarrior lately, and another major revision on the way. Can you (Zc) describe what part is broken? and I will champion a fix with the tw devs! Thanks

@blindFS
Copy link
Owner

blindFS commented Sep 3, 2015

First of all, task rc.color=no status in the shell shouldn't produce any ANSI color.
And the function system is analogous to "run the argument in the shell and pipe the output to vim". so :echo system('task rc.color=no status') shouldn't produce ANSI color either.

What confuses me is that even :echo system('task rc.color=yes status') won't bring me those in my case. So I guess it may has something to do with vim's version or config or terminal type...

Have you tried to downgrade taskwarrior?

@danielshahaf
Copy link

What confuses me is that even :echo system('task rc.color=yes status') won't bring me those in my case. So I guess it may has something to do with vim's version or config or terminal type...

Try adding rc._forcecolor=yes — that's required when stdout is a pipe.

@danielshahaf
Copy link

If you see this with task columns as well, see this: https://bug.tasktools.org/browse/TW-1649.

@blindFS
Copy link
Owner

blindFS commented Sep 3, 2015

@danielshahaf Thanks for the info, I have problem with columns too with version of 2.4.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants