gierschv/node-ovh-pca

Unhandled error event when calling ltasks command.

Closed this issue · 2 comments

Hi,

I get an new error when I request a list of ltasks :

node --harmony-proxies /usr/local/lib/node_modules/pca/bin/pca ltasks

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect ENOENT
    at errnoException (net.js:884:11)
    at Object.afterConnect [as oncomplete] (net.js:875:19)

However I've not problems to get the _tasks list (only ltask).

Is there any bug or mishandling / configuration of me?

Thanks you in advance.

Sylvain.

Hi,

Did you mount the PCA at the same time ?

The ltasks (local tasks) command has a similar functioning than git staging: you choose the file you want to restore (with chmod +r) or delete (with rm) and you check the staging & create the tasks with pca ltask.

This action requires thus than ltasks can communicate with the daemon that mounts the file system (through a UNIX socket /tmp/ovh-pca.sock) to know the staged content.

Cheers
Vincent

Hoops... sorry,

exact, it works perfectly in doing that ^ ^