cshuaimin / scd

Sync current directory between your shell and a file manager
MIT License
128 stars 0 forks source link

Error: EEXIST: File exists #3

Closed Nuc1eoN closed 4 years ago

Nuc1eoN commented 4 years ago

I am unable to start the program on my Arch system:

$ scd
Error: EEXIST: File exists

Doing

scd fish-init | source

gives no output. I am also not able to abort the application with q or CTRL+C

EDIT: Similar issue: https://www.reddit.com/r/rust/comments/gasc1f/i_wrote_a_file_manager_that_syncs_its_current/fp2fuv4/

mastern2k3 commented 4 years ago

bump, this happens for me too.

cshuaimin commented 4 years ago
rm /tmp/{scd-cmds-to-run,scd-shell-events}

It try to create these two FIFOs, but it exists. These two files are used to communicate to the shell, and should be deleted when exiting. However if program crashes, these files are kept and preventing next start.

Nuc1eoN commented 4 years ago

@cshuaimin The fix is not on crates.io is it?

Tried to update using cargo install scd but the issue is still present.

cshuaimin commented 4 years ago

Yes.

There are still some bugs, when get fixed, I will update to crates.io.

cshuaimin commented 4 years ago

@Nuc1eoN 0.1.1 published to crates.io now!