theunraveler / taskwarrior-web

A web interface for the Taskwarrior todo application. Because being a neckbeard is only fun sometimes.
http://theunraveler.github.com/taskwarrior-web
MIT License
527 stars 63 forks source link

tasks and projects don't show up in interface #86

Open mattmartini opened 7 years ago

mattmartini commented 7 years ago

The web interface works but none of my data is shown (pending:0) enven though the cli shows data. Oddly I could add a task with the web interface and it showed up via cli, but not the web interface.

The log shows this over and over

Configuration override rc.xterm.title:no
Configuration override rc.color:off
Configuration override rc.verbose:no
Configuration override rc.confirmation:no
No matches.

this was built with ruby-2.1.8 (via rvm)

aravindhsampath commented 7 years ago

+1 Having the same issue.

morsedl commented 7 years ago

+1 I am having this problem as well. Also, I am getting an error at task-web startup regarding accessing the console:

[2016-12-02 11:58:49 +0100] Starting 'taskwarrior-web'...
[2016-12-02 11:58:49 +0100] trying port 5678...
Couldn't get a file descriptor referring to the console

Similiar to @mattmartini and @aravindhsampath, $HOME/.vegas/taskwarrior_web/taskwarrior_web.log is showing the following after each request:

Configuration override rc.xterm.title:no
Configuration override rc.color:off
Configuration override rc.verbose:no
Configuration override rc.confirmation:no
No matches.

I installed today taskwarrior-web today (2016-12-02) on Ubuntu 15.10.

Thanks!

morsedl commented 7 years ago

BTW, I am running TW 2.5.1. So, I am wondering if this is a duplicate of or somehow related to issue #84?

@mattmartini and @aravindhsampath: Are you also running version 2.5.1 of TaskWarrior?

morsedl commented 7 years ago

"Couldn't get a file descriptor referring to the console" apparently has to do with the "open" command trying to open the next virtual terminal. I think the fix is to call xdg-open instead (as starting task-web does not open it in the browser as indicated). Not really an issue though until items not showing up is resolved.

mattmartini commented 7 years ago

@morsedl Yes, I am running TW 2.5.1

nagakiran commented 6 years ago

I too faced this issue with TW 2.5.0 on ubuntu 16.04 but running with sudo worked fine.

Couldn't get a file descriptor referring to the console

takuyozora commented 6 years ago

Hi,

I was facing the same issue, but I'm not sure that it was for the same reason. Anyway I share with you my workaround.

My problem was that the docker image hadn't the /usr/share/doc/task/rc directory. So I've just added this line : - /usr/share/doc/task/rc:/usr/share/doc/task/rc:ro in the docker-compose.yml file.

And now it's working fine !

Zebradil commented 6 years ago

@takuyozora can you provide your Dockerfile and docker-compose.yml?

takuyozora commented 6 years ago

No change on the Dockerfile. My complete docker-compose.yml :

version: '2'

services:
  app:
    build:
      context: .
      dockerfile: docker/Dockerfile
    ports:
    - 5678:5678
    volumes:
    - /home/olivier/.task:/root/.task
    - /home/olivier/.taskrc:/root/.taskrc:ro
    - /usr/share/doc/task/rc:/usr/share/doc/task/rc:ro

(Change /home/olivier with your home directory)