Open mattmartini opened 7 years ago
+1 Having the same issue.
+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!
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?
"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.
@morsedl Yes, I am running TW 2.5.1
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
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 !
@takuyozora can you provide your Dockerfile
and docker-compose.yml
?
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)
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
this was built with ruby-2.1.8 (via rvm)